简体   繁体   English

在对话流中使用 webhook 创建实体而不使用对话流 UI

[英]Create entities using webhook in dialogflow without using dialogflow UI

Is it possible to create entities using webhook instead of dialogflow UI是否可以使用 webhook 而不是 dialogflow UI 创建实体

I have an intent which shows the menu list [pizza, burger, combo] and when someone select an option [suppose pizza] then it will show list of pizza [pepperoni, country special, farmhouse]我有一个显示菜单列表[pizza, burger, combo]的意图,当有人 select 一个选项[suppose pizza]时,它将显示比萨饼列表[pepperoni, country special, farmhouse]

currently I have created below entities using dialogflow UI目前我已经使用对话流 UI 创建了以下实体

@menu [pizza, burger, combo]
@pizza [pepperoni, country special, farmhouse]
@burger [veg, ham, cheese]
@combo

But I want to manage all this entities from my backend, without creating it in the dialogflow但我想从我的后端管理所有这些实体,而不是在对话流中创建它

If someone changes the pizzaTypes in the backend then it should auto populate in the dialogflow如果有人在后端更改了 PizzaTypes,那么它应该在对话框流中自动填充

Is it possible to do that?有可能这样做吗? and if possible then how to do that?如果可能的话,那该怎么做?

You can use the Dialogflow API for this.您可以为此使用 Dialogflow API。 https://cloud.google.com/dialogflow/docs/reference/rest/v2-overview https://cloud.google.com/dialogflow/docs/reference/rest/v2-overview

They have some client libraries as well.他们也有一些客户端库。 Keep in mind that it can get quite complex to do this programmatically but it is possible nonetheless.请记住,以编程方式执行此操作可能会变得非常复杂,但仍然是可能的。 Good luck!祝你好运!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用 nodejs 在 Dialogflow 中处理 webhook 实现 - How to handle webhook fulfillment in Dialogflow using nodejs 使用 nodejs 或 reactjs 更新 dialogflow es 中的实体 - Update entities in dialogflow es using nodejs or reactjs 如何在不使用 webhook 客户端的情况下设置 dialogflow fulfillment response json 上下文? - How to set dialogflow fulfillment response json context without using webhook client? 无法使用Dialogflow Android客户端从dialogflow Webhook访问SimpleResponse。 无法获得有效载荷 - Cannot access SimpleResponse from dialogflow webhook using Dialogflow Android Client. Cant acess Payload Dialogflow webhook(Google上的操作)。 是否应该使用RichResponse? - Dialogflow webhook (Actions on Google). Should I be using RichResponse or not? Dialogflow CX webhook 用于实现使用 nodejs 回复用户 - Dialogflow CX webhook for fulfilment to reply user using nodejs 使用 Google 上的操作 SDK 获取 Dialogflow webhook 路径参数 - Getting Dialogflow webhook path parameters using Actions On Google SDK 如何在基于Azure的Dialogflow中创建自定义webhook? - How to create a custom webhook in Dialogflow based on Azure? 如何在 dialogflow webhook 中创建上下文并保存参数 - How to create context and save parameters in dialogflow webhook 如何使用Node.js中的dialogflow模块创建Messenger bot(使用dialogflow v2 API) - How to use dialogflow module of in nodejs to create messenger bot (using dialogflow v2 API)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM