Bot Libre's scripting language Self is modeled after JavaScript, but is not JavaScript.
Yes this works!!! Thank you so much!
I'm going to train my bot some more and will be upgrading soon.
I'm also confused.
I used the steps above and I cannot seem too get my avatar displaying emotions, talking or doing actions.
When I use premade avatars it works, but I cannot seem to design my own.
I am testing and programming my bot from the botlibre Admin Console.
Thanks for your insight.
As with any regression testing, changes to code and functionality can affect previous results. That is the entire point of regression testing. If changes never affected existing results, then there would be no point to regression testing.
Thanks for your answer.
I understand that Bot works based on script and some additional intelligence applied to find related answer for the user question. Can I know which specific aspect of BotLibre is based on deep learning?
Even without keywords, adding new response will affect what response a bot chooses, if the new response better matches a question by the user.
A response will always be used for the question it was add for, but for similar questions the bot will always try to find the best matching response. To have a response used for many variations of a question, define an intent label for the response and add it as the response for the valid variations.
Hi,
Thanks for quick reply.
I see 2 changes in your suggestion. 1) Additional question with "policy" word added and 2) set "life" as keyword (which should be in both question I think).
With these changes, now it will work fine. However, my point is how do I avoid such regression?
Earlier I had just first 2 questions in script file. Without having question "what is insurance policy?" in script file, below were answers
Note that, "what is life insurance policy" equally matches "what is life insurance" and "what is insurance policy", so even without the keyword, the bot may use either response.
I would recommend you also add "life" as a keyword to the first response.
Also, if you want "what is life insurance policy" to use the first response then add it as a valid question for this label as well.
Though mentioning keywords is very useful I find very dangerous too. e.g. I have 2 questions
what is life insurance?this is answer for life insurance
what is standard cover in policy?answer for standard coverkeywords: standard
This works fine and give answer if someone ask "what is life insurance policy". (Assume I didn't consider adding policy as word in question).
I choose a 3d avatar from my bot and get the id then include it on my sdk and build. Same process with my first avatar as stated on tutorial.
For example, i search Julie as my avatar, and get the id and embed it in sdk, how am i going to used Julie as my avatar?
I did this steps but unfortunately it did not work, no facial expressions of emotions has shown on avatar, it only shows the action like happy, sad, etc on the screen. What i want is gestures and emotions .
You can associate a user question or phrase, or individual words with sentiment (good vs bad). Sentiment can be used to track how the user is feeling about the current conversation. The sentiment statistic is tracked by your bot daily and can be graphed from its Analytics page.
I have encountered an issue on this bit.
I am not able to train my bot for the response using this response: Template("I ll give you {star[0]}") for the question Pattern '('Give me * or * ')'
The response possible comes from a list i guess and in some other examples that I tried, the response is as same as the question.
Please let me know on this. Thank you.
Hey there
There are some docs on this (i know, it's hard to find, and confusingly organised), helpful to my previous endeavours.
http://www.botlibre.com/forum-post?id=483549 (read it all, but scroll down almost to the bottom for chat logs)
or if you want to give the Self scripting a go:http://www.botlibre.com/forum-post?id=699077
Hope this helps
I'm trying to use speech recognition but i'm getting the error: function toggleListen doesn't exist
here is my basic chat bot
http://botlibre.com/bot?instance=14699553&dynamicChat=Chat
I used the sample code from above:
Pattern("* hockey *") I love hockey, it is the best sport.
Pattern("* hockey *")
I love hockey, it is the best sport.
but I got error:
Many thanks for the quick reply and the links.
I will investigate accordingly.
with regards,
Dennis
This page has not been updated in two years.
Are there working source files we can see of the above examples? Esp. the csv example, it is not clear. does the csv need column headers? How are the words separated in the cell itself?
Bot Libre's scripting language Self emulates JavaScript, with a few extra enhancements such as states, patterns, and templates.
Self includes several class for useful operations that you can use in your scripts.
When you embed a bot on a webpage using the "Box" embedding option it will put a chat box on the bottom corner of your page.
The embedding code that you can get from your bot's Embed button contains the HTML/JavaScript code you need to paste into your webpage to embed your bot.
When you embed your virtual agent or chat bot on your own website there are several methods to do this. You can get the code to embed your bot from your bot's Embed button on its page.
Your options include:
I entered your chat log exactly as posted.
HelloHello, how may I be of service?label: #hello
Hi#hello
How is it going?#hello
Here is my conversation:
Topics can be used to add context to a response, or conversation.
Topics can be set on a response in the Training & Chat Logs page in your bot's , or by importing a response list, or AIML file.
Bot Libre supports labels. A label lets you name a response and then reuse it just using the name. You can set the label for a response from the Training & Chat Logs page in your bot's Admin Console, or by importing a response list file.
To reference a label just put the label name as the response i.e. #hello (labels must start with a #).
Hello,
my bot is having this log error:
WARNING -- FacebookMessaging:message - (#279) Requires extended permission: read_page_mailboxes code - 279 Relevant information for error recovery can be found on the Facebook Developers Document:
I enabled "Response matching" but it's still forcing me to teach it every possible combination for the phrase "are you religious" (which has lots of prefixes and add-ons) without using keywords or any tool it has to come up with responses that make sense on its own.