16 lines
608 B
Rust
16 lines
608 B
Rust
//! Model backends for Capri: the managed Ollama (streaming `/api/chat`, model management
|
|
//! endpoints, owned server), OpenAI-compatible APIs and Lemonade, API key storage, and the
|
|
//! inference settings sections.
|
|
pub mod backend;
|
|
pub mod ollama;
|
|
pub mod openai;
|
|
pub mod secrets;
|
|
pub mod sections;
|
|
pub mod server;
|
|
|
|
pub use backend::LlmBackend;
|
|
pub use ollama::{ChatDone, ChatRequest, LlmError, Message, ModelEntry, Ollama, Options, RunningModel, ToolCall, ToolFunction};
|
|
pub use openai::{ApiConnection, OpenAi};
|
|
pub use secrets::SecretStore;
|
|
pub use sections::{ApiSection, InferenceSection, RouterSection};
|