Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -40,11 +40,11 @@ def get_context(vectorstore,query):
|
|
40 |
return context_retrieved
|
41 |
|
42 |
# first we process and create the chunks for relvant data source
|
43 |
-
chunks = process_giz_worldwide()
|
44 |
# we convert to langchain documents
|
45 |
-
temp_doc = create_documents(chunks,'chunks')
|
46 |
# embed and store docs
|
47 |
-
hybrid_embed_chunks(docs= temp_doc, collection_name = "giz_worldwide")
|
48 |
|
49 |
|
50 |
print("embedding done")
|
|
|
40 |
return context_retrieved
|
41 |
|
42 |
# first we process and create the chunks for relvant data source
|
43 |
+
#chunks = process_giz_worldwide()
|
44 |
# we convert to langchain documents
|
45 |
+
#temp_doc = create_documents(chunks,'chunks')
|
46 |
# embed and store docs
|
47 |
+
#hybrid_embed_chunks(docs= temp_doc, collection_name = "giz_worldwide")
|
48 |
|
49 |
|
50 |
print("embedding done")
|