ArturG9 commited on
Commit
7250c5d
·
verified ·
1 Parent(s): 91fbf6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ def main():
104
 
105
  st.markdown("Hi, I am Qwen, chat mmodel, based on respublic of Lithuania law document. Write you question and press enter to start chat.")
106
 
107
- retriever = create_retriever_from_chroma(vectorstore_path="docs/chroma/", search_type='mmr', k=9, chunk_size=450, chunk_overlap=20)
108
  if user_question := st.text_input("Ask a question about your documents:"):
109
  handle_userinput(user_question,retriever)
110
 
 
104
 
105
  st.markdown("Hi, I am Qwen, chat mmodel, based on respublic of Lithuania law document. Write you question and press enter to start chat.")
106
 
107
+ retriever = create_retriever_from_chroma(vectorstore_path="docs/chroma/", search_type='similarity', k=9, chunk_size=450, chunk_overlap=20)
108
  if user_question := st.text_input("Ask a question about your documents:"):
109
  handle_userinput(user_question,retriever)
110