ctxgraph-embed 0.5.0

Sentence embedding engine for ctxgraph using all-MiniLM-L6-v2
Documentation
1
2
3
4
5
6
7
8
9
10
mod encoder;
pub use encoder::EmbedEngine;

#[derive(Debug, thiserror::Error)]
pub enum EmbedError {
    #[error("model init failed: {0}")]
    ModelInit(String),
    #[error("encoding failed: {0}")]
    Encoding(String),
}