【问题标题】:How to track what users ask on chatbot ( Microsoft Azure Bot Service )如何跟踪用户在聊天机器人上提出的问题(Microsoft Azure Bot Service)
【发布时间】:2018-07-23 17:12:14
【问题描述】:

我正在使用 Microsoft Bot 服务,聊天机器人将在公司网站上实施。一开始,我想存储用户询问的每条消息。该怎么做?

【问题讨论】:

    标签: chatbot azure-bot-service


    【解决方案1】:

    我发现了如何做到这一点。您需要登录到您的 Azure Bot 帐户。之后导航到仪表板并查看 botname-ai 文件。单击它并找到分析选项。然后运行这个命令就可以了:

      requests
    | where url endswith "generateAnswer"
    | project timestamp, id, name, resultCode, duration
    | parse name with *"/knowledgebases/"KbId"/generateAnswer"
    | join kind= inner (
    traces | extend id = operation_ParentId
    ) on id
    | extend question = tostring(customDimensions['Question'])
    | extend answer = tostring(customDimensions['Answer'])
    | project KbId, timestamp, resultCode, duration, question, answer
    

    【讨论】:

      猜你喜欢
      • 2018-06-23
      • 2018-04-04
      • 2018-05-14
      • 2019-02-26
      • 1970-01-01
      • 2017-05-31
      • 1970-01-01
      • 2020-10-07
      • 1970-01-01
      相关资源
      最近更新 更多