Cookbook for LangSmith, a tool to debug, evaluate, test, and improve LLM apps
Top 39.8% on sourcepulse
This repository provides practical recipes and real-world use-cases for LangSmith, a platform for debugging, evaluating, and improving LLM applications. It targets developers and researchers working with LLMs, offering guidance on tracing, testing, feedback integration, and optimization.
How It Works
The cookbook demonstrates how to leverage LangSmith's Python SDK and REST API for comprehensive LLM application monitoring. It covers tracing code independently of LangChain using the @traceable
decorator, customizing run names for UI clarity, and including nested tool calls within traces. The examples showcase advanced techniques like prompt versioning, end-to-end RAG pipeline evaluation with metrics like RAGAS, and agent intermediate step analysis.
Quick Start & Requirements
pip install -U langsmith
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
1 week ago
1 week