pub fn detect_ungrounded(args: &Value, span: Span) -> Result<Value, Diagnostic>
Inference.detect_ungrounded — check if a generation output is ungrounded. Returns a boolean and optional reason.
Inference.detect_ungrounded