Skip to main content

Type Alias: GatewayInferenceInputCreateFileRequest

type GatewayInferenceInputCreateFileRequest = {
file: Blob;
purpose: "assistants" | "batch" | "fine-tune" | "vision";
};

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

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

Example​

`GatewayInferenceInputCreateFileRequestSchema.parse(value);`

Properties​

file​

file: Blob;

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


purpose​

purpose: "assistants" | "batch" | "fine-tune" | "vision";

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