Update app.py
Browse files
app.py
CHANGED
@@ -89,12 +89,12 @@ def main():
|
|
89 |
|
90 |
|
91 |
|
92 |
-
st.set_page_config(page_title="
|
93 |
page_icon=":books:")
|
94 |
st.write(css, unsafe_allow_html=True)
|
95 |
|
96 |
|
97 |
-
|
98 |
st.markdown("Available Documents: LR_Civil_Code_2022, LR_Constitution_2022, LR_Criminal_Code_2018, LR_Criminal_Procedure_code_2022,LR_Labour_code_2010. P.S it's a shame that there are no newest documents translations... ")
|
99 |
|
100 |
if "messages" not in st.session_state:
|
@@ -104,7 +104,7 @@ def main():
|
|
104 |
|
105 |
st.markdown("Hi, I am Birute, chat assistant, based on republic of Lithuania law documents. You can choose below information retrieval type and how many documents you want to be retrieved.")
|
106 |
search_type = st.selectbox(
|
107 |
-
"Choose search type. Options are [Max marginal relevance search (
|
108 |
options=["mmr", "similarity"],
|
109 |
index=1 # Default to "mmr"
|
110 |
)
|
|
|
89 |
|
90 |
|
91 |
|
92 |
+
st.set_page_config(page_title="Chat with multiple Lithuanian Law Documents: ",
|
93 |
page_icon=":books:")
|
94 |
st.write(css, unsafe_allow_html=True)
|
95 |
|
96 |
|
97 |
+
|
98 |
st.markdown("Available Documents: LR_Civil_Code_2022, LR_Constitution_2022, LR_Criminal_Code_2018, LR_Criminal_Procedure_code_2022,LR_Labour_code_2010. P.S it's a shame that there are no newest documents translations... ")
|
99 |
|
100 |
if "messages" not in st.session_state:
|
|
|
104 |
|
105 |
st.markdown("Hi, I am Birute, chat assistant, based on republic of Lithuania law documents. You can choose below information retrieval type and how many documents you want to be retrieved.")
|
106 |
search_type = st.selectbox(
|
107 |
+
"Choose search type. Options are [Max marginal relevance search (similarity) , Similarity search (similarity). Default value (mmr)]",
|
108 |
options=["mmr", "similarity"],
|
109 |
index=1 # Default to "mmr"
|
110 |
)
|