Linkedin

  • Home >
  • Guidance for Natural Language Queries of Relational Databases on AWS

Guidance for Natural Language Queries of Relational Databases on AWS

Project Overview

This Guidance demonstrates how to build an application that allows users to query relational databases using natural language. The architecture uses a LangChain SQL database chain, a Streamlit frontend framework, and an Amazon SageMaker JumpStart foundation model (FM). The user's natural language query is passed to the LangChain SQL database chain, which translates it into a SQL statement using the FM. This SQL statement runs against the configured relational database, retrieving the relevant results.

These database results are passed back to the FM, which generates a natural language explanation summarizing the findings in an easy-to-understand format. The natural language explanation is then presented to the user through the Streamlit frontend, providing a user-friendly interface for submitting queries and viewing results.

To know more about this project connect with us

Guidance for Natural Language Queries of Relational Databases on AWS