Neurolingua commited on
Commit
3a352e4
·
verified ·
1 Parent(s): c316d7b

Update other_function.py

Browse files
Files changed (1) hide show
  1. other_function.py +1 -1
other_function.py CHANGED
@@ -210,7 +210,7 @@ def respond_pdf(query):
210
  for chunk in AI71(AI71_API_KEY).chat.completions.create(
211
  model="tiiuae/falcon-11b",
212
  messages=[
213
- {"role": "system", "content": "You are a agriculture pdf answering assistant."},
214
  {"role": "user", "content": f"Content:{extracted_text},Query:{query}"},
215
  ],
216
  stream=True,
 
210
  for chunk in AI71(AI71_API_KEY).chat.completions.create(
211
  model="tiiuae/falcon-11b",
212
  messages=[
213
+ {"role": "system", "content": "You are a pdf answering assistant and you have a pdf as a data."},
214
  {"role": "user", "content": f"Content:{extracted_text},Query:{query}"},
215
  ],
216
  stream=True,