datachat
DataChat is an agentic platform that lets you chat with your MongoDB and PostgreSQL databases using natural language it understands your prompts, asks clarifying questions and visualizes insights.
Created on 5th April 2025
•
datachat
DataChat is an agentic platform that lets you chat with your MongoDB and PostgreSQL databases using natural language it understands your prompts, asks clarifying questions and visualizes insights.
The problem datachat solves
Data analysis often requires knowledge of complex query languages like SQL or MongoDB syntax, creating a barrier for non-technical users and slowing down workflows for analysts and engineers. Additionally, interpreting raw data from queries can be time-consuming and error-prone without proper visualization tools.
What You Can Use It For
Natural Language Data Queries
- Ask questions in plain English — no SQL or MongoDB knowledge required.
E.g., "Show me the average revenue for the last quarter"
Agentic Prompt Analysis
- The system doesn't just answer your query — it asks follow-up questions to refine and improve the results.
E.g., "Did you mean gross or net revenue?"
Cross-Database Compatibility
- Seamlessly interact with both PostgreSQL and MongoDB from a unified interface.
Dynamic Data Visualization
- Automatically turns your data into interactive charts and graphs for easier interpretation and decision-making.
How It Makes Your Life Easier
- No need to write or debug complex queries
- Minimizes errors in data interpretation
- Saves hours of manual work
- Makes data exploration accessible to everyone
- Helps uncover deeper insights through intelligent cross-questioning
Challenges we ran into
main issue we ran into was converting large databases to embeddings while still ensuring that the chunks were withing the token limit of the embedding model while keeping it seamless,this was an enticing problem and after a couple of hit and trial,we came across the perfect solution wherein to convert the tabular data into embeddings,we select the primary key from each table and link the primary key in each table to the entities of the table and they group together to form a chunk,we maintain an array to keep track of the and when we reach 4000 bytes and then we create a batch of these chunks and start upserting them.
secondly now that the data was stored in such a fragmented manner,every query,when we fetched the relevant embeddings,we had to reconstruct the data points neatly to maintain the context for the llms.
third in the vector database,we had to make sure that the link between the schema and data embeddings is maintained for seamless semantic search,for this we first stored the data relations in SQL db and then returned the connection id and used this connection id as a common link like data-<connection_id>-<chunk_no>-tabele_name and schema-<connection_id>
Tracks Applied (1)
MongoDB Atlas
Major League Hacking

