pub async fn structured_extraction<M>(
model: M,
) -> Result<ScenarioReport, ScenarioError>where
M: CompletionModel + 'static,Available on crate feature
test-utils only.Expand description
Runs Rig’s structured extractor and validates both the extracted semantic fields and accumulated usage.