diff --git a/api/ask_astro/settings.py b/api/ask_astro/settings.py index d18d226c..e4ff83b8 100644 --- a/api/ask_astro/settings.py +++ b/api/ask_astro/settings.py @@ -15,10 +15,10 @@ # Environment variables for ConversationalRetrievalChain Load QA Chain CONVERSATIONAL_RETRIEVAL_LOAD_QA_CHAIN_TEMPERATURE = float( - os.environ.get("CONVERSATIONAL_RETRIEVAL_LOAD_QA_CHAIN_TEMPERATURE", "0.5") + os.environ.get("CONVERSATIONAL_RETRIEVAL_LOAD_QA_CHAIN_TEMPERATURE", "0.3") ) CONVERSATIONAL_RETRIEVAL_LOAD_QA_CHAIN_DEPLOYMENT_NAME = os.environ.get( - "CONVERSATIONAL_RETRIEVAL_LOAD_QA_CHAIN_DEPLOYMENT_NAME", "gpt-4-32k" + "CONVERSATIONAL_RETRIEVAL_LOAD_QA_CHAIN_DEPLOYMENT_NAME", "gpt-4-128k" ) SHOW_SERVICE_MAINTENANCE_BANNER = os.environ.get("SHOW_SERVICE_MAINTENANCE_BANNER", "False").upper() == "TRUE"