simi-flow 0.1.0

A general-purpose toolkit of similarity checks: protect developers from wasting compute on LLMs for simple tasks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::prelude::*;
use thiserror::Error;

#[derive(Error, Debug)]
pub enum SimiError {
    #[error("Algorithm error: {0}")]
    AlgorithmError(String),

    #[error("Preprocessing error: {0}")]
    PreprocessError(String),

    #[error("Router configuration error: {0}")]
    RouterError(String),

    #[error("Batch processing error: {0}")]
    BatchError(String),
}