amazon-bedrock-rag and rag-with-amazon-bedrock-and-pgvector

These are complementary approaches to RAG on AWS: the first uses the managed Knowledge Bases service for simplified vector storage and retrieval, while the second provides a self-managed alternative using PostgreSQL with pgvector for organizations requiring custom infrastructure control.

Maintenance 10/25
Adoption 10/25
Maturity 16/25
Community 22/25
Maintenance 2/25
Adoption 9/25
Maturity 16/25
Community 18/25
Stars: 195
Forks: 52
Downloads:
Commits (30d): 0
Language: JavaScript
License: MIT-0
Stars: 99
Forks: 17
Downloads:
Commits (30d): 0
Language: Python
License: MIT-0
No Package No Dependents
Stale 6m No Package No Dependents

About amazon-bedrock-rag

aws-samples/amazon-bedrock-rag

Fully managed RAG solution implemented using Knowledge Bases for Amazon Bedrock

Implements RAG with dual data sources (S3 documents and web crawling), using Amazon OpenSearch Serverless for vector storage and automatic document chunking with Titan Embeddings. Provides a complete Q&A chatbot application with multi-turn conversation support, model selection UI, and citation tracking—deployed via AWS CDK with API Gateway access controls and built-in security hardening.

About rag-with-amazon-bedrock-and-pgvector

aws-samples/rag-with-amazon-bedrock-and-pgvector

Opinionated sample on how to build/deploy a RAG web app on AWS powered by Amazon Bedrock and PGVector (on Amazon RDS)

Implements an event-driven PDF ingestion pipeline using S3 Event Notifications and Lambda functions to extract text, generate OpenAI embeddings, and populate PGVector for semantic search. The full stack uses AWS CDK for infrastructure-as-code, deploys a Streamlit frontend via ECS with Application Load Balancer routing, and secures access through Cognito authentication while integrating LangChain for RAG orchestration across Bedrock foundation models.

Scores updated daily from GitHub, PyPI, and npm data. How scores work