llama-cpp-bindings 0.11.0

llama.cpp bindings for Rust
Documentation
1
2
3
4
5
6
7
8
9
#[derive(Debug, PartialEq, Eq, thiserror::Error)]
pub enum SamplerAcceptError {
    #[error("not enough memory")]
    NotEnoughMemory,
    #[error("grammar state corrupted during accept: {message}")]
    GrammarStateCorrupted { message: String },
    #[error("the grammar sampler callback failed during accept: {message}")]
    GrammarCallbackFailed { message: String },
}