Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
6.4.0
Observability Setup
This project uses Langfuse for tracing and observability.
Setup
- Create a project on Langfuse Cloud or host your own.
- Get your API keys (Public Key, Secret Key).
- Set them in
.env:
LANGFUSE_PUBLIC_KEY=pk-...
LANGFUSE_SECRET_KEY=sk-...
LANGFUSE_HOST=https://cloud.langfuse.com
Features
- Tracing: Follow the request through retrieval and generation.
- Cost Tracking: See token usage and cost per request.
- Scores: Log user feedback (thumbs up/down) if implemented.