Google Cloud Dialogflow v2 API - Class HumanAgentAssistantConfig.Types.MessageAnalysisConfig (4.18.0)

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

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class HumanAgentAssistantConfig.Types.MessageAnalysisConfig.

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(MessageAnalysisConfig)

public MessageAnalysisConfig(HumanAgentAssistantConfig.Types.MessageAnalysisConfig other)
Parameter
Name Description
other HumanAgentAssistantConfigTypesMessageAnalysisConfig

Properties

EnableEntityExtraction

public bool EnableEntityExtraction { get; set; }

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

Currently, this feature is not general available, please contact Google to get access.

Property Value
Type Description
bool

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
Type Description
bool