pub struct RuntimeSpec {Show 15 fields
pub temperature: Option<f32>,
pub thinking_budget: Option<u32>,
pub include_thoughts: Option<bool>,
pub transcription: Option<TranscriptionSpec>,
pub proactive_audio: Option<bool>,
pub vad: Option<VadSpec>,
pub audio: Option<AudioSpec>,
pub soft_turn_timeout_ms: Option<u64>,
pub steering: Option<SteeringSpec>,
pub context_delivery: Option<ContextDeliverySpec>,
pub repair: Option<RepairSpec>,
pub persistence: Option<PersistenceSpec>,
pub session_id: Option<String>,
pub lossy_audio: bool,
pub lossy_transcript: bool,
}Expand description
Control-plane and voice tuning — every session capability that is
configuration rather than conversation, in one section. Everything here
lowers to a Live builder setter; omitted fields keep the builder’s
defaults.
Fields§
§temperature: Option<f32>Sampling temperature.
thinking_budget: Option<u32>Thinking budget in tokens (Google AI only; stripped on Vertex).
include_thoughts: Option<bool>Receive thought summaries (requires thinking_budget).
transcription: Option<TranscriptionSpec>Input/output transcription.
proactive_audio: Option<bool>Let the model choose to stay silent (proactive audio).
vad: Option<VadSpec>Voice-activity-detection tuning.
audio: Option<AudioSpec>Input-audio hardening: mic chain, client VAD, interruption authority.
soft_turn_timeout_ms: Option<u64>Fire a soft turn when the model stays silent this long after VAD end.
steering: Option<SteeringSpec>How phase instructions reach the model.
context_delivery: Option<ContextDeliverySpec>When context turns hit the wire.
repair: Option<RepairSpec>Conversation-repair thresholds.
persistence: Option<PersistenceSpec>Session persistence backend.
session_id: Option<String>Stable session id (resume across restarts; requires persistence).
lossy_audio: boolDrop audio chunks instead of applying backpressure when consumers lag.
lossy_transcript: boolDrop transcript deltas instead of applying backpressure.
Trait Implementations§
Source§impl Clone for RuntimeSpec
impl Clone for RuntimeSpec
Source§fn clone(&self) -> RuntimeSpec
fn clone(&self) -> RuntimeSpec
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RuntimeSpec
impl Debug for RuntimeSpec
Source§impl Default for RuntimeSpec
impl Default for RuntimeSpec
Source§fn default() -> RuntimeSpec
fn default() -> RuntimeSpec
Source§impl<'de> Deserialize<'de> for RuntimeSpec
impl<'de> Deserialize<'de> for RuntimeSpec
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 JsonSchema for RuntimeSpec
impl JsonSchema for RuntimeSpec
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for RuntimeSpec
impl RefUnwindSafe for RuntimeSpec
impl Send for RuntimeSpec
impl Sync for RuntimeSpec
impl Unpin for RuntimeSpec
impl UnwindSafe for RuntimeSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].