You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Azure openai api_version optional or latest argument #1913
Confirm this is a feature request for the Python library and not the underlying OpenAI API.
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
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!
Activity
RobertCraigie commentedon Jan 6, 2025
cc @kristapratico
Merge remote-tracking branch 'origin/main' into feat/openai#1913
prdai commentedon Jan 18, 2025
Hi,
I've set up a PR to resolve this issue (#1913) by making the
api_versionargument 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