Overview of LangSmith Evaluation How-To Guides
mainLangSmith provides a comprehensive suite of evaluation capabilities divided into two main workflows: Offline Evaluation and Online Evaluation.
Offline Evaluation
Used to evaluate and improve applications before deployment. This includes:
- Running evaluations via the SDK (Python/JS) or the UI.
- Defining custom evaluators (LLM-as-a-judge, custom code, pairwise, or summary).
- Configuring evaluation data (splits, filtered views, or specific dataset versions).
- Managing evaluation jobs (repetitions, rate limiting, and local execution).
- Binding default evaluators to datasets to automate scoring for all future experiments.
Online Evaluation
Used to monitor live performance on production data using:
- LLM-as-judge evaluators.
- Custom code evaluators.
Feedback and Annotation
LangSmith allows for human-in-the-loop improvements through:
- User Feedback: Logging feedback directly from your application.
- Annotation Queues: Using expert feedback to improve datasets.
- Manual Annotation: Annotating traces inline within the LangSmith UI.