-
Notifications
You must be signed in to change notification settings - Fork 2.5k
feat(vectorstores): add Chromia vectorstore integration and examples #8041
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
Hi @jacoblee93 Can you please help to take a look at this PR? Thank you! |
@Prem95 this is in draft status - we generally wait until it's no longer a draft to review unless you have specific questions. If you think this is ready, please click the "Ready for review" button and we'll have a look. Edit: Oh, I see this isn't your PR - @liho00 will need to update the PR status when they're ready for us. |
Thanks @benjamincburns for the information. It will be updated |
Hi @benjamincburns, @jacoblee93 its ready for review now. |
Hi @benjamincburns, @jacoblee93 its ready for review now. |
1 similar comment
Hi @benjamincburns, @jacoblee93 its ready for review now. |
Hi @benjamincburns, please review this, thanks! |
Hi @liho00, The community package has become rather unwieldy, and we recommend against using it in production applications. Is this something that you want people to be able to use in production? If so, I'd recommend repackaging your changes into a standalone NPM module. You can keep this in your own GitHub repo and publish it to NPM yourself without our involvement, but to make it discoverable you can still create a PR that adds a page about it in our integration docs. Otherwise if you think that community is the best home for this, we'll leave it open and review it when we're able. Unfortunately adding new features to community isn't a high priority for us right now, so this may take a little while. |
https://www.npmjs.com/package/@liholiho/community?activeTab=readme We have published for our own use, but we still need this to be merged for better endorsement for users. |
Chromia Vector DB for LangChain.js
Chromia integration as a vector store for LangChain.js, built on top of
[postchain-client](https://www.npmjs.com/package/postchain-client)
. This package enables you to use a Chromia blockchain as a persistent and verifiable vector store for document embeddings.Features
Quickstart
1. Clone and Start a Local Chromia Node
docker run --rm -it -p 7740:7740 registry.gitlab.com/chromaway/example-projects/directory1-example/managed-single:latest git clone https://github.com/liho00/vector-db-chromia.git cd vector-db-chromia/chromia/rell chr build pmc blockchain add -bc build/vector_example.xml -c dapp -n vector_blockchain
This spins up a local Chromia node using Docker with a default blockchain configuration that supports vector storage.
2. Install the Vector Store
3. Usage Example