Skip to content

Are there some other way to set up the api token besides setting it as an environment variable? #154

Open
@splotchysnow

Description

@splotchysnow

The doc only mentioned to set OPENAI_API_KEY and it seems that .env wasn't working as expected. The only I can use the API key is if I set it up as a environment variable. Are there other more elegant and safer ways to do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestion about using the SDKstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions