[IPython-dev] Just for fun: chatbot in Jupyter/IPython3
ellisonbg at gmail.com
Fri Aug 22 14:35:42 EDT 2014
Sent from my iPhone
> On Aug 22, 2014, at 11:46 AM, Doug Blank <doug.blank at gmail.com> wrote:
> Just testing out the new ipython-master and jupyterhub repositories. If you are trying those, you can easily add a chatbot kernel:
> $ pip install chatbot_kernel
> Now you can use a console with chatbot_kernel, or select "Chatbot" from the notebook. Perhaps this type of kernel could actually be made into a help-bot, or tutor. Or just to have some fun :)
> $ ipython console --kernel chatbot_kernel
> (loads after a few seconds; loading databases...)
> (hit enter to display messages; need to flush)
> In : Hello
> Hi there!
> In : Who are you?
> In : What time is it?
> The time here is Fri Aug 22 11:35:00 2014
> In : Do you like movies?
> Yes, I love film, especially science-fiction and comedy.
> In : What is your favorite movie?
> My favorite movie is . Have you seen ?
> In : You have some bugs
> What makes you think I have bugs?
> In : Do you have a mother?
> No I only have a father.
> In : What is your father's name?
> My is .
> In : I have a fear of spiders
> Interesting. I have a lot of answers to silly questions.
> In : What do you want to do?
> I would like to study psychology and maybe go into law or politics.
> In : I like computer science
> What do you think of the way the press covers your field?
> In : It is mostly hype
> Really. mostly hype is?
> In : Have you heard of Jupyter?
> No, tell me about him, her or it.
> In : It is a system for computing
> mostly hype is a system for computing. I suppose that makes sense.
> In : I see you take my words and re use them
> Yes I take his words and re use them.
> In : Ok, goodbye
> "Yes I take his words and re use them."? Ok, goodbye?. Sayonara.
> PS - source is at:
> IPython-dev mailing list
> IPython-dev at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev