output-sdk
    Preparing search index...

    Class EvaluationResult

    Represents the result of an evaluation.

    Generic base class; evaluators must return an instance of an EvaluationResult subclass.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    confidence: number

    The evaluation result confidence

    dimensions: (
        | EvaluationStringResult
        | EvaluationNumberResult
        | EvaluationBooleanResult
    )[]

    Dimensions of this evaluation

    feedback: EvaluationFeedback[]

    Feedback for this evaluation

    name?: string

    The name of the evaluation result

    reasoning?: string

    The evaluation result reasoning

    value: any

    The evaluation result value

    Accessors

    • get schema(): ZodType

      Returns ZodType

      The zod schema for this class