daniel-was-taken commited on
Commit
e23989a
·
1 Parent(s): e318dc2

Change in populate_db

Browse files
Files changed (1) hide show
  1. populate_db.py +2 -2
populate_db.py CHANGED
@@ -14,8 +14,8 @@ milvus_client = MilvusClient(uri=MILVUS_URI)
14
  collection_name = "my_rag_collection"
15
 
16
  # Drop existing collection if it exists
17
- if milvus_client.has_collection(collection_name):
18
- milvus_client.drop_collection(collection_name)
19
 
20
  # Initialize embedding model
21
  embedding_model = SentenceTransformer("BAAI/bge-small-en-v1.5")
 
14
  collection_name = "my_rag_collection"
15
 
16
  # Drop existing collection if it exists
17
+ # if milvus_client.has_collection(collection_name):
18
+ # milvus_client.drop_collection(collection_name)
19
 
20
  # Initialize embedding model
21
  embedding_model = SentenceTransformer("BAAI/bge-small-en-v1.5")