LangGraph Observer offers a streamlined solution for running and inspecting LangGraph workflows. With a FastAPI backend and an interactive Streamlit dashboard, it provides essential metrics like toxicity and hallucination scores, making it easy to visualize and enhance LLM performance.
LangGraph Observer is an observability dashboard designed to enhance the visualization and interaction with LangGraph workflows. This project offers a compact environment that integrates a FastAPI backend and a Streamlit dashboard, facilitating the efficient running and inspection of large language model (LLM) operations.
The typical workflow consists of the following steps:
The dashboard comprises various interactive features:
The FastAPI backend exposes two main endpoints:
POST /run-graph: Triggers the complete workflow.GET /health: Provides a health status check for the API.To launch the Streamlit dashboard, use the command:
uv run streamlit run app/dashboard/ui.py
To start the FastAPI server, run:
uvicorn app.api.server:app --reload
The project is organized as follows:
app/
api/
adapters/
dashboard/
domain/
services/
LangGraph Observer exemplifies an advanced solution for monitoring and interacting with LLM workflows, combining ease of use with powerful observability features.
No comments yet.
Sign in to be the first to comment.