Env Template Update (#1615)

This commit is contained in:
Yuhong Sun
2024-06-10 14:24:17 -07:00
committed by GitHub
parent a2065f018a
commit 7c9d037b7c

View File

@@ -2,19 +2,24 @@
# This will help with development iteration speed and reduce repeat tasks for dev # This will help with development iteration speed and reduce repeat tasks for dev
# Also check out danswer/backend/scripts/restart_containers.sh for a script to restart the containers which Danswer relies on outside of VSCode/Cursor processes # Also check out danswer/backend/scripts/restart_containers.sh for a script to restart the containers which Danswer relies on outside of VSCode/Cursor processes
AUTH_TYPE=disabled # For local dev, often user Authentication is not needed # For local dev, often user Authentication is not needed
DISABLE_LLM_CHUNK_FILTER=True # This passes top N results to LLM an additional time for reranking prior to answer generation, quite token heavy so we disable it for dev generally AUTH_TYPE=disabled
# This passes top N results to LLM an additional time for reranking prior to answer generation, quite token heavy so we disable it for dev generally
DISABLE_LLM_CHUNK_FILTER=True
# Always keep these on for Dev # Always keep these on for Dev
LOG_ALL_MODEL_INTERACTIONS=True # Logs all model prompts to stdout # Logs all model prompts to stdout
LOG_ALL_MODEL_INTERACTIONS=True
# More verbose logging
LOG_LEVEL=debug LOG_LEVEL=debug
# Useful if you want to toggle auth on/off (google_oauth/OIDC specifically) # Useful if you want to toggle auth on/off (google_oauth/OIDC specifically)
OAUTH_CLIENT_ID=<REPLACE THIS> OAUTH_CLIENT_ID=<REPLACE THIS>
OAUTH_CLIENT_SECRET=<REPLACE THIS> OAUTH_CLIENT_SECRET=<REPLACE THIS>
REQUIRE_EMAIL_VERIFICATION=False # Generally not useful for dev, we don't generally want to set up an SMTP server for dev # Generally not useful for dev, we don't generally want to set up an SMTP server for dev
REQUIRE_EMAIL_VERIFICATION=False
# Toggles on/off the EE Features # Toggles on/off the EE Features
@@ -23,7 +28,8 @@ NEXT_PUBLIC_ENABLE_PAID_EE_FEATURES=False
# Set these so if you wipe the DB, you don't end up having to go through the UI every time # Set these so if you wipe the DB, you don't end up having to go through the UI every time
GEN_AI_API_KEY=<REPLACE THIS> GEN_AI_API_KEY=<REPLACE THIS>
GEN_AI_MODEL_VERSION=gpt-3.5-turbo # If answer quality isn't important for dev, use 3.5 turbo due to it being cheaper # If answer quality isn't important for dev, use 3.5 turbo due to it being cheaper
GEN_AI_MODEL_VERSION=gpt-3.5-turbo
FAST_GEN_AI_MODEL_VERSION=gpt-3.5-turbo FAST_GEN_AI_MODEL_VERSION=gpt-3.5-turbo
# For Danswer Slack Bot, overrides the UI values so no need to set this up via UI every time # For Danswer Slack Bot, overrides the UI values so no need to set this up via UI every time