Skip to main content

Type Alias: GatewayInferenceInputCreateTranslationRequest

type GatewayInferenceInputCreateTranslationRequest = {
file: Blob;
model: string | "whisper-1";
prompt?: string;
response_format?: string;
temperature?: number;
};

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

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

Example​

`GatewayInferenceInputCreateTranslationRequestSchema.parse(value);`

Properties​

file​

file: Blob;

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


model​

model: string | "whisper-1";

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


prompt?​

optional prompt?: string;

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


response_format?​

optional response_format?: string;

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


temperature?​

optional temperature?: number;

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