/** * Cloud embeddings via POST /api/v1/embeddings. * * Calls the Octomil embeddings endpoint and returns dense vectors * suitable for semantic search, clustering, and RAG pipelines. */ import type { EmbeddingResult } from "./types.js"; /** * Generate embeddings via the Octomil cloud endpoint. * * @param serverUrl - Base URL of the Octomil API (e.g. `"https://api.octomil.com"`). * @param apiKey - Bearer token for authentication. * @param modelId - Embedding model identifier (e.g. `"nomic-embed-text"`). * @param input - A single string or array of strings to embed. * @param signal - Optional AbortSignal for cancellation. * @returns `EmbeddingResult` with dense vectors, model name, and usage. */ export declare function embed(serverUrl: string, apiKey: string, modelId: string, input: string | string[], signal?: AbortSignal): Promise; //# sourceMappingURL=embeddings.d.ts.map