Expand description
Builds the system-prompt addendum appended when Azure Search is offered, grounding answers in retrieved course material and pointing the model at whichever other course-material tools this chatbot’s configuration actually offers.
Structs§
- Tool
Mention 🔒 - One sentence pointing the model at another tool, included only when its category is enabled.
Constants§
Functions§
- build_
search_ grounding_ instruction - Only called when
AZURE_AI_SEARCH_TOOL_NAMEitself is in the request’s tool list. Each row inTOOL_MENTIONSis appended only when its category is enabled, so the instruction never points the model at a tool this configuration doesn’t actually offer.