pub struct RecallCue {
pub text: Option<String>,
pub image: Option<Vec<u8>>,
pub audio: Option<Vec<u8>>,
pub emotion: Option<EmotionVector>,
pub temporal: Option<TemporalRange>,
pub spatial: Option<Value>,
pub semantic: Option<Value>,
pub embedding: Option<Vec<f32>>,
}Expand description
Multimodal recall cue (CMP Spec §4.1).
Fields§
§text: Option<String>§image: Option<Vec<u8>>Raw image bytes. The engine auto-detects common formats (PNG, JPEG, GIF, WebP).
audio: Option<Vec<u8>>Raw audio bytes. The engine auto-detects common formats (WAV, MP3, FLAC, OGG, MP4/WebM).
emotion: Option<EmotionVector>§temporal: Option<TemporalRange>§spatial: Option<Value>§semantic: Option<Value>§embedding: Option<Vec<f32>>Optional embedding vector for semantic similarity search.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RecallCue
impl<'de> Deserialize<'de> for RecallCue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RecallCue
impl RefUnwindSafe for RecallCue
impl Send for RecallCue
impl Sync for RecallCue
impl Unpin for RecallCue
impl UnsafeUnpin for RecallCue
impl UnwindSafe for RecallCue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more