Evaluations/Running GPT-4o Text2SQL Inference
main
valid.parquet
text → text
OpenAIOpenAI/GPT 4o
OpenAI OpenAI
prediction
Write a SQL statement that is equivalent to the natural language user query below given the schema in the format of a CREATE TABLE SQL statement. Assume the table is called "df". Do not give any preamble or extra characters just the SQL query in plain text. Make sure the SQL query is on one line.

Schema:
{schema}

User Query:
{query}

SQL Query:
May 20, 2025, 9:16 PM UTC
May 20, 2025, 9:16 PM UTC
5 row sample
869 tokens$ 0.0034
5 rows processed, 869 tokens used ($0.0034)
Estimated cost for all 200 rows: $0.1361
Sample Results completed
5 columns, 1-5 of 200 rows