#[non_exhaustive]pub struct ConversationModelConfig {
pub model: String,
pub baseline_model_version: String,
/* private fields */
}Available on crate features
conversation-profiles or conversations only.Expand description
Custom conversation models used in agent assist feature.
Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.model: StringConversation model resource name. Format: projects/<Project ID>/conversationModels/<Model ID>.
baseline_model_version: StringVersion of current baseline model. It will be ignored if model is set. Valid versions are:
- Article Suggestion baseline model:
- 0.9
- 1.0 (default)
- Summarization baseline model:
- 1.0
Implementations§
Source§impl ConversationModelConfig
impl ConversationModelConfig
Trait Implementations§
Source§impl Clone for ConversationModelConfig
impl Clone for ConversationModelConfig
Source§fn clone(&self) -> ConversationModelConfig
fn clone(&self) -> ConversationModelConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ConversationModelConfig
impl Debug for ConversationModelConfig
Source§impl Default for ConversationModelConfig
impl Default for ConversationModelConfig
Source§fn default() -> ConversationModelConfig
fn default() -> ConversationModelConfig
Returns the “default value” for a type. Read more
Source§impl Message for ConversationModelConfig
impl Message for ConversationModelConfig
Source§impl PartialEq for ConversationModelConfig
impl PartialEq for ConversationModelConfig
impl StructuralPartialEq for ConversationModelConfig
Auto Trait Implementations§
impl Freeze for ConversationModelConfig
impl RefUnwindSafe for ConversationModelConfig
impl Send for ConversationModelConfig
impl Sync for ConversationModelConfig
impl Unpin for ConversationModelConfig
impl UnwindSafe for ConversationModelConfig
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