LLMTrace is an open-source Python library for LLM application observability and evaluation. It helps you track, log, and analyze interactions with Large Language Models.
Key Features:
Automatic instrumentation for popular LLM frameworks (OpenAI, LangChain, HuggingFace).
Session-based logging of prompts, responses, tokens, costs, metrics, feedback, and errors.
SQLite database for local, persistent storage.
Programmatic API for data retrieval.
Web-based dashboard for visualization and analysis.
CLI for common tasks like listing sessions, showing details, and exporting data.
For more information, visit the project's GitHub repository.