Skip to content

The code Fails With Error #1

@grabani

Description

@grabani

Hi There,

I have tried several options to resolve the code failure (including using ChatGPT). Running the code as is I get the error:

AttributeError: module 'openai' has no attribute 'ChatCompletion'

Essentailly ChatGPT says that I should use:

completion = openai.Completion.create(

But that doesn't work either.

image

I then asked for more help:

image

It finaaly suggsted:

image

But that didn't work either.

Any suggetsions?

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