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
547 views
in Technique[技术] by (71.8m points)

Dialogflow ES - How do I access the values of a parameter associated to an active context in the inline editor?

I have defined an output context with the lifespan of 50 in all the intents of my agent, so that I can always have access to the parameter values, without biasing the intent matching process, named:

session_vars

Besides that, I have created for each intent a context with the lifespan of 1, when I needed for it to filter the following intents to be matched.

I need to use the parameter value saved in the first intent, which could be easily accessed through the session_vars context. However I need to use it in the inline editor to create an if condition which provides a different response according to that value.

My question is, in this case, even though session_vars is an active context, it is not an input context on my current intent. So, how can I access the values of the parameters saved in the session_vars context at the inline editor?

question from:https://stackoverflow.com/questions/65884939/dialogflow-es-how-do-i-access-the-values-of-a-parameter-associated-to-an-activ

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

1 Reply

0 votes
by (71.8m points)
Waitting for answers

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

...