pub struct TranscriptionEndpointingPlan {
pub on_punctuation_seconds: Option<f64>,
pub on_no_punctuation_seconds: Option<f64>,
pub on_number_seconds: Option<f64>,
}
Fields§
§on_punctuation_seconds: Option<f64>
The minimum number of seconds to wait after transcription ending with punctuation before sending a request to the model. Defaults to 0.1. This setting exists because the transcriber punctuates the transcription when it’s more confident that customer has completed a thought. @default 0.1
on_no_punctuation_seconds: Option<f64>
The minimum number of seconds to wait after transcription ending without punctuation before sending a request to the model. Defaults to 1.5. This setting exists to catch the cases where the transcriber was not confident enough to punctuate the transcription, but the customer is done and has been silent for a long time. @default 1.5
on_number_seconds: Option<f64>
The minimum number of seconds to wait after transcription ending with a number before sending a request to the model. Defaults to 0.4. This setting exists because the transcriber will sometimes punctuate the transcription ending with a number, even though the customer hasn’t uttered the full number. This happens commonly for long numbers when the customer reads the number in chunks. @default 0.5
Implementations§
Source§impl TranscriptionEndpointingPlan
impl TranscriptionEndpointingPlan
pub fn new() -> TranscriptionEndpointingPlan
Trait Implementations§
Source§impl Clone for TranscriptionEndpointingPlan
impl Clone for TranscriptionEndpointingPlan
Source§fn clone(&self) -> TranscriptionEndpointingPlan
fn clone(&self) -> TranscriptionEndpointingPlan
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for TranscriptionEndpointingPlan
impl Debug for TranscriptionEndpointingPlan
Source§impl Default for TranscriptionEndpointingPlan
impl Default for TranscriptionEndpointingPlan
Source§fn default() -> TranscriptionEndpointingPlan
fn default() -> TranscriptionEndpointingPlan
Source§impl<'de> Deserialize<'de> for TranscriptionEndpointingPlan
impl<'de> Deserialize<'de> for TranscriptionEndpointingPlan
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>,
Source§impl PartialEq for TranscriptionEndpointingPlan
impl PartialEq for TranscriptionEndpointingPlan
Source§fn eq(&self, other: &TranscriptionEndpointingPlan) -> bool
fn eq(&self, other: &TranscriptionEndpointingPlan) -> bool
self
and other
values to be equal, and is used by ==
.