llama-core 0.35.0

The core library of LlamaEdge
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Define the types for model metadata.

pub mod ggml;
pub mod piper;
#[cfg(feature = "whisper")]
#[cfg_attr(docsrs, doc(cfg(feature = "whisper")))]
pub mod whisper;

/// Base metadata trait
pub trait BaseMetadata {
    fn model_name(&self) -> &str;
    fn model_alias(&self) -> &str;
}