Room-11 / Jeeves

Chatbot for Stack Overflow
MIT License
42 stars 19 forks source link

Adding logic to Terminator #109

Closed Nessworthy closed 7 years ago

Nessworthy commented 8 years ago

Hiya,

Say if I ask Jeeves a question which could produce an expected output based on a calculation, would that:

a) Fall into the scope of this plugin (Terminator) and b) Be something that would be nice to have?

For example, a question like Jeeves, do you like humans?, if not predefined, could respond with something much like a magic 8-ball. where it picks an option randomly from a selection provided.

The main way I could think of doing that with the current plugin is to allow callbacks to be provided in the array of matches. The callback would be passed the original message and any captured groups, and would simply expect a string output.

That or some weird string syntax.

Thoughts?

PeeHaa commented 8 years ago

The scope of the plugin is to be able to act like a proper chatbot at some point.

Jeeves should be able to always respond in one way or another when pinging him.

I have been playing myself locally with the idea of adding search results into the mix to be able to respond to "Who is Tesla?" which would grab the first paragraph of wikipedia.

I could see random responses being used but I would love to see it try to respond in a sane manner whenever possible.

DaveRandom commented 8 years ago

Emphasis on "never possible"

PeeHaa commented 7 years ago

I have a cleverbot implementation which should serve as a nice fallback.

So this only will get triggered when none of the special cases in terminator match.

DaveRandom commented 7 years ago

Closing as implemented by cleverbot