Skip to main content

decode_ollama_response_with_limits

Function decode_ollama_response_with_limits 

Source
pub fn decode_ollama_response_with_limits(
    runner: Symbol,
    model: &str,
    body: &[u8],
    include_raw: bool,
    limits: DecodeLimits,
) -> Result<Expr>
Expand description

Decodes a non-streamed Ollama JSON response under caller-supplied limits.