import { EmbedOptions, EmbeddingsProvider } from "../.."; class BaseEmbeddingsProvider implements EmbeddingsProvider { options: EmbedOptions; static defaultOptions: Partial | undefined = undefined; get id(): string { throw new Error("Method not implemented."); } constructor(options: EmbedOptions) { this.options = { ...(this.constructor as typeof BaseEmbeddingsProvider).defaultOptions, ...options, }; } embed(chunks: string[]): Promise { throw new Error("Method not implemented."); } } export default BaseEmbeddingsProvider;