Default Empty Timeout Value breaks Docker Compose (#292)

This commit is contained in:
Yuhong Sun 2023-08-14 10:22:31 -07:00 committed by GitHub
parent e0cbd087f7
commit bb58dce1c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = int(os.environ.get("QA_TIMEOUT", "10")) # 10 seconds
QA_TIMEOUT = int(os.environ.get("QA_TIMEOUT") or "10") # 10 seconds
# Include additional document/chunk metadata in prompt to GenerativeAI
INCLUDE_METADATA = False