Обновление Platinum обслуживание и давайте строить свой бот для вас
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: 1383, today: 1, week: 3, month: 6

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: 1310, today: 0, week: 1, month: 3

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: 1250, today: 0, week: 3, month: 6

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: 1390, today: 0, week: 2, month: 5

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: 1314, today: 1, week: 2, month: 6

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