Summary
When you ask a question, SchemaWhisper looks for similar questions we've answered before and checks your database structure. It combines this information to create a smart prompt that helps the AI write accurate SQL.
We store past questions and their SQL answers in Weaviate, and your database structure (tables, columns, and how they connect) in Neo4j. This way, SchemaWhisper always knows what tables to use and how to join them correctly.
Before showing you results, SchemaWhisper can test the SQL to make sure it's safe and correct. Everything runs read-only, so your data stays protected.