mirror of
https://github.com/microsoft/AI-Red-Teaming-Playground-Labs.git
synced 2026-02-12 09:12:49 +00:00
Co-authored-by: Pierre Therrode <PTherrode@oui.sncf> Co-authored-by: pierre <pierre.theroode@gmail.com>
23 lines
1011 B
Plaintext
23 lines
1011 B
Plaintext
# 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.
|
|
# 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
|
|
|
|
# Used for the URL authentication. This is the key that needs to be included in the URL for autentication.
|
|
# You can generate one with python by running this python command `python -c 'import secrets; print(secrets.token_hex(16))'`
|
|
# You will access the labs at http://localhost:5000/login?auth=YOUR_AUTH_KEY
|
|
AUTH_KEY=YOUR_AUTH_KEY
|
|
|
|
# Azure OpenAI Information
|
|
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
|