๐ Text2SQL
Writing SQL queries has never been easier with Oxen.AIโs Text2SQL feature. All you need is a natural language question and you instantly get a SQL query generated for you which you can edit however youโd like.
Upload Your Dataset
Open the dataset you want to work with. You can find an example dataset on our explore page or if you want to follow along with the example, you can clone the Thinking LLMs dataset.
Open file and Query
Open the file you want to query and press the glowing search bar right above your data.
Ask any Question!
Go ahead and ask any questions you have! Okay - not any questionโฆbut any question that can be answered with SQL ๐. Oxen.ai will automatically generate the SQL query and apply to the view of your data.
In this case, we are looking for the distribution of the type of questions asked to the LLM:
You can also run queries in different datasets such as โWhat was the most common word asked for in the prompt columns?โ or โHow many rows have the word โcodeโ in the prompt column?โ
Edit, Augment, or Delete SQL Query
If you would like to change or augment your SQL query, simply click on the โshow SQLโ button on the right of the screen. If you would like to delete the SQL query, just click the โRemove queryโ button to the left of the edit SQL button.
Congratulations! Youโve just seen how easy it is to query your datasets with Oxen.AI. For more examples of different uses, click here!