Restrictions
- AWS Bedrock doesn’t accept requests with an empty or whitespace-only system prompt and returns an HTTP 400 error. This behavior applies to the following Nodes where system prompts are configured:
- LLM Prompt Node — System Prompt field.
- Question Node — LLM Instructions field.
- AI Agent Node — the system prompt is built from Persona, Job Description, and Instructions and Context. The restriction applies only when all three fields are empty.
Add Models
You can add a model using one of the following interfaces:Add Models via GUI
You can add a model provided by Amazon Bedrock to Cognigy in Build > LLM. To add the model, you will 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 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.