From 88d194e42cb5d152687c7c90207c5977ba8dd0ec Mon Sep 17 00:00:00 2001 From: Corey Peterson Date: Wed, 28 Aug 2024 10:34:38 -0400 Subject: [PATCH] Updated docker env with new placeholder generation variables --- docker/.env | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/docker/.env b/docker/.env index 7c2d3307b..d19d30255 100644 --- a/docker/.env +++ b/docker/.env @@ -22,7 +22,13 @@ ASSET_STORAGE_S3_SECRET=SECRET # DEV_ONLY_FAKES3_DISABLED=false # set to true if using real S3 on development -# OPENAI_API_KEY= # set this value to your api key to enable question generation -OPENAI_MODEL=gpt-4o-mini -OPENAI_LOG_STATS=true -OPENAI_ALLOW_IMAGES=false \ No newline at end of file +# question generation environment variables. Different variables are required depending on provider. +GENERATION_ENABLED=false # required to be true for generation to be enabled +GENERATION_ALLOW_IMAGES=false # not required + +GENERATION_API_PROVIDER=openai # required. provider must be openai or azure_openai +GENERATION_API_KEY= # required for both +GENERATION_API_ENDPOINT= # required for azure +GENERATION_API_VERSION= # required for azure +GENERATION_API_MODEL= # required for openai +GENERATION_LOG_STATS=true # not required. stat logging is set to debug threshold \ No newline at end of file