dialogflow-es - 预期输入 [0] 处的 MalformedResponse:如果这不是最终响应,则响应必须提供至少一个可能的意图。这是什么意思?
问题描述
我在 dialogflow 上创建了一个非常简单的代理。时不时地,即使使用静态响应(只有会话 ID 发生变化),应用程序也会崩溃(在 Google Assistant 和模拟器中)。
在日志中,我发现有问题的消息:“预期输入 [0] 处的 MalformedResponse:如果这不是最终响应,则响应必须提供至少一种可能。这是什么意思?”。我不明白这是什么意思。有人可以帮我吗?
解决方案
I'm having the same problem. That i've noted is that this problem doesn't ocurre every time. The behavior is really unstable.
I'm using 2 required parameters in the intent. I don't know if that has something to do with the problem.
MalformedResponse at expected_inputs[0].input_prompt: 'input_prompt' is empty MalformedResponse at expected_inputs[0]: Responses must provide at least one possible intent if this is not the final response
推荐阅读
- python - 使用 JSON 作为 SQL 查询构建器
- ssis - 枚举时如何防止重复加载源表?
- reactjs - 是否有任何条纹元素可以向用户显示保存的卡片。?
- python - 做更多的标题意味着服务器认为你是人的机会更大
- azure-devops - 我想使用 Azure Pipelines 将基于 .Net 的核心 Web 应用程序与我的测试套件集成,并且只是想知道可能性
- excel - 为什么我的 Excel 表格在我插入/删除行时会增加列?
- python - 如何将函数转换为 lambda
- angular - 是否可以在裁剪框中禁用图像调整大小选项?
- json - 如何将地图转换为其中一种类型为 AnyRef 的 json
- java - 字符串常量中的参数