pub struct LLMEvent {
pub stream_id: Uuid,
pub timestamp: DateTime<Utc>,
pub call_timestamp: DateTime<Utc>,
pub parameters: HashMap<String, Value>,
pub input: String,
pub llm_uuid: Uuid,
pub session: LLMSessionStatus,
pub event: LLMEventInternal,
}Expand description
Returned by inference, containing inference events.
Fields§
§stream_id: Uuid§timestamp: DateTime<Utc>§call_timestamp: DateTime<Utc>§parameters: HashMap<String, Value>§input: String§llm_uuid: Uuid§session: LLMSessionStatus§event: LLMEventInternalTrait Implementations§
source§impl<'de> Deserialize<'de> for LLMEvent
impl<'de> Deserialize<'de> for LLMEvent
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 RefUnwindSafe for LLMEvent
impl Send for LLMEvent
impl Sync for LLMEvent
impl Unpin for LLMEvent
impl UnwindSafe for LLMEvent
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