Провести свой собственный бот-платформа с ботом Либре предприятия бот платформы
Bot Libre Forum

input multiple sets of keywords the same line

по bobred опубликовано 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: 1384, today: 2, week: 4, month: 7

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: 1315, today: 5, week: 6, month: 8

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: 1251, today: 1, week: 4, month: 7

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: 1292, today: 0, week: 7, month: 10

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: 1391, today: 1, week: 3, month: 6

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: 1315, today: 2, week: 3, month: 7

Идентификатор: 16899378
Опубликовано: May 2 2017, 11:11
Ответы: 6
Вид: 1382, сегодня: 2, неделю: 5, месяц: 8
0 0 0.0/5