This repo contains patterns showing how to build RAG based applications using infrastructure-as-code (IaC). It provides 2 base architectures
- Amazon Bedrock + Amazon Kendra integration SAM and CDK templates for supported Kendra connectors
- Amazon Q Business SAM and CDK templates for Q Business supported connectors.
- To learn more about submitting a pattern, read the publishing guidelines page.
Disclaimer: Sample code, software libraries, command line tools, proofs of concept, templates, or other related technology are provided as AWS Content or Third-Party Content under the AWS Customer Agreement, or the relevant written agreement between you and AWS (whichever applies). You should not use this AWS Content or Third-Party Content in your production accounts, or on production or other critical data. You are responsible for testing, securing, and optimizing the AWS Content or Third-Party Content, such as sample code, as appropriate for production grade use based on your specific quality control practices and standards. Deploying AWS Content or Third-Party Content may incur AWS charges for creating or using AWS chargeable resources, such as running Amazon EC2 instances or using Amazon S3 storage. This application uses various AWS services and there are costs associated with these services after the Free Tier usage - please see the AWS Pricing page for details. You are responsible for any AWS costs incurred. No warranty is implied in these examples.
- AWS CLI already configured with Administrator permission
-
Create an AWS account if you do not already have one and login.
-
Install Git and install the AWS Serverless Application Model CLI on your local machine.
-
Create a new directory and navigate to that directory in a terminal.
-
Clone this repo
git clone https://github.com/aws-samples/sample-genai-connector-patterns.git
Each subdirectory contains additional installation and usage instructions.
This library is licensed under the MIT-0 License. See the LICENSE file.