mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-28 02:31:55 +01:00
* include alternate assisstant - migrate models - migrate db * functional alternate assistant selection * refactor chat components for persona API * functional assistants api * add full functionality- assistants * add functional assistants dropdown handler * refactor assistants for full compatability - hooks - track the live assistant for edge cases - UI updates * add assistant UI features - Autotab - Arrow selection - Icons - Proper @ detection - Info Popup prune unnecessary comments * functional search toggling for assistants * add functional cross-page assistants rebase with main * add proper interactivity for edge cases - click outside of input / text box - "force search" assistant consistency * refactor alt assistant consistency * update alembic versions * rebased * undo formatting changes * additional formatting * current processing * merge fixes * formatting * colors * 2 -> 1 * 1 -> 2 --------- Co-authored-by: “Pablo <“pablo@danswer.ai”>
52 lines
1.9 KiB
Plaintext
52 lines
1.9 KiB
Plaintext
# Copy this file to .env at the base of the repo and fill in the <REPLACE THIS> values
|
|
# 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
|
|
|
|
# For local dev, often user Authentication is not needed
|
|
AUTH_TYPE=disabled
|
|
|
|
|
|
# Always keep these on for Dev
|
|
# Logs all model prompts to stdout
|
|
LOG_ALL_MODEL_INTERACTIONS=True
|
|
# More verbose logging
|
|
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=<REPLACE THIS>
|
|
OAUTH_CLIENT_SECRET=<REPLACE THIS>
|
|
# 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
|
|
# NOTE: DO NOT ENABLE THIS UNLESS YOU HAVE A PAID ENTERPRISE LICENSE
|
|
ENABLE_PAID_ENTERPRISE_EDITION_FEATURES=False
|
|
|
|
|
|
# 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>
|
|
# 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
|
|
|
|
# For Danswer Slack Bot, overrides the UI values so no need to set this up via UI every time
|
|
# Only needed if using DanswerBot
|
|
#DANSWER_BOT_SLACK_APP_TOKEN=<REPLACE THIS>
|
|
#DANSWER_BOT_SLACK_BOT_TOKEN=<REPLACE THIS>
|
|
|
|
|
|
# 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 |