Skip to main content

candidates

Function candidates 

Source
pub fn candidates(text: &str) -> Vec<Value>
Expand description

Every JSON value plausibly present in a model response, most likely first.

Fenced blocks come first because a model that fences its answer means it, then whole objects matched backwards from the end.