Skip to main content

parse_extraction_response

Function parse_extraction_response 

Source
pub fn parse_extraction_response(
    text: &str,
) -> Result<ExtractionResult, GraphError>
Expand description

Parse the LLM’s JSON response into an ExtractionResult. Defensively handles markdown fencing and malformed JSON.