Build a self-service digital assistant using Amazon Lex and Knowledge Bases for Amazon Bedrock | Amazon Web … – AWS Blog
Organizations strive to implement efficient, scalable, cost-effective, and automated customer support solutions without compromising the customer experience. Generative artificial intelligence (AI)-powered chatbots play a crucial role in delivering human-like interactions by providing responses from a knowledge base without the involvement of live agents. These chatbots can be efficiently utilized for handling generic inquiries, freeing up live agents to focus on more complex tasks.
Amazon Lex provides advanced conversational interfaces using voice and text channels. It features natural language understanding capabilities to recognize more accurate identification of user intent and fulfills the user intent faster.
Amazon Bedrock simplifies the process of developing and scaling generative AI applications powered by large language models (LLMs) and other foundation models (FMs). It offers access to a diverse range of FMs from leading providers such as Anthropic Claude, AI21 Labs, Cohere, and Stability AI, as well as Amazons proprietary Amazon Titan models. Additionally, Knowledge Bases for Amazon Bedrock empowers you to develop applications that harness the power of Retrieval Augmented Generation (RAG), an approach where retrieving relevant information from data sources enhances the models ability to generate contextually appropriate and informed responses.
The generative AI capability of QnAIntent in Amazon Lex lets you securely connect FMs to company data for RAG. QnAIntent provides an interface to use enterprise data and FMs on Amazon Bedrock to generate relevant, accurate, and contextual responses. You can use QnAIntent with new or existing Amazon Lex bots to automate FAQs through text and voice channels, such as Amazon Connect.
With this capability, you no longer need to create variations of intents, sample utterances, slots, and prompts to predict and handle a wide range of FAQs. You can simply connect QnAIntent to company knowledge sources and the bot can immediately handle questions using the allowed content.
In this post, we demonstrate how you can build chatbots with QnAIntent that connects to a knowledge base in Amazon Bedrock (powered by Amazon OpenSearch Serverless as a vector database) and build rich, self-service, conversational experiences for your customers.
The solution uses Amazon Lex, Amazon Simple Storage Service (Amazon S3), and Amazon Bedrock in the following steps:
The following diagram illustrates the solution architecture and workflow.
In the following sections, we look at the key components of the solution in more detail and the high-level steps to implement the solution:
To implement this solution, you need the following:
To create a new knowledge base in Amazon Bedrock, complete the following steps. For more information, refer to Create a knowledge base.
Complete the following steps to create your bot:
Complete the following steps to add QnAIntent:
The Amazon Lex web UI is a prebuilt fully featured web client for Amazon Lex chatbots. It eliminates the heavy lifting of recreating a chat UI from scratch. You can quickly deploy its features and minimize time to value for your chatbot-powered applications. Complete the following steps to deploy the UI:
To avoid incurring unnecessary future charges, clean up the resources you created as part of this solution:
In this post, we discussed the significance of generative AI-powered chatbots in customer support systems. We then provided an overview of the new Amazon Lex feature, QnAIntent, designed to connect FMs to your company data. Finally, we demonstrated a practical use case of setting up a Q&A chatbot to analyze Amazon shareholder documents. This implementation not only provides prompt and consistent customer service, but also empowers live agents to dedicate their expertise to resolving more complex issues.
Stay up to date with the latest advancements in generative AI and start building on AWS. If youre seeking assistance on how to begin, check out the Generative AI Innovation Center.
Supriya Puragundla is a Senior Solutions Architect at AWS. She has over 15 years of IT experience in software development, design and architecture. She helps key customer accounts on their data, generative AI and AI/ML journeys. She is passionate about data-driven AI and the area of depth in ML and generative AI.
Manjula Nagineni is a Senior Solutions Architect with AWS based in New York. She works with major financial service institutions, architecting and modernizing their large-scale applications while adopting AWS Cloud services. She is passionate about designing cloud-centered big data workloads. She has over 20 years of IT experience in software development, analytics, and architecture across multiple domains such as finance, retail, and telecom.
Mani Khanuja is a Tech Lead Generative AI Specialists, author of the book Applied Machine Learning and High Performance Computing on AWS, and a member of the Board of Directors for Women in Manufacturing Education Foundation Board. She leads machine learning projects in various domains such as computer vision, natural language processing, and generative AI. She speaks at internal and external conferences such AWS re:Invent, Women in Manufacturing West, YouTube webinars, and GHC 23. In her free time, she likes to go for long runs along the beach.
Read this article:
Build a self-service digital assistant using Amazon Lex and Knowledge Bases for Amazon Bedrock | Amazon Web ... - AWS Blog
- Machine Learning Reshapes Credit Scoring - Communications of the ACM - September 13th, 2026 [September 13th, 2026]
- Machine Learning With Threshold Optimization Could Help Reduce Unnecessary Appendectomies in Adults - bioengineer.org - September 13th, 2026 [September 13th, 2026]
- Information Theory Meets Machine Learning to Catch Industrial Cyberattacks - bioengineer.org - September 13th, 2026 [September 13th, 2026]
- Machine Learning Gets a Robustness Boost by Turning Labels into Preferences - bioengineer.org - September 13th, 2026 [September 13th, 2026]
- Machine Learning Meets X-Rays to Reveal the Hidden Architecture of Pea Seeds - bioengineer.org - September 13th, 2026 [September 13th, 2026]
- Machine Learning Predicts Which Women Will Face Early Ovarian Failure Within Three Years - bioengineer.org - September 13th, 2026 [September 13th, 2026]
- Machine Learning Cracks the Code of Nitinol Wear, a Metal That Remembers Its Shape - bioengineer.org - September 13th, 2026 [September 13th, 2026]
- Using machine learning to see how living brains learn - The University of Utah - September 8th, 2026 [September 8th, 2026]
- Applying causal machine learning to assess and improve cleantech policy design - Nature - September 8th, 2026 [September 8th, 2026]
- Frontier Tech Leaders Programme Celebrates First Machine Learning Bootcamp Graduation and AI for Sustainable Tourism Hackathon in Angola - United... - September 8th, 2026 [September 8th, 2026]
- From the Knowledge to machine learning: Wayve takes AI driving to London - IOT Insider - September 8th, 2026 [September 8th, 2026]
- Algorithm optimizes machine learning techniques that use linear, tunable resistor networks - AIP.ORG - September 2nd, 2026 [September 2nd, 2026]
- Math Modeling Seminar: Applications of Topological Data Analysis and Machine Learning Models in Predictive Biology and Drug Discovery | Events | RIT -... - September 2nd, 2026 [September 2nd, 2026]
- UC Berkeley Announces New Professional Graduate Degree in AI and Machine Learning - University of California, Berkeley - August 25th, 2026 [August 25th, 2026]
- DedeepyaYarraand the rise of Trustworthy AI: Where Machine Learning meets cybersecurity - India.com - August 25th, 2026 [August 25th, 2026]
- Machine learning smooths the road from idea to real-world climate impact - EurekAlert! - August 18th, 2026 [August 18th, 2026]
- Chris Latham Interviews Henry Zelikovsky, Founder & CEO of Softlab360: Successful Applications of AI/Machine Learning in Wealth Management -... - August 18th, 2026 [August 18th, 2026]
- Integrated data and machine learning transform lung cancer diagnosis and treatment - Bioengineer.org - August 18th, 2026 [August 18th, 2026]
- Machine learning accelerates climate solutions from ideas to real-world impact - Bioengineer.org - August 18th, 2026 [August 18th, 2026]
- Identification of weight loss predictors using machine learning approaches in adolescents with obesity - Nature - August 16th, 2026 [August 16th, 2026]
- Quantitative Hedge Fund Strategies: The Machine Learning Revolution of 2026 - rebellionresearch.com - August 16th, 2026 [August 16th, 2026]
- Healthcare Machine Learning Hits Production Scale as Governance Falls Behind, Black Book's Fourth Annual Report Finds - bhpioneer.com - August 16th, 2026 [August 16th, 2026]
- Machine Learning Identifies Predictors of Weight Loss in Adolescents With Obesity - Bioengineer.org - August 16th, 2026 [August 16th, 2026]
- How AI is changing hurricane forecasting as scientists track storms with machine learning - Gulf Coast News and Weather - August 12th, 2026 [August 12th, 2026]
- Scalable prediction of suicidal risk in university students: a three steps machine learning approach in university settings - Nature - August 12th, 2026 [August 12th, 2026]
- Identification of critical brain regions for young adults with obesity and their relationships with impulsivity using machine learning based on... - August 12th, 2026 [August 12th, 2026]
- UNIVERSITY OF ALBERTA Drones and machine learning team up to map forest soil health - Education News Canada - August 12th, 2026 [August 12th, 2026]
- Meet Millie Pradawong, the 14-year-old Virginia student using machine learning and CRISPR to make microal - The Times of India - August 7th, 2026 [August 7th, 2026]
- UWs Machine Learning for High School Teachers Workshop Enriches Classrooms - University of Wyoming - August 7th, 2026 [August 7th, 2026]
- Assessment and pathways of the energy production revolution in the Yellow River Basin, China towards carbon peaking: a machine learning approach -... - August 7th, 2026 [August 7th, 2026]
- TN Agri Budget: Govt bets on AI, Machine Learning to deliver real-time assistance to farmers - ThePrint - August 7th, 2026 [August 7th, 2026]
- Machine Learning Identifies Cognitive Impairment From Patient Speech - Psychiatry Advisor - August 5th, 2026 [August 5th, 2026]
- The Evolution of AI and Machine Learning: Powering the Future of Energy - JPT Homepage - August 5th, 2026 [August 5th, 2026]
- How Machine Learning Is Reshaping Extended Detection and Response - Technology Org - August 5th, 2026 [August 5th, 2026]
- AI and machine learning roles boost Indias white-collar recruitment - Staffing Industry Analysts - August 5th, 2026 [August 5th, 2026]
- Machine learning narrows search for additional particles in the Higgs boson family - Phys.org - July 24th, 2026 [July 24th, 2026]
- F1 in Belgium: Machine learning algorithms are ruining the sport - Ars Technica - July 24th, 2026 [July 24th, 2026]
- Researchers use AI and machine learning to design two new promising blue TADF OLED emitters - OLED-Info - July 24th, 2026 [July 24th, 2026]
- Machine learning professor breaks down OpenAI model's hack of another AI company - CBS News - July 24th, 2026 [July 24th, 2026]
- Barlast Tests Folk Tradition and Machine Learning On Imitation Game - World Music Central - July 24th, 2026 [July 24th, 2026]
- Predicting Outcomes with Machine Learning | Mathematical Sciences | College of Arts & Sciences - University of Delaware - July 6th, 2026 [July 6th, 2026]
- Machine Learning in Public Health: A 3-day Intensive Workshop - American Public Health Association - July 6th, 2026 [July 6th, 2026]
- Tunable band-stop photodetection with machine learning-enabled broadband spectral adaptation - Nature - July 3rd, 2026 [July 3rd, 2026]
- Basic machine learning with lessR : Easy, simple, and free - Open Access Government - July 3rd, 2026 [July 3rd, 2026]
- QuadSci Named Machine Learning Company of the Year - MarTech Cube - July 3rd, 2026 [July 3rd, 2026]
- From Conventional to Intelligent Triage: A Systematic Review of Artificial Intelligence and Machine Learning Applications in Emergency Departments -... - July 3rd, 2026 [July 3rd, 2026]
- On Robustness and Chain-of-Thought Consistency of RL-Finetuned VLMs - Apple Machine Learning Research - July 3rd, 2026 [July 3rd, 2026]
- Improving Wildfire Prediction with Machine Learning and Firebreaks - University of Reading - July 3rd, 2026 [July 3rd, 2026]
- A 3X Leader for the Agentic Era: DataRobot Named a Leader Again in the Gartner Magic Quadrant for Data Science and Machine Learning Platforms -... - June 24th, 2026 [June 24th, 2026]
- A 3X Leader for the Agentic Era: DataRobot Named a Leader Again in the Gartner Magic Quadrant for Data Science and Machine Learning Platforms - Yahoo... - June 24th, 2026 [June 24th, 2026]
- Undergrads gain hands-on machine learning experience in summer program - The Pennsylvania State University - June 24th, 2026 [June 24th, 2026]
- Python and Machine Learning: Why the Two Skills Are Increasingly Inseparable - BNO News - June 24th, 2026 [June 24th, 2026]
- Domino Data Lab Named a Visionary for the Third Consecutive Year in the 2026 Gartner Magic Quadrant for AI Platforms for Data Science and Machine... - June 24th, 2026 [June 24th, 2026]
- Machine Learning Boosts Smart Thermochromic Window Efficiency - Bioengineer.org - June 24th, 2026 [June 24th, 2026]
- A.I. VS HUMAN ROAST BATTLE to Pit Machine Learning Against Live Rapper in SF - BroadwayWorld - June 16th, 2026 [June 16th, 2026]
- Machine learning gives the U.S. a 1% chance of winning the World Cup final in its own backyard - Fortune - June 16th, 2026 [June 16th, 2026]
- Machine Learning Reveals Genes That Help Yeasts Resist Stress - Department of Energy (.gov) - June 16th, 2026 [June 16th, 2026]
- Machine Learning Reveals AED Impact on LGG Prognosis - Bioengineer.org - June 16th, 2026 [June 16th, 2026]
- Introducing the Third Generation of Apples Foundation Models - Apple Machine Learning Research - June 12th, 2026 [June 12th, 2026]
- Machine learning model predicts T2D risk up to 10 years before onset - Managed Healthcare Executive - June 12th, 2026 [June 12th, 2026]
- GPU as a Service Market to Reach USD 14.4 Billion by 2033 at 16.0% CAGR, Fueled by Generative AI, Machine Learning, and Cloud Infrastructure Expansion... - June 12th, 2026 [June 12th, 2026]
- Machine learning-guided design of mechanoadaptive bioglues for multitissue trauma and first-aid applications - Nature - June 12th, 2026 [June 12th, 2026]
- OUCRU scientists are using machine learning to forecast the next dengue outbreak - tropicalmedicine.ox.ac.uk - June 12th, 2026 [June 12th, 2026]
- IIT Roorkee invites applications for 11th Batch of Data Science, Machine Learning & Generative AI Programme - Elets Technomedia - June 12th, 2026 [June 12th, 2026]
- RAG Is Not Machine Learning, and the ML Toolkit Solves the Wrong Problem - Towards Data Science - June 3rd, 2026 [June 3rd, 2026]
- A reality check on the AI jobs hysteria - Machine Learning Week US - June 3rd, 2026 [June 3rd, 2026]
- STMicroelectronics Releases Vibration Sensor With Integrated Machine Learning for Industrial Monitoring - geneonline.com - June 3rd, 2026 [June 3rd, 2026]
- NAVER LABS Europe is offering a 2026 Research Internship in Large Language Models, focusing on AI Alignment, Controlled Generation, and Machine... - May 29th, 2026 [May 29th, 2026]
- Q&A: A Machine-Learning-Based Tool to Enhance Clinical Care of Patients With Multiple Sclerosis - Physician's Weekly - May 29th, 2026 [May 29th, 2026]
- Evaluating the Diagnostic Performance of AI and Machine Learning in Sickle Cell Disease Detection: A Systematic Review - Cureus - May 29th, 2026 [May 29th, 2026]
- HTC-19 Update: Artificial Intelligence and Machine Learning - Chromatography Online - May 29th, 2026 [May 29th, 2026]
- Multimodal phenotypic classification of generalized anxiety and panic using structural MRI data and psychosocial factors: machine learning results... - May 29th, 2026 [May 29th, 2026]
- Machine Learning Personalizes Depression Treatment with the Help of Wearable Technology - UC San Diego Today - May 27th, 2026 [May 27th, 2026]
- How Machine Learning Makes Complex Knowledge Useable in Real-World Conditions - Supply & Demand Chain Executive - May 25th, 2026 [May 25th, 2026]
- How Airbnbs machine-learning tools aim to prevent Memorial Day weekend parties in Las Vegas - FOX5 Vegas - May 25th, 2026 [May 25th, 2026]
- Artificial Intelligence and Machine Learning in Hospital Quality Management, Patient Safety, and Accreditation Readiness: A Systematic Review and... - May 25th, 2026 [May 25th, 2026]
- Machine learning accelerates analysis of fusion materials - Technology Org - May 25th, 2026 [May 25th, 2026]
- Dr. Kaveh Heidary Presents Innovations in AI, Machine Learning and Multispectral Imaging - aamu.edu - May 25th, 2026 [May 25th, 2026]
- Comparison of Prognostic Performance Between a Machine Learning Model and Manually Measured Grey-White-Matter Ratio on Early Brain Computed Tomography... - May 25th, 2026 [May 25th, 2026]
- Machine learning proves that graphene is hydrophobic - Phys.org - May 13th, 2026 [May 13th, 2026]