Update pages/3_Earnings_Semantic_Search_π_.py
Browse files
pages/3_Earnings_Semantic_Search_π_.py
CHANGED
@@ -14,9 +14,9 @@ bi_enc_options = ["multi-qa-mpnet-base-dot-v1","all-MiniLM-L6-v2","all-mpnet-bas
|
|
14 |
search_input = st.text_input(
|
15 |
label='Enter Your Search Query',value= "What key challenges did the business face?", key='search')
|
16 |
|
17 |
-
sbert_model_name = st.sidebar.selectbox("
|
18 |
|
19 |
-
top_k =
|
20 |
|
21 |
window_size = st.sidebar.slider("Number of Sentences Generated in Search Response",min_value=1,max_value=7,value=3)
|
22 |
|
|
|
14 |
search_input = st.text_input(
|
15 |
label='Enter Your Search Query',value= "What key challenges did the business face?", key='search')
|
16 |
|
17 |
+
sbert_model_name = st.sidebar.selectbox("Embedding Model", options=bi_enc_options, key='sbox')
|
18 |
|
19 |
+
top_k = 2
|
20 |
|
21 |
window_size = st.sidebar.slider("Number of Sentences Generated in Search Response",min_value=1,max_value=7,value=3)
|
22 |
|