Package: @effect/ai-openai-compat
Module: OpenAiClient
Text output format configuration for plain text, JSON object, or JSON Schema responses.
Signature
type TextResponseFormatConfiguration = | {
readonly type: "text"
}
| {
readonly type: "json_schema"
readonly description?: string | undefined
readonly name: string
readonly schema: JsonObject
readonly strict?: boolean | null | undefined
}
| {
readonly type: "json_object"
}
Since v4.0.0