LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • MCP Adapters
    • Overview
    • Agents
    • Callbacks
    • Chains
    • Chat models
    • Embeddings
    • Evaluation
    • Globals
    • Hub
    • Memory
    • Output parsers
    • Retrievers
    • Runnables
    • LangSmith
    • Storage
    Standard Tests
    Text Splitters
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    MCP Adapters
    OverviewAgentsCallbacksChainsChat modelsEmbeddingsEvaluationGlobalsHubMemoryOutput parsersRetrieversRunnablesLangSmithStorage
    Standard Tests
    Text Splitters
    Language
    Theme
    Pythonlangchain-classicLangSmith

    LangSmith

    langchain-classic documentation

    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

    Classes

    Class

    RunEvalConfig

    Configuration for a run evaluation.

    Class

    EvalConfig

    Configuration for a given run evaluator.

    Class

    SingleKeyEvalConfig

    Configuration for a run evaluator that only requires a single key.

    Class

    ProgressBarCallback

    A simple progress bar for the console.

    Class

    ChatModelInput

    Input for a chat model.

    Class

    EvalError

    Your architecture raised an error.

    Class

    InputFormatError

    Raised when the input format is invalid.

    Class

    TestResult

    A dictionary of the results of a single test run.

    Class

    ChainStringRunMapper

    Extract items to evaluate from the run object from a chain.

    Class

    LLMStringRunMapper

    Extract items to evaluate from the run object.

    Class

    StringExampleMapper

    Map an example, or row in the dataset, to the inputs of an evaluation.

    Class

    StringRunEvaluatorChain

    Evaluate Run and optional examples.

    Class

    StringRunMapper

    Extract items to evaluate from the run object.

    Class

    ToolStringRunMapper

    Map an input to the tool.

    Functions

    Function

    arun_on_dataset

    Run on dataset.

    Function

    run_on_dataset

    Run on dataset.

    Function

    random_name

    Generate a random name.