Skip to main content

Module jsonx

Module jsonx 

Source
Expand description

Getting structured data back out of a model, and hashing it stably.

Functionsยง

candidates
Every JSON value plausibly present in a model response, most likely first.
extract_into
Parse a model response straight into a typed value.
extract_json
Pull the last JSON value out of a model response.
finding_key
The original public finding key, retained for persisted-state and library compatibility.
looks_truncated
Whether a response looks cut off rather than merely malformed.