embedchainjs
embedchainjs copied to clipboard
Make it more configurable?
It would be nice to pass different models here https://github.com/embedchain/embedchainjs/blob/ff5c5fef4bf3dc7ae3b44d28142e42f596829b14/embedchain/embedchain.ts#L146 i.e gpt-4
Also I am thinking about deploying a chromadb instance on cloudformation https://docs.trychroma.com/deployment?lang=js
So it would be nice to not have to rely on it being on the same machine the js is running on i.e :8000 https://github.com/embedchain/embedchainjs/blob/ff5c5fef4bf3dc7ae3b44d28142e42f596829b14/embedchain/vectordb/ChromaDb.ts#L21
For now I could create my own DB instance I suppose? Something like
async function App(db) {
const navalChatBot = new EmbedChain(db);
// ... Other initialization logic
return navalChatBot;
}
//Run the app commands inside an async function only
async function testApp() {
const myDB = new MyCustomDB();
const navalChatBot = await App(myDB);
Also would be really nice to have an API to partition data somehow based on customers.
I've been busy with the python package, it has many config options, feature parity is supposed to come sooner than later.