Skip to content

Conversation

@klmuthu
Copy link

@klmuthu klmuthu commented Jun 24, 2025

Issue #, if available:

Description of changes:

Comprehensive sample showing text-to-SQL generation and semantic search using Amazon Bedrock, Aurora PostgreSQL Serverless with pgvector extension.

Key capabilities:
• Natural language to SQL conversion using Claude Sonnet
• Semantic vector search with PostgreSQL pgvector and Amazon Titan embeddings
• Automated query strategy selection between SQL and vector operations

Files Added

  • bedrock-text2sql-aurora-pgvector/text2sql-postgresql.ipynb - Main implementation notebook
  • bedrock-text2sql-aurora-pgvector/infra.py - Infrastructure deployment script
  • bedrock-text2sql-aurora-pgvector/clean.py - Resource cleanup script
  • bedrock-text2sql-aurora-pgvector/config.json - Configuration settings
  • bedrock-text2sql-aurora-pgvector/ecommerce_schema.sql - Database schema
  • bedrock-text2sql-aurora-pgvector/ecommerce_data.sql - Sample data

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant