简体   繁体   English

我需要为我的Google应用程序使用Dialogflow吗?

[英]Do I need to use Dialogflow for my Google app?

So i'm looking at building an app to control my 3d printer. 因此,我正在考虑构建一个应用程序来控制我的3d打印机。 I will say something such as "tell me how long is left to print" the app will then go to my server which will issue a GET request to to the printer and and return a response which will be spoken over my smart speaker. 我会说诸如“告诉我还有多少时间打印”之类的内容,然后该应用程序将进入我的服务器,该服务器将向打印机发出GET请求,并返回一个响应,该响应将通过我的智能扬声器发出。

All the tutorials I have found mention Dialogflow which is a paid service. 我发现的所有教程都提到Dialogflow,这是一项付费服务​​。

Do I actually need it? 我真的需要吗? I'm not afraid to get my hads dirty if it is just a case of slinging some code together. 如果只是将一些代码一起悬吊起来,我不怕弄脏我的麻烦。

Dialogflow is Google's platform used to create conversations, i'm not sure if it is 100% mandatory, but it is the way to go if you want to create things for Google Home. Dialogflow是Google用于创建对话的平台,我不确定它是否是100%强制性的,但是如果您要为Google Home创建内容,这是一种解决方法。

Dialogflow has a free version which you can use for you own projects. Dialogflow有一个免费版本,您可以将其用于自己的项目。 You can sign-up for a free account at https://dialogflow.com/ . 您可以在https://dialogflow.com/上注册一个免费帐户。

Here you can create an agent to create conversations. 在这里您可以创建一个代理来创建对话。 Using Dialogflow's Webhooks you could create a connection to your server (or code hosted in the cloud) to get the information from your 3d printer. 使用Dialogflow的Webhooks,您可以创建与服务器(或托管在云中的代码)的连接,以从3d打印机获取信息。

As Jordi said, Dialogflow is not a fully paid service. 正如乔迪(Jordi)所说,Dialogflow不是一项完全付费的服务。 It is a service that has a generous free tier which is based around usage. 该服务具有基于使用情况的大量免费套餐。 For a personal project, you will be well under quota. 对于个人项目,您将处于配额之下。 Additionally, Dialogflow usage is entirely free if you're using Actions on Google. 此外,如果您在Google上使用Actions,则Dialogflow使用完全免费。

To answer the question, you are not required to use Dialogflow if you do not want. 要回答这个问题,不需要的话就不需要使用Dialogflow。 Instead, you could use the Actions SDK , which is a barebones request/response system. 相反,您可以使用Actions SDK ,这是一个准系统请求/响应系统。 However it does not include NLP or entity extraction, two main benefits of Dialogflow, which would mean you would need to do your own logic. 但是,它不包括NLP或实体提取,这是Dialogflow的两个主要优点,这意味着您需要做自己的逻辑。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM