prashant
commited on
Commit
•
908bb07
1
Parent(s):
7d78a3b
semantic error fix
Browse files
appStore/keyword_search.py
CHANGED
@@ -114,7 +114,12 @@ def app():
|
|
114 |
|
115 |
logging.info("starting semantic search")
|
116 |
with st.spinner("Performing Similar/Contextual search"):
|
117 |
-
semantic_search(queryList,
|
|
|
|
|
|
|
|
|
|
|
118 |
|
119 |
else:
|
120 |
st.info("🤔 No document found, please try to upload it at the sidebar!")
|
|
|
114 |
|
115 |
logging.info("starting semantic search")
|
116 |
with st.spinner("Performing Similar/Contextual search"):
|
117 |
+
semantic_search(query = queryList,
|
118 |
+
documents = allDocuments['documents'],
|
119 |
+
embedding_model=embedding_model,
|
120 |
+
embedding_layer=embedding_layer,
|
121 |
+
reader_model=reader_model,reader_top_k=reader_top_k,
|
122 |
+
retriever_top_k=retriever_top_k)
|
123 |
|
124 |
else:
|
125 |
st.info("🤔 No document found, please try to upload it at the sidebar!")
|