Create Grounded Model connections with Amazon Bedrock RAG capability
- Updated: 2024/10/18
Create Grounded Model connections with Amazon Bedrock RAG capability
Create Grounded by knowledge base Model connections using the native RAG (Retrieval Augmented Generation) capability from Amazon Bedrock to generate accurate and contextually relevant information referenced from Amazon Knowledge Base.
We are now offering you the option to create Model connections using the Amazon Bedrock-RAG capability. A search query on RAG retrieves relevant chunks of content from large-data-sets which are relevant and accurate to the provided context. After retrieving the relevant information, the model uses it to generate a response.
A few things to consider
- To use the Amazon Bedrock-RAG capability, you would first create a Knowledge Base in Amazon Bedrock before creating the Grounded by knowledge base Model connection.
- To use additional models from Amazon Bedrock that are not available for selection when creating a Model connection, you would have to procure the Model ID and the Model ARN from the supported models of Amazon Bedrock.
Prerequisites
- Role: AAE_Basic, Automation Admin custom role
- Permission: Attended Bot Runner
- Settings: AI Data Management must be enabled by the Automation Admin and the check box selected for Allow users to disable logs on AI Skills. Allow users with the Bot Creator license to disable data logging when using AI Skills to enable the Data logging toggle in the AI Skills screen.
See Roles and permissions for AI Tools for the Automation Admin custom role permissions.
Other requirements:
- As mentioned earlier, you would first create an Amazon Knowledge Base to create a Grounded by knowledge base Model connection and use it successfully in an AI Skill.
- If you want to store authentication details in a credential vault, have that information handy. See Secure credential store through Credential Vault.
- To test a Model connection, you must be connected to a Bot Agent 22.60.10 and later. As part of the test, you would have to run the bot on your desktop. Hence ensure the Bot Agent is configured to your user. For this task, if you have to switch connection to a different Control Room, see: Switch device registration between Control Room instances.
- You would need access to the Recorder package and the AI Skills package to test the connection successfully. A test Prompt would be executed to test the Model connection.
Procedure
Next steps
See Create AI Skills with Grounded by knowledge base Model connections.
See AI governance.
As the next step in your sequence of tasks, go to Create AI Skills with Grounded by knowledge base Model connections and create an AI Skill and connect to a Grounded by knowledge base Model connection to eventually use it in an automation.