Hosten Sie Ihre eigene bot-Plattform mit dem Bot Libre Enterprise-Bot-Plattform
Bot Libre Dev : Bot working

RE: Bot working

durch admin gepostet Nov 25 2016, 8:39

The bot's "Mind" and "Thought" classes seek to emulate the human mind.

The conscious thoughts are executed serially on the input (such as a chat message), and process the input and normally send an output back to the Senses in response.

For example the Language class check the input for a sentence/text input, processes the message, and returns the response.

The subconscious thoughts execute in the background. They can do extra processing on the input that may be used by the bot in the future.

For example the Discovery thought parses the input for words, and if it finds a new word it looks up the meaning online using Wiktionary. Then the next time the bot is asked a question with the new words it will understand their meaning.

This is why a bot may not understand a question the first time, but then may understand it if the question is repeated, as it now has looked up the meaning of the words.

i.e.
user: You are a bot.
bot: I do not understand.
user: You are a bot.
bot: I understand, I am a bot.

Here the bot looked up the word "bot" and now knows that it is a noun, so can understand the question (this uses the Understanding script).

So you can create your own Thought classes that can either run serially before the bot returns a response, or in the background.


Id: 14762432
Tags: mind, thought, conscious
Gepostet: Nov 25 2016, 8:39
Aktualisiert: Nov 25 2016, 8:40
Antworten: 0
Ansichten: 1663, heute: 2, Woche: 4, Monat: 24
0 0 0.0/5