-
Notifications
You must be signed in to change notification settings - Fork 135
Tutorial Bot Template
Once you have got the hang of working with the embed-able bots we can start to think about creating our own bots with s full file system implementation. We start with downloading a basic bot template using the Admin Tool
Create a directory for your bot to be stored in and then run Admin Tool using the following commands
mkdir mybot
cd mybot
python3 -m programy.admin.tool download template-y
This will download all the necessary 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!
We are now ready to start creating out AIML grammars
Back to Tutorial | Back - Embedded Bots | Next - Getting Started
Email: [email protected] | Twitter: @keiffster | Facebook: keith.sterling | LinkedIn: keithsterling | My Blog
- Home
- Background
- Guiding Principles
- Reporting an Issue
- Installation
- You And Your Bot
- Bots
- Clients
- Configuration
- AIML
- Sentence Splitting
- Natural Langauge Processing
- Normalization
- Spelling
- Sentiment Analysis
- Translation
- Security
- Hot Reload
- Logging
- Out of Band
- Multi Language
- RDF Support
- Rich Media
- Asynchronous Events
- Triggers
- External Services
- Dynamic Sets, Maps & Vars
- Extensions
- Pre & Post Processors
- Custom Nodes
- The Brain Tree
- Utilities
- Building It Yourself
- Creating Your Own Bot
- Contributing
- Performance Testing
- FAQ
- History
- Website