UNPKG

@sap-ai-sdk/foundation-models

Version:

SAP Cloud SDK for AI is the official Software Development Kit (SDK) for **SAP AI Core**, **SAP Generative AI Hub**, and **Orchestration Service**.

21 lines 899 B
import type { AzureOpenAiAudioResponseFormat } from './audio-response-format.js'; /** * Translation request. */ export type AzureOpenAiCreateTranslationRequest = { /** * The audio file to translate. * Format: "binary". */ file: Blob; /** * An optional text to guide the model's style or continue a previous audio segment. The prompt should be in English. */ prompt?: string; response_format?: AzureOpenAiAudioResponseFormat; /** * The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use log probability to automatically increase the temperature until certain thresholds are hit. */ temperature?: number; } & Record<string, any>; //# sourceMappingURL=create-translation-request.d.ts.map