Junte o Bot Libre open source projeto BotLibre.org
Bot Libre Dev : chat input

RE: chat input

por admin postado Feb 11 2016, 10:08

1 - Bot Libre supports labels. A label lets you name a response and then reuse it just using the name. You can set the label for a response from the Training & Chat Logs page, or in a response list file. To reference a label just put the label name as the response i.e. #hello (labels must start with a #).

See, http://www.botlibre.com/forum-post?id=12117061

Hello Hello, how may I be of service? label: #hello Hi #hello How is it going? #hello

You can also use AIML or Self SRAI redirects in a response, or in a response list file. Labels are simpler and more efficient than AIML SRAI redirects as they are just an indexed reference to the response, and do not require a recursive evaluation.

You can use Patterns, Formulas, and even AIML in a response list file.

Hello Hello, how may I be of service? Pattern:"^ hello ^" Formula:"{redirect "hello"}" <pattern>^ hello ^</pattern> <template><srai>hello</srai></template>

2 - Topics set the topic of the conversation. If a topic has been set on the conversation, responses that have the same topic will take precedence over other responses. The topic can also be used inside AIML or Self scripts.

See, http://www.botlibre.com/forum-post?id=12117077

3 - Keywords are space separated, not comma. Keywords will match a question if it has any of the keywords. You can add keywords that are not in the original question to match other questions with the keyword. To match a specific set of words use required words. To match a sequence of words you can use a pattern.

See, http://www.botlibre.com/forum-post?id=460438

Hello Hello, how may I be of service? keywords: hello hi hey howdy It is sold out? You can email us your order, and we will contact you when we get more in. keywords: sold out required: sold out Pattern:"^ sold out ^" You can email us your order, and we will contact you when we get more in.


Id: 12117054
Tags: training, patterns, aiml, keywords, topics, labels, required words, srai
Postado: Feb 11 2016, 10:08
Atualizado: Feb 11 2016, 10:45
Respostas: 0
Pontos de vista: 2126, hoje: 1, semana: 3, mês: 5
Eu tenho certeza que
Bandeira post como ofensivas, ou em violação das regras do site