dialogflow-nodejs-client icon indicating copy to clipboard operation
dialogflow-nodejs-client copied to clipboard

The documentation is extremely lacking

Open bramski opened this issue 8 years ago • 10 comments

You've only documented the textRequest function... but clearly if I read your source you have implemented much much more.

bramski avatar Aug 25 '16 18:08 bramski

Itd be great if your support team or your docs could answer the 1000 questions I have. A more detailed doc would be great.

KameronKales avatar Sep 01 '16 13:09 KameronKales

Hey Kameron,

Are you on a paying plan with API ai? We are on the free plan and their responsiveness is very poor. I'd want to know it is that much better before paying for their support plan.

On Sep 1, 2016 6:14 AM, "Kameron Kales" [email protected] wrote:

Itd be great if your support team or your docs could answer the 1000 questions I have. A more detailed doc would be great.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/api-ai/api-ai-node-js/issues/12#issuecomment-244074437, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZvlaWL-S7ejCBSwwND5jKrXaare0plks5qls-ZgaJpZM4JtZI_ .

bramski avatar Sep 01 '16 14:09 bramski

Does anyone know what goes in the field? Do I fill in the intents or entities for that? I am struggling to wrap my head around how to implement the SDK in my node app

KameronKales avatar Sep 06 '16 14:09 KameronKales

+1 for better doc

gozup avatar Nov 08 '16 18:11 gozup

+1 here as well. Documentation is very lacking. Not all examples use sessionID, voice requests are not mentioned in [https://docs.api.ai/docs/reference], etc. BTW, I know this is petty, but util.inhertis is discouraged. All in all, in a sharp contracts to the overall service, the node SDK and relevant documentation is quite underwhelming

tefrati avatar Jan 22 '17 15:01 tefrati

phew. i thought it was just me. taken me ages to understand how any of this works, and still not there. when I use the provided sample it runs once only (without any intent being fired) , subsequent attempts I just get a 206/503 error. any tips ? image

dougmaloney avatar Mar 07 '17 04:03 dougmaloney

@dougmaloney What's sample? Where you found it? Is tested locally? Provide detail information about crash, in your screenshot i see only few lines of error.

sstepashka avatar Mar 07 '17 05:03 sstepashka

@sstepashka - hi - thanks for the query - here are 3 screenshots.

  1. indexjs - very slightly modified from the original text_request.js in the samples folder. I have this deployed on heroku
  2. heroku log on deploy that is displayed when I deploy the code (before any action from the api.ai bot)
  3. heroku log on action - displayed when i fire a query at api.ai

All I really want to do is get any response from my node app. then work from there.

dougmaloney avatar Mar 08 '17 02:03 dougmaloney

Same issue here. Trying to call a simple webhook and it fails.

neeraj87 avatar May 21 '17 17:05 neeraj87

I've the same problem, I've tried several samples and I get action: 'input.unknown' on each. More details:

samples\server.js

errorDetails: 'This endpoing is not longer available.'

samples\voice_requests.js returns:

{ code: 410, errorType: 'gone', errorDetails: 'This endpoing is not longer available.' } }

samples\text_request_with_parameters.js

...fulfillment: { speech: 'Sorry, what was that?'...

samples\text_request_with_contexts.js

"speech": "I didn't get that. Can you say it again?"

ericzon avatar Jun 10 '17 20:06 ericzon