Updated in 2026.11
As of Cognigy.AI 2026.6.0, the support for the Completions API for custom LLMs is deprecated. The full removal is planned for Cognigy.AI 2026.24.0.
To start using a Microsoft Azure OpenAI model with Cognigy.AI features, follow these steps:
- Add a Model
- Apply the Model
Add Models
You can add a model using one of the following interfaces:
Add Models via GUI
You can add a model provided by Azure OpenAI to Cognigy.AI in Build > LLM. To add the model, you will need the following parameters:
Standard Model
Custom Model
Apply changes. Check if the connection was set up by clicking Test. You can switch generative models at any time using the Model list without setting up a new connection. For embedding models, the selection is locked because different embedding models can generate incompatible embeddings for Knowledge AI. To switch an embedding, delete the connection and create a new one.
Add Models via the API
You can add either a standard or custom model using the Cognigy.AI API POST /v2.0/largelanguagemodels request.
Then, test your connection for the created model via the Cognigy.AI API POST /v2.0/largelanguagemodels//test.
Deprecation of Old Connections for Microsoft Azure OpenAI
As of Cognigy.AI 4.82.0, Azure OpenAI connections that use the AzureOpenAIProvider connection type are deprecated. Cognigy.AI supports the AzureOpenAIProviderV2 connection type instead.
If you have old connections (for example, created in the 4.53 release) to Azure OpenAI,
these connections have an AzureOpenAIProvider type and are marked with a Deprecated label.
Although these connections can still be active,
we strongly recommend creating a model with the new AzureOpenAIProviderV2 type,
as old connection types will no longer be available in the future.
Note that for some Microsoft Azure OpenAI models, such as text-embedding-ada-002 for knowledge search features, you might encounter the following error when an LLM is triggered:
Error while performing knowledge search. Remote returned error: Search failed: Could not fetch embeddings due to missing API resource name for Azure OpenAI.
To resolve the issue, recreate the model and the connection so that both are updated to the latest format.
Apply the Model
To apply a model, follow these steps:
- In the left-side menu of the Project, go to Manage > Settings.
- Go to the section based on your use case for using a model:
- Generative AI Settings. In the Generative AI Settings section, activate Enable Generative AI Features. This setting is toggled on by default if you have previously set up the Generative AI credentials.
- Knowledge AI Settings. Use this section if you need to add a model for Knowledge AI. Select a model for the Knowledge Search and Answer Extraction features. Refer to the list of standard models and find the models that support these features.
- Navigate to the desired feature and select a model from the list. If there are no models available for the selected feature, the system will automatically select None. Save changes.