retrieve_business_context
Retrieve relevant business documents and protocols from the knowledge base to provide actionable guidance after model predictions. Returns ranked chunks with source provenance for informed decision-making.
Instructions
Retrieve relevant business context from the knowledge base.
Searches loaded business documents (e.g., clinical protocols, operational
rules) for sections relevant to the query. Returns ranked chunks with
source provenance for the Glass Floor presentation pattern.
Use this AFTER an explainability tool to find actionable business guidance.
For example, after explain_prediction returns a high-probability malignant
classification, call this with a query like 'high risk malignant biopsy'
to retrieve the relevant clinical protocol sections.
The provenance_label is always 'ai-interpreted' — any synthesis from
these chunks by the LLM is NOT deterministic and must be clearly
distinguished from grounded tool outputs.
Args:
query: Natural language search query (e.g., 'high risk biopsy referral').
top_k: Maximum number of chunks to return (default: 5).Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No |