Open silentrob opened 9 years ago
No facts are truple information that aim in providing common knoledge to your bot. It can be also used in generating part of a reply by replacing a word in the reply.
+ I like ~sport
- Really? I like ~sport.
In this example ~sport is expanded in both the gambit and reply to resolved to A SPORT defined either in wordnet or the fact DB. (sfacts)
Conceptnet on the other hand is used differently and can provided actual replies. This lays in plugins at the moment. See https://github.com/silentrob/superscript/blob/master/plugins/reason.js#L64-L74 I used it to address questions like "What is a X?" and "What is X used for?", "Where would I put a X?". It can also be used to resolve information too, like "What color is the sky?"
I just tested this by creating a gambit. This returned various sports:
But this one didn't match.
There seems to be some matching issue. The same ~sport works fine in response!
Does this aim to call Conceptnet/wordnet and generate responses? If you've a plan, I'd like to look into this.