azure-openai-node
azure-openai-node copied to clipboard
api version variable
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?