This project demonstrates Pydantic Logfire.
It's designed to be a simple app with enough functionality to show some of the things Logfire can do.
- Follow these instructions to get setup with logfire, you'll want to export your logfire write token as
LOGFIRE_TOKENso it can be used by docker compose. - Create a GitHub app and set the
GITHUB_APP_ID,GITHUB_APP_INSTALLATION_IDandGITHUB_APP_PRIVATE_KEYenvironment variables. (this is used for the "GitHub similar issues suggestion" in demo). - Create an OpenAI token and set the
OPENAI_API_KEYenvironment variable (this is used for the "LLM Query" demo) - Run
make up.
Now you can go to the Logfire demo page and try the app.
You can find your project Dashboard link at the end of the page. Click on the dashboard link
to see the live logs from the demo project.