mindcontrol_types 0.21.0

Mind Control types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};

/// Prompt fragment. Represents an individual prompt snippets with variables
/// that can be used independently or compiled together.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct FragmentV1 {
    /// Fragment variable
    pub var: super::var::VarV1,
    /// Fragment signature.
    pub signature: super::signature::SignatureInputFieldsV1,
    /// Fragment content.
    pub content: String,
}