Module parser

Module parser 

Source
Expand description

Strict JSON extraction and validation.

Extracts a single JSON object from LLM output (supporting markdown blocks and inline JSON), then validates it into a SemanticUnit.

Functions§

parse_decision
Parse a raw LLM response into a strict Decision.