Update pages/3_Earnings_Semantic_Search_π_.py
Browse files
pages/3_Earnings_Semantic_Search_π_.py
CHANGED
@@ -55,8 +55,7 @@ try:
|
|
55 |
|
56 |
docsearch = process_corpus(st.session_state['earnings_passages'],_emb_tok,title, embedding_model)
|
57 |
|
58 |
-
result = embed_text(search_input,
|
59 |
-
bi_enc_dict[sbert_model_name],emb_tokenizer,docsearch,chain_type)
|
60 |
|
61 |
|
62 |
references = [doc.page_content for doc in result['input_documents']]
|
|
|
55 |
|
56 |
docsearch = process_corpus(st.session_state['earnings_passages'],_emb_tok,title, embedding_model)
|
57 |
|
58 |
+
result = embed_text(search_input,title,bi_enc_dict[sbert_model_name],emb_tokenizer,docsearch,chain_type)
|
|
|
59 |
|
60 |
|
61 |
references = [doc.page_content for doc in result['input_documents']]
|