genai 0.6.0-beta.17

Multi-AI Providers Library for Rust. (OpenAI, Gemini, Anthropic, xAI, Ollama, Groq, DeepSeek, Grok, GitHub Copilot)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Ollama native adapter implementation.
//! OPENAI API DOC: <https://platform.openai.com/docs/api-reference/chat>
//! OLLAMA API DOC: <https://github.com/ollama/ollama/blob/main/docs/api.md>
//!  OLLAMA Models: <https://ollama.com/library>

// region:    --- Modules

mod adapter_impl;
mod adapter_shared;
mod streamer;

pub use adapter_impl::*;
#[allow(unused_imports)]
pub use adapter_shared::*;
pub use streamer::*;

// endregion: --- Modules