recon-driven sql composer; pick → compose → execute; llm out of structural sql

This commit is contained in:
2026-06-03 11:01:02 -03:00
parent 61494362a3
commit 29c620b2c2
27 changed files with 1516 additions and 249 deletions

10
api/prompts/pick.user.txt Normal file
View File

@@ -0,0 +1,10 @@
QUESTION:
{question}
CANDIDATE METRICS (pick one for `metric`):
{metrics_block}
CANDIDATE COLUMNS (pick from these for `group_by` and `where[*].column`):
{columns_block}
Return the Pick as JSON (or the error object). No other text.