synwire-core 0.1.0

Core traits and types for the Synwire AI framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Language model traits and types.

/// Batch processing trait for provider-level batch APIs.
#[cfg(feature = "batch-api")]
pub mod batch;
/// Fake model for testing.
pub mod fake;
/// Model profile registry.
pub mod registry;
/// Language model trait definitions.
pub mod traits;
mod types;

pub use fake::FakeChatModel;
pub use registry::{InMemoryModelProfileRegistry, ModelProfile, ModelProfileRegistry};
pub use traits::{BaseChatModel, BaseLLM};
pub use types::{ChatChunk, ChatResult, CostEstimate, Generation, LLMResult, ToolCallChunk};