discourse/plugins/discourse-ai/lib/utils/research
Sam c8e5ca633b
FEATURE: Support subcategories and IDs in researcher category filter (#39877)
Expand the AI researcher's `category:` filter so it can target category
hierarchies more precisely:

- Category filters now include subcategories by default
  (e.g. `category:support` matches posts in `support` and its children)
- Prefix with `=` to exclude subcategories (e.g. `category:=support`)
- Accept category IDs and `parent/child` slug pairs to disambiguate
  categories that share a name or slug
- Accept quoted values so names containing spaces work correctly

The forum researcher agent prompt and researcher tool description are
updated to document the new syntax, and the agent process is tightened
to allow a dry run followed by a single final research call.
2026-05-12 09:27:57 +10:00
..
filter.rb FEATURE: Support subcategories and IDs in researcher category filter (#39877) 2026-05-12 09:27:57 +10:00
llm_formatter.rb