Langfuse JS/TS SDKs
    Preparing search index...

    Type Alias LangchainMessagesPlaceholder

    Represents a LangChain MessagesPlaceholder object.

    Used when converting Langfuse prompts to LangChain format, unresolved placeholders become LangChain MessagesPlaceholder objects.

    type LangchainMessagesPlaceholder = {
        optional?: boolean;
        variableName: string;
    }
    Index

    Properties

    optional?: boolean

    Whether the placeholder is optional (defaults to false)

    variableName: string

    Name of the variable that will provide the messages