Forum Discussion
Daksh410
Jun 17, 2024Copper Contributor
AzureOpenAI doesn't support parameter chunking_strategy while creating vector store.
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.
If I try creating a new vector store mentioning the custom chunking strategy using the OpenAI client, I am able to successfully create one.
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.
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.
No RepliesBe the first to reply