diff --git a/.vscode/env_template.txt b/.vscode/env_template.txt index c257949e2..5a79b6535 100644 --- a/.vscode/env_template.txt +++ b/.vscode/env_template.txt @@ -4,8 +4,6 @@ # For local dev, often user Authentication is not needed 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 @@ -15,6 +13,11 @@ LOG_ALL_MODEL_INTERACTIONS=True LOG_LEVEL=debug +# This passes top N results to LLM an additional time for reranking prior to answer generation +# This step is quite heavy on token usage so we disable it for dev generally +DISABLE_LLM_CHUNK_FILTER=True + + # Useful if you want to toggle auth on/off (google_oauth/OIDC specifically) OAUTH_CLIENT_ID= OAUTH_CLIENT_SECRET= @@ -42,3 +45,8 @@ FAST_GEN_AI_MODEL_VERSION=gpt-3.5-turbo # Python stuff PYTHONPATH=./backend PYTHONUNBUFFERED=1 + + +# Enable the full set of Danswer Enterprise Edition features +# NOTE: DO NOT ENABLE THIS UNLESS YOU HAVE A PAID ENTERPRISE LICENSE (or if you are using this for local testing/development) +ENABLE_PAID_ENTERPRISE_EDITION_FEATURES=False diff --git a/.vscode/launch.template.jsonc b/.vscode/launch.template.jsonc index f4384a993..edd1d0c1b 100644 --- a/.vscode/launch.template.jsonc +++ b/.vscode/launch.template.jsonc @@ -17,6 +17,7 @@ "request": "launch", "cwd": "${workspaceRoot}/web", "runtimeExecutable": "npm", + "envFile": "${workspaceFolder}/.env", "runtimeArgs": [ "run", "dev" ], @@ -28,6 +29,7 @@ "request": "launch", "module": "uvicorn", "cwd": "${workspaceFolder}/backend", + "envFile": "${workspaceFolder}/.env", "env": { "LOG_LEVEL": "DEBUG", "PYTHONUNBUFFERED": "1" @@ -45,6 +47,7 @@ "request": "launch", "module": "uvicorn", "cwd": "${workspaceFolder}/backend", + "envFile": "${workspaceFolder}/.env", "env": { "LOG_ALL_MODEL_INTERACTIONS": "True", "LOG_LEVEL": "DEBUG", @@ -63,6 +66,7 @@ "request": "launch", "program": "danswer/background/update.py", "cwd": "${workspaceFolder}/backend", + "envFile": "${workspaceFolder}/.env", "env": { "ENABLE_MINI_CHUNK": "false", "LOG_LEVEL": "DEBUG", @@ -77,6 +81,7 @@ "request": "launch", "program": "scripts/dev_run_background_jobs.py", "cwd": "${workspaceFolder}/backend", + "envFile": "${workspaceFolder}/.env", "env": { "LOG_LEVEL": "DEBUG", "PYTHONUNBUFFERED": "1",