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:
Pierre Therrode
2025-08-14 15:13:40 +02:00
committed by GitHub
parent 4e3f2d741e
commit f4a4533292
3 changed files with 418 additions and 6 deletions

View File

@@ -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