AI Cloud Architect

Natural language-based database analytics with Amazon Nova

AWSBlog post by Rahul Ghosh, Amaran Asokkumar, Gaurav Rele, Sungmin Hong, Jae Oh Woo, Long Chen and Vidya Sagar RavipatiAWS 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…

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

AI: Summary

What it is

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