| | Don't Have an Account? |
 |
Signup Now, It's FREE!
 |
Have an Account? Login Now! |
 |

| Members: | 27,000 |
| Members on AIM: | 63 |
|
 |
The Basics:
To get started you will first want to decide if you want to create a bot
from scratch or build your bot on top of a brain that already has most of
the work done for you.
A. Building your Bot on top of a Default Brain
1. Set your Default Bot brain. AliceBot has over 41,000 Responses and
is quite extensive.
2. Click "BOT SETTINGS" above and give your
bot some basic personality/characteristics.
3. Under the Bot Editor start Asking your Bot Questions, use the
info below to modify and add Responses to your bot.
B. Building your Bot from scratch
1. Set your Default Bot brain to "No Brain"
2. Under the Bot Editor use the info below to start adding Responses
to your bot.
There are 2 required items, the PATTERN and RESPONSE,
and 2 advanced items, the THAT and TOPIC,
that you will use when training your Bot.
| PATTERN: |
This is what your bot will try to match the user's
input to. |
| RESPONSE: |
This is what your bot will say when the PATTERN
is matched to the user's input. |
| TOPIC: |
Your bot can stay in context. This works great for
Menus, Modules, etc... |
| THAT: |
This is what your bot last said. If the PATTERN
should only match the user's input based on what the bot last said
turn this on. |
Basic Editing:
Adding Responses to your bot is easy. Below are the few required steps.
started.
Step 1: Fill in the "PATTERN"
field with what you want your bot to recognize when someone sends it a message.
Step 2: Fill in the "RESPONSE"
field with what your bot should say if that PATTERN is
matched.
Step 3: Click "Add Reply"
Basic Coding:
Here are a few examples to show you how specific or general you can make your PATTERN's to cover a wide range of input.
In order to match a fairly Specific Input do not use Wildcards ( * ), for example:
Someone asks: What is the name of your dog? Bot replys: My dog's name is Fido. The above example would require a bot response with: PATTERN of "what is the name of your dog" RESPONSE of "My dog's name is Fido"
The above example is extremely rigid and will only be able to match the one input of "What is the name of your dog?". What if you wanted to have your bot say "My dog's name is Fido" for all input's that contain the word "dog"? You would use wildcards ( * ) where you want the bot to match any number of words in a person's input, for example:
Someone asks: What is your dog's name? Bot replys: My dog's name is Fido. Someone asks: My friend's dog's name is Spot Bot replys: My dog's name is Fido. Someone asks: I have a dog do you? Bot replys: My dog's name is Fido. etc... The above example would require a bot response with: PATTERN of "* dog *" RESPONSE of "My dog's name is Fido"
Your bot will remember the word/phrase that it matches to the wildcard ( * ) for you to use in your RESPONSE. This is made possible by the <STAR/> tag, for example:
Someone asks: My hair is purple Bot replys: I love purple! The above example would require a bot response with: PATTERN of "my hair is *" RESPONSE of "I love <star/>"
Your bot will remember every wildcard match and store it in <STAR/>. In order to get the star data for wildcard matches other than the first you will have to pass an index to <STAR/> in the form of <STAR index="wildcard number"/>, for example:
Someone asks: The car is red Bot replys: I knew the car was red The above example would require a bot response with: PATTERN of "The * is *" RESPONSE of "I knew the <star index="1"/> was <star index="2"/>!"
Random Responses:
A very powerful yet basic response tool is the ability to respond randomly. This will make your bot appear to be more intelligent and less predictable. You will use the pipe ( | ) to seperate each random response in a single RESPONSE. Here is a simple Dice Game, for example:
Someone asks: roll dice Bot replys: 4 Someone asks: roll dice Bot replys: 2 etc... The above example would require a bot response with: PATTERN of "roll dice" RESPONSE of "1|2|3|4|5|6"
The Default Response:
It would be almost impossible to create responses for every possible input, thus the Default Response is a must if you are creating your bot from scratch ( The default brain will not be used if you have a default response ). In order to create a default response use: PATTERN of "*" RESPONSE of "default response 1|default response 2|default response 3|etc..."
Input Conversion Table:
In an attempt to correct the problem of bad grammer or spelling at the bot's input, the AI-Buddy bot engine will perform these conversions on your bot's input before it is matched against your PATTERN.
| U | is converted to | YOU |
| DOMAIN.COM | is converted to | DOMAIN DOT COM |
| WHOS | is converted to | WHO IS |
| WHATS | is converted to | WHAT IS |
| THATS | is converted to | THAT IS |
| ITS | is converted to | IT IS |
| THERES | is converted to | THERE IS |
| HES | is converted to | HE IS |
| SHES | is converted to | SHE IS |
| ####'S | is converted to | #### IS |
| ####'D | is converted to | #### would |
| RU | is converted to | ARE YOU |
| UR | is converted to | YOU ARE |
| YA | is converted to | YES |
| YEP | is converted to | YES |
| YEAH | is converted to | YES |
| ####'LL | is converted to | #### WILL |
| ####'RE | is converted to | #### ARE |
| ####'M | is converted to | #### AM |
| ####'VE | is converted to | #### HAVE |
| CAN'T | is converted to | CANNOT |
| CANT | is converted to | CANNOT |
| WON'T | is converted to | WILL NOT |
| WONT | is converted to | WILL NOT |
| DONT | is converted to | DO NOT |
| ####'NT | is converted to | #### NOT |
| ####N'T | is converted to | #### NOT |
|
|
|
|
|