abdullahalioo commited on
Commit
2a20df3
·
verified ·
1 Parent(s): 6d1eef6

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -31,7 +31,7 @@ async def ask(question: Question):
31
  {"role": "user", "content": question.question},
32
  {"role": "system", "content": "You are a helpful AI assistant created by abdullah ali and he is very genius."}
33
  ],
34
- web_search=False
35
  )
36
  return {"answer": response.choices[0].message.content}
37
  except Exception as e:
 
31
  {"role": "user", "content": question.question},
32
  {"role": "system", "content": "You are a helpful AI assistant created by abdullah ali and he is very genius."}
33
  ],
34
+ web_search=True
35
  )
36
  return {"answer": response.choices[0].message.content}
37
  except Exception as e: