Ass web search capability
This commit is contained in:
parent
2d8116a806
commit
b4e197acea
|
@ -8,6 +8,9 @@ def create_model_response(conversation,model,message):
|
||||||
|
|
||||||
payload = json.dumps({
|
payload = json.dumps({
|
||||||
"model": model,
|
"model": model,
|
||||||
|
"tools": [
|
||||||
|
{"type": "web_search"},
|
||||||
|
],
|
||||||
"input": message,
|
"input": message,
|
||||||
"conversation": conversation
|
"conversation": conversation
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue