aws-samples/text-to-sql-bedrock-workshop
This repository is intended for those looking to dive deep on advanced Text-to-SQL concepts.
Covers latency-optimized prompt engineering through advanced techniques like schema retrieval augmentation and fine-tuning on benchmark datasets (Spider, BIRD). Integrates Amazon Bedrock LLMs with LangChain's SQLDatabase toolkit and vector stores (FAISS) to translate natural language into valid SQL across relational databases and data warehouses. Includes security patterns for prompt/SQL injection mitigation and fine-tuning workflows on SageMaker Studio notebooks.
134 stars. No commits in the last 6 months.
Stars
134
Forks
31
Language
Jupyter Notebook
License
MIT-0
Category
Last pushed
Feb 24, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/rag/aws-samples/text-to-sql-bedrock-workshop"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
aws-samples/generative-ai-use-cases
Application implementation with business use cases for safely utilizing generative AI in...
aws-samples/serverless-rag-demo
Amazon Bedrock Foundation models with Amazon Opensearch Serverless as a Vector DB
aws-samples/amazon-bedrock-rag
Fully managed RAG solution implemented using Knowledge Bases for Amazon Bedrock
IBM/granite-workshop
Source code for the IBM Granite AI Model Workshop
aws-samples/rag-with-amazon-bedrock-and-opensearch
Opinionated sample on how to build and deploy a RAG application with Amazon Bedrock and OpenSearch