pub struct Episode {
pub episode_id: String,
pub episode_type: EpisodeType,
pub entity_ids: Vec<String>,
pub ts_start: u64,
pub ts_end: u64,
pub summary: String,
pub tags: Vec<String>,
pub embedding: Option<Vec<f32>>,
pub metadata: HashMap<String, SochValue>,
}Expand description
An episode represents a bounded task or conversation run
Fields§
§episode_id: StringUnique episode identifier
episode_type: EpisodeTypeEpisode type
entity_ids: Vec<String>Related entity IDs (users, projects, etc.)
ts_start: u64Start timestamp (microseconds since epoch)
ts_end: u64End timestamp (0 if ongoing)
summary: StringNatural language summary of the episode
Tags for categorization
embedding: Option<Vec<f32>>Embedding vector for semantic search (optional)
metadata: HashMap<String, SochValue>Custom metadata
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Episode
impl<'de> Deserialize<'de> for Episode
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 Episode
impl RefUnwindSafe for Episode
impl Send for Episode
impl Sync for Episode
impl Unpin for Episode
impl UnwindSafe for Episode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more