Home icon

Build a contextual chatbot application using Amazon Bedrock Knowledge Bases

Machine Learning Blog



This article explains how to build a contextual chatbot application using Amazon Bedrock Knowledge Bases, a serverless service for retrieval augmented generation (RAG) with large language models (LLMs).

Specifically, the article covers:

  • An overview of retrieval augmented generation (RAG) and its benefits for contextual chatbots
  • How Amazon Bedrock Knowledge Bases provides a managed solution for RAG, including data ingestion and text generation workflows
  • The solution architecture for a chatbot application using Amazon Bedrock Knowledge Bases, API Gateway, Lambda, React, and other AWS services
  • Steps to deploy the solution using AWS CDK and test the chatbot application
  • Sample questions and responses from the knowledge base (Amazon shareholder letters)
  • Instructions to clean up the deployed resources


Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

May 1
2024
Automate chatbot for document and data retrieval using Amazon Bedrock Agents and Knowledge Bases
Nov 6
2024
Build a scalable, context-aware chatbot with Amazon DynamoDB, Amazon Bedrock, and LangChain
Feb 14
2024
Build generative AI chatbots using prompt engineering with Amazon Redshift and Amazon Bedrock
Mar 14
2024
Building a Conversational Document Bot on Amazon Bedrock and Amazon Textract with .NET Windows Forms

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.