-
Notifications
You must be signed in to change notification settings - Fork 212
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
feat: milvus support #457
base: main
Are you sure you want to change the base?
feat: milvus support #457
Conversation
Adding Milvus as an Index Choice
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
@ericljx2020-gmail I'm seeing this issue in tests:
|
PR Type
enhancement, tests, dependencies
Description
MilvusIndex
class to integrate Milvus as an index choice, with methods for initialization, adding, querying, and deleting data.__init__.py
to includeMilvusIndex
in the list of available indexes.MilvusIndex
to the unit tests, ensuring it is included in the test indexes ifpymilvus
is available.pyproject.toml
to includepymilvus
as an optional dependency, allowing for Milvus integration.Changes walkthrough 📝
__init__.py
Add MilvusIndex to index initialization
semantic_router/index/init.py
MilvusIndex
.__all__
to includeMilvusIndex
.milvus.py
Implement MilvusIndex class for Milvus integration
semantic_router/index/milvus.py
MilvusIndex
class with methods for initialization, adding,querying, and deleting data.
schema.
test_layer.py
Add MilvusIndex to unit tests
tests/unit/test_layer.py
MilvusIndex
to the list of test indexes.pymilvus
.pyproject.toml
Update dependencies for Milvus support
pyproject.toml
pymilvus
as an optional dependency.qdrant-client
.