openai-php / client

⚡️ OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API.
MIT License
4.56k stars 465 forks source link

[WIP] Assistants v2 support #395

Closed knash94 closed 1 month ago

knash94 commented 1 month ago

What:

Description:

This PR introduces the changes made from the V2 assistants API, with the existing responses updated to match the new schema but this has also added support for the new vector store APIs.

This approach to supporting V2 will introduce breaking changes due to V1 API no longer being accessible

Tasks Remaining before moved from draft PR

Related:

388 #381

gehrisandro commented 1 month ago

Hi @knash94

Thank you very much for this PR.

I will go to review it now.

gehrisandro commented 1 month ago

@knash94 It is nearly impossible for me to review this PR in one go. There I am going to pick from it in a new PR: https://github.com/openai-php/client/pull/405 Of course, giving all the credit you deserve 🙏🏼

I leave this PR open as a reference for now, but do not add more commits to it.

gehrisandro commented 1 month ago

Support for the Assistants API v2 and the Vector Stores API as finally arrived (beta). 🚀

Happy to hear your feedback before making it a stable release.

https://github.com/openai-php/client/releases/tag/v0.10.0-beta.1