-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change default api version from
2023-05-15
to 2024-02-01
- Loading branch information
Showing
9 changed files
with
980 additions
and
1,345 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
# Duplicate this to .env.local for local development | ||
# For more details, visit the following link: https://github.com/blrchen/chatgpt-minimal#environment-variables | ||
# Duplicate this file and rename as '.env.local' for local development. | ||
# You must obtain OpenAI or Azure OpenAI credentials to run this application. | ||
# For detailed instructions on using these variables, visit: | ||
# https://github.com/blrchen/chatgpt-minimal#environment-variables | ||
|
||
# OpenAI API credentials. These are necessary if you intend to utilize the OpenAI API. | ||
OPENAI_API_KEY= | ||
# OpenAI API credentials (required for using the OpenAI API): | ||
# Sign up at https://openai.com/api/ to get your API key. | ||
OPENAI_API_KEY= # <-- Insert your OpenAI API key here | ||
OPENAI_API_BASE_URL="https://api.openai.com" | ||
|
||
# Azure OpenAI API credentials. These are necessary if you intend to utilize the Azure OpenAI API. | ||
# AZURE_OPENAI_API_BASE_URL= | ||
# AZURE_OPENAI_API_KEY= | ||
# AZURE_OPENAI_DEPLOYMENT= | ||
# Azure OpenAI API credentials (required for using the Azure OpenAI API): | ||
# Sign up at https://azure.microsoft.com/en-us/services/cognitive-services/openai/ for Azure OpenAI credentials. | ||
# Uncomment the following lines and insert your credentials if you're using Azure OpenAI. | ||
# AZURE_OPENAI_API_BASE_URL= # <-- Insert your Azure OpenAI API base URL here | ||
# AZURE_OPENAI_API_KEY= # <-- Insert your Azure OpenAI API key here | ||
# AZURE_OPENAI_DEPLOYMENT= # <-- Insert your Azure OpenAI deployment name here | ||
|
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
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
Oops, something went wrong.