langchain
langchain copied to clipboard
Integrate Rockset as Vectorstore
Description
This PR adds Rockset as a vectorstore for langchain. Rockset is a real time OLAP database which provides a fast and efficient vector search functionality. Further since it is entirely schemaless, it can store metadata in separate columns thereby allowing fast metadata filters during vector similarity search (as opposed to storing the entire metadata in a single JSON column). It currently supports three distance functions: COSINE_SIMILARITY, EUCLIDEAN_DISTANCE, and DOT_PRODUCT.
This PR adds rockset client as an optional dependency.
We would love a twitter shoutout, our handle is https://twitter.com/RocksetCloud
Before submitting
- Integration test: https://github.com/anubhav94N/langchain/blob/master/tests/integration_tests/vectorstores/test_rocksetdb.py
- Example notebook: https://github.com/anubhav94N/langchain/blob/master/docs/modules/indexes/vectorstores/examples/rockset_vector_database.ipynb
- Ran
make formatandmake lintlocally
Who can review?
@hwchase17, @dev2049 can you help review please?
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| langchain | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 21, 2023 8:20am |
@anubhav94N is attempting to deploy a commit to the LangChain Team on Vercel.
A member of the Team first needs to authorize it.
thanks @anubhav94N!