AI Cloud Architect

Design responsible AI controls for Amazon Aurora PostgreSQL

AWSHow-to by InduTeja Aligeti, Anuradha Chintha and Nisha GambhirAWS Artificial Intelligence Blog

Learn how to make RAG chatbot answers traceable with Amazon Aurora PostgreSQL, pgvector, and Amazon Bedrock Guardrails, logging sources, scores, and guardrail traces in SQL.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

A reference design logs RAG retrieval provenance (chunk IDs, similarity scores, cited sources, guardrail traces) in Aurora PostgreSQL tables, with SQL schema and code examples.

Who it is for

Teams building RAG chatbots on Aurora PostgreSQL that need queryable explainability and audit trails for AI answers.

Key points

  • Maps the eight AWS Responsible AI dimensions to Aurora PostgreSQL features; only Explainability is built in depth.
  • Aurora ML generates Titan Text Embeddings V2 vectors (1,024 dimensions) from SQL.
  • Archive to Amazon S3 must succeed before rows are purged; the post recommends one combined job.
  • Aurora ML embedding calls are the only part that does not work on Amazon RDS for PostgreSQL.

The same at other vendors

Timeline

Posts about Amazon Aurora PostgreSQL, oldest first.

  1. New featureAmazon Aurora PostgreSQL now supports integration with Kiro powers · AWS · Announcement
  2. This postDesign responsible AI controls for Amazon Aurora PostgreSQL