Diogo Almeida· @CompleteSkeptic · X·· 2 小时前AI 评分28
AI 导读
@allietheicon 分享血泪经验 🙇
正文 · 原文
@allietheicon dropping hard-learned wisdom 🙇
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!在 X 查看被引用的帖子
来源:Diogo Almeida · x.com