Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ chunks = process_giz_worldwide()
|
|
30 |
temp_doc = create_documents(chunks,'chunks')
|
31 |
##### Embed and store docs, check if collection exist then you need to update the collection
|
32 |
collection_name = "giz_worldwide"
|
33 |
-
hybrid_embed_chunks(docs=
|
34 |
|
35 |
################### Hybrid Search ######################################################
|
36 |
client = get_client()
|
|
|
30 |
temp_doc = create_documents(chunks,'chunks')
|
31 |
##### Embed and store docs, check if collection exist then you need to update the collection
|
32 |
collection_name = "giz_worldwide"
|
33 |
+
hybrid_embed_chunks(docs=temp_doc, collection_name=collection_name, del_if_exists=True)
|
34 |
|
35 |
################### Hybrid Search ######################################################
|
36 |
client = get_client()
|