Skip to main content
Legacy Evaluator: This evaluator is from phoenix-evals 1.x and will be removed in a future version. You can migrate the template to a custom evaluator as shown below.
Example of a Question:
How many artists have names longer than 10 characters?
Example Query Generated: SELECT COUNT(ArtistId) \nFROM artists \nWHERE LENGTH(Name) > 10 The goal of the SQL generation Evaluation is to determine if the SQL generated is correct based on the question asked.

Google Colab

colab.research.google.com

SQL Eval Template

Running an SQL Generation Eval