ollama-sdk 0.3.0

An idiomatic, unofficial Rust client for the Ollama API with support for streaming, tool calling, and custom transports.
Documentation
1
2
3
4
5
6
7
8
9
10
//! Provides utilities for parsing and handling streaming responses from the Ollama API.
//!
//! This module contains parsers for different types of streaming events,
//! such as chat completions and text generation.

mod chat_stream_parser;
mod generate_stream_parser;

pub use chat_stream_parser::ChatStreamParser;
pub use generate_stream_parser::GenerateStreamParser;