AzureOpenAI doesn't support parameter chunking_strategy while creating vector store.

Copper Contributor

OpenAI recently added a new feature to their library, which says we can customize the chunking strategy used to split and store files in vector stores using the new parameter "chunking_strategy" to be used while creating a vector store.

340388095-b28ac955-ce32-44ac-bef5-185ebb19e45d.png

If I try creating a new vector store mentioning the custom chunking strategy using the OpenAI client, I am able to successfully create one.

340388634-1cf032f3-94ca-45b3-a94e-78b11806994b.png

But, if I try creating a new vector store mentioning the custom chunking strategy using the AzureOpenAI client, I get BadRequestError which says unknown parameter: chunking_strategy.

340389307-c96cc2a7-22e1-4bcc-9112-6da8a207039b.png

340389369-d066f3e5-3936-43a9-8b65-319b632ff7f3.png

I have tried upgrading the openai python library, but that doesn't solve the issue.
I request AzureOpenAI to update their module as per the changes done by openai library.

0 Replies