proto_docs/google/cloud/dialogflow/v2/conversation_model.rb in google-cloud-dialogflow-v2-0.20.0 vs proto_docs/google/cloud/dialogflow/v2/conversation_model.rb in google-cloud-dialogflow-v2-0.21.0
- old
+ new
@@ -117,10 +117,27 @@
# @return [::Google::Protobuf::Timestamp]
# Output only. Creation time of this model.
# @!attribute [r] smart_reply_metrics
# @return [::Google::Cloud::Dialogflow::V2::SmartReplyMetrics]
# Output only. Only available when model is for smart reply.
+ # @!attribute [r] raw_human_eval_template_csv
+ # @return [::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.
class ConversationModelEvaluation
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -144,14 +161,14 @@
# The allowlist document resource name.
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
# ID>/documents/<Document ID>`. Only used for smart reply model.
# @!attribute [rw] max_result_count
# @return [::Integer]
- # Required. The model to be evaluated can return multiple results with confidence
- # score on each query. These results will be sorted by the descending order
- # of the scores and we only keep the first max_result_count results as the
- # final results to evaluate.
+ # Required. The model to be evaluated can return multiple results with
+ # confidence score on each query. These results will be sorted by the
+ # descending order of the scores and we only keep the first
+ # max_result_count results as the final results to evaluate.
class SmartReplyConfig
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -161,14 +178,14 @@
# The allowlist document resource name.
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
# ID>/documents/<Document ID>`. Only used for smart compose model.
# @!attribute [rw] max_result_count
# @return [::Integer]
- # Required. The model to be evaluated can return multiple results with confidence
- # score on each query. These results will be sorted by the descending order
- # of the scores and we only keep the first max_result_count results as the
- # final results to evaluate.
+ # Required. The model to be evaluated can return multiple results with
+ # confidence score on each query. These results will be sorted by the
+ # descending order of the scores and we only keep the first
+ # max_result_count results as the final results to evaluate.
class SmartComposeConfig
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
end
@@ -186,20 +203,22 @@
end
# Metadata for article suggestion models.
# @!attribute [rw] training_model_type
# @return [::Google::Cloud::Dialogflow::V2::ConversationModel::ModelType]
- # Optional. Type of the article suggestion model. If not provided, model_type is used.
+ # Optional. Type of the article suggestion model. If not provided, model_type
+ # is used.
class ArticleSuggestionModelMetadata
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
# Metadata for smart reply models.
# @!attribute [rw] training_model_type
# @return [::Google::Cloud::Dialogflow::V2::ConversationModel::ModelType]
- # Optional. Type of the smart reply model. If not provided, model_type is used.
+ # Optional. Type of the smart reply model. If not provided, model_type is
+ # used.
class SmartReplyModelMetadata
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -384,11 +403,13 @@
class CreateConversationModelEvaluationRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
- # Metadata for a {::Google::Cloud::Dialogflow::V2::ConversationModels::Client#create_conversation_model ConversationModels.CreateConversationModel} operation.
+ # Metadata for a
+ # {::Google::Cloud::Dialogflow::V2::ConversationModels::Client#create_conversation_model ConversationModels.CreateConversationModel}
+ # operation.
# @!attribute [rw] conversation_model
# @return [::String]
# The resource name of the conversation model. Format:
# `projects/<Project ID>/conversationModels/<Conversation Model Id>`
# @!attribute [rw] state
@@ -427,11 +448,13 @@
# Custom model is training.
TRAINING = 6
end
end
- # Metadata for a {::Google::Cloud::Dialogflow::V2::ConversationModels::Client#deploy_conversation_model ConversationModels.DeployConversationModel} operation.
+ # Metadata for a
+ # {::Google::Cloud::Dialogflow::V2::ConversationModels::Client#deploy_conversation_model ConversationModels.DeployConversationModel}
+ # operation.
# @!attribute [rw] conversation_model
# @return [::String]
# The resource name of the conversation model. Format:
# `projects/<Project ID>/conversationModels/<Conversation Model Id>`
# @!attribute [rw] create_time
@@ -441,11 +464,13 @@
class DeployConversationModelOperationMetadata
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
- # Metadata for a {::Google::Cloud::Dialogflow::V2::ConversationModels::Client#undeploy_conversation_model ConversationModels.UndeployConversationModel} operation.
+ # Metadata for a
+ # {::Google::Cloud::Dialogflow::V2::ConversationModels::Client#undeploy_conversation_model ConversationModels.UndeployConversationModel}
+ # operation.
# @!attribute [rw] conversation_model
# @return [::String]
# The resource name of the conversation model. Format:
# `projects/<Project ID>/conversationModels/<Conversation Model Id>`
# @!attribute [rw] create_time
@@ -455,10 +480,12 @@
class UndeployConversationModelOperationMetadata
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
- # Metadata for a {::Google::Cloud::Dialogflow::V2::ConversationModels::Client#delete_conversation_model ConversationModels.DeleteConversationModel} operation.
+ # Metadata for a
+ # {::Google::Cloud::Dialogflow::V2::ConversationModels::Client#delete_conversation_model ConversationModels.DeleteConversationModel}
+ # operation.
# @!attribute [rw] conversation_model
# @return [::String]
# The resource name of the conversation model. Format:
# `projects/<Project ID>/conversationModels/<Conversation Model Id>`
# @!attribute [rw] create_time