mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-29 13:25:50 +02:00
Allow setting QA_TIMEOUT from env var (#258)
Co-authored-by: Yuhong Sun <yuhongsun96@gmail.com>
This commit is contained in:
@@ -115,7 +115,7 @@ NUM_RERANKED_RESULTS = 15
|
||||
NUM_GENERATIVE_AI_INPUT_DOCS = 5
|
||||
# 1 edit per 2 characters, currently unused due to fuzzy match being too slow
|
||||
QUOTE_ALLOWED_ERROR_PERCENT = 0.05
|
||||
QA_TIMEOUT = 10 # 10 seconds
|
||||
QA_TIMEOUT = int(os.environ.get("QA_TIMEOUT", "10")) # 10 seconds
|
||||
# Include additional document/chunk metadata in prompt to GenerativeAI
|
||||
INCLUDE_METADATA = False
|
||||
|
||||
|
Reference in New Issue
Block a user