Skip to main content

Type Alias: GatewayInferenceTextResponseFormatConfiguration

type GatewayInferenceTextResponseFormatConfiguration =
| GatewayInferenceResponseFormatText
| GatewayInferenceTextResponseFormatJsonSchema
| GatewayInferenceResponseFormatJsonObject;

Defined in: src/models/ai-gateway-inference.ts:3528

Portkey TextResponseFormatConfiguration; additive response fields are preserved.

Example​

`GatewayInferenceTextResponseFormatConfigurationSchema.parse(value);`