Class HumanAgentAssistantConfig.Types.MessageAnalysisConfig (3.2.0)

public sealed class MessageAnalysisConfig : IMessage<HumanAgentAssistantConfig.Types.MessageAnalysisConfig>, IEquatable<HumanAgentAssistantConfig.Types.MessageAnalysisConfig>, IDeepCloneable<HumanAgentAssistantConfig.Types.MessageAnalysisConfig>, IBufferMessage, IMessage

Configuration for analyses to run on each conversation message.

Inheritance

Object > HumanAgentAssistantConfig.Types.MessageAnalysisConfig

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

MessageAnalysisConfig()

public MessageAnalysisConfig()

MessageAnalysisConfig(HumanAgentAssistantConfig.Types.MessageAnalysisConfig)

public MessageAnalysisConfig(HumanAgentAssistantConfig.Types.MessageAnalysisConfig other)
Parameter
NameDescription
otherHumanAgentAssistantConfig.Types.MessageAnalysisConfig

Properties

EnableEntityExtraction

public bool EnableEntityExtraction { get; set; }

Enable entity extraction in conversation messages on agent assist stage. If unspecified, defaults to false.

Property Value
TypeDescription
Boolean

EnableSentimentAnalysis

public bool EnableSentimentAnalysis { get; set; }

Enable sentiment analysis in conversation messages on agent assist stage. If unspecified, defaults to false. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral: https://cloud.google.com/natural-language/docs/basics#sentiment_analysis For [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent] method, result will be in [StreamingAnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.message]. For [Participants.AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent] method, result will be in [AnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2.AnalyzeContentResponse.message] For [Conversations.ListMessages][google.cloud.dialogflow.v2.Conversations.ListMessages] method, result will be in [ListMessagesResponse.messages.SentimentAnalysisResult][google.cloud.dialogflow.v2.ListMessagesResponse.messages] If Pub/Sub notification is configured, result will be in [ConversationEvent.new_message_payload.SentimentAnalysisResult][google.cloud.dialogflow.v2.ConversationEvent.new_message_payload].

Property Value
TypeDescription
Boolean