-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy path.env.example
More file actions
21 lines (19 loc) · 1.36 KB
/
.env.example
File metadata and controls
21 lines (19 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 (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
OPENAI_MODEL=gpt-4o-mini
# -----------------------------------------------------------------------------
# Azure OpenAI API credentials (required for using the Azure OpenAI API with ai-sdk):
# 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_RESOURCE_NAME= # <-- Insert your Azure OpenAI resource name here (e.g., "my-resource")
# AZURE_OPENAI_API_KEY= # <-- Insert your Azure OpenAI API key here
# AZURE_OPENAI_DEPLOYMENT= # <-- Insert your Azure OpenAI deployment name here (e.g., "gpt-4")