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

Add batches API endpoint #403

Closed gehrisandro closed 1 month ago

gehrisandro commented 1 month ago

This PR implements the Batch API: https://platform.openai.com/docs/guides/batch

Credits to @The-LoneWolf and his implementation here: https://github.com/openai-php/client/pull/401