When using this library with Azure Open AI and attempting to list the Vector Store Files for a particular Vector Store, the following exception is thrown: Undefined array key "chunking_strategy"
This is due to the expectation in the src/Responses/VectorStores/Files/VectorStoreFileResponse.phpfrom() method that the "chunking_strategy" key will exist.
I'd be happy to open a PR to resolve this if I have some upcoming availability, but also want to ensure that support for Azure Open AI is desired by the maintainers before doing so. It does appear that Azure / OpenAI continue to diverge a bit in their respective APIs, resulting in some maintenance nightmares.
Steps To Reproduce
Use this library with Azure Open AI
Try to list the Vector Store Files for a Vector Store:
Description
When using this library with Azure Open AI and attempting to list the Vector Store Files for a particular Vector Store, the following exception is thrown:
Undefined array key "chunking_strategy"
This is due to the expectation in the
src/Responses/VectorStores/Files/VectorStoreFileResponse.php
from()
method that the "chunking_strategy" key will exist.I'd be happy to open a PR to resolve this if I have some upcoming availability, but also want to ensure that support for Azure Open AI is desired by the maintainers before doing so. It does appear that Azure / OpenAI continue to diverge a bit in their respective APIs, resulting in some maintenance nightmares.
Steps To Reproduce
OpenAI PHP Client Version
v0.10.1
PHP Version
8.2.20
Notes
No response