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

Can you please add more details on OPENAI_API_KEY env var in Readme #33

Closed
AI-Zebra opened this issue Aug 19, 2023 · 2 comments
Closed

Comments

@AI-Zebra
Copy link

The UI has OPENAI_API_KEY set to sk-xxxxxxxxxxxxx.
Please can you explain in readme, what is its purpose? How can we generate new API keys for different teams using this deployment?

@nmfretz
Copy link
Contributor

nmfretz commented Aug 21, 2023

Hi @AI-Zebra, thanks for the suggestion to clarify the OPEN_API_KEY environment variable in the readme.

The OPEN_API_KEY environment variable for the llama-gpt-ui container originates from Mckay Wrigley's Chatbot UI (which our UI is forked from). Chatbot UI is an alternative user interface to ChatGPT, so the purpose of the API KEY is to authenticate and interact with OpenAI's chat models.

For LlamaGPT, we've modified the UI to showcase only self-hosted models, so there is no need for a valid OpenAI API key. We included the key as a dummy string to retain compatibility with the original Chatbot UI setup.

Definitely check out Chatbot UI if you are looking for a user interface for OpenAI chat models. You can generate API keys from https://platform.openai.com/account/api-keys

@AI-Zebra
Copy link
Author

Thanks a lot @nmfretz for the quick answer..

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

3 participants