Skip to content

openai has no ChatCompletion attribute error #3

@adamcodes716

Description

@adamcodes716

If you are seeing this error:

openaihas noChatCompletionattribute, this is likely due to an old version of the openai package. Try upgrading it withpip install --upgrade openai. (type=value_error)

Then change your requirements to have this version of openai

openai==0.27.8

I tried using the current version and still got the error. Falling back to an older version solved it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions