You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases, it may be useful to retrieve multiple values from an utterance for a given entity type. Using the single_intent_parser.py weather example, a user might enter: "Will the weather rain or snow in Seattle?"
It would be nice to know each WeatherType in the question, perhaps something like this:
Hey @electrickite, sorry I'm just seeing this as you close it! 4 years later, I still don't have a good mental model on what the implementation of this would look like; it's kind of cludge-y, but you could achieve your example with multiple properties of the same type. Based on your example, it doesn't seem like ordering matters.
It looks like there's no docs on what I just suggested, but you can use the attribute_name to accomplish this for required or optional properties. This is not supported with "one_of"
In some cases, it may be useful to retrieve multiple values from an utterance for a given entity type. Using the
single_intent_parser.py
weather example, a user might enter: "Will the weather rain or snow in Seattle?"It would be nice to know each WeatherType in the question, perhaps something like this:
The text was updated successfully, but these errors were encountered: