[SEO Subhead]
This Guidance demonstrates how to build on existing enterprise resources to automate tasks associated with the insurance claim lifecycle using Agents and Knowledge Bases for Amazon Bedrock. Your Amazon Bedrock-powered insurance agent can assist users by creating new claims, sending pending document reminders, gathering claims evidence, and searching across existing claims and knowledge repositories. This Guidance enhances operational efficiency, improves customer service, and enables better decision support through improved knowledge management while efficiently scaling to meet your needs.
Please note: [Disclaimer]
Architecture Diagram
[Architecture diagram description]
Step 1
During pre-processing, Knowledge Bases for Amazon Bedrock segments customer source documents into manageable chunks for efficient processing.
Step 2
These chunks are converted into embeddings using an Amazon Bedrock embedding model, facilitating semantic analysis.
Step 3
The embeddings power a vector store index, such as Amazon OpenSearch Service or Amazon Aurora, enabling semantic similarity comparisons between user queries and customer data source text.
Step 4
A user provides natural language queries, which are transformed into vectors using an Amazon Bedrock embedding model.
Step 5
Agents for Amazon Bedrock uses the preprocessing template to validate, contextualize, and categorize user input. The user input (or task) is interpreted by Agents for Amazon Bedrock using conversation history, agent instructions and configuration, and the underlying Amazon Bedrock foundation model (FM).
Step 6
Knowledge Bases for Amazon Bedrock offers fully managed retrieval augmented generation (RAG) for Agents for Amazon Bedrock access to customer data. They are configured by specifying usage instructions and linking to a customer Amazon Simple Storage Service (Amazon S3) data source.
Step 7
Action groups are a set of APIs and corresponding business logic, whose OpenAPI schema is defined as JSON files stored in Amazon S3.
Step 8
During orchestration, Agents for Amazon Bedrock utilizes ReAct prompting with the orchestration prompt template to run an optimal set of actions to complete the user’s task, incorporating action group API invocations and knowledge base queries to generate observations.
These observations enhance the base prompt for the Amazon Bedrock FM, guiding the Agents for Amazon Bedrock decision-making process. Optionally, advanced prompts can be configured to boost Agents for Amazon Bedrock precision by employing more detailed configurations and offering manually-selected examples for few-shot prompting.
Step 9
Using the knowledge base response generation prompt template, Agents for Amazon Bedrock conducts semantic similarity searches on the knowledge base to retrieve text, which is then used to augment the base prompt with additional context.
Step 10
The Agents for Amazon Bedrock reasoning process continues until Agents for Amazon Bedrock provides a final response or prompts the user for further information, ensuring accurate and contextual interactions.
Get Started
Deploy this Guidance
Sample code
Well-Architected Pillars
The AWS Well-Architected Framework helps you understand the pros and cons of the decisions you make when building systems in the cloud. The six pillars of the Framework allow you to learn architectural best practices for designing and operating reliable, secure, efficient, cost-effective, and sustainable systems. Using the AWS Well-Architected Tool, available at no charge in the AWS Management Console, you can review your workloads against these best practices by answering a set of questions for each pillar.
The architecture diagram above is an example of a Solution created with Well-Architected best practices in mind. To be fully Well-Architected, you should follow as many Well-Architected best practices as possible.
-
Operational Excellence
Amazon Bedrock streamlines operations through natural language understanding, automating tasks and reducing manual effort. Agents for Amazon Bedrock leverages high-performing models to comprehend inquiries and orchestrate multi-step tasks efficiently. Agents for Amazon Bedrock also integrates with existing systems through API calls to automate interactions. Knowledge Bases for Amazon Bedrock provide managed RAG to generate accurate responses.
Additionally, automating resource provisioning with AWS CloudFormation ensures consistent deployments, reducing configuration errors. Amazon DynamoDB offers low-latency performance for storing claims data, handling high throughput responsively. AWS Lambda runs business logic using a serverless approach, ensuring scalability and reliability without infrastructure management.
-
Security
Amazon Bedrock helps ensure data confidentiality, integrity, and availability through encryption, access controls, and secure data handling practices like anonymization and masking. DynamoDB provides secure claims data management with access controls, encryption, and automated backups. AWS Identity and Access Management (IAM) enables secure authentication and authorization, managing permissions and access to resources. Lambda minimizes the attack surface by running functions in isolated environments with IAM integration. OpenSearch Service offers encryption, access controls, and authentication mechanisms for data protection, while Amazon Simple Notification Service (Amazon SNS) facilitates secure communication for notifications.
-
Reliability
CloudFormation automates provisioning, enabling reliable and consistent infrastructure creation. DynamoDB offers high availability, durability, and automatic failover for data accessibility. OpenSearch Service provides data replication and fault tolerance for availability. Amazon SNS offers scalable and durable messaging for reliable notifications, and Amazon S3 helps ensure high durability and availability for stored data with redundancy and data protection.
-
Performance Efficiency
Amazon Bedrock provides high-performing FMs accessible through an API, enabling efficient generative AI application development and scaling without manual optimization. CloudFormation enables rapid deployment and scaling of infrastructure components, minimizing deployment time. DynamoDB offers a fully managed NoSQL database service with low-latency data access for efficient claims data handling. OpenSearch Service optimizes search and analytics performance with efficient indexing and processing of large data volumes.
-
Cost Optimization
As a managed service, Amazon Bedrock optimizes costs by eliminating infrastructure provisioning needs. DynamoDB offers on-demand capacity and auto-scaling, eliminating over-provisioning. Amazon OpenSearch Serverless scales based on demand without additional infrastructure costs. Amazon S3 provides cost-effective storage with lifecycle policies for transitioning data to lower-cost tiers.
-
Sustainability
CloudFormation automates infrastructure management, reducing resource wastage. DynamoDB scales automatically based on demand, minimizing energy consumption. Lambda dynamically allocates resources, eliminating idle servers and reducing energy usage. Additionally, Amazon SNS facilitates sustainable communication by providing efficient and scalable messaging capabilities, reducing resource overhead and energy consumption associated with traditional messaging systems.
Related Content
Insurance Claim Lifecycle Automation Using Agents and Knowledge Bases for Amazon Bedrock
Disclaimer
The sample code; software libraries; command line tools; proofs of concept; templates; or other related technology (including any of the foregoing that are provided by our personnel) is provided to you as AWS Content under the AWS Customer Agreement, or the relevant written agreement between you and AWS (whichever applies). You should not use this AWS Content in your production accounts, or on production or other critical data. You are responsible for testing, securing, and optimizing the AWS Content, such as sample code, as appropriate for production grade use based on your specific quality control practices and standards. Deploying AWS Content may incur AWS charges for creating or using AWS chargeable resources, such as running Amazon EC2 instances or using Amazon S3 storage.
References to third-party services or organizations in this Guidance do not imply an endorsement, sponsorship, or affiliation between Amazon or AWS and the third party. Guidance from AWS is a technical starting point, and you can customize your integration with third-party services when you deploy the architecture.