Search code examples
botframeworkazure-language-understanding

What is considered an endpoint hit/utterance?


In my LUIS dashboard there are currently 6 registered endpoint hits. Sometimes a connection from my own computer is considered an endpoint hit and occasionally the messages I sent to the bot end up under Review Endpoint Utterances.

What triggers the Endpoint Hit and the Endpoint Utterance? It seems to trigger very randomly at this point.

I'm using a DirectLine channel to reach my bot running in Azure through this local HTML file:

<!DOCTYPE html>
<html>
  <head>
    <link href="https://cdn.botframework.com/botframework-webchat/latest/botchat.css" rel="stylesheet" />
  </head>
  <body>
    <div id="bot"/>
    <script src="https://cdn.botframework.com/botframework-webchat/latest/botchat.js"></script>
    <script>
      BotChat.App({
        directLine: { secret: direct_line_secret },
        user: { id: 'userid' },
        bot: { id: 'botid' },
        resize: 'detect'
      }, document.getElementById("bot"));
    </script>
  </body>
</html>

Solution

  • An endpoint hit is a call to LUIS API. So everytime your bot is using LUIS, it is an endpoint hit.

    There seems to be a bug in LUIS portal about that, I already saw that my endpoint hits was still 0 but my bot was successfully calling LUIS.