Skip to content

AzureOpenAI error :( #752

Closed as not planned
Closed as not planned
@samedovzaur

Description

@samedovzaur

Confirm this is an issue with the Python library and not an underlying OpenAI API

  • This is an issue with the Python library

Describe the bug

I'm getting this error:
ImportError: cannot import name 'AzureOpenAI' from 'openai' (/usr/local/lib/python3.10/dist-packages/openai/init.py)
while import ing lbrary, 0.28.1 version of openai is being used.
Whay should i do?

To Reproduce

  1. imported library openai and AzureOpenAI
  2. didn't run gave error.

Code snippets

No response

OS

macos

Python version

3.10

Library version

0.28.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions