Spaces:
Sleeping
Sleeping
Update main.py
Browse files
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=
|
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:
|