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

Location for Openai and AI21 keys #4

Closed
Marcus-Arcadius opened this issue Nov 16, 2021 · 1 comment
Closed

Location for Openai and AI21 keys #4

Marcus-Arcadius opened this issue Nov 16, 2021 · 1 comment

Comments

@Marcus-Arcadius
Copy link

Marcus-Arcadius commented Nov 16, 2021

In order to use loom, where do I save my OpenAI key and AI21 keys?

@socketteer
Copy link
Owner

Set the environmental variable (don't include curly brackets)

export OPENAI_API_KEY={your api key}
or
export AI21_API_KEY={your api key}

You can also set the keys by going to Settings > Model config in loom, but this will not be saved when you close the program. If you want to do this make sure to pull the latest version because I just fixed a related bug.

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

2 participants