Skip to main content

Type Alias: GatewayInferenceInputFile

type GatewayInferenceInputFile = {
[key: string]: unknown;
type: "input_file";
file_id?: string;
filename?: string;
file_data?: string;
};

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

Portkey InputFile; additive response fields are preserved.

Example​

`GatewayInferenceInputFileSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

type​

type: "input_file";

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


file_id?​

optional file_id?: string;

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


filename?​

optional filename?: string;

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


file_data?​

optional file_data?: string;

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