-
Notifications
You must be signed in to change notification settings - Fork 481
feat: Add VectorXDB Vector Search Tool #436
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
Open
Mithun748
wants to merge
15
commits into
crewAIInc:main
Choose a base branch
from
Mithun748:feat/vectorx-tool
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
|
Hi @lucasgomide @lorenzejay, @tonykipkemboi I’ve submitted this contribution on behalf of the VectorX DB team. Please feel free to let us know if there’s anything we should improve or adjust. Looking forward to your feedback—thanks! |
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
This PR adds a new VectorX Search Tool integration to the CrewAI tools ecosystem, enabling seamless semantic and hybrid vector search using the VectorX vector database.
The integration leverages Google Gemini embeddings (
gemini-embedding-001) by default to generate dense vector representations and optionally supports SPLADE for sparse lexical embeddings to facilitate hybrid retrieval.Features
BaseToolcompliance.Dependencies
vecxfor VectorX database interactions.google-genaifor Gemini embeddings and LLM support.transformersandtorchfor SPLADE support.Testing
Impact
Thank you for reviewing this PR! I look forward to your feedback and suggestions.
Note
Adds VectorX vector search tool using Gemini embeddings with optional SPLADE hybrid search, plus docs, tests, and an optional vecx dependency group.
VectorXVectorSearchToolwithVectorXSearchArgsandSpladeSparseEmbedderfor dense (Gemini) and optional SPLADE-based hybrid retrieval; supports upsert/query, error handling, and deferred embedding dimension detection. Exposed viacrewai_toolsandtools__init__.tools/vectorx_vector_search_tool/README.mdwith install, usage, and hybrid configuration guidance.tests/tools/test_vectorx_search_tool.pycovering dense and hybrid flows with dummy client and SPLADE.vectorxwithvecx>=0.33.1b5inpyproject.toml.Written by Cursor Bugbot for commit 6edf726. This will update automatically on new commits. Configure here.