Heroku LangChain.js - v1.0.1
    Preparing search index...

    Interface StructuredOutputMethodOptions

    Configuration options for the structured output method.

    StructuredOutputMethodOptions

    Whether to include raw response alongside parsed output

    interface StructuredOutputMethodOptions {
        name?: string;
        description?: string;
        method?: string;
        includeRaw?: boolean;
        strict?: boolean;
    }
    Index

    Properties

    name?: string

    Optional name for the structured output function

    description?: string

    Optional description for the structured output function

    method?: string

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

    includeRaw?: boolean

    Whether to include the raw response alongside the parsed output

    strict?: boolean

    Whether to enforce strict validation (passed through when supported)