Langfuse JS/TS SDKs
    Preparing search index...

    Interface PromptVariableMappingRead

    Connects one prompt variable to data from a target.

    source is null when the mapping is incomplete.

    {
    * variable: "input",
    * source: LangfuseAPI.unstable.PromptVariableMappingSource.Input
    * }
    {
    * variable: "input",
    * source: null
    * }
    interface PromptVariableMappingRead {
        jsonPath?: string;
        source: null | unstable.PromptVariableMappingSource;
        variable: string;
    }
    Index

    Properties

    jsonPath?: string

    Optional JSONPath selector applied to the selected source.

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

    variable: string

    Prompt variable name without braces.