Closed jlpadilla closed 8 years ago
The problem seems to be with the use of Conversations in hubot-ibmcloud-cognitiive-entities
. It was creating a new Conversation on each call to getEntities() and using it throughout its processing. But, this doesn't appear to be good enough. After issuing various commands we eventually can get into a state in which the Conversations are confused and use input from another. The fix is to use one Conversation for all processing within an instance of EntityManager.
This required two PRs: https://github.com/ibm-cloud-solutions/hubot-ibmcloud-cognitive-entities/pull/12 https://github.com/ibm-cloud-solutions/hubot-ibmcloud-nlc/pull/95
In the conversation below, seems like both dialogs listen to the same input.