[DEPRECATED] Implementing an AI Chatbot with Dialogflow ES Ulasan
15898 ulasan
Error in Script
JT J. · Diulas lebih dari 7 tahun lalu
Error in Script
JT J. · Diulas lebih dari 7 tahun lalu
Error in Script
JT J. · Diulas lebih dari 7 tahun lalu
Rafaela M. · Diulas lebih dari 7 tahun lalu
Anand S. · Diulas lebih dari 7 tahun lalu
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. · Diulas lebih dari 7 tahun lalu
KYUJIN C. · Diulas lebih dari 7 tahun lalu
Stephen O. · Diulas lebih dari 7 tahun lalu
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. · Diulas lebih dari 7 tahun lalu
excellent
yoshimura t. · Diulas lebih dari 7 tahun lalu
excellent
yoshimura t. · Diulas lebih dari 7 tahun lalu
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. · Diulas lebih dari 7 tahun lalu
Yinlin C. · Diulas lebih dari 7 tahun lalu
Bibin V. · Diulas lebih dari 7 tahun lalu
Nice
Fady I. · Diulas lebih dari 7 tahun lalu
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. · Diulas lebih dari 7 tahun lalu
Takahiro K. · Diulas lebih dari 7 tahun lalu
FELIPE A. · Diulas lebih dari 7 tahun lalu
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. · Diulas lebih dari 7 tahun lalu
fulfillment part did not work. update occured to firebase?
Carmen V. · Diulas lebih dari 7 tahun lalu
excellent
yoshimura t. · Diulas lebih dari 7 tahun lalu
Emmanuel S. · Diulas lebih dari 7 tahun lalu
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. · Diulas lebih dari 7 tahun lalu
Index.js has a wrong code as it reports JS error
Chandrasekar J. · Diulas lebih dari 7 tahun lalu
Chandrasekar J. · Diulas lebih dari 7 tahun lalu
Kami tidak dapat memastikan bahwa ulasan yang dipublikasikan berasal dari konsumen yang telah membeli atau menggunakan produk terkait. Ulasan tidak diverifikasi oleh Google.