feat: Add support for Qdrant Vector Search#124
Open
Anush008 wants to merge 2 commits intoagentset-ai:mainfrom
Open
feat: Add support for Qdrant Vector Search#124Anush008 wants to merge 2 commits intoagentset-ai:mainfrom
Anush008 wants to merge 2 commits intoagentset-ai:mainfrom
Conversation
|
@Anush008 is attempting to deploy a commit to the Agentset Team on Vercel. A member of the Team first needs to authorize it. |
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
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.
Description
This PR adds support for using Qdrant as a vector search provider in AgentSet
Testing
I've unit tested this integration against a local Qdrant instance.
Setup
You can run Qdrant with
The dashboard is accessible at http://localhost:6333/dashboard
Documentation
I've drafted documentation for the integration to be added to https://qdrant.tech/documentation/platforms/.
Greptile Summary
This PR adds Qdrant as a self-hosted vector store provider, including a full
VectorStoreimplementation, a filter translator that maps the existing query DSL to Qdrant's condition model, schema validation, and UI wiring. The integration covers semantic, keyword, and hybrid search modes and correctly gates keyword search availability.upsert:nodes[0]!.vector.lengthatpackages/engine/src/vector-store/qdrant/index.ts:176will throw aTypeErrorifchunksis empty; an early-exit guard is needed before this line.Confidence Score: 4/5
Safe to merge after addressing the empty-chunks crash in upsert.
One P1 defect: upsert will throw a TypeError when called with an empty array due to the unguarded non-null assertion on nodes[0]!. The rest of the implementation is well-structured, the filter translator handles all mapped operators correctly, and the schema/routing integration is clean.
packages/engine/src/vector-store/qdrant/index.ts — empty-chunks crash and redundant payload-index call.
Important Files Changed
Reviews (1): Last reviewed commit: "feat: Add support for Qdrant Vector Sear..." | Re-trigger Greptile
(3/5) Reply to the agent's comments like "Can you suggest a fix for this @greptileai?" or ask follow-up questions!