llama_cpp_bindings/mtmd/mtmd_input_text.rs
1/// Text input configuration
2///
3/// # Examples
4///
5/// ```
6/// use llama_cpp_bindings::mtmd::MtmdInputText;
7///
8/// let input = MtmdInputText {
9/// text: "Describe this image.".to_string(),
10/// add_special: true,
11/// parse_special: true,
12/// };
13/// ```
14#[derive(Debug, Clone)]
15pub struct MtmdInputText {
16 /// The input text string
17 pub text: String,
18 /// Whether to add special tokens
19 pub add_special: bool,
20 /// Whether to parse special tokens
21 pub parse_special: bool,
22}