Expand description
Utilities for extracting JSON fragments from noisy LLM output.
Functionsยง
- extract_
json_ array - Extract the first balanced JSON array (
[...]) from text. - extract_
json_ object - Extract the first balanced JSON object (
{...}) from text.