Generate session logs

Before you use TQL to analyze your bot's sessions make sure:

  • your bot is published
  • someone chatted with your bot

Conversations you ran in Tryout do not show up in the log data source and are not queryable. You need real data to use TQL. If your bot meets the prerequisites, you can skip this section. Otherwise, we walk you through the steps to get you to the point where you can start using TQL.

Publish your bot

TQL needs data to work with. Once your solution has been pubished users can interact with it. You can read in this section about how to publish your bot.

Follow these steps to publish the Longberry Baristas solution. If you've already published this solution you can continue with the next section.

  1. Open the Longberry Baristas solution.
  2. Navigate to Publish.
  3. Publish the bot.

If you check the Publish view in Studio and do not see a URL or a publish history your bot has not been published and you will need to do so. published bot

Generate a session log

  1. Open the bot via the URL shown in the Publish view.
  2. Complete a conversation with an order or some small talk, whichever you like.
  3. End the conversation by clicking the button End Session.

If you're chatting with your bot in a browser directly via the publish URL it will look something like this: end session in browser

The final step assures that the session ends immediately. This in turn allows the session to become immediately available to TQL queries. If you forgot to end the session in this way, don't worry. After the default timeout period of ten minutes the session will show up. Just enough time for a coffee break.

Was this page helpful?