Package version:

Interface ResponseFormatJsonSchema

A description of what the response format is for, used by the model to determine how to respond in the format.

interface ResponseFormatJsonSchema {
    description?: string;
    name: string;
    schema: any;
}

Properties

description?: string

A description of what the response format is for, used by the model to determine how to respond in the format.

name: string

The name of a schema.

schema: any

The JSON schema object, describing the response format.