-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vscode][3/n] Setup Env Variables: Use env template file for new files
If the file does not exist, created a template file with some helper text to help guide people on how to set their environment variables. Next PR I will handle the use case for when the env file already exists ## Test Plan
- Loading branch information
1 parent
de91bd0
commit 1acea7d
Showing
2 changed files
with
49 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Uncomment the following lines to set these common env variables for | ||
# accessing generative AI models. If your model requires other env variables | ||
# you can also set those in this file | ||
|
||
## Used for models from OpenAI such as Chat GPT and Dall-E | ||
## You can get your api key from https://platform.openai.com/api-keys | ||
# OPENAI_API_KEY=<your key here> | ||
|
||
## Used for models from Google such as Gemini and Gemma | ||
## You can get your api key from https://ai.google.dev/tutorials/setup | ||
# GOOGLE_API_KEY=<your key here> | ||
|
||
## Used for models hosted on Hugging Face: https://huggingface.co/models | ||
## You can get your token from https://huggingface.co/settings/tokens | ||
# HUGGING_FACE_API_TOKEN=<your_token_here> |