情感分析
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
情感分析是一项功能,可分析人工客服和最终用户的消息,以确定情绪意图。您可以在创建或修改对话配置文件期间启用此功能。如果您要修改现有对话配置文件,则只有在对话配置文件更新后才会在对话中看到效果。您也可以选择在使用 Agent Assist 控制台创建对话配置文件时启用情感分析。
- 在
MessageAnalysisConfig
中将 enableSentimentAnalysis
设置为 true
。
- 使用启用了此功能的
ConversationProfile
发送 createConversation
请求。
- 如果对话与人工客服相关,则无需进行进一步的设置。系统会在
AnalyzeContentResponse.message.sentimentAnalysis
中返回情感结果。
- 如果对话包含虚拟客服或聊天机器人,您必须启用其他设置才能在
AnalyzeContentResponse
中查看情感结果。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-08-14。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]