From 3acd0c74fce2739c5fdb0df173ef7de972f776c3 Mon Sep 17 00:00:00 2001 From: Rohit Gupta Date: Thu, 22 Feb 2024 05:17:47 +0530 Subject: [PATCH] community[patch]: added SCANN index in default search params (#17889) This will enable users to add data in same collection for index type SCANN for milvus --- libs/community/langchain_community/vectorstores/milvus.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/community/langchain_community/vectorstores/milvus.py b/libs/community/langchain_community/vectorstores/milvus.py index 0592e932af..1423b32012 100644 --- a/libs/community/langchain_community/vectorstores/milvus.py +++ b/libs/community/langchain_community/vectorstores/milvus.py @@ -154,6 +154,7 @@ class Milvus(VectorStore): "RHNSW_PQ": {"metric_type": "L2", "params": {"ef": 10}}, "IVF_HNSW": {"metric_type": "L2", "params": {"nprobe": 10, "ef": 10}}, "ANNOY": {"metric_type": "L2", "params": {"search_k": 10}}, + "SCANN": {"metric_type": "L2", "params": {"search_k": 10}}, "AUTOINDEX": {"metric_type": "L2", "params": {}}, }