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

Support OpenAI API key based authentication #101

Open
samos123 opened this issue Apr 27, 2024 · 0 comments
Open

Support OpenAI API key based authentication #101

samos123 opened this issue Apr 27, 2024 · 0 comments

Comments

@samos123
Copy link
Contributor

Ability to issue or configure an API key inside Lingo. Users should be able to secure Lingo by requiring an OpenAI API key. This should be compatible with using OpenAI client like this:

import os
from openai import OpenAI

client = OpenAI(
    # This is the default and can be omitted
    api_key=os.environ.get("OPENAI_API_KEY"),
)
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