Spaces:
Running
Running
MVPilgrim
commited on
Commit
·
e5190ef
1
Parent(s):
909f4bf
fdsa
Browse files- semsearch.py +3 -2
semsearch.py
CHANGED
@@ -250,7 +250,7 @@ class_obj = {
|
|
250 |
}
|
251 |
]
|
252 |
}
|
253 |
-
|
254 |
|
255 |
logger.info("#### createWebpageCollection() entered.")
|
256 |
if client.collections.exists("Documents"):
|
@@ -302,7 +302,8 @@ class_obj = {
|
|
302 |
}
|
303 |
]
|
304 |
}
|
305 |
-
|
|
|
306 |
|
307 |
###########################################################
|
308 |
# Create document and chunks objects in the database.
|
|
|
250 |
}
|
251 |
]
|
252 |
}
|
253 |
+
wpChunkCollection = client.collections.create_from_dict(class_obj)
|
254 |
|
255 |
logger.info("#### createWebpageCollection() entered.")
|
256 |
if client.collections.exists("Documents"):
|
|
|
302 |
}
|
303 |
]
|
304 |
}
|
305 |
+
wpCollection = client.collections.create_from_dict(class_obj)
|
306 |
+
|
307 |
|
308 |
###########################################################
|
309 |
# Create document and chunks objects in the database.
|