Currently I have a prompt set up to collect a user's email. it offers the options stored in the user's profile in a selection-of input view. However, if a user is interacting with Bixby via voice (maybe their hands are full, for example), is there a way to give these options aliases so that the user can just say "Home" to get their home email or "Work" for their work email?
It looks like there is the ability to give it a spoken-summary
(source) but is there something similar for naming a potential selection? I have not been able to use voice to select the value stored in spoken-selection
so far.
Alternatively, it looks like the Autosuggest feature (have to scroll down in docs) has the ability to "fuzzy match" addresses based on the address type. Can a non-autosuggest input do something similar with email addresses or custom types?
Based on the example they give in the dialogue for "Exploring Choices" on this page, I think this is possible. I just can't find out how. Any ideas?
Here is my current view if that helps things:
input-view {
match: contact.EmailInfo(this) {
to-input: EmailResults
}
message ("What is your Email address?")
render{
selection-of (this) {
where-each (emailInfo) {
spoken-summary ("#{value(emailInfo.emailType)}")
paragraph {
value {
template ("#{value(emailInfo.address)}")
}
style (Detail_M)
}
}
}
}
}