langsmith-evaluator

Create and deploy custom evaluation metrics for AI models on LangSmith.

11|2|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/jackjin1997/ClawForge --skill langsmith-evaluator-jackjin1997
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: langsmith-evaluator
Source: https://github.com/jackjin1997/ClawForge/tree/main/skills/langsmith-evaluator
Command: npx skills add https://github.com/jackjin1997/ClawForge --skill langsmith-evaluator-jackjin1997

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires langsmith, langchain-openai, python-dotenv, requests, click, rich, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating and deploying custom evaluation metrics for your AI models within the LangSmith platform, ensuring robust performance measurement.

Core Features & Use Cases

  • Custom Metric Creation: Define unique evaluation logic using Python functions.
  • LLM as Judge: Implement sophisticated evaluations where an LLM grades model outputs based on defined criteria.
  • Code-Based Evaluators: Develop deterministic checks for specific output formats or sequences.
  • LangSmith Integration: Seamlessly upload and manage your evaluators for use with LangSmith datasets and experiments.
  • Use Case: You've trained a chatbot and want to ensure its responses are not only factually correct but also adhere to a specific professional tone. You can create an LLM-as-Judge evaluator to assess tone and a custom code evaluator for factual accuracy, then upload both to LangSmith.

Quick Start

Use the langsmith-evaluator skill to upload your custom evaluator script 'my_evals.py' with the function 'exact_match' to the dataset 'Skills: Final Response'.

Frequently Asked Questions about langsmith-evaluator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create custom evaluation metrics for AI models in LangSmith?

To create custom evaluation metrics in LangSmith, you define unique evaluation logic using Python functions and upload them to the platform. This supports both custom code-based evaluators for deterministic checks and LLM-as-Judge for grading outputs.

How does LLM as Judge work for evaluating chatbot responses?

LLM as Judge evaluates chatbot responses by using an LLM to grade model outputs based on defined criteria. This allows you to assess subjective qualities like professional tone or factual accuracy automatically within LangSmith.

Can I use custom Python code to check AI model output formats in LangSmith?

Yes, you can use custom Python code to check AI model output formats in LangSmith. Code-based evaluators allow you to develop deterministic checks for specific output formats or sequences to ensure strict adherence.

What dependencies do I need to deploy LangSmith evaluators?

To deploy LangSmith evaluators, you need a Python environment with the langsmith, langchain-openai, and python-dotenv libraries installed. You also require a valid LangSmith API key to authenticate and manage your evaluators.

What is the best way to evaluate AI model accuracy and completeness?

The best way to evaluate AI model accuracy and completeness is combining LLM-as-Judge and custom code evaluators. This handles both factual correctness and structural adherence, providing robust performance measurement for your models.

How do I upload a custom evaluator script to a LangSmith dataset?

You upload a custom evaluator script to a LangSmith dataset by using the skill to push your Python functions. This integrates your custom metrics directly with LangSmith datasets and experiments for testing.