discourse/plugins/discourse-ai/evals/lib
Natalie Tay bcb0949a2f
FEATURE: AI-generated DE queries on /new before creation (#39412)
Redesigns the Data Explorer `/queries/new` page to be AI-first, with a
non-AI fallback if AI is disabled.
 
Instead of the old dual-form layout (manual create + separate AI
generate that redirects to the edit page), the new page lets you
describe what you want, generates the SQL inline, and saves when you're
ready.

Reviewer notes:
- there's no database record created until user clicks "Save query"
- new POST /queries/generate endpoint for query generation, no DB record
- agent rework - related PR
https://github.com/discourse/discourse-ai-evals/pull/16
  - switched to agentic execution mode
  - removed ValidateSql tool (redundant with RunSql)
  - added full Data Explorer parameter type reference
  - evaluator for the DE agent
2026-04-22 13:50:26 +08:00
..
prompts FEATURE: add agentic execution mode for AI personas (#38230) 2026-03-05 15:06:54 +11:00
runners FEATURE: AI-generated DE queries on /new before creation (#39412) 2026-04-22 13:50:26 +08:00
agent_prompt_loader.rb DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
boot.rb
cli.rb DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
console_formatter.rb DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
eval.rb FEATURE: Run eval comparisons against a dataset (#36223) 2025-11-28 14:37:55 -03:00
features.rb FEATURE: Use evals to compare LLMs and Personas' prompts (#36027) 2025-11-18 10:39:52 -03:00
judge.rb FEATURE: add agentic execution mode for AI personas (#38230) 2026-03-05 15:06:54 +11:00
llm_repository.rb FEATURE: Cover all LLM features with evals (#35693) 2025-11-13 12:24:56 -03:00
recorder.rb DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
structured_logger.rb REFACTOR: centralize eval orchestration around feature-driven playground (#35718) 2025-10-30 13:08:38 -03:00
workbench.rb FEATURE: AI-generated DE queries on /new before creation (#39412) 2026-04-22 13:50:26 +08:00