Add models
You can add a model using one of the following interfaces:Add models via GUI
You can add a model compatible with OpenAI’s API standards to Cognigy in Manage > AI & Voice Providers > Language Models. In Generative AI Connection, select an existing connection or click the + button to create one. The connection stores the credentials. To add the model, you’ll need the following parameters:
Apply changes. Check if the connection was set up by clicking Test Connection. 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 API POST /v2.0/largelanguagemodels request. Then, test your connection for the created model via the Cognigy API POST /v2.0/largelanguagemodels//test.Apply the model
To apply a model, follow these steps:- In the navigation menu of the project, go to Manage > AI & Voice Providers > Language Models.
- Click Assignments.
- Find the capability that should use the model. Capabilities are grouped under Runtime Features, Design-Time, and Knowledge. For Knowledge AI, select a model for Knowledge Search and Answer Extraction. To find models that support these features, refer to Model support by feature.
- Select the model in the capability’s list. If no model in the project supports the capability, None is selected and the list shows No model in this project supports this capability.
- Click Save changes.