pub struct TranscriptConfig {
pub partial_debounce_ms: u64,
pub minimum_new_content_tokens: usize,
pub final_transcript_required_for_ingestion: bool,
pub final_transcript_grace_ms: u64,
}Expand description
How partial and final transcripts are treated.
Fields§
§partial_debounce_ms: u64Quiet period before a partial transcript triggers speculative work.
minimum_new_content_tokens: usizeNew content required before re-speculating.
final_transcript_required_for_ingestion: boolWhether ingestion refuses to run on partial transcripts.
This is true and is not a tuning knob: partial transcripts are
hypotheses and may be revised, so they must never become evidence.
final_transcript_grace_ms: u64How long to wait for a final transcript after a turn boundary arrives.
Trait Implementations§
Source§impl Clone for TranscriptConfig
impl Clone for TranscriptConfig
Source§fn clone(&self) -> TranscriptConfig
fn clone(&self) -> TranscriptConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TranscriptConfig
impl Debug for TranscriptConfig
Source§impl Default for TranscriptConfig
impl Default for TranscriptConfig
Source§impl<'de> Deserialize<'de> for TranscriptConfigwhere
TranscriptConfig: Default,
impl<'de> Deserialize<'de> for TranscriptConfigwhere
TranscriptConfig: Default,
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
Source§impl PartialEq for TranscriptConfig
impl PartialEq for TranscriptConfig
Source§impl Serialize for TranscriptConfig
impl Serialize for TranscriptConfig
impl StructuralPartialEq for TranscriptConfig
Auto Trait Implementations§
impl Freeze for TranscriptConfig
impl RefUnwindSafe for TranscriptConfig
impl Send for TranscriptConfig
impl Sync for TranscriptConfig
impl Unpin for TranscriptConfig
impl UnsafeUnpin for TranscriptConfig
impl UnwindSafe for TranscriptConfig
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