Heroku LangChain - v0.2.1
    Preparing search index...

    Interface StructuredOutputMethodOptions<IncludeRaw>

    Configuration options for the structured output method.

    StructuredOutputMethodOptions

    interface StructuredOutputMethodOptions<IncludeRaw extends boolean = false> {
        name?: string;
        description?: string;
        method?: "functionCalling" | "jsonMode";
        includeRaw?: IncludeRaw;
    }

    Type Parameters

    • IncludeRaw extends boolean = false

      Whether to include raw response alongside parsed output

    Index

    Properties

    name?: string

    Optional name for the structured output function

    description?: string

    Optional description for the structured output function

    method?: "functionCalling" | "jsonMode"

    Method to use for structured output - either function calling or JSON mode

    includeRaw?: IncludeRaw

    Whether to include the raw response alongside the parsed output