Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 4.52 KB

README.md

File metadata and controls

44 lines (31 loc) · 4.52 KB

Open-source repo with demo of Generative AI RAG solution using Amazon Bedrock and OpenSearch Serverless - Using the Well-Architected Machine Learning Lens PDF to prepare for the AWS Machine Learning Engineer Associate (MLA-C01) Certification Exam

This is a CDK project written in TypeScript to demo how to implement a RAG solution using Amazon Bedrock and Amazon OpenSearch Serverless

Architecture Diagram: RAG Solution using Amazon Bedrock and AOSS (Amazon OpenSearch Serverless)

Alt text

For more details on how to deploy the infrastructure and the solution details, please refer to the Blog Posts:

Architecture Diagram: RAG App using Amazon Bedrock and AOSS (Amazon OpenSearch Serverless) running on ECS Fargate

Alt text

Architecture Diagram: RAG App with Cognito Authenitcation using Amazon Bedrock and AOSS (Amazon OpenSearch Serverless) running on ECS Fargate

Alt text

Architecture Diagram: Event-Driven Document Indexing RAG App with Cognito Authenitcation using Amazon Bedrock and AOSS (Amazon OpenSearch Serverless) running on ECS Fargate

Alt text

Architecture Diagram: Event-Driven Document Indexing RAG App with Cognito Authenitcation using Amazon Bedrock and AOSS (Amazon OpenSearch Serverless) running on EKS Cluster

Alt text

The cdk.json file tells the CDK Toolkit how to execute your app.

Useful commands

  • npm run build compile typescript to js
  • npm run watch watch for changes and compile
  • npm run test perform the jest unit tests
  • npx cdk deploy deploy this stack to your default AWS account/region
  • npx cdk diff compare deployed stack with current state
  • npx cdk synth emits the synthesized CloudFormation template