UNPKG

@sap-ai-sdk/orchestration

Version:

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

18 lines 682 B
import type { EncodingFormat } from './encoding-format.js'; /** * Additional parameters for generating input's embeddings. Default values are used for mandatory parameters. */ export type EmbeddingsModelParams = { /** * The number of dimensions the resulting output embeddings should have. * */ dimensions?: number; /** * The format to return the embeddings in. Can be a single format or an array of formats. OpenAI's spec allows for 'float' and 'base64' encoding formats. * */ encoding_format?: EncodingFormat | EncodingFormat[]; normalize?: boolean; } & Record<string, any>; //# sourceMappingURL=embeddings-model-params.d.ts.map