Update app.py
Browse files
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='
|
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"] = [
|