import { AIErrorOptions } from "./ai-error.mjs"; import { ProviderError } from "./provider-error.mjs"; //#region ../ai/src/errors/embedding-vector-count-mismatch-error.d.ts /** Details of an embedding provider response that did not preserve its input order. */ type EmbeddingVectorCountMismatchErrorOptions = AIErrorOptions & { provider: string; expectedCount: number; receivedCount: number; record: string; }; /** * An embedding provider returned a vector count other than the number of * inputs it accepted. Indexing or scoring that response would silently leave * a record without a vector, so callers must stop and surface the provider * contract violation. */ declare class EmbeddingVectorCountMismatchError extends ProviderError { readonly provider: string; readonly expectedCount: number; readonly receivedCount: number; readonly record: string; constructor(options: EmbeddingVectorCountMismatchErrorOptions); } //#endregion export { EmbeddingVectorCountMismatchError, EmbeddingVectorCountMismatchErrorOptions }; //# sourceMappingURL=embedding-vector-count-mismatch-error.d.mts.map