148 points · by petervandijck · 15y ago · 39 comments
(defparameter *phrases*
'("Who needs it?"
"Who uses it?"
"Who *really* needs it?"
"What problem does this solve?"
"Does that problem *really* need to be solved?"
"What is the worst problem in your life?"
"In any given day, how many people use it? Do they return?"
"What do you do for them once they get to your site?"
"Why do they need you? What's special about you?"
"Beat a chicken and egg problem with a tiny subset of the market that's small but *driven*."
"No, who *needs* it?"))
(defun random-elt (seq)
(elt seq (random (length seq))))
(defun answer (prompt)
(declare (ignorable prompt))
(random-elt *phrases*)) (cons "Is it an underhanded penny auction rip-off site?" *phrases*)(and could you add: "I worry... I worry...")
1. Work hard at job as Java dev (yes, it's not ideal, no, as a high school senior I'm not complaining).
2. Read PAIP; do all exercises.
Current plans:
1. Drop everything and figure out how the heck non-static webpages work.
2. Create "real" pg chatbot.
3. Resume previous plans.
Edit: Ah, brilliant, I just remembered PAIP actually talks about chatbots pretty extensively.
and toss an XMPP chatter bot behind it :-) http://mail.python.org/pipermail/bangpypers/2008-January/000...
Cheers, Ben
http://pandorabots.com/pandora/talk?botid=d7e93f386e34109d
EDIT: And here's the AIML file on Github if anybody wants to play. Pandorabots.com is a nice place to host these things for playing around...
https://github.com/mindcrime/pgbot
-- And since we're talking chat-bots anyway, here's some stuff for people who might find this sort of thing interesting:
http://pandorabots.com/botmaster/en/home
http://www.alicebot.org/documentation/
http://www.pandorabots.com/pandora/pics/wallaceaimltutorial....
Human: hi
pgbot: What are you building?
Human: an online graph database
pgbot: Who needs that?
Human: Startups
pgbot: I worry, I worry...I look forward to discussing my ideas with PG-bot.
Not very intelligent but pretty relevant.
paul: What's your idea. Hit me.
me: its like facebook but for dogs
paul: And the big hits often look risky at first.Like Facebook
me: ya...i know
paul: Adults know this
me: but i need dogs to know about this
paul: On the Internet, nobody knows you're a dog
Touche, pgbotHis own idea; http://vimeo.com/1425935 around 4:10
Though building a chatbot is slightly different than building a form.