januarevan commited on
Commit
08c0bda
1 Parent(s): 1078174
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -70,7 +70,7 @@ def create_a_collection(milvus_client, collection_name):
70
  # Create an index for the collection
71
  # IVF_FLAT index is used here, with metric_type COSINE
72
  index_params = {
73
- "index_type": "IVF_FLAT",
74
  "metric_type": "COSINE",
75
  "params": {
76
  "nlist": 128
 
70
  # Create an index for the collection
71
  # IVF_FLAT index is used here, with metric_type COSINE
72
  index_params = {
73
+ "index_type": "FLAT",
74
  "metric_type": "COSINE",
75
  "params": {
76
  "nlist": 128