feat: add Qdrant vector database client for JavaScript SDK (#273)#467
Open
vedparkasharya wants to merge 1 commit intoarakoodev:tsfrom
Open
feat: add Qdrant vector database client for JavaScript SDK (#273)#467vedparkasharya wants to merge 1 commit intoarakoodev:tsfrom
vedparkasharya wants to merge 1 commit intoarakoodev:tsfrom
Conversation
…#273) - Add QdrantClient class using Qdrant REST API directly (no SDK package) - Support vector search, upsert, delete, collection management - Implement multiple distance metrics: Cosine, Euclid, Dot - Add namespace filtering via Qdrant payload filters - Add batch search with result deduplication and ranking - Include 14 comprehensive unit tests using vitest - Export from db module index Fixes arakoodev#273
|
CLA Assistant Lite bot: Thank you for your submission, we really appreciate it. Before we can accept your contribution, we ask that you sign the Arakoo Contributor License Agreement. You can sign the CLA by adding a new comment to this pull request and pasting exactly the following text. I have read the Arakoo CLA Document and I hereby sign the CLA Ved Prakash Arya seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Qdrant vector database support to the EdgeChains JavaScript SDK using the Qdrant REST API directly (no external SDK package).
Problem
The JavaScript SDK only supported PostgreSQL/Supabase as the vector database. Issue #273 requested adding Qdrant vector database support.
Solution
QdrantClientclass that wraps the Qdrant REST API directlyPostgresClientChanges
JS/edgechains/arakoodev/src/db/src/lib/qdrant-client/QdrantClient.ts- New Qdrant client (279 lines)JS/edgechains/arakoodev/src/db/src/tests/qdrant-client/qdrantClient.test.ts- 14 unit tests (371 lines)JS/edgechains/arakoodev/src/db/src/index.ts- Export QdrantClient and QdrantDistanceMetricTesting
Usage
/claim #273