Allie the Icon shares Jev multi-intent handling tips
Allie the Icon proposes using a "shopping cart" pattern to handle multiple intents in a single user query: recursively pick the next item until Jev determines it's done. She says she has used this method to build a coffee ordering bot for her company's Slack (with the help of DoorDash's CLI), and also used it for fast multi-intent handling in her smart home system. Diogo Almeida reposted it and praised it as "hard-won experience."
View original postOne thing that can be tricky to figure out is how to use Jev's primitives to handle more than one intent in a single user query. My favorite way to approach this is what I call the "shopping cart" pattern: recursively pick the next thing until Jev says we're done. I've personally used this to make a coffee ordering bot for our company Slack (using @DoorDash's CLI!), as well as a fast multi-intent handler for my smart home system. Give it a shot!
View original
One thing that can be tricky to figure out is how to use Jev's primitives to handle more than one intent in a single user query. My favorite way to approach this is what I call the "shopping cart" pattern: recursively pick the next thing until Jev says we're done. I've personally used this to make a coffee ordering bot for our company Slack (using @DoorDash's CLI!), as well as a fast multi-intent handler for my smart home system. Give it a shot!
Body
@allietheicon dropping hard-learned wisdom 🙇