問題タブ [actions-builder]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
31 参照

actions-on-google - Training improvements on new actions builder

I am building an new action. I have multiple intents, and I added ~20 training phases for each of them. However the matching seems to be pretty terrible

I have webhooks configured for the scenes. I look at the raw query and the handler that was matched. I have the exact phrase in the training phrases, but a different intent gets matched.

It seems like old Dialogflow interface had a way to improve training (https://cloud.google.com/dialogflow/es/docs/training#tool) allowing you to match actual queries with the right intents. Is there an equivalent tool for the new actions builder?

0 投票する
1 に答える
146 参照

dialogflow-es - @sys.any / 自由形式のテキスト タイプを使用するときにグローバル インテント マッチングを防止する方法

アクションビルダー/ダイアログフローで、開発者に渡すフィードバックを求めるインテントを作成しようとしています。アクション ビルダーに相当する sys.any (自由形式のテキスト タイプ) を使用して、任意の入力を受け取ります。残念ながら、Dialogflow ES でも発生した問題に遭遇しました。

ユーザーの入力がグローバル インテントの 1 つとかなり厳密に一致する場合、そのインテントは sys.any 入力よりも優先されます。これにより、ユーザーが突然別のインテントに切り替わるという不幸な状況が発生します。意図した結果は、インテントが入力を受け取り、次の意図された応答に移動して、フィードバックに感謝することです。

sys.any (自由形式のテキスト型) が常に (グローバル) インテントよりも優先されるか、アクセスがブロックされるようにする方法を見つけた人はいますか?