Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
260 views
in Technique[技术] by (71.8m points)

Jumping to a node within a Watson Dialog

In reviewing the API documentation, I didn't see a way to jump into a specific area of a Watson Dialog template. This might be useful if you determine a user's intent (e.g. using Watson Natural Language Classifier) and want to go directly to the relevant section of a comprehensive Watson Dialog template. Is there a way to do this or is it better to have a separate dialog for each possible entry point or is there some other way to think about this?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

You would simply pass that input node in as the user input for them as if they were at that point in a conversation.

For nlc specifically, the way I see it is that you would likely want your classes to match your input nodes so that when passing you do not need to do any manipulation in between.

User: open an account Class = open account Input: open account

Note that you will need to initialize a conversation first so you have a conversation and client id, from there it's a simple as passing it in as the users input with the API call.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...