Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Make it more configurable? #25

Open
bluematter opened this issue Jul 11, 2023 · 2 comments
Open

Make it more configurable? #25

bluematter opened this issue Jul 11, 2023 · 2 comments

Comments

@bluematter
Copy link

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);
@bluematter
Copy link
Author

Also would be really nice to have an API to partition data somehow based on customers.

@cachho
Copy link
Contributor

cachho commented Jul 11, 2023

I've been busy with the python package, it has many config options, feature parity is supposed to come sooner than later.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants