-
-
Notifications
You must be signed in to change notification settings - Fork 620
Open
Labels
Non-OpenAI ModelNot an OpenAI Model.Not an OpenAI Model.bugSomething isn't workingSomething isn't working
Description
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
- Use this library with Azure Open AI
- Try to list the Vector Store Files for a Vector Store:
$this->client->vectorStores()->files()->list(
vectorStoreId: $vectorStoreId,
);
OpenAI PHP Client Version
v0.10.1
PHP Version
8.2.20
Notes
No response
Metadata
Metadata
Assignees
Labels
Non-OpenAI ModelNot an OpenAI Model.Not an OpenAI Model.bugSomething isn't workingSomething isn't working