LOUIS SANNA commited on
Commit
6570b59
1 Parent(s): 419f9af

fix(chat): fix context

Browse files
Files changed (2) hide show
  1. anyqa/llm.py +1 -1
  2. app.py +1 -1
anyqa/llm.py CHANGED
@@ -9,7 +9,7 @@ except:
9
  pass
10
 
11
 
12
- def get_llm(max_tokens=1024, temperature=0.0, verbose=True, streaming=False, **kwargs):
13
  if has_azure_openai_config():
14
  return get_azure_llm(
15
  max_tokens=max_tokens,
 
9
  pass
10
 
11
 
12
+ def get_llm(max_tokens=1000, temperature=0.0, verbose=True, streaming=False, **kwargs):
13
  if has_azure_openai_config():
14
  return get_azure_llm(
15
  max_tokens=max_tokens,
app.py CHANGED
@@ -186,7 +186,7 @@ def answer_bot(query, history, docs, question, language, audience):
186
  Q = SimpleQueue()
187
 
188
  llm_streaming = get_llm(
189
- max_tokens=1024,
190
  temperature=0.0,
191
  verbose=True,
192
  streaming=True,
 
186
  Q = SimpleQueue()
187
 
188
  llm_streaming = get_llm(
189
+ max_tokens=1000,
190
  temperature=0.0,
191
  verbose=True,
192
  streaming=True,