Watson conversation - context - previous input text

霸气de小男生 提交于 2020-01-17 08:14:27

问题


During a conversation sequence, when an user provides an input for a response coming from the conversation service based on his/her previous question, I am building a new request to the conversation service by passing the previous question as input text and the previous context.

The previous context is to let the Conversation service know the conversation id. The previous input text (question) is to let the Conversation service identify and resume from where it was left (the right dialog node).

My application uses the user input for validation and updating the context. For instance, setting the context as user "verified" etc.

My application gets the previous input text from the context object of conversation service.

Could you please let me know if i am doing right?

来源:https://stackoverflow.com/questions/42723050/watson-conversation-context-previous-input-text

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!