Dołącz do BOT Libre u partnera i partnerski program i wspierać naszą darmową, otwartą platformę
Bot Libre Forum

input multiple sets of keywords the same line

w bobred wysłany 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: 1494, today: 1, week: 2, month: 23

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: 1424, today: 2, week: 4, month: 20

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: 1361, today: 2, week: 4, month: 22

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: 1402, today: 1, week: 2, month: 20

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: 1504, today: 1, week: 2, month: 17

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

Identyfikator: 16899378
Wysłany: May 2 2017, 11:11
Odpowiedzi: 6
Widok: 1505, dziś: 2, tydzień: 3, miesiąc: 32
0 0 0.0/5