Feature Request: Add support for web search
Hello, I admire this repo and thanks for all the incredible work.
I would like to make a feature request for web search. If you direct me to where to start, i can also work on this feature.
https://platform.openai.com/docs/guides/tools-web-search?api-mode=chat
best regards, tuna
You'll want to peek the corresponding Chat class - https://github.com/openai-php/client/blob/main/src/Responses/Chat/CreateResponse.php in the main client repo. This is just the Laravel wrapper.
Add changes to the docblocks, parsers, handlers and tests and you should be good.
I migrated this issue to the client repo. As it seems you want to add support for web_search_options for Chat Completion, which would be done in this repo.
Ah I was wrong. Its probably to support all the citation metadata returned: https://platform.openai.com/docs/guides/tools-web-search?api-mode=chat#output-and-citations