latheesh08
latheesh08
> you can use this package instead https://github.com/dialogflow/dialogflow-javascript-client it doesn't supports v2..
@zyzarvin1987 does your solution works, if sure can u please mention where should i need to change it.because i didn't see the above lines in apiai.js Thanks.
@parkkichul got the same issue . Last time it resolved but now it's not working don't know why have to wait for the fix.. if anyone found the solution please...
@zyzarvin1987 is this module support v2. If so, tell me the procedure to migrate or any other module you know that support dialogflow v2 please ping me. thank you in...
@ATakaSKY change in request.js this.uri = this.apiAiClient.getApiBaseUrl() + "query?v=" + this.apiAiClient.getApiVersion(); replace to following. this.uri = "https://cors-anywhere.herokuapp.com/" + this.apiAiClient.getApiBaseUrl() + "query?v=" + this.apiAiClient.getApiVersion(); this worked me
for me also
I hope it is used for react js projects might not supported for angular
change apiai.js this.uri = this.apiAiClient.getApiBaseUrl() + "query?v=" + this.apiAiClient.getApiVersion(); to this.uri = "https://cors-anywhere.herokuapp.com/" + this.apiAiClient.getApiBaseUrl() + "query?v=" + this.apiAiClient.getApiVersion(); this worked me