-
Couldn't load subscription status.
- Fork 273
feat: milvus support #457
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
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
MilvusIndexclass to integrate Milvus as an index choice, with methods for initialization, adding, querying, and deleting data.__init__.pyto includeMilvusIndexin the list of available indexes.MilvusIndexto the unit tests, ensuring it is included in the test indexes ifpymilvusis available.pyproject.tomlto includepymilvusas an optional dependency, allowing for Milvus integration.Changes walkthrough 📝
__init__.py
Add MilvusIndex to index initializationsemantic_router/index/init.py
MilvusIndex.__all__to includeMilvusIndex.milvus.py
Implement MilvusIndex class for Milvus integrationsemantic_router/index/milvus.py
MilvusIndexclass with methods for initialization, adding,querying, and deleting data.
schema.
test_layer.py
Add MilvusIndex to unit teststests/unit/test_layer.py
MilvusIndexto the list of test indexes.pymilvus.pyproject.toml
Update dependencies for Milvus supportpyproject.toml
pymilvusas an optional dependency.qdrant-client.