Spaces:
Sleeping
Sleeping
januarevan
commited on
Commit
•
08c0bda
1
Parent(s):
1078174
init
Browse files
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": "
|
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
|