mirror of
https://github.com/microsoft/AI-Red-Teaming-Playground-Labs.git
synced 2026-02-12 17:22:49 +00:00
Add OpenAI standard configuration and docker-compose-openai.yaml setup (#32)
Co-authored-by: Pierre Therrode <PTherrode@oui.sncf> Co-authored-by: pierre <pierre.theroode@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# This an example of the .env file. You should create a .env file in the root directory of the project and fill in the values
|
||||
# with your own values.
|
||||
|
||||
# Used for cookie security.
|
||||
# Used for cookie security.
|
||||
# You can generate one with python by running this python command `python -c 'import secrets; print(secrets.token_hex(16))'`
|
||||
SECRET_KEY=YOUR_SECRET_KEY
|
||||
|
||||
@@ -14,3 +14,9 @@ AUTH_KEY=YOUR_AUTH_KEY
|
||||
AOAI_ENDPOINT=https://YOUR_AOAI_ENDPOINT
|
||||
AOAI_API_KEY=YOUR_AOAI_API_KEY
|
||||
AOAI_MODEL_NAME=gpt-4o
|
||||
|
||||
# OpenAI Standard Configuration
|
||||
# OPENAI_API_KEY=sk-your_openai_api_key_here
|
||||
# OPENAI_ORG_ID= # Optional and can cause errors if mismatched
|
||||
# OPENAI_TEXT_MODEL=gpt-3.5-turbo
|
||||
# OPENAI_EMBEDDING_MODEL=text-embedding-ada-002
|
||||
|
||||
Reference in New Issue
Block a user