Skip to content

Tutorial Bot Template

Keith Sterling edited this page Jan 10, 2020 · 12 revisions

Template

We will start with downloading a basic bot template using the Admin Tool

Create a directory for you bot to be stored in and then run Admin Tool using the following commands

mkdir mybot
'python3 -m programy.admin.tool install template-y

This will download all the neccassary template files from GitHub and set up your environment for the tutorial work.

You can run the bot at any time by using the provided script

cd scripts/xnix
./template-y.sh
Loading, please wait...
/Users/keith/Documents/Development/Python/Projects/AIML/template-y/scripts/xnix
No bot root argument set, defaulting to [../../config/xnix]
Found a total of 0 errors in your grammars, check your errors store
Found a total of 0 duplicates in your grammars, check your duplicates store
None, App: vNone Grammar vNone, initiated None
Hi, how can I help you today?
>>> 

You can stop the bot at any time by using Ctrl-C

>>> ^CSo long, and thanks for the fish!

A Quick Tour Of Template-Y

We are now ready to start creating out AIML grammars


Back to Tutorial | Back - Embedded Bots | Next - Getting Started

Clone this wiki locally