Skip to content

Azure openai api_version optional or latest argument #1913

Closed

Description

@thunder-007

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

Additional context

No response

Activity

  1. RobertCraigie commented on Jan 6, 2025

    @RobertCraigie
    Contributor
  2. prdai commented on Jan 18, 2025

    @prdai

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions