Type Alias StructuredOutputMethodOptions<IncludeRaw>

StructuredOutputMethodOptions<IncludeRaw>: {
    includeRaw?: IncludeRaw;
    method?:
        | "functionCalling"
        | "jsonMode"
        | "jsonSchema"
        | string;
    name?: string;
    strict?: boolean;
}

Type Parameters

  • IncludeRaw extends boolean = false

Type declaration

  • OptionalincludeRaw?: IncludeRaw
  • Optionalmethod?:
        | "functionCalling"
        | "jsonMode"
        | "jsonSchema"
        | string
  • Optionalname?: string
  • Optionalstrict?: boolean

    Whether to use strict mode. Currently only supported by OpenAI models.