mrs*_*013 4 google-cloud-platform dialogflow-es
我正在努力将一个3岁的api.ai应用程序升级到DialogFlow.我已使用迁移指南修改了请求.我使用基本网址收到404错误:https://dialogflow.googleapis.com/v2/ {activity = project/Project_ID / agent/session / }: answerIntent
这是来自detectIntent文档.我试图使用detectIntent方法,但当我尝试使用上下文时,我遇到了同样的问题.此外,我尝试过多个网络.当我把它放在浏览器中时,我甚至得到了404.知道我的网址中有什么不对吗?
如detectIntent文档中所述,URL使用Google API HTTP表示法来记录参数以及如何指定参数.第二个链接不是很有用,但基本上它意味着你可以解释URL
https://dialogflow.googleapis.com/v2beta1/{session=projects/*/agent/sessions/*}:detectIntent
Run Code Online (Sandbox Code Playgroud)
如
因此,如果会话是projects/12345/agent/sessions/6789URL,那么
https://dialogflow.googleapis.com/v2beta1/projects/12345/agent/sessions/6789:detectIntent
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
467 次 |
| 最近记录: |