batch-mode-batch-schema 0.2.4

Defines the schema and structures for batch processing, including batch choices, message roles, error handling, and token management, with support for JSON deserialization and validation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// ---------------- [ File: batch-mode-batch-schema/src/errors.rs ]
crate::ix!();

error_tree!{
    #[derive(PartialEq)]
    pub enum ContentParseError {
        InvalidContent,

        #[cmp_neq]
        IoError(std::io::Error),
    }
}