Manual:Verbots Online My Answers KnowledgeBase
From VerbotWiki
| Table of contents |
Using and Customizing the My Answers KnowledgeBase
This content refers to versions:
(http://www.verbots.com/wiki/Manual:Verbots_Online_Full_Version_Features)
Built-in Verbots Online Variables
To See Variables in the Verbot Script editor
Download the My Answers KnowledgeBase
Download MyAnswers.vkb from here (http://www.verbots.com/forums/dload.php?action=file&file_id=120).
Open MyAnswers.vkb in the Verbot Script editor
Select the rule labeled conv-startup It should look like this:
This is the startup rule, notice the inputs:
_startup
and
_returnvisitor
This is the first rule that is fired when someone talks to your bot.
Also take note of the output in this rule:
[_vo_startup:Hi.]
This is using a variable named "_vo_startup" with a default value of "Hi.", every output in the MyAnswers.vkb KnowledgeBase corresponds to a form in the MyAnswers page on Verbots Online.
My Answers on Verbots Online
The _vo_startup variable is replaced by the value that you have entered in the field labeled "Startup" on your MyAnswers page when signed into Verbots Online.
Modify the MyAnswers.vkb File
If you have a paid Verbots Online account, you can modify the MyAnswers KnolwedgeBase in the Verbot Scripting Editor, Compile the new file to a .ckb file, and upload it to your Verbots Online account to use it online.
For example, you may want to add follow up questions to a specific question, in which case you could add a child rule to your MyAnswers KnowledgeBase.
Adding Child Rules, Inputs and Outputs
Click on these links for more information on the basics of scripting Verbots:
Once you have made the desired changes, click the Tools->Compile KnowledgeBase Menu Item from within the Verbot Script Editor, this creates a MyAnswers.ckb file located in the same directory as the MyAnswers.vkb file opened.
Using your modified MyAnswers.ckb file
KnowledgeBases Page
Finally, login to your Verbots Online Account and click on the Knowledge link on the menu to navigate to the KnowledgeBase page.
Remove Existing Public MyAnswers KnolwedgeBase
Click the "X" (delete) icon to the right of the MyAnswers.ckb file on your list to remove the original MyAnswers ckb from your KnowledgeBase list.
Uploading your modified MyAnswers.ckb file
Click the browse button and locate your newly modified MyAnswers.ckb file on your local hard-drive, click ok and then click upload. If the upload was sucessful you should see the new file on your list and you should be able to talk to your updated bot right away.



