langchain.js
    Preparing search index...

    Interface EvaluateOptions

    interface EvaluateOptions {
        client?: Client;
        data: DataT;
        description?: string;
        evaluators?: EvaluatorT[];
        experimentPrefix?: string;
        includeAttachments?: boolean;
        maxConcurrency?: number;
        metadata?: KVMap;
        numRepetitions?: number;
        summaryEvaluators?: SummaryEvaluatorT[];
    }

    Hierarchy

    • BaseEvaluateOptions
      • EvaluateOptions
    Index

    Properties

    client?: Client

    The LangSmith client to use.

    undefined
    
    data: DataT

    The dataset to evaluate on. Can be a dataset name, a list of examples, or a generator of examples.

    description?: string

    A free-form description of the experiment.

    evaluators?: EvaluatorT[]

    A list of evaluators to run on each example.

    undefined
    
    experimentPrefix?: string

    A prefix to provide for your experiment name.

    undefined
    
    includeAttachments?: boolean

    Whether to use attachments for the experiment.

    false
    
    maxConcurrency?: number

    The maximum number of concurrent evaluations to run.

    undefined
    
    metadata?: KVMap

    Metadata to attach to the experiment.

    undefined
    
    numRepetitions?: number

    The number of repetitions to perform. Each example will be run this many times.

    1
    
    summaryEvaluators?: SummaryEvaluatorT[]

    A list of summary evaluators to run on the entire dataset.

    undefined