metadata
title: Gradio Example Template
emoji: π
colorFrom: indigo
colorTo: purple
sdk: gradio
sdk_version: 5.9.1
app_file: app.py
pinned: false
license: mit
short_description: Example on using Langfuse to trace Gradio applications.
Build a LLM Chat UI with π€ Gradio and trace it with πͺ’ Langfuse
This is a Gradio example template that showcases how to integrate a Gradio application with Langfuse for LLM Observability and Evaluation.
Thank you to @tkmamidi for the original implementation and contributions to this notebook.
Have a look at this integration page for a step-by-step explanation of the code.
What is Langfuse?
Langfuse is an open-source LLM engineering platform that helps build reliable LLM applications via LLM Application Observability, Evaluation, Experiments, and Prompt Management. See docs for more details.
Features of this Template
This template will show you how to
- Build a simple chat interface in Python and rendering it using Gradio
Chatbot
- Add Langfuse Tracing to the chatbot
- Implement additional Langfuse tracing features used frequently in chat applications: chat sessions, user feedback