Skip to main content

Type Alias: GatewayInferenceInputTextResponseFormatConfiguration

type GatewayInferenceInputTextResponseFormatConfiguration =
| GatewayInferenceInputResponseFormatText
| GatewayInferenceInputTextResponseFormatJsonSchema
| GatewayInferenceInputResponseFormatJsonObject;

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

Portkey TextResponseFormatConfiguration; strict modeled input with explicit JSON extension maps.

Example​

`GatewayInferenceInputTextResponseFormatConfigurationSchema.parse(value);`