Skip to content

Commit

Permalink
community[patch]: added SCANN index in default search params (langcha…
Browse files Browse the repository at this point in the history
…in-ai#17889)

This will enable users to add data in same collection for index type
SCANN for milvus
  • Loading branch information
rgupta2508 authored and al1p-R committed Feb 27, 2024
1 parent b35aa17 commit 9e89c7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/community/langchain_community/vectorstores/milvus.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ def __init__(
"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": {}},
}

Expand Down

0 comments on commit 9e89c7b

Please sign in to comment.