Interface ResponseFormatJsonSchema

interface ResponseFormatJsonSchema {
    json_schema: {
        description?: string;
        name: string;
        schema?: Record<string, unknown>;
        strict?: null | boolean;
    };
    type: "json_schema";
}

Properties

Properties

json_schema: {
    description?: string;
    name: string;
    schema?: Record<string, unknown>;
    strict?: null | boolean;
}

Type declaration

  • Optional description?: string
  • name: string
  • Optional schema?: Record<string, unknown>
  • Optional strict?: null | boolean
type: "json_schema"