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