Expand description
Prompt builder for the LLM-based search router.
Produces the single user-turn prompt that instructs the router model to pick one (or more) backends for a user query and return structured JSON. Router must emit JSON only — no markdown.
Constants§
- ROUTER_
SYSTEM - System message for the router model.
Functions§
- build_
user_ prompt - Build the user prompt.