Kazama
Ollama Client in Rust 🦀
🤖 Rust client library for interacting with the Ollama API, enabling operations like chat completions, model pulls, embeddings generation, model listing, and model pushes.
✅ Features:
- Chat Completion:
chat_completion(model, content, role) - Model Pull:
pull_model(name, stream_mode) - Generate Embeddings:
gen_embeddings(model, prompt) - List Models:
list_models() - Push Models:
push_models(name, stream_mode)
✅ Usage:
use ;
async
For detailed API documentation, refer here. Acknowledgement for icon: https://www.artstation.com/artwork/n0q6Ye