07. Custom LLM evaluation
Rate with custom Evaluator
# installation
# !pip install -U langsmith langchain-teddynote# Configuration file for managing API KEY as environment variable
from dotenv import load_dotenv
# Load API KEY information
load_dotenv() True # LangSmith set up tracking. https://smith.langchain.com
# !pip install -qU langchain-teddynote
from langchain_teddynote import logging
# Enter a project name.
logging.langsmith("CH16-Evaluations") Start tracking LangSmith.
[Project name]
CH16-Evaluations Define functions for RAG performance testing
Custom Evaluator Configuration

Custom LLM-as-Judge

Previous06. Embedding-based evaluation (embedding_distance)Next08. Rouge, BLEU, METEOR, SemScore based heuristic evaluation
Last updated