pub struct InteractionGenerationConfig {
pub temperature: Option<f64>,
pub top_p: Option<f64>,
pub seed: Option<i64>,
pub stop_sequences: Vec<String>,
pub thinking_level: Option<InteractionThinkingLevel>,
pub thinking_summaries: Option<ThinkingSummaries>,
pub max_output_tokens: Option<i64>,
pub speech_config: Vec<InteractionSpeechConfig>,
pub video_config: Option<VideoConfig>,
pub presence_penalty: Option<f64>,
pub frequency_penalty: Option<f64>,
pub tool_choice: Option<ToolChoiceConfig>,
}Expand description
Model interaction configuration (mutually exclusive with agent_config).
Fields§
§temperature: Option<f64>§top_p: Option<f64>§seed: Option<i64>§stop_sequences: Vec<String>§thinking_level: Option<InteractionThinkingLevel>§thinking_summaries: Option<ThinkingSummaries>§max_output_tokens: Option<i64>§speech_config: Vec<InteractionSpeechConfig>§video_config: Option<VideoConfig>§presence_penalty: Option<f64>§frequency_penalty: Option<f64>§tool_choice: Option<ToolChoiceConfig>Trait Implementations§
Source§impl Clone for InteractionGenerationConfig
impl Clone for InteractionGenerationConfig
Source§fn clone(&self) -> InteractionGenerationConfig
fn clone(&self) -> InteractionGenerationConfig
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 InteractionGenerationConfig
impl Debug for InteractionGenerationConfig
Source§impl Default for InteractionGenerationConfig
impl Default for InteractionGenerationConfig
Source§fn default() -> InteractionGenerationConfig
fn default() -> InteractionGenerationConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InteractionGenerationConfig
impl<'de> Deserialize<'de> for InteractionGenerationConfig
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
impl StructuralPartialEq for InteractionGenerationConfig
Auto Trait Implementations§
impl Freeze for InteractionGenerationConfig
impl RefUnwindSafe for InteractionGenerationConfig
impl Send for InteractionGenerationConfig
impl Sync for InteractionGenerationConfig
impl Unpin for InteractionGenerationConfig
impl UnsafeUnpin for InteractionGenerationConfig
impl UnwindSafe for InteractionGenerationConfig
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