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

fix: AI Search index creation

Clémence Lesné77bacd89767b
diff --git a/app/persistence/ai_search.py b/app/persistence/ai_search.py
index dc2de46..3bbacdd 100644
--- a/app/persistence/ai_search.py
+++ b/app/persistence/ai_search.py
@@ -228,9 +228,9 @@ class AiSearchSearch(ISearch):
vectorizer_name="vectorizer-default",
# Without credentials specified, the database will use its system managed identity
parameters=AzureOpenAIVectorizerParameters(
- deployment_id=self._config.embedding_deployment,
+ deployment_name=self._config.embedding_deployment,
model_name=self._config.embedding_model,
- resource_uri=self._config.embedding_endpoint,
+ resource_url=self._config.embedding_endpoint,
),
)
],