Documentation ¶ Index ¶ func Extract(raw string, v any) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Extract ¶ func Extract(raw string, v any) error Extract finds a JSON object inside arbitrary model output. It tolerates fenced code blocks, leading/trailing prose, and picks the largest balanced {...} region when multiple candidates exist. Types ¶ This section is empty. Source Files ¶ View all Source files extract.go Click to show internal directories. Click to hide internal directories.