azure-openai-node icon indicating copy to clipboard operation
azure-openai-node copied to clipboard

api version variable

Open yuma-shin opened this issue 1 year ago • 1 comments

Hi. I am a beginner in programming. I am using your wonderful package with my tools. This package made the transition to Azure Open AI a smooth one. However, the API version is fixed and cannot be flexibly adapted to API versions that are updated daily.

Therefore, we prepared a variable for API Version and edited the script to allow the user to set it arbitrarily. The user can optionally set the version with the apiVersion variable, otherwise 2023-03-15-preview is applied. If there is no problem with my commit and you like it, can you merge it?

yuma-shin avatar Oct 20 '23 17:10 yuma-shin