Skip to main content

Type Alias: GatewayInferenceOutputText

type GatewayInferenceOutputText = {
[key: string]: unknown;
type: "output_text";
text: string;
annotations: GatewayInferenceAnnotation[];
};

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

Portkey OutputText; additive response fields are preserved.

Example​

`GatewayInferenceOutputTextSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

type​

type: "output_text";

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


text​

text: string;

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


annotations​

annotations: GatewayInferenceAnnotation[];

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