Docs : User Manual : Training & Chat Logs

Training & Chat Logs

Overview

Your bot's conversation logs can be accessed from the 'Training & Chat Logs' menu in its Admin Console. The Training & Chat Logs page lets you review your bot's conversations, responses, words, and phrases.

The training and chat logs page allows you to add new responses, greetings, and default responses. You can view the conversations your bot has had, and correct the responses. You can view and edit responses, greetings, default responses, phrases and flagged responses.

You can correct a bot's response in a conversation, or add or edit existing responses. You can associate keywords, required words, previous responses, and topics to your bot's response to improve its response matching and conversation context. You can label responses to reuse them in other questions by referencing the #label.

You review your bot's words and phrases. You can define sentiment, emotions, actions, poses, keywords, and synonyms.

You can also import response lists, chat logs, or AIML files from the shared script library, or upload the files from your computer. You can export and download your bot's conversations or responses as a response list, chat log, or AIML file.

Toolbar


Icon Property Name Description
Menu Choose from the list of options.
Home Returns to the training and chat logs start page.
Enter Enter a new default response.
Edit Enter a correct response for the selected phrases.
Inspect Browse the selected responses or phrases.
Select Select all conversations, responses, or phrases.
Wrong Mark the selected responses as invalid responses, or decrease their correctness %.
Check Mark the selected responses as valid responses, or increase their correctness %.
Flag Flag the selected phrases as offensive.
Unflag Unflag the selected phrases as not offensive.
Delete Delete the selected responses, greeting, default response, or conversations.
Export/Download Export and download the currently displayed logs as a chat log file, response list, or AIML script.
Upload Upload and import a chat log, response list, or AIML script.
Import Import a chat log, response list, or AIML script from the script library.

Search Properties

Properties Description
Search Search all conversions, responses, greetings, default responses, phrases, words, or flagged responses.
Duration Filter the results by day, week, month, or all.
Filter Filter the results to only include phrases containing the filter text.
Type Filter by chat or social media message type.
Restrict Filter the responses or conversations.
All Show the responses details.
Topic Show the topic of the responses.
Label Show the label of the responses.
Keywords Show the question keywords to match the responses.
Required Show the question required words to match the responses.
Emotions Show the emotions of the responses.
Sentiment Show the sentiment of the responses.
Confidence Show the confidence of the responses.
Actions Show the actions of the responses.
Poses Show the poses of the responses.
Next Show the next questions to the responses.
Previous Show the previous questions to the responses.
Repeat Show the response repeat options.
Condition Show the response condition code.
Think Show the response think code.
Command Show the response JSON client command.

Conversations

You can review your bot's conversations, and correct the bot's response if it did not know the answer, or gave an incorrect response.

Browse Conversations


Correct Response

Responses

You can add new responses, or edit existing responses. A response includes the question, the response, and various meta data about the response.





Response Properties

Name Description
Question Edit the question, if desired, you can use * wildcard to make a pattern.
Sentiment You can associate an emotion with the phrase.
New Response Enter a new response for the phrase.
Condition Optionally you can give a condition in self code that must evaluate to true for the response to be use.
Think Optionally you can give a 'think' code in self that is evaluated when the response is used.
Command Optionally you can give a JSON command (Self code) that is evaluated and returned to the client to support games and virtual assistance.
Topic Optionally you can give a topic to categorize the response under.
Intent Label Optionally you can give a label to reuse the response as.
Keywords Optionally you can give keywords from the question that will influence a response match.
Required Optionally you can give required words from the question that will be required for a response match.
Emotions You can associate an emotion with the response.
Actions You can associate an action with the response.
Poses You can associate a pose with the response.
On Repeat Optionally you can give a response to used if the current response has already been used in this conversation.
No Repeat Require that the response or phrase only be used once.
Next Optionally you can give a next response to give a response a context.
Previous Optionally you can give a previous response to give a response a context.
Require Previous Require that the response only be used if the previous response matches one of the previous responses.
Save Save the corrections to the phrases.

Next and Conversation Flows

Next questions in a response can be used to handle follow-up questions and conversation flows. To start a conversation flow, edit the root response and enter the follow-up question under 'Next'. You can then select the next question and edit the response. You can repeat this several times to define your complete conversation.

A respones next question defines an isolated conversation space. The bot will only choose its next response from the provided responses. To define a default response use the #default as the question. If the bot cannot match the user's question with a next question, it will search the responses parent, otherwise use the bot's default response.

Next is similar to previous, but unlike previous is isolated to the response. In the context of a next response, the bot will never use any of its responses outside the context of the next response. This makes is easy to define isolated and nested conversations.

Greetings

You can add new greeting, or edit existing greeting. A greeting includes various meta data about the greeting.



Greeting Properties

Name Description
Greeting Edit the greeting.
Condition Optionally you can give a condition in self code that must evaluate to true for the response to be use.
Think Optionally you can give a 'think' code in self that is evaluated when the response is used.
Command Optionally you can give a JSON command (Self code) that is evaluated and returned to the client to support games and virtual assistance.
Topic Optionally you can give a topic to categorize the response under.
Exclusive Topic Optionally you can set an exclusive topic to a conversation so that only responses that have this topic will be used.
Intent Label Optionally you can give a intent label to reuse the response as.
Emotions You can associate an emotion with the greeting.
Actions You can associate an action with the greeting.
Poses You can associate a pose with the greeting.
Next Optionally you can give a next greeting to give a response a context.
Save Save the corrections to the phrases.

Default Responses

You can add new default response, or edit existing defalult response. Default response includes various meta data about the response.





Default Response Properties

Name Description
Default Response Edit the default response.
Emotions You can associate an emotion with the default response.
Actions You can associate an action with the default response.
Poses You can associate a pose with the default response.
Condition Optionally you can give a condition in self code that must evaluate to true for the response to be use.
Think Optionally you can give a 'think' code in self that is evaluated when the response is used.
Command Optionally you can give a JSON command (Self code) that is evaluated and returned to the client to support games and virtual assistance.
Topic Optionally you can give a topic to categorize the response under.
Label Optionally you can give a label to reuse the response as.
On Repeat Optionally you can give a response to used if the current response has already been used in this conversation.
No Repeat Require that the response or phrase only be used once.
Previous Optionally you can give a previous response to give a response a context.
Require Previous Require that the response only be used if the previous response matches one of the previous responses.
Save Save the corrections to the phrases.

Phrases

You can add new phrase, or edit existing phrase. A phrase is just a sentence, it may or may not have a response. The phrase editor allows you to associate sentiment, emotions, action, poses, or a response to a phrase.



Phrase Properties

Name Description
Question Edit the question, if desired, you can use * wildcard to make a pattern.
Sentiment You can associate a sentiment with the phrase.
Emotions You can associate an emotion with the phrase.
Actions You can associate an action with the phrase.
Poses You can associate a pose with the phrase.
New Response Enter a new response for the phrase.
Condition Optionally you can give a condition in self code that must evaluate to true for the response to be use.
Think Optionally you can give a 'think' code in self that is evaluated when the response is used.
Command Optionally you can give a JSON command (Self code) that is evaluated and returned to the client to support games and virtual assistance.
Topic Optionally you can give a topic to categorize the response under.
Intent Label Optionally you can give a label to reuse the response as.
Keywords Optionally you can give keywords from the question that will influence a response match.
Required Optionally you can give required words from the question that will be required for a response match.
Emotions You can associate an emotion with the response.
Actions You can associate an action with the response.
Poses You can associate a pose with the response.
On Repeat Optionally you can give a response to used if the current response has already been used in this conversation.
No Repeat Require that the response or phrase only be used once.
Next Optionally you can give a next response to give a response a context.
Previous Optionally you can give a previous response to give a response a context.
Require Previous Require that the response only be used if the previous response matches one of the previous responses.
Save Save the corrections to the phrases.

Words

You can add new words, or edit existing words. A word can include sentiment, emotions, and synonyms. A word can also be a keyword, a topic, or an exclusive topic.


Word Properties

Name Description
Word Edit the word.
Sentiment Optionally you can associate a sentiment with the word.
Emotions Optionally you can associate an emotion with the word.
Keywords Optionally you can give keywords from the question that will influence a response match.
Synonym Optionally you can give a synonym to the word, so that similar words in a question to trigger the same response.
Topic Optionally you can give word a topic which can be used in responses to track the context of the conversation.
Exclusive Topic Optionally you can give word an exclusive topic so that responses in the conversation that have this topic will be used.
Save Save the corrections to the word.

See Also