Restriction
- Only users with the admin role in Cognigy can upload JSON service account files to configure Google models.
Add models
You can add a model using one of the following interfaces:Add models via GUI
You can add a model provided by Google GenAI 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:- Standard model
- Custom model
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.