Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

quality: Use latest GA API for OpenAI completions

Clémence Lesnéad9ee486db78
diff --git a/helpers/config_models/llm.py b/helpers/config_models/llm.py
index 35679ef..fc5c544 100644
--- a/helpers/config_models/llm.py
+++ b/helpers/config_models/llm.py
@@ -32,7 +32,7 @@ class AzureOpenaiPlatformModel(AbstractPlatformModel):
self._client = AsyncAzureOpenAI(
**self._client_kwargs,
# Deployment
- api_version="2023-12-01-preview",
+ api_version="2024-06-01",
azure_deployment=self.deployment,
azure_endpoint=self.endpoint,
# Authentication