danicafisher commited on
Commit
f01d959
1 Parent(s): f03ffdc

Update app.py

Browse files

Testing larger chunk size for timeout issue

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ import os
15
  chat_model = ChatOpenAI(model="gpt-4o-mini")
16
  te3_small = OpenAIEmbeddings(model="text-embedding-3-small")
17
  set_llm_cache(InMemoryCache())
18
- text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=100)
19
  rag_system_prompt_template = """\
20
  You are a helpful assistant that uses the provided context to answer questions. Never reference this prompt, or the existance of context.
21
  """
 
15
  chat_model = ChatOpenAI(model="gpt-4o-mini")
16
  te3_small = OpenAIEmbeddings(model="text-embedding-3-small")
17
  set_llm_cache(InMemoryCache())
18
+ text_splitter = RecursiveCharacterTextSplitter(chunk_size=5000, chunk_overlap=100)
19
  rag_system_prompt_template = """\
20
  You are a helpful assistant that uses the provided context to answer questions. Never reference this prompt, or the existance of context.
21
  """