Como implementar um chatbot de IA usando o Dialogflow ES avaliações

15893 avaliações

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. · Revisado há almost 8 years

KYUJIN C. · Revisado há almost 8 years

Stephen O. · Revisado há almost 8 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. · Revisado há almost 8 years

excellent

yoshimura t. · Revisado há almost 8 years

excellent

yoshimura t. · Revisado há almost 8 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. · Revisado há almost 8 years

Yinlin C. · Revisado há almost 8 years

Bibin V. · Revisado há almost 8 years

Nice

Fady I. · Revisado há almost 8 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. · Revisado há almost 8 years

Takahiro K. · Revisado há almost 8 years

FELIPE A. · Revisado há almost 8 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. · Revisado há almost 8 years

fulfillment part did not work. update occured to firebase?

Carmen V. · Revisado há almost 8 years

excellent

yoshimura t. · Revisado há almost 8 years

Emmanuel S. · Revisado há almost 8 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. · Revisado há almost 8 years

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

Chandrasekar J. · Revisado há almost 8 years

Chandrasekar J. · Revisado há almost 8 years

Does not work the last part, where you configure the Fulfillment. I did step by step according to the lab and no information is recorded in Datastore.

Alexandre T. · Revisado há almost 8 years

Joao R. · Revisado há almost 8 years

Guilherme C. · Revisado há almost 8 years

Jiangjun H. · Revisado há almost 8 years

Hwang B. · Revisado há almost 8 years

Não garantimos que as avaliações publicadas sejam de consumidores que compraram ou usaram os produtos. As avaliações não são verificadas pelo Google.