MyTurn-OpenSource / kik-bot-python-example

Other
0 stars 0 forks source link

allow for easy expansion of vocabulary and responses #4

Open jcomeauictx opened 7 years ago

jcomeauictx commented 7 years ago

maybe make more Eliza-like: https://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=5369&lngWId=3

need to be able to maintain state for each participant. current code has no such thing, e.g. you can type "no thanks" at any point in a conversation and get back the "OK, get back to me later" reply.

jcomeauictx commented 7 years ago

@DavidStodolsky responded:

For the first round of application, natural conversation will not be an issue.

We will need to administer a series of questions and store the answers. So, the database would give us the needed state info for each user. Even “keyboards” would be adequate for this task:

https://dev.kik.com/#/docs/messaging#keyboards

jcomeauictx commented 7 years ago

OK, but the user can always type in a custom reply, bypassing the keyboards. those can't be used reliably for indexing into a context. I'm going to need to maintain state with a hashtable.

jcomeauictx commented 7 years ago

I'm already coding, you'll see what I mean.

jcomeauictx commented 7 years ago

from @DavidStodolsky:

Some thoughts on conversation

https://medium.com/@tedlivingston/bots-are-better-without-conversation-fcf9e7634fc4