Struct google_api_proto::google::cloud::dialogflow::v2::ConversationModelEvaluation
source · pub struct ConversationModelEvaluation {
pub name: String,
pub display_name: String,
pub evaluation_config: Option<EvaluationConfig>,
pub create_time: Option<Timestamp>,
pub raw_human_eval_template_csv: String,
pub metrics: Option<Metrics>,
}
Expand description
Represents evaluation result of a conversation model.
Fields§
§name: String
The resource name of the evaluation. Format:
projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>
display_name: String
Optional. The display name of the model evaluation. At most 64 bytes long.
evaluation_config: Option<EvaluationConfig>
Optional. The configuration of the evaluation task.
create_time: Option<Timestamp>
Output only. Creation time of this model.
raw_human_eval_template_csv: String
Output only. Human eval template in csv format. It tooks real-world conversations provided through input dataset, generates example suggestions for customer to verify quality of the model. For Smart Reply, the generated csv file contains columns of Context, (Suggestions,Q1,Q2)*3, Actual reply. Context contains at most 10 latest messages in the conversation prior to the current suggestion. Q1: “Would you send it as the next message of agent?” Evaluated based on whether the suggest is appropriate to be sent by agent in current context. Q2: “Does the suggestion move the conversation closer to resolution?” Evaluated based on whether the suggestion provide solutions, or answers customer’s question or collect information from customer to resolve the customer’s issue. Actual reply column contains the actual agent reply sent in the context.
metrics: Option<Metrics>
Metrics details.
Trait Implementations§
source§impl Clone for ConversationModelEvaluation
impl Clone for ConversationModelEvaluation
source§fn clone(&self) -> ConversationModelEvaluation
fn clone(&self) -> ConversationModelEvaluation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConversationModelEvaluation
impl Debug for ConversationModelEvaluation
source§impl Message for ConversationModelEvaluation
impl Message for ConversationModelEvaluation
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ConversationModelEvaluation
impl PartialEq for ConversationModelEvaluation
source§fn eq(&self, other: &ConversationModelEvaluation) -> bool
fn eq(&self, other: &ConversationModelEvaluation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConversationModelEvaluation
Auto Trait Implementations§
impl Freeze for ConversationModelEvaluation
impl RefUnwindSafe for ConversationModelEvaluation
impl Send for ConversationModelEvaluation
impl Sync for ConversationModelEvaluation
impl Unpin for ConversationModelEvaluation
impl UnwindSafe for ConversationModelEvaluation
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
§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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request