You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Dialogflow中单个Intent能否实现建议芯片多选功能?

Great question! Yes, Dialogflow fully supports multi-select operations for scenarios like your hobby selection query. The setup varies a bit depending on whether you're using Dialogflow ES (Essentials) or CX (Contact Center AI), so let’s walk through both approaches:

Dialogflow ES Setup
  • Create a multi-value entity: First, make an entity (e.g., @hobbies) and add all your hobby options (Cricket, Football, Basketball, Chess, Reading). Crucially, check the "Allow multiple values" box at the bottom of the entity editor—this tells Dialogflow to recognize and capture multiple instances of the entity in a single user input.
  • Add the entity as a parameter to your intent: In the intent where you ask "请选择您的爱好?", add @hobbies as a required or optional parameter. When a user responds with something like "Cricket, Football and Chess", Dialogflow will automatically parse all three values into an array stored in the parameter.
  • Handling clickable multi-select (if needed): Dialogflow ES’s native rich responses (like lists or carousels) are single-select by default. To let users click multiple options, you’ll need to use a webhook: send a message listing all hobbies with identifiers (e.g., "1. Cricket, 2. Football..."), prompt users to reply with the numbers of their choices, then use the webhook to parse the input and collect selected hobbies.
Dialogflow CX Setup
  • Enable multi-value for your entity: Just like ES, create a @hobbies entity and toggle on "Allow multiple values" so it can capture multiple selections.
  • Use a Checkbox UI element: In the Page where you pose the hobby question, add a form parameter linked to @hobbies. Under the parameter's settings, set the "UI element" to "Checkbox". This will render a checkbox list for users to tick multiple hobbies directly—no webhook required for the selection capture.
  • Free text/voice input support: CX will automatically recognize multiple hobby values in natural language input (e.g., "I love Cricket and Football, plus Chess") and store them as an array in the parameter, just like ES.

Once you’ve captured the multi-select values, you can reference the parameter array in your responses or webhook logic to confirm the selections (e.g., "Got it! Your hobbies are Cricket, Football, and Chess—awesome picks!").

内容的提问来源于stack exchange,提问作者Vikas Patidar

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.06 12:33:12