openai-python
openai-python copied to clipboard
Azure openai api_version optional or latest argument
trafficstars
Confirm this is a feature request for the Python library and not the underlying OpenAI API.
- [X] This is a feature request for the Python library
Describe the feature or improvement you're requesting
from openai import AzureOpenAI azure_endpoint,api_key,api_version api_version is beign mandatory make it optional and if some argument like latest is passed it should show automatically pick the latest version
Additional context
No response
cc @kristapratico
Hi,
I've set up a PR to resolve this issue (#1913) by making the api_version argument optional and defaulting it to "2024-12-01-preview", the latest inference version.
Please feel free to review the PR and comment if anything needs to be updated or if there are further improvements you'd like to see. Your feedback is much appreciated!
PR: #2029