llama-cpp-bindings 0.8.0

llama.cpp bindings for Rust
Documentation
1
2
3
4
5
6
7
8
9
use std::string::FromUtf8Error;

#[derive(Debug, thiserror::Error)]
pub enum ApplyChatTemplateError {
    #[error("{0}")]
    FromUtf8Error(#[from] FromUtf8Error),
    #[error("Integer conversion error: {0}")]
    IntConversionError(#[from] std::num::TryFromIntError),
}