Skip to main content

parse_json_response

Function parse_json_response 

Source
pub fn parse_json_response<T: DeserializeOwned>(
    response: &GenerateResponse,
) -> Result<T, Error>
Expand description

Parse a JSON response using the same fenced-block tolerance as LlmClientJson.