Langfuse JS/TS SDKs
    Preparing search index...

    Interface PromptVariableMappingRead

    Connects one prompt variable to source data.

    source is null when the mapping is incomplete.

    {
    * variable: "input",
    * source: "input"
    * }
    {
    * variable: "input",
    * source: null
    * }
    interface PromptVariableMappingRead {
        jsonPath?: string;
        source: null | string;
        variable: string;
    }
    Index

    Properties

    jsonPath?: string

    Optional JSONPath selector applied to the selected source.

    source: null | string

    Stored source field populating the variable, or null when the mapping is incomplete.

    variable: string

    Prompt variable name without braces.