In the world of data analysis, understanding your database structure is crucial. We've developed a way to map your database, which allows our AI to function as your in-house data analyst. This blog post will explain how we do it and why it matters.
Database schemas can be intricate, messy, and massive. Each organization's database is unique. Without a proper understanding of your schema, the accuracy of AI-generated queries can be surprisingly low. Our internal evaluations show that simply pasting a schema into a general-purpose AI chat (like Claude or ChatGPT) results in only about 30% query accuracy.
By mapping your database, we saw a boost in query accuracy to as high as 80% in our in-house evaluations (performance on your database may be different). Let's dive into how we achieve this.
We start by gathering fundamental information about your dataset. This involves:
Once we have the basics, we use LLMs to gain a deeper understanding:
After we have a solid understanding of your database structure:
This final product serves as our "map" of your database, which camelAI uses to navigate your data efficiently.
When you ask camelAI to create a report or answer a question, it doesn't start from scratch. Instead, it refers to the map to construct the most effective query possible. This is why our accuracy rates are so high compared to general-purpose AI solutions.
One of the most powerful features of camelAI is its ability to learn from your feedback.
If you notice that a query isn't right, you can thumbs-down the result and tell us what went wrong. We save your input and use it to update the map of your database. This means that if you tell us how to calculate Monthly Active Users, you only need to tell us once.
At camelAI, we take privacy and security very seriously. Your data is not used for training and can be deleted at any time.
We're committed to maintaining the highest standards of security. camelAI is CASA certified and is actively pursuing SOC 2 Type 1 and Type 2 certifications.
For a comprehensive overview of our security measures, including how we prevent data leaks, manage app connections, and protect against vulnerabilities, please visit our Security FAQ page. This resource is regularly updated to provide you with the most current information about how we safeguard your data.