These docs cover the langchain-classic package. This package will be maintained for security vulnerabilities until December 2026. Users are encouraged to migrate to the langchain package for the latest features and improvements. See docs for langchain
Configuration for a run evaluation.
Configuration for a given run evaluator.
Configuration for a run evaluator that only requires a single key.
A simple progress bar for the console.
Input for a chat model.
Your architecture raised an error.
Raised when the input format is invalid.
A dictionary of the results of a single test run.
Extract items to evaluate from the run object from a chain.
Extract items to evaluate from the run object.
Map an example, or row in the dataset, to the inputs of an evaluation.
Evaluate Run and optional examples.
Extract items to evaluate from the run object.
Map an input to the tool.
Run on dataset.
Run the Chain or language model on a dataset and store traces to the specified project name.
For the (usually faster) async version of this function,
see arun_on_dataset.
Run on dataset.
Run the Chain or language model on a dataset and store traces to the specified project name.
For the (usually faster) async version of this function,
see arun_on_dataset.
Generate a random name.