Did you know Bot Libre also provides free hosted forums for your own website or mobile app?
Bot Libre Forum

input multiple sets of keywords the same line

by bobred posted May 2 2017, 11:11

In add new response why can't i input multiple sets of keywords same line?It would make it easier.


by admin posted May 2 2017, 12:03
You can add multiple keywords to a response.

For sets of keywords you can use a mix of keywords and required words, or multiple responses, or use a pattern.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1395, today: 0, week: 8, month: 18

by bobred posted May 2 2017, 21:17

Does patterns have lists.Is it in a self script.I have not been able to figure out how to make a self script with notepad.And how to download it.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1326, today: 1, week: 6, month: 19

by admin posted May 3 2017, 9:17
Yes you can use a list in a pattern using [] or ()

Pattern("Is [an a] [cat dog horse] an animal?")

To download a script from our script library click on the "Source" button, then click on the "Download" button to save it to your computer.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1259, today: 0, week: 6, month: 15

by bobred posted May 3 2017, 12:38

Is there anything else to put with this for it to work?Where do i type this in?

pattern("Is[an a] [cat dog horse] an animal?")

 Template("Yes it is.")


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1299, today: 0, week: 5, month: 17

by admin posted May 3 2017, 14:55
You can enter the pattern as a question and the template as a response from your bot's Training page, or import it as a response list file.

See,
https://www.botlibre.com/forum-post?id=483549

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1401, today: 1, week: 8, month: 16

by bobred posted May 3 2017, 17:39

I imported this as a response list but it was not imported.The name of the notepad file was The list.

pattern("Is[an a] [cat dog horse] an animal?")

Template("Yes it is") 


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1325, today: 0, week: 6, month: 17

Id: 16899378
Posted: May 2 2017, 11:11
Replies: 6
Views: 1390, today: 2, week: 6, month: 16
0 0 0.0/5