Skip to content

[Docs]There are errors in the usage of OpenAI in the README file #3079

Open
@leixiaotian1

Description

@leixiaotian1

Is your report related to a problem? Please describe.
The use of the OpenAI plugin described in the file at openAI readme is incorrect.

Is your report related to a suggestion/improvement? Please describe.
change oai := openai.NewPlugin(apiKey) to oai := &openai.OpenAI{APIKey: apiKey,}

Additional context

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to documentation

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions