Langfuse JS/TS SDKs
    Preparing search index...

    Type Alias ExperimentTaskParams<Input, ExpectedOutput, Metadata>

    ExperimentTaskParams: ExperimentItem<Input, ExpectedOutput, Metadata>

    Parameters passed to an experiment task function.

    Can be either an ExperimentItem (for custom datasets) or a DatasetItem (for Langfuse datasets). The task function should handle both types.

    Type Parameters

    • Input = any
    • ExpectedOutput = any
    • Metadata extends Record<string, any> = Record<string, any>

    4.1.0