ArturG9 commited on
Commit
8be0d81
1 Parent(s): b4dac45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def main():
77
  st.header("Chat with multiple PDFs :books:")
78
 
79
 
80
- retriever = create_retriever_from_chroma(vectorstore_path="docs/chroma/", search_type='similarity', k=7, chunk_size=350, chunk_overlap=20)
81
  user_question = st.text_input("Ask a question about your documents:")
82
  if "messages" not in st.session_state:
83
  st.session_state["messages"] = [
 
77
  st.header("Chat with multiple PDFs :books:")
78
 
79
 
80
+ retriever = create_retriever_from_chroma(vectorstore_path="docs/chroma/", search_type='mmr', k=9, chunk_size=250, chunk_overlap=20)
81
  user_question = st.text_input("Ask a question about your documents:")
82
  if "messages" not in st.session_state:
83
  st.session_state["messages"] = [