Expected responses intent configuration should be in the action schema #5698
lauren-mills
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now, the configured intent for input actions does not appear in the action schema:
Expected response:
![image](https://user-images.githubusercontent.com/27976702/106948661-d6f4b180-66e0-11eb-894d-63bf530dc019.png)
Action JSON:
I think this related intent should be configurable through the schema. There are times when I want to reference the name of the intent associated with the input, primarily in the AllowInterruptions configuration. Here is an example of an expression I'm using for this property today:
(turn.recognized.score > 0.8 && turn.recognized.intent != DateTimeInput_Response_SOJEYp) || exists(turn.activity.value.intent)
I would like to be able to say
this.expectedResponsesIntent
or something similar instead of hardcoding it as it is now.Also, there may be scenarios where a user wants to reuse the same intent for multiple inputs that have the same validation instead of creating different intents for each one.
Beta Was this translation helpful? Give feedback.
All reactions