![]() Read more about the importance of setting not_handled here. Alternatively, you might set not_handled when your bot does understand the message intent, but does not yet support a meaningful reply for that intent.Ĭhatbase reports are most useful when you provide accurate not_handled data. Usually this occurs when your bot does not understand the user message and is unable to derive an intent. Set not_handled whenever your bot must respond with a generic reply that is not tailored to directly address the user message. However, importantly, you did include the "not_handled" field and set it to "true." As a result, you did not set the intent field with this call. Oh no! Your bot was unable to derive an intent from the user message asking about the weather and was therefore unable to understand it. "message": "I want to chat about the weather.", Read more about intents here.Įnter the following in your terminal, replacing the api_key field with the key you obtained in Step 1: Doing so enables you to quickly identify misinterpreted intents and message variations that should be grouped under an existing intent. As a result, you set the intent of this message as "greeting." Setting intents, when known, is essential to optimizing your bot with Chatbase reports. Your bot understands the user message to be a greeting. By sending the message, "Hello, bot!," you successfully emulate a user interacting with your bot. The body of this request (everything in the curly-braces following the '-d' flag) is part of the payload that the Chatbase message endpoint can accept. On the Bots page, click on the '+ Add a bot' button to enter your bot information: Head to and login with your user information. Access to a Chatbase account (at no charge).What do you want to talk about?īot: Sorry, I do not know how to do that. Using the command line, you'll make Chatbase API calls to track this boring, but illustrative, conversation between a bot and human:īot: Hi there, human. In this tutorial, you'll get a basic introduction to that API. For a full set of analytics graphs and data (including Active User Metrics, Top Handled/Not Handled Messages, Funnels, and Cohorts), Dialogflow users also need to use the Chatbase API. (Chatbase works with any type of bot, voice or text, and is available at no charge.)Īll Dialogflow users get an automated set of basic Chatbase analytics (including Session Metrics) directly from their console. Using them in combination helps builders create world-class bots via Dialogflow’s powerful libraries, and then continually track and optimize them using Chatbase. One important aspect that contributes to such experiences is for bot builders to use data analytics to monitor bot health and also better understand its interactions with users.Ĭhatbase, a cloud service that helps builders more easily analyze and optimize bots, is complementary to Dialogflow. Dialogflow (formerly API.AI) is the end-to-end platform by Google for building great cross-platform conversational experiences.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |