Is it possible to create agents via the API?

两盒软妹~` 提交于 2019-12-12 14:29:31

问题


So I've been reviewing the DialogFlow documentation and wondering if it's possible to use the API fully programmatically and create agents via the API as well? A sample use case being the user on my platform being to able to create their own bot. I'm not able to find the functionality listed in their docs and wanted to double check with the community here.


回答1:


You can’t create an agent through the API but once it’s been created in the UI it can be edited through the API. Users will need to grant your service account the dialogflow editor IAM role and then tell you their project ID.




回答2:


You can now create and update agents with the API. See the REST and RPC documentation.



来源:https://stackoverflow.com/questions/51218483/is-it-possible-to-create-agents-via-the-api

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!