Let's explore an exciting project that leverages LangGraph Cloud's streaming API to create a data visualization agent. You can upload an SQLite database or CSV file, ask questions about your data, and the agent will generate appropriate visualizations. This blog is a brief dive into the agent’s workflow and key features.

datavis demo (1).mov

The entire workflow is orchestrated using LangGraph Cloud, which provides a framework for easily building complex AI agents, a streaming API for real-time updates, and a visual studio for monitoring and experimenting with the agent's behavior.

First, let us see the current SOTA text to sql workflow:

Schema and Metadata Extraction:

Embedding Creation:

Entity and Context Retrieval:

Relevant Table Extraction using Retrieval-Augmented Generation (RAG):

Large Schema Handling :