Skip to main content

Guidance for AI Assistants with Amazon Q Business

Create generative AI-powered assistants with Amazon Q Business to deliver HR support based on enterprise data sources

Overview

This Guidance demonstrates how enterprises can unlock the value of their data through the powerful generative AI capabilities of Amazon Q Business. By connecting to various data sources and enriching content, HR teams can leverage an AI assistant to provide highly relevant and personalized information to employees. The Guidance focuses on continuously improving generated responses for high-quality, up-to-date content. Designed with security, scalability, and cost-efficiency in mind, this Guidance empowers enterprises to transform how they leverage collective knowledge and better support their workforce.

How it works

This Guidance helps to deploy an Amazon Q application, connect it with data sources, and implement a chat with an HR application through a custom plugin.

Get Started

Deploy this Guidance

Use sample code to deploy this Guidance in your AWS account

Sample code

Well-Architected Pillars

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.

Lambda and DynamoDB enable the creation of custom, task-oriented applications that streamline business processes and enhance user productivity. The Amazon Q index, retriever, and data source components intelligently retrieve relevant information from enterprise data sources, providing comprehensive and accurate responses to user queries. The CloudFormation stack simplifies the deployment and operation of this Guidance, reducing the burden on IT resources.

Read the Operational Excellence whitepaper

Integration with IAM Identity Center enhances the security of the Amazon Q Business application by only allowing authorized users to access the application and data, with granular control over permissions. DynamoDB and Lambda provide a secure, managed environment for storing sensitive data and running custom application logic, reducing the security burden on the user. Access control features in Amazon Q Business restrict data and functionality access based on individual or group permissions, protecting critical enterprise data and applications.

Read the Security whitepaper

The AWS services in this Guidance help ensure that the application can handle fluctuating traffic even in the event of component failures. For example, DynamoDB offers highly available data storage, Lambda contributes resilient and scalable serverless compute, Amazon S3 provides reliable object storage, and IAM Identity Center secures and controls access. Additionally, CloudFormation enables repeatable and consistent infrastructure provisioning, empowering organizations to build robust and dependable applications.

Read the Reliability whitepaper

Amazon Q provides low-latency data access and automatic scaling for increased loads, resulting in efficient retrieval and processing of relevant information for responses to user queries. The serverless nature of Lambda enables seamless scaling of the custom plugin's functionality without managing underlying infrastructure. Further, DynamoDB and Lambda support the application's performance and efficiency by automatically scaling to handle increased workloads and providing low-latency data access and processing for timely responses to user queries, even during periods of high demand.

Read the Performance Efficiency whitepaper

Lambda and DynamoDB support cost optimization for the Amazon Q application. As a serverless service, Lambda scales up and down automatically, only consuming and paying for compute resources used. DynamoDB offers pay-as-you-go pricing (meaning you only pay for resources consumed) and auto-scaling so that users only pay for the required storage and throughput. These services help avoid idle or underutilized resources, minimizing operational costs.

Read the Cost Optimization whitepaper

The serverless approach of Lambda , Amazon S3 , and DynamoDB helps minimize waste of computing resources and energy consumption by reducing the need for physical infrastructure and server management. Lambda enables more efficient use of computing resources, reducing the overall carbon footprint and environmental impact. These native, managed AWS services improve efficiency and sustainability, as their usage is driven by on-demand workloads—which generally consume less energy than traditional "stateful" workloads.

Read the Sustainability whitepaper

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.