Update pages/3_Earnings_Semantic_Search_π_.py
Browse files
pages/3_Earnings_Semantic_Search_π_.py
CHANGED
@@ -108,7 +108,7 @@ try:
|
|
108 |
|
109 |
docsearch = process_corpus(st.session_state['earnings_passages'],title, embedding_model)
|
110 |
|
111 |
-
result = embed_text(search_input,
|
112 |
|
113 |
|
114 |
references = [doc.page_content for doc in result['source_documents']]
|
|
|
108 |
|
109 |
docsearch = process_corpus(st.session_state['earnings_passages'],title, embedding_model)
|
110 |
|
111 |
+
result = embed_text(search_input,docsearch)
|
112 |
|
113 |
|
114 |
references = [doc.page_content for doc in result['source_documents']]
|