Dialogflow: Respond based on values and other conditional responses
问题 I have $dinetype variable obtained from the user. But I would like to give response based on what value has been set in $dinetype variable. In addition to giving responses, I also need to set relevant context. How do I do this in DialogFlow? if($Dinetype=='dineout') ask ('which restaurant would you like to go to?') set_context ('awaiting-restaurant') if($Dinetype=='takeaway') ask ('When would you like to take away?') set_context ('awaiting-takeaway-time') Is it programmable at all? Or is it