Skip to main content

Type Alias: GatewayInferenceInputTextResponseFormatJsonSchema

type GatewayInferenceInputTextResponseFormatJsonSchema = {
type: "json_schema";
description?: string;
name?: string;
schema: GatewayInferenceInputResponseFormatJsonSchemaSchema;
strict?: boolean | null;
};

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

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

Example​

`GatewayInferenceInputTextResponseFormatJsonSchemaSchema.parse(value);`

Properties​

type​

type: "json_schema";

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


description?​

optional description?: string;

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


name?​

optional name?: string;

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


schema​

schema: GatewayInferenceInputResponseFormatJsonSchemaSchema;

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


strict?​

optional strict?: boolean | null;

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