Chatterbot: Send multiple responses for a single input

Created on 31 Aug 2017  路  5Comments  路  Source: gunthercox/ChatterBot

Can I get an example for the custom logic adapter to handle this.
user: Hi
bot: Hello, How do you do?
bot: Good afternoon
bot: How can I help you today?

I presume that there is a requirement for an custom output adapter. Kindly help me.

feature

Most helpful comment

Currently this is not implemented, but there is a plan in near future to implement using chat forms https://github.com/gunthercox/ChatterBot/wiki/Chat-Forms

All 5 comments

Currently this is not implemented, but there is a plan in near future to implement using chat forms https://github.com/gunthercox/ChatterBot/wiki/Chat-Forms

Can this be done using a Custom Adapter in the present setup

@skanda09 I totally misunderstood you question, Yes, you were correct you could write your own custom adapter to do, I found a similar thread https://github.com/gunthercox/ChatterBot/issues/323

Chat-Forms method seems promissing. I believe Google DataFlow and IBM watson and even Amazon Lex follow this. Is early prototype I can follow ?

i achieved this using a newline separator. For example some training data could be:
- - hello - hello user, i am a bot \n how can i help you today?
the when my front end renders this it sees the newline and send the "how can i help you today" as a new message

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vkosuri picture vkosuri  路  4Comments

AmusingThrone picture AmusingThrone  路  3Comments

decode007 picture decode007  路  4Comments

proguy627 picture proguy627  路  3Comments

coolrb picture coolrb  路  3Comments