forked from microsoft/generative-ai-for-beginners
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor setup, ch4, ch18 - for consistency in assignments
- Loading branch information
Showing
14 changed files
with
93 additions
and
335 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,10 +1,12 @@ | ||
# Azure OpenAI configuration | ||
AZURE_OPENAI_ENDPOINT='<add your endpoint here>' | ||
AZURE_OPENAI_DEPLOYMENT='<add your deployment name here>' | ||
AZURE_OPENAI_KEY='<add your key here>' | ||
AZURE_OPENAI_EMBEDDINGS_DEPLOYMENT='<add your deployment name here>' | ||
# OpenAI Provider | ||
OPENAI_API_KEY='<add your OpenAI API key here>' | ||
|
||
## Azure OpenAI | ||
AZURE_OPENAI_API_VERSION='2024-02-01' # Default is set! | ||
AZURE_OPENAI_API_KEY='<add your AOAI key here>' | ||
AZURE_OPENAI_ENDPOINT='<add your AOIA service endpoint here>' | ||
AZURE_OPENAI_DEPLOYMENT='<add your chat completion model name here>' | ||
AZURE_OPENAI_EMBEDDINGS_DEPLOYMENT='<add your embeddings model name here>' | ||
|
||
# OpenAI Configuration | ||
|
||
OPENAI_API_KEY='<add your OpenAI key here>' | ||
## Hugging Face | ||
HUGGING_FACE_API_KEY='<add your HuggingFace API or token 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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.