You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"instructions_comments": ("Comments about any part of the instructions, "
286
-
"especially if they are unclear, impossible, "
287
-
"or partially met"),
285
+
"query_analysis": "OUTPUT: <exact SELECT columns required by the question (no extra columns); if the question says 'list/show all' but does not name columns, select minimal identifying columns>.\\nOUTPUT GRAIN: <state only if explicitly requested; otherwise write N/A>.\\nMETRIC: <write the exact metric expression only if explicitly requested/defined; otherwise N/A (direct column retrieval)>.\\nGRAIN CHECK: <MATCH|MISMATCH|N/A>.\\nAGGREGATION DECISION: <NONE|SUM|AVG|COUNT|MIN|MAX> (NONE unless explicitly requested).\\nRANKING/LIMIT: <ORDER BY ... LIMIT ... | NONE>.\\nFILTERS: <predicates explicitly justified by the question> (each predicate must be a concrete SQL condition using =, >, <, BETWEEN, IN; do NOT use LIKE/contains unless explicitly requested).",
288
286
"explanation": ("Detailed explanation why the query can or cannot be "
289
287
"translated, mentioning instructions explicitly and "
290
288
"referencing conversation history if relevant"),
291
-
"sql_query": ("High-level SQL query (you must to applying instructions "
292
-
"and use previous answers if the question is a continuation)"),
289
+
"sql_query": ("ONE valid SQL query for the target database that follows "
290
+
"all rules above (use previous answers only if the question "
0 commit comments