Skip to content

Commit

Permalink
Include MilvusClient
Browse files Browse the repository at this point in the history
Signed-off-by: Filip Haltmayer <[email protected]>
  • Loading branch information
Filip Haltmayer committed Apr 27, 2023
1 parent 6d8785a commit b25b389
Show file tree
Hide file tree
Showing 5 changed files with 1,237 additions and 0 deletions.
Empty file.
12 changes: 12 additions & 0 deletions pymilvus/milvus_client/defaults.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
"""Default MilvusClient args."""

DEFAULT_SEARCH_PARAMS = {
"IVF_FLAT": {"metric_type": "L2", "params": {"nprobe": 10}},
"IVF_SQ8": {"metric_type": "L2", "params": {"nprobe": 10}},
"IVF_PQ": {"metric_type": "L2", "params": {"nprobe": 10}},
"HNSW": {"metric_type": "L2", "params": {"ef": 10}},
"RHNSW_FLAT": {"metric_type": "L2", "params": {"ef": 10}},
"RHNSW_SQ": {"metric_type": "L2", "params": {"ef": 10}},
"RHNSW_PQ": {"metric_type": "L2", "params": {"ef": 10}},
"AUTOINDEX": {"metric_type": "L2", "params": {}},
}
Loading

0 comments on commit b25b389

Please sign in to comment.