lbb_ground
Ground terms to the graph's real vocabulary to avoid guessing types, relations, or properties. Use narrowed autocomplete, resolve free text, or generate a groundability report.
Instructions
Ground your terms to the graph's real vocabulary before you query or write, so you never guess a type, relation, or property name. Actions: complete — narrowed autocomplete: completes a prefix against the real vocabulary, optionally narrowed to the relations a (src_type, dst_type) pair actually admits (so you only propose relations that can exist); resolve — snap free text to the single nearest real vocabulary item by embedding/lexical similarity, never fabricating a name; audit — groundability report: signature sparsity, name semantics, sampled narrowing recall, and a narrow / narrow+finetune / lexical recommendation for this graph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | [resolve] Free text to snap to the nearest real vocabulary item | |
| graph | No | Graph to target; defaults to the connection's graph | |
| kinds | No | [complete/resolve] Restrict to these vocabulary kinds (default: all) | |
| top_k | No | [complete/resolve] Max results (default 8) | |
| action | Yes | complete = narrowed vocabulary autocomplete; resolve = snap free text to the nearest real vocabulary; audit = groundability report | |
| branch | No | Branch to target; defaults to the connection's branch | |
| detail | No | Response detail level. Defaults to compact. | |
| prefix | No | [complete] Text prefix to complete against the real vocabulary | |
| sample | No | [audit] Entities to sample for narrowing-recall | |
| dst_type | No | [complete] Narrow relation completions to those admitted INTO this target type | |
| src_type | No | [complete] Narrow relation completions to those admitted FROM this source type |