02/Model Gateway

Content Strategy & Templates

Category-based routing and reusable category templates.


The content strategy (outside flow) classifies the last user message into admin categories with a router LLM (greeting→X, code→Y) and uses that category's model. If nothing matches, the default category, then priority, take over. A request never 500s.

Category templates

Frequently used categories (name + description) are stored as reusable templates. Managed from a tab on the System Prompts page; added to a group as a copy via "Add from template" (deleting a template does not affect groups).

The same categories are used by the Content and Semantic routers in the flow graph — see Flow Routing.