pub struct Conversation {Show 13 fields
pub turn_taking_score: Option<f32>,
pub heard_e2e_latency_p50_ms: Option<i32>,
pub heard_e2e_latency_p95_ms: Option<i32>,
pub heard_e2e_latency_p99_ms: Option<i32>,
pub time_to_yield_ms: Option<u32>,
pub eot_misprediction_count: Option<u32>,
pub overlap_ratio: Option<f32>,
pub overlap_speech_ms: Option<u32>,
pub total_speech_ms: Option<u32>,
pub awkward_silence_count: Option<u32>,
pub unanswered_turns: Option<u32>,
pub false_interruption_count: Option<u32>,
pub e2e_latency_ms: Option<u32>,
}Expand description
Audio only.
Fields§
§turn_taking_score: Option<f32>0-1
heard_e2e_latency_p50_ms: Option<i32>floor-transfer offset; a gap is > 0, an overlap < 0
heard_e2e_latency_p95_ms: Option<i32>§heard_e2e_latency_p99_ms: Option<i32>§time_to_yield_ms: Option<u32>agent audio continuing past a barge-in
eot_misprediction_count: Option<u32>agent started before the caller’s turn ended
overlap_ratio: Option<f32>overlapping speech / total speech
overlap_speech_ms: Option<u32>pooling stats for overlap_ratio
total_speech_ms: Option<u32>§awkward_silence_count: Option<u32>gaps past the natural-pause threshold
unanswered_turns: Option<u32>the simulated party spoke, the agent never responded
false_interruption_count: Option<u32>needs the RemoteSession; agent paused for a non-interruption
e2e_latency_ms: Option<u32>needs the RemoteSession; the agent’s own claim
Implementations§
Source§impl Conversation
impl Conversation
Sourcepub fn turn_taking_score(&self) -> f32
pub fn turn_taking_score(&self) -> f32
Returns the value of turn_taking_score, or the default value if turn_taking_score is unset.
Sourcepub fn heard_e2e_latency_p50_ms(&self) -> i32
pub fn heard_e2e_latency_p50_ms(&self) -> i32
Returns the value of heard_e2e_latency_p50_ms, or the default value if heard_e2e_latency_p50_ms is unset.
Sourcepub fn heard_e2e_latency_p95_ms(&self) -> i32
pub fn heard_e2e_latency_p95_ms(&self) -> i32
Returns the value of heard_e2e_latency_p95_ms, or the default value if heard_e2e_latency_p95_ms is unset.
Sourcepub fn heard_e2e_latency_p99_ms(&self) -> i32
pub fn heard_e2e_latency_p99_ms(&self) -> i32
Returns the value of heard_e2e_latency_p99_ms, or the default value if heard_e2e_latency_p99_ms is unset.
Sourcepub fn time_to_yield_ms(&self) -> u32
pub fn time_to_yield_ms(&self) -> u32
Returns the value of time_to_yield_ms, or the default value if time_to_yield_ms is unset.
Sourcepub fn eot_misprediction_count(&self) -> u32
pub fn eot_misprediction_count(&self) -> u32
Returns the value of eot_misprediction_count, or the default value if eot_misprediction_count is unset.
Sourcepub fn overlap_ratio(&self) -> f32
pub fn overlap_ratio(&self) -> f32
Returns the value of overlap_ratio, or the default value if overlap_ratio is unset.
Sourcepub fn overlap_speech_ms(&self) -> u32
pub fn overlap_speech_ms(&self) -> u32
Returns the value of overlap_speech_ms, or the default value if overlap_speech_ms is unset.
Sourcepub fn total_speech_ms(&self) -> u32
pub fn total_speech_ms(&self) -> u32
Returns the value of total_speech_ms, or the default value if total_speech_ms is unset.
Sourcepub fn awkward_silence_count(&self) -> u32
pub fn awkward_silence_count(&self) -> u32
Returns the value of awkward_silence_count, or the default value if awkward_silence_count is unset.
Sourcepub fn unanswered_turns(&self) -> u32
pub fn unanswered_turns(&self) -> u32
Returns the value of unanswered_turns, or the default value if unanswered_turns is unset.
Sourcepub fn false_interruption_count(&self) -> u32
pub fn false_interruption_count(&self) -> u32
Returns the value of false_interruption_count, or the default value if false_interruption_count is unset.
Sourcepub fn e2e_latency_ms(&self) -> u32
pub fn e2e_latency_ms(&self) -> u32
Returns the value of e2e_latency_ms, or the default value if e2e_latency_ms is unset.
Trait Implementations§
Source§impl Clone for Conversation
impl Clone for Conversation
impl Copy for Conversation
Source§impl Debug for Conversation
impl Debug for Conversation
Source§impl Default for Conversation
impl Default for Conversation
§impl<'de> Deserialize<'de> for Conversation
impl<'de> Deserialize<'de> for Conversation
§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>,
Source§impl Message for Conversation
impl Message for Conversation
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.