Vanna.ai: Chat with your SQL database
github.com
Vanna.ai: Chat with your SQL database
1–10 of 243 posts
Re: Vanna.ai: Chat with your SQL database
#2Also, does the training phase actually involve writing SELECT queries by hand?
In the age of ORMs and so on, many people have probably forgotten how to write raw SQL queries.
Re: Vanna.ai: Chat with your SQL database
#3Re: Vanna.ai: Chat with your SQL database
#4What I'd really be interested in is being able to describe a problem space and have it generate a schema that models it. I'm actually not that bad at generating my own SQL queries.
Re: Vanna.ai: Chat with your SQL database
#5They just want a way to ask questions in prose and get an answer back, and this gets them a long way there.
Very cool!
Re: Vanna.ai: Chat with your SQL database
#6What I'd really be interested in is being able to describe a problem space and have it generate a schema that models it. I'm actually not that bad at generating my own SQL queries.
This works pretty well without a dedicated application today, e.g. "Knowing everything you do about music and music distribution, please define a database schema that supports albums, tracks, and artists" . If you have additional requirements or knowledge that the response doesn't address, just add it and re-prompt. When you're done, ask for the SQL to set up the schema in your database of choice.
Re: Vanna.ai: Chat with your SQL database
#7What I'd really be interested in is being able to describe a problem space and have it generate a schema that models it. I'm actually not that bad at generating my own SQL queries.
This works pretty well without a dedicated application today, e.g. "Knowing everything you do about music and music distribution, please define a database schema that supports albums, tracks, and artists" . If you have additional requirements or knowledge that the response doesn't address, just add it and re-prompt. When you're done, ask for the SQL to set up the schema in your database of choice.
Re: Vanna.ai: Chat with your SQL database
#8Re: Vanna.ai: Chat with your SQL database
#9Re: Vanna.ai: Chat with your SQL database
#10Vanna would be helpful for someone that knows SQL when they don't know the existing schema and business logic and also just to save time as a co-pilot. But the users that get the most value out of this are the ones without the ability to validate the generated SQL. Issues will occur - people will give incomplete definitions to the AI, the AI will reproduce some rookie mistake it saw 1,000,000 times in its training data (like failing to realize that by default a UNIQUE INDEX will consider NULL != NULL), etc. At least if all distributed assets can tie back to the query people will be able to retroactively verify the query.