关于“[DEPRECATED] Implementing an AI Chatbot with Dialogflow ES”的评价

评论

Error in Script

JT J. · 评论over 7 years之前

Error in Script

JT J. · 评论over 7 years之前

Error in Script

JT J. · 评论over 7 years之前

Rafaela M. · 评论over 7 years之前

Anand S. · 评论over 7 years之前

There are some mismatches between the current Dialogflow and the lab. A specific example is the update to training phrases instead of user asks

Jason B. · 评论over 7 years之前

KYUJIN C. · 评论over 7 years之前

Stephen O. · 评论over 7 years之前

Following the lab ends up not working as intended, since it appears to be out of date on couple of occasions (labels of certain boxes / sections of dialog flow). Version 2 of the Dialogflow API introduced major changes to the request body, so the script deployed to Firebase will end up throwing an error. After some time of investigating, I managed to solve it to switch back over to Dialogflow API v1. There either needs to be an update to the lab or a box to check the API version and to use v1.

Sören T. · 评论over 7 years之前

excellent

yoshimura t. · 评论over 7 years之前

excellent

yoshimura t. · 评论over 7 years之前

Need to update to API v2. Replace line 36: let result = req.body.queryResult; let ticketDescription = result.queryText; // incidence is a required param //let name = req.body.result.contexts[0].parameters['given-name.original']; let name = result.outputContexts[0].parameters['given-name.original']; Replace the response with: let message = `I have successfully logged your ticket, the ticket number is ${ticketnum}. Someone from the helpdesk will reach out to you within 24 hours.`; res.send(JSON.stringify({"fulfillmentText": message}));

Zach G. · 评论over 7 years之前

Yinlin C. · 评论over 7 years之前

Bibin V. · 评论over 7 years之前

Nice

Fady I. · 评论over 7 years之前

The content of this lab is interesting, but there are several code snippets that outdated, for example, we should use req.body.queryResult['queryText'] to get ticket description based on API v2. Furthermore, the response from my fulfillment function didn't appear in web demo as the lab module shown. I was wondering it's all about API version, but after changing the response payload I still didn't get the response shown.

I Gede Putu S. · 评论over 7 years之前

Takahiro K. · 评论over 7 years之前

FELIPE A. · 评论over 7 years之前

Great lab, the sample code for the fulfillment portion has some errors thought which was actually fun since it allowed me to do some troubleshooting, however, not everyone might enjoy doing that so you might want to fix the code.

Samuel G. · 评论over 7 years之前

fulfillment part did not work. update occured to firebase?

Carmen V. · 评论over 7 years之前

excellent

yoshimura t. · 评论over 7 years之前

Emmanuel S. · 评论over 7 years之前

Index.js has a wrong code as it reports JS error. JSON parsing elements are wrong in the provided JS code. I had to fix it myself to make it work.

Chandrasekar J. · 评论over 7 years之前

Index.js has a wrong code as it reports JS error

Chandrasekar J. · 评论over 7 years之前

Chandrasekar J. · 评论over 7 years之前

我们无法确保发布的评价来自已购买或已使用产品的消费者。评价未经 Google 核实。