feat(storage): add Milvus vector adapter - #3041
Conversation
782b00c to
4871c23
Compare
|
Hi @qin-ctx @ZaynJarvis, could you take a look when you have a chance? This PR adds a Milvus vector database adapter using the existing CollectionAdapter/factory structure. The branch has been rebased on the latest main and is mergeable again. Focused local checks are passing: py_compile, ruff check, ruff format --check, uv lock --check, and git diff --check. |
1fc1060 to
821e40b
Compare
821e40b to
ea6cd42
Compare
|
Rebased this branch onto the latest Additional fixes from server validation:
Validation completed:
A fresh local source build of the latest main currently segfaults while initializing the native vectordb engine ( |
Signed-off-by: Cheney Zhang <chen.zhang@zilliz.com>
Signed-off-by: Cheney Zhang <chen.zhang@zilliz.com>
Signed-off-by: Cheney Zhang <chen.zhang@zilliz.com>
Signed-off-by: Cheney Zhang <chen.zhang@zilliz.com>
Signed-off-by: Cheney Zhang <chen.zhang@zilliz.com>
ea6cd42 to
07886ee
Compare
Summary
Testing
uvx ruff format --check openviking/storage/vectordb_adapters/milvus_adapter.py tests/storage/test_milvus_adapter.py openviking_cli/utils/config/vectordb_config.pyuvx ruff check openviking/storage/vectordb_adapters/milvus_adapter.py tests/storage/test_milvus_adapter.py openviking/storage/vectordb_adapters/factory.py openviking/storage/vectordb_adapters/__init__.py openviking_cli/utils/config/vectordb_config.pypython3.10 -m py_compile openviking/storage/vectordb_adapters/milvus_adapter.py tests/storage/test_milvus_adapter.py openviking_cli/utils/config/vectordb_config.pygit diff --check origin/main...HEADuv lock --checkPYTHONPATH=. uv run --no-project --python 3.10 --with pytest --with pydantic --with typing-extensions --with pyyaml --with httpx --with loguru --with 'pymilvus[milvus_lite]' --with apscheduler --with json-repair --with xxhash --with volcengine pytest --confcutdir=tests/storage -o addopts= tests/storage/test_milvus_adapter.py -q