简体   繁体   English

Dialogflow 实现 - 重置

[英]Dialogflow fulfillment - reset

I got a shocked when my in-line editor code is being reset to the default code by itself.当我的内联编辑器代码自行重置为默认代码时,我感到震惊。 However, it seems like the dialogflow chatbot is still functioning well with my code.但是,似乎对话流聊天机器人在我的代码中仍然运行良好。 I even tired to deploy the draft code I have saved to prevent such incident but it keep shows error when deploying.我什至厌倦了部署我为防止此类事件而保存的草稿代码,但在部署时它一直显示错误。

What can I do or why is this happening?我能做什么或为什么会发生这种情况?

https://i.stack.imgur.com/DZuwo.png https://i.stack.imgur.com/DZuwo.png

I encountered this too.我也遇到过这个。 In our case it was because of an issue with the billing.在我们的案例中,这是因为计费问题。 Once we fixed the billing problem, our code appeared again in the editor.一旦我们解决了计费问题,我们的代码就会再次出现在编辑器中。

Where to find the code outside Dialogflow在哪里可以找到 Dialogflow 之外的代码

The fulfillment uses Google Cloud Functions.实现使用 Google Cloud Functions。 You can find the source code in that section of the Google Cloud Console.您可以在 Google Cloud Console 的该部分中找到源代码。 Remember to select the correct project where your Dialogflow agent resides.请记住 select 您的 Dialogflow 代理所在的正确项目。

Navigate there, then you will see a list of Cloud Functions.导航到那里,然后您将看到 Cloud Functions 列表。 Select the one for your agent, likely named "dialogflowFirebaseFulfillment". Select 用于您的代理,可能名为“dialogflowFirebaseFulfillment”。 Go into it and you will see tabs, one of which is "Source". Go 进入其中,您将看到选项卡,其中之一是“源”。 From Source tab you can download the source code as a ZIP file.从源选项卡中,您可以将源代码下载为 ZIP 文件。

You can't download this file if you have active billing problems.如果您遇到帐单问题,则无法下载此文件。

Fix billing problems解决计费问题

Go to the Google Cloud Console, navigate to billing ( or "Linked billing account" if asked ). Go 到 Google Cloud Console,导航到结算(或“关联结算帐户”,如果询问)。 Then you go to Payment Overview tab in the Overview section to see any issues.然后您 go 到“概览”部分中的“付款概览”选项卡以查看任何问题。 Resolve these.解决这些。

You may have to go to the "Account management" section and click to re-enable billing after you fixed payment issue.在解决付款问题后,您可能必须将 go 转到“帐户管理”部分并单击以重新启用计费。

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

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