diff --git a/aiagents/config/config.py b/aiagents/config/config.py index e23caae..1cd3dd0 100644 --- a/aiagents/config/config.py +++ b/aiagents/config/config.py @@ -89,7 +89,7 @@ def update_configuration(self): self.llm = AzureChatOpenAI(azure_deployment=environ.get( "AZURE_OPENAI_DEPLOYMENT", "cml" )) if self.openai_provider == "AZURE_OPENAI" else ChatOpenAI() - self.llm.temperature = float(environ.get("LLM_TEMPERATURE", 0.1)) + self.llm.temperature = float(environ.get("LLM_TEMPERATURE", 0.25)) print("LLM temperature: ", self.llm.temperature) def update_config_upload(self): @@ -100,7 +100,7 @@ def update_config_upload(self): self.llm = AzureChatOpenAI(azure_deployment=environ.get( "AZURE_OPENAI_DEPLOYMENT", "cml" )) if self.openai_provider == "AZURE_OPENAI" else ChatOpenAI() - self.llm.temperature = float(environ.get("LLM_TEMPERATURE", 0.1)) + self.llm.temperature = float(environ.get("LLM_TEMPERATURE", 0.25)) print("LLM temperature: ", self.llm.temperature) diff --git a/panel_start.py b/panel_start.py index 77f19e6..74f455e 100644 --- a/panel_start.py +++ b/panel_start.py @@ -37,7 +37,7 @@ # Environment variables to be stored in the .env file env_vars = { - "LLM_TEMPERATURE": "0.1", + "LLM_TEMPERATURE": "0.25", "OPENAI_API_VERSION": "2024-02-01", "OPENAI_EMBEDDING_MODEL": "text-embedding-ada-002", }