Знаете ли вы, бот Либре также обеспечивает 3D аватары и бесплатный веб - выступление по API?

Getting my bot to ask a series of questions

по davidgurr опубликовано Apr 13 2016, 11:43

Based on an initial user question, I need to have my bot ask a series of questions, and get answers, rather than the other way round ...

I'm struggling to see how to train it to ask questions rather than answer them.

For example, if the user starts with "I need to report problem type X", for each problem type my bot needs to then ask:

What's the address?

What's the size?

What's the reference number?


and then respond with a summary of the info provided and ask the user to confirm it's correct.

Can anyone point me at any useful resources?



by admin posted Apr 13 2016, 11:55
Using a script would be the easiest way to do this.

You can either use Self, or AIML.

There is an example here in our script library,


It is used by the Turing bot,

For Self syntax see,

Basically you want to record a variable on the conversation to track the current state.
You could also use topics.

For AIML see,

In AIML I think you may be able to use topics for this.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1229, today: 1, week: 1, month: 5

Идентификатор: 12546649
Опубликовано: Apr 13 2016, 11:43
Ответы: 1
Вид: 1218, сегодня: 1, неделю: 2, месяц: 6
Я уверен, что
Вывесить флаг как оскорбительное, или в нарушение правил сайта