simple_llama_rs 1.0.2

Rust crate for the Ollama API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Simple Llama - A Rust library for interacting with LLM models
// This is the top-level module that re-exports everything

// Module declarations
pub mod chat;
pub mod common;
pub mod models;

// Convenience re-exports
pub use chat::{ChatMessage, Message, ModelMemory, add_message};
pub use common::DEFAULT_URL;
pub use models::{ModelOptions, send_message};

// Legacy tests
#[cfg(test)]
mod tests;