Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discovery is not working #1

Open
pradeepkmj opened this issue Jul 23, 2017 · 6 comments
Open

Discovery is not working #1

pradeepkmj opened this issue Jul 23, 2017 · 6 comments

Comments

@pradeepkmj
Copy link

Hi .. I have created the application using this code and conversation is working but discovery is not working.. when I cal discovery from discovery it's not showing any results.. I have added discovery intent and questions in conversation. Please let me know if I have missed any other steps.

@desmarchris
Copy link
Owner

Hi @pradeepkmj, do you have any error message you can share? Also, have you included all of the Discovery credentials?

@pradeepkmj
Copy link
Author

hi, Yes i have included discovery details!
There are no errors, when i enter a discovery related question ,it wont display any message.

@desmarchris
Copy link
Owner

@pradeepkmj I just tried it from scratch and it's working for me, so I think it may be the format of your Discovery docs. Can you share an example of what you are ingesting?

@pradeepkmj
Copy link
Author

hi,

In conversation i have added the discovery intent and questions and in dialog i have discovery dialog node, please let me know if anything else i have to add in conversation workspace, i connected to discovery and tested using postman its working.

@desmarchris
Copy link
Owner

@pradeepkmj That's all you need for Conversation, so it's likely the format your data is in. Can you share an example of the doc you are ingesting, and / or the response you're seeing in Postman?

@AlaGarali
Copy link

Dear @pradeepkmj,
In my chatbot application, Discovery is not working.
In discovery.js, sendBoth.js and sendEntities.js files, I fixed the error console.log(data.results[0].text) by console.log(data.results.text) but no result is shown as mentioned in this picture (result.text ==> UNDEFINED):

image1

This figure shows that, in the discovery service, the results.text variable is not NULL or Undefined

image2

Can you help me please !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants