Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open ai key #2

Closed
S1x-Data-Team opened this issue Dec 7, 2022 · 1 comment
Closed

Open ai key #2

S1x-Data-Team opened this issue Dec 7, 2022 · 1 comment

Comments

@S1x-Data-Team
Copy link

great work, but ive set the open ai key in all ways suggested but get the following exception: "Exception: OpenAI API key is not set. Either provide it to DataSloth(openai_api_key='...') run openai.api_key('...'), or set it as an env variable OPENAI_API_KEY", any suggestions appreciated?

@S1x-Data-Team
Copy link
Author

worked it out, passing the key into Sloth=DataSloth(API_KEY) worked rather than standalone DataSloth(APIKEY)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant