-
Hi PrismPHP team 👋 First of all, thank you for this great library — it really simplifies working with the OpenAI API in PHP! I’m currently trying to use tool feature web_search_preview introduced by OpenAI for the gpt-4o model, as described in the official documentation: However, I couldn’t find a way to include the web_search_preview tools. Thanks in advance for any guidance! I’m happy to test or contribute if needed 🙌 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
This isn't currently possible with Prism - but shouldn't be too far away. Once the Responses API PR has been merged (#256) and provider tool use has been added (#365 - which I think I saw @sixlive is working on), this should be possible. |
Beta Was this translation helpful? Give feedback.
Responses API PR has been merged.
I've just submitted #405 for review, which adds provider tools.
Once that is merged, you'll be able to do the following:
Or with options: