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

为何Google Assistant的NO_MATCH系统事件未触发?

Troubleshooting Google Action's Slot Filling NO_MATCH Prompt Not Triggering

Let's break down what's going on here and fix that annoying generic error message so your custom NO_MATCH prompt shows up as intended.

First, Let's Align on Your Setup

You've configured your Google Action with these key pieces:

  • Game Mode Types: survival, creative
  • Intent: CMD_SET_GAMEMODE with training phrases like "change game mode to creative" and "apply creative game mode"
  • Scenes:
    • COMMANDS routes the CMD_SET_GAMEMODE intent to the CMD_SET_GAMEMODE_SlotFilling scene
    • CMD_SET_GAMEMODE_SlotFilling is set to call a webhook when scene.slots.status == "FINAL", and has a NO_MATCH prompt configured for the gamemode slot

The Core Problem

Valid queries like "change game mode to survival" work perfectly and trigger the webhook. But when you omit the game mode (e.g., "change game mode") or use an invalid value (e.g., "change game mode to something"), you get this generic error instead of your custom prompt:

Sorry, My Action isn't responding right now. Please try again soon.

Logs point to an error in the endConversation event of the slot filling scene—so your NO_MATCH logic isn't kicking in before the conversation tries to end prematurely.

Likely Fixes to Try

1. Your Slot's NO_MATCH Handling Is Misconfigured

Google Actions slot filling only moves to FINAL status when all required slots are successfully filled. If a slot hits a NO_MATCH, the scene should stay active to re-prompt the user—unless you've accidentally set it to end the conversation instead.

Double-check your gamemode slot settings in the CMD_SET_GAMEMODE_SlotFilling scene:

  • Make sure the "Required" toggle is turned on (this is mandatory for slot filling to work as intended)
  • Under the slot's NO_MATCH configuration:
    • Select "Ask again" (not "End conversation" or "Skip")
    • Confirm your custom prompt text is correctly entered (e.g., "Sorry, I don't recognize that game mode. Please pick either survival or creative.")

2. Webhook Is Firing Before Slot Filling Is Complete

If your scene's webhook trigger condition is misconfigured, it might try to run before slots are fully resolved—causing an error when the webhook receives missing/invalid data.

Verify:

  • The webhook trigger condition is strictly scene.slots.status == "FINAL"—no extra conditions that might evaluate to true while slots are still in REQUIRED or NO_MATCH state
  • In your webhook code, add validation for the gamemode slot value. If it's missing or invalid, return a response that tells the Action to re-prompt the user, not end the conversation abruptly.

3. Scene's End Conversation Settings Are Overriding Slot Filling

If your slot filling scene has an endConversation event that triggers when slots aren't fully filled, that's almost certainly causing the generic error.

Head to your scene's Events tab:

  • Look for any endConversation triggers that fire when scene.slots.status isn't FINAL
  • Remove any automatic end-conversation rules that bypass the slot filling flow. The scene should only end after successful slot filling and webhook processing, or if the user explicitly cancels.

4. Intent Fulfillment Is Routing Directly to Webhook (Not Slot Filling)

Make sure your CMD_SET_GAMEMODE intent isn't set to call the webhook directly—its only job should be routing to the slot filling scene. The webhook should only run from the slot filling scene once all slots are valid.

Check the intent's Fulfillment settings:

  • Confirm there's no webhook trigger enabled here—only the scene transition to CMD_SET_GAMEMODE_SlotFilling

Quick Validation Tests

After making changes, test these scenarios to confirm the fix:

  1. "change game mode": You should see your custom NO_MATCH prompt asking for a valid game mode
  2. "change game mode to something": Your custom prompt should appear instead of the generic error
  3. "change game mode to survival": Webhook should fire as expected

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.05.09 13:03:18