Skip to content
Marius Ursache edited this page Aug 7, 2015 · 11 revisions

This introduces a new element called facts. Facts are triples aiming to provide common knowledge to your bot. They can be also used in generating part of a reply, by replacing a word in the reply.

+ I like ~sport
- Really? Wow, I like ~sport, too!

In this example ~sport is expanded in both the gambit and reply, and resolved to a sport defined either in wordnet or the fact DB. (For more technical details see sfacts).

Concepts

Conceptnet is used differently than facts, and can provided actual replies. This lays in plugins at the moment (reason.js). This can be used to to address questions like What is a X? and What is X used for? or Where would I put a X?. It can also be used to resolve information too, like What color is the sky?.

World knowledge

This is general shared or common knowledge. Needs documentation

Bot knowledge

This table represents things the bot knows about itself. Needs documentation

User knowledge

This table is filled by though conversation and using ^save(key,value) and ^createUserFact(s,p,o) Needs documentation.

Clone this wiki locally