Upgrade to our commercial service Bot Libre for Business for only $4.99 per month
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: 1493, today: 1, week: 1, month: 22

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: 1420, today: 0, week: 0, month: 16

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: 1358, today: 1, week: 1, month: 19

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: 1400, today: 0, week: 0, month: 18

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: 1503, today: 1, week: 1, 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: 1425, today: 0, week: 0, month: 16

Id: 16899378
Posted: May 2 2017, 11:11
Replies: 6
Views: 1503, today: 1, week: 1, month: 30
0 0 0.0/5