Spaces:
Runtime error
Runtime error
Update app.py
#2
by
MikeCraBash
- opened
app.py
CHANGED
@@ -20,7 +20,7 @@ from chainlit.types import AskFileResponse
|
|
20 |
|
21 |
import chainlit as cl
|
22 |
|
23 |
-
text_splitter = RecursiveCharacterTextSplitter(chunk_size=
|
24 |
|
25 |
system_template = """Use the following pieces of context to answer the users question.
|
26 |
If you don't know the answer, just say that you don't know, don't try to make up an answer.
|
|
|
20 |
|
21 |
import chainlit as cl
|
22 |
|
23 |
+
text_splitter = RecursiveCharacterTextSplitter(chunk_size=100, chunk_overlap=10)
|
24 |
|
25 |
system_template = """Use the following pieces of context to answer the users question.
|
26 |
If you don't know the answer, just say that you don't know, don't try to make up an answer.
|