import { Embeddings } from 'openai/resources/embeddings'; import type { AzureOpenAiEmbeddingModel } from '@sap-ai-sdk/core'; import type { OpenAI } from 'openai'; import type { EmbeddingCreateParams, CreateEmbeddingResponse } from 'openai/resources/embeddings'; import type { APIPromise } from 'openai/api-promise'; import type { WithOptionalModel } from './types.ts'; type RequestOptions = Parameters[1]; /** * Wraps `Embeddings` exposing only `create`, with `model` omitted from the public API as SAP AI Core routes requests via the deployment URL. * @experimental This class is experimental and may change at any time without prior notice. */ export declare class SapEmbeddings { private readonly openAiEmbeddings; /** @internal */ constructor(client: OpenAI); /** * Creates an embedding request. The `model` field is omitted — SAP AI Core routes requests via the deployment URL. * @param body - Embedding request parameters. * @param options - Optional request options. * @returns A promise resolving to a {@link CreateEmbeddingResponse}. */ create(body: WithOptionalModel, options?: RequestOptions): APIPromise; } export {}; //# sourceMappingURL=embeddings.d.ts.map