feat: add embedchain javascript package (#576)
This commit is contained in:
14
embedchain-js/embedchain/vectordb/BaseVectorDb.ts
Normal file
14
embedchain-js/embedchain/vectordb/BaseVectorDb.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
class BaseVectorDB {
|
||||
initDb: Promise<void>;
|
||||
|
||||
constructor() {
|
||||
this.initDb = this.getClientAndCollection();
|
||||
}
|
||||
|
||||
// eslint-disable-next-line class-methods-use-this
|
||||
protected async getClientAndCollection(): Promise<void> {
|
||||
throw new Error('getClientAndCollection() method is not implemented');
|
||||
}
|
||||
}
|
||||
|
||||
export { BaseVectorDB };
|
||||
Reference in New Issue
Block a user