Use Output Synonyms

Posts describing how to do almost anything with your Verbot®.

Moderator: Staff

Use Output Synonyms

Postby Aaron » Thu Jan 20, 2005 5:50 pm

As of version 4.0.5.4, you can put synonyms in your outputs. This will make it easier to add variety to your outputs. Here's how to do it:
First, create a synonym with several phrases. For example:
Synonym Name: Hello
Synonym Phrases:
* Hello
* Hi
* Hiya
* Greetings
* Howdy

Save your synonym file, and include it as a resource file in a KnowledgeBase.

Now, in your KnowledgeBase you can create a rule like:
Name: Hello.
Input: (Hello)
Output: (Hello). What's your name?

Here we used the same synonym in the input and output, but that's not required. The user might say "Hi", and the Verbot could reply with "Hiya. What's your name?" or "Hi. What's your name?".
Aaron
SupremeBot
SupremeBot
 
Posts: 1261
Joined: Thu Feb 26, 2004 11:13 pm

Return to How-To

Who is online

Users browsing this forum: No registered users and 1 guest

cron