kg_evaluate_retrieval
Check how well a set of kg_search results is backed by the knowledge graph before you answer from them. Pass the chunk ids kg_search returned. Each chunk gets a bucket: authored-grounded (backed by links people authored), extracted-high-conf or extracted-low-conf (backed by links inferred from text, with high or low confidence), or no-support (nothing in the graph backs it). Also returns the overall distribution, dominant_bucket, recommend_refusal and a short agent_summary. Use it to decide whether to answer confidently, add a caveat, or decline. It only reads stored information: no AI call is made, so it is quick and adds no cost.
Request
- Base URL: https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1
- URL: https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1/tools/kg_evaluate_retrieval
- Auth: HTTP bearer
Request body
Response
Tool result (shape varies per tool — refer to the tool's docs for the exact return value).
Changes
No recorded changes to this operation across all 1 revision of this API.