Natural language-based database analytics with Amazon Nova
AWS•Blog post••by Rahul Ghosh, Amaran Asokkumar, Gaurav Rele, Sungmin Hong, Jae Oh Woo, Long Chen and Vidya Sagar Ravipati•AWS Artificial Intelligence Blog
In this post, we explore how natural language database analytics can revolutionize the way organizations interact with their structured data through the power of large language model (LLM) agents. Natural language interfaces to databases have long been a goal in data management. Agents enhance database analytics by breaking down complex queries into explicit, verifiable reasoning steps and enabling self-correction through validation loops that can catch errors, analyze failures, and refine…
A reference design uses Amazon Nova models in a ReAct agent with LangGraph to turn natural language questions into SQL on Athena, then produce charts and summaries.
Who it is for
Teams building natural language analytics over structured data on AWS who want a worked Nova and Bedrock example.
Key points
Uses Amazon Nova Pro, Lite and Micro models via Amazon Bedrock with model access enabled first
Demo runs on the Spider insurance and claims database loaded into Athena, with Streamlit as the UI
AWS reports about 60% lower latency than other top models on a set of queries, in a zero-shot Spider evaluation
AI:Shows how to build a drive-thru ordering demo with Nova Sonic speech-to-speech on Bedrock, a serverless backend, and a menu board that highlights items as the customer speaks.
AI:Stretto replaced its web form with Tara, a phone agent on Amazon Nova 2 Sonic that runs bankruptcy intake interviews and sorts leads against attorney rules.
AI:Amazon Payments used a multi-objective contextual bandit (LinUCB) on SageMaker AI to personalize an acquisition funnel, with weekly batch updates and precomputed recommendations served from a key-value store.