better-qdrant-mcp-server
Version:
MCP server for enhanced Qdrant vector database functionality
16 lines • 430 B
JavaScript
export class BaseEmbeddingService {
constructor(apiKey, endpoint, model) {
this.apiKey = apiKey;
this.endpoint = endpoint;
this.model = model;
}
validateConfig() {
if (this.requiresApiKey() && !this.apiKey) {
throw new Error(`${this.constructor.name} requires an API key`);
}
}
requiresApiKey() {
return true;
}
}
//# sourceMappingURL=base.js.map