Check output citations against admitted sources
Usage
scan_grounding(
text,
source_ids,
policy = grounding_policy(),
show_stats = FALSE
)Arguments
- text
Model output.
- source_ids
Provenance identifiers for admitted sources.
- policy
Grounding policy from
grounding_policy().- show_stats
Show execution statistics as messages.
