参加のボットのリブレオープンソースプロジェクト BotLibre.org
Bot Libre Dev : Natural language understanding in Botlibre bots

RE: Natural language understanding in Botlibre bots

による admin 掲載 Feb 15, 10:04

From your bot's Training & Chat Logs page you can enter questions and responses. The question is indexed and use by Bot Libre's NLP to match similar user questions to the response.

For an intent, or for having many question refer to the same response you can use intent labels. Just label the primary question/response and use the label for other question that you want to use the same response.

https://www.botlibre.com/forum-post?id=12117061

To extract information from the user's question there are a few mechanisms.

1 - You can use a pattern for the question, then you automatically get access to the * star variables in the response template.

2 - You can use a Template response, or a response "think" tag to process information. You can use Regex for parse the sentence to extract data.
https://www.botlibre.com/forum-post?id=23543115
https://www.botlibre.com/manual-regex.jsp

3 - You can use a Self script to parse a question, or do processing on a response. Self lets you do advanced things like parse and evaluate a mathematical expression, or call a web service,
https://www.botlibre.com/forum-post?id=699077

See also,
https://www.botlibre.com/doc.jsp

https://www.botlibre.com/browse?browse-type=Script&browse=true


Id: 25908647
掲載: Feb 15, 10:04
回答: 0
眺望: 66, 今日の: 2, 週間: 10, 月: 23

フラグとしての攻撃、または違反のサイトのルール