ambi 0.3.0

A flexible, multi-backend, customizable AI agent framework, entirely based on Rust.
1
2
3
4
5
6
7
8
9
10
11
12
// src/llm.rs

//! Large Language Model abstractions and provider implementations.

/// Core engine abstractions and wrapper implementations.
pub mod engine;
/// Concrete backend implementations (OpenAI API, Llama.cpp, etc.).
pub mod providers;
/// Tokenization algorithms for context management.
pub mod tokenizer;

pub use engine::{LLMEngine, LLMEngineConfig, LLMEngineTrait};