From 993e34fafbbdf305b08a47218c8493c446506623 Mon Sep 17 00:00:00 2001 From: Cheney Zhang Date: Wed, 4 Jun 2025 04:56:52 +0800 Subject: [PATCH] docs: Update Milvus feature table (#31472) We found the [table of langchain milvus feature](https://python.langchain.com/docs/integrations/vectorstores/) is not consistent with the currently implemented code. So we change it with a PR. - searchByVector: code is [here](https://github.com/langchain-ai/langchain-milvus/blob/e29ff1bff5c59fd3011dfd8aa9db4add16bcbf45/libs/milvus/langchain_milvus/vectorstores/milvus.py#L1543) - passesStandardTests: All methods will be tested(including unittest and integration test) , see an example [here]( https://github.com/langchain-ai/langchain-milvus/actions/runs/15347213828/job/43186093988) , the test code it [here](https://github.com/langchain-ai/langchain-milvus/tree/main/libs/milvus/tests) and the github workflow is defined [here](https://github.com/langchain-ai/langchain-milvus/blob/main/.github/workflows/_test.yml) - multiTenancy: milvus supports different kinds of [multi tenancy](https://milvus.io/docs/multi_tenancy.md#Implement-Multi-tenancy), they also implemented by langchain_milvus - database level: specify the database name in [connection_args](https://github.com/langchain-ai/langchain-milvus/blob/e29ff1bff5c59fd3011dfd8aa9db4add16bcbf45/libs/milvus/langchain_milvus/vectorstores/milvus.py#L374) - collection level: specify the collection in [collection_name param](https://github.com/langchain-ai/langchain-milvus/blob/e29ff1bff5c59fd3011dfd8aa9db4add16bcbf45/libs/milvus/langchain_milvus/vectorstores/milvus.py#L337) - partition level: specify the [partition-related params ](https://github.com/langchain-ai/langchain-milvus/blob/e29ff1bff5c59fd3011dfd8aa9db4add16bcbf45/libs/milvus/langchain_milvus/vectorstores/milvus.py#L280) - idsInAddDocuments: [add document method](https://github.com/langchain-ai/langchain-milvus/blob/e29ff1bff5c59fd3011dfd8aa9db4add16bcbf45/libs/milvus/langchain_milvus/vectorstores/milvus.py#L2030) supports ids param passed in( then passed to add_texts method [here](https://github.com/langchain-ai/langchain-milvus/blob/e29ff1bff5c59fd3011dfd8aa9db4add16bcbf45/libs/milvus/langchain_milvus/vectorstores/milvus.py#L1102)) @ccurme please take a review, thanks. Signed-off-by: ChengZi --- docs/src/theme/FeatureTables.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/theme/FeatureTables.js b/docs/src/theme/FeatureTables.js index a0763696a8b..2bb653b66b3 100644 --- a/docs/src/theme/FeatureTables.js +++ b/docs/src/theme/FeatureTables.js @@ -1107,13 +1107,13 @@ const FEATURE_TABLES = { link: "milvus", deleteById: true, filtering: true, - searchByVector: false, + searchByVector: true, searchWithScore: true, async: true, - passesStandardTests: false, - multiTenancy: false, + passesStandardTests: true, + multiTenancy: true, local: true, - idsInAddDocuments: false, + idsInAddDocuments: true, }, { name: "MongoDBAtlasVectorSearch",