pub struct Tts {Show 13 fields
pub ttfb_ms: Option<u32>,
pub wer: Option<f32>,
pub words: Option<u32>,
pub word_errors: Option<u32>,
pub cer: Option<f32>,
pub chars: Option<u32>,
pub char_errors: Option<u32>,
pub entity_recognition: Option<f32>,
pub entities_uttered: Option<u32>,
pub entities_recognized: Option<u32>,
pub entity_recall: Option<f32>,
pub entities_acquired_uttered: Option<u32>,
pub entities_acquired_recognized: Option<u32>,
}Expand description
The agent’s voice. Audio only.
Fields§
§ttfb_ms: Option<u32>needs the RemoteSession; provider byte-level TTFB
wer: Option<f32>needs the RemoteSession; word_errors / words
words: Option<u32>needs the RemoteSession
word_errors: Option<u32>needs the RemoteSession
cer: Option<f32>needs the RemoteSession; char_errors / chars
chars: Option<u32>needs the RemoteSession
char_errors: Option<u32>needs the RemoteSession
entity_recognition: Option<f32>Key entities the agent said, as the caller heard them. Needs the text judge.
recognized / uttered
entities_uttered: Option<u32>§entities_recognized: Option<u32>§entity_recall: Option<f32>acquired_recognized / acquired_uttered
entities_acquired_uttered: Option<u32>§entities_acquired_recognized: Option<u32>Implementations§
Source§impl Tts
impl Tts
Sourcepub fn ttfb_ms(&self) -> u32
pub fn ttfb_ms(&self) -> u32
Returns the value of ttfb_ms, or the default value if ttfb_ms is unset.
Sourcepub fn word_errors(&self) -> u32
pub fn word_errors(&self) -> u32
Returns the value of word_errors, or the default value if word_errors is unset.
Sourcepub fn char_errors(&self) -> u32
pub fn char_errors(&self) -> u32
Returns the value of char_errors, or the default value if char_errors is unset.
Sourcepub fn entity_recognition(&self) -> f32
pub fn entity_recognition(&self) -> f32
Returns the value of entity_recognition, or the default value if entity_recognition is unset.
Sourcepub fn entities_uttered(&self) -> u32
pub fn entities_uttered(&self) -> u32
Returns the value of entities_uttered, or the default value if entities_uttered is unset.
Sourcepub fn entities_recognized(&self) -> u32
pub fn entities_recognized(&self) -> u32
Returns the value of entities_recognized, or the default value if entities_recognized is unset.
Sourcepub fn entity_recall(&self) -> f32
pub fn entity_recall(&self) -> f32
Returns the value of entity_recall, or the default value if entity_recall is unset.
Sourcepub fn entities_acquired_uttered(&self) -> u32
pub fn entities_acquired_uttered(&self) -> u32
Returns the value of entities_acquired_uttered, or the default value if entities_acquired_uttered is unset.
Sourcepub fn entities_acquired_recognized(&self) -> u32
pub fn entities_acquired_recognized(&self) -> u32
Returns the value of entities_acquired_recognized, or the default value if entities_acquired_recognized is unset.
Trait Implementations§
impl Copy for Tts
§impl<'de> Deserialize<'de> for Tts
impl<'de> Deserialize<'de> for Tts
§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 Tts
impl Message for Tts
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.