ai-lib 0.4.0

A unified AI SDK for Rust providing a single interface for multiple AI providers with hybrid architecture
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! 模型管理模块,提供模型选择和解析功能
//!
//! Model management module providing model selection and resolution functionality.
//!
//! This module handles model name resolution, fallback logic, and provider-specific
//! model catalog management.
//!
//! Key components:
//! - `ModelResolver`: Resolves model names and handles fallbacks
//! - `catalog`: Provider model catalogs and metadata
//! - `ModelResolution`: Model resolution results with context

pub mod catalog;
pub mod resolver;

pub use resolver::{ModelResolution, ModelResolutionSource, ModelResolver};