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

QnA Maker integration docs not working #2941

Closed
3 of 7 tasks
fathorMB opened this issue May 7, 2020 · 10 comments
Closed
3 of 7 tasks

QnA Maker integration docs not working #2941

fathorMB opened this issue May 7, 2020 · 10 comments
Assignees
Labels
Needs investigation Type: Question Further information is requested

Comments

@fathorMB
Copy link

fathorMB commented May 7, 2020

Describe the bug

We are trying to implement QnA Maker integration following the docs here: DOCS

We get the following error when the Connect to QnA Knowledgebase block is reached:

Object reference not set to an instance of an object.

We already tried some different configurations, guided by other issues we found here flagged as closed.

Version

Application SHA
test
Branch: stable

Browser

  • Chrome
  • Safari
  • Firefox
  • Edge

OS

  • macOS
  • Windows
  • Ubuntu

Expected behavior

We are exactly replicating the docs, so we expect it to work.

Screenshots

image

screenshot

Additional context

Bypassing the appsettings way, we also tried "hardcoding" the configuration in the Connect to QnA Knowledgebase block but nothing changed.

Our bot is working properly with common LUIS operations, we used an Intent to route to QnA as suggested by docs.

We also tried to call QnA starting the Bot from VS. We obtain the same exception and it seems to be related to something happened here: Microsoft BotBuilder

@onoflo
@andreatosato

@fathorMB fathorMB added Needs-triage A new issue that require triage Type: Bug Something isn't working labels May 7, 2020
@zxyanliu zxyanliu self-assigned this May 7, 2020
@zxyanliu
Copy link
Contributor

zxyanliu commented May 8, 2020

Hi @fathorMB thanks for reporting. I am not sure if it related, but we have another QnA maker issue reported here. @hibrenda please let me know if there is anything I should update on the docs.

@fathorMB
Copy link
Author

fathorMB commented May 8, 2020

Hi @zxyanliu, i don't think it's related. In my case the block is rendering successfully. Maybe can be related to this one?

@hibrenda
Copy link
Contributor

hibrenda commented May 8, 2020

@fathorMB could you share more detail for the dialog file ? in the dialog flow, do you only include the QnA step or there are other steps may introduce this error ?

@hibrenda hibrenda added Needs investigation and removed Needs-triage A new issue that require triage labels May 8, 2020
@fathorMB
Copy link
Author

fathorMB commented May 8, 2020

@hibrenda the QnA step is the only one in the dialog. I also tried to put it in a separate dialog and directly in the intent recognized trigger, but fails the same way. I tried to put other steps to check if the problem was in my dialog but all other steps are working.

@hibrenda
Copy link
Contributor

hibrenda commented May 8, 2020

if possible, could you share your bot (dialog) to us (no need to share qna) , we may have a try .

@fathorMB
Copy link
Author

fathorMB commented May 8, 2020

@hibrenda It's pretty simple to reproduce. I just created a new bot from scratch and then added a intent recognized trigger with some of the questions i have in my QnA. I see that LUIS is recognizing correctly, the trigger is fired and it contains only the QnA block. Configured as you see in the screenshot, so as explained in the documentation. At runtime, when reaching the QnA block, the only bot response is the error i did include in the issue description.

@hibrenda
Copy link
Contributor

hibrenda commented May 8, 2020

@fathorMB Thanks for reporting this issue. now I see .
could you input something in following field and retry.
image

We test with qna sample and not reproduce this issue as all have been settled in the sample.

@hibrenda hibrenda added Type: Question Further information is requested and removed Type: Bug Something isn't working labels May 8, 2020
@fathorMB
Copy link
Author

fathorMB commented May 8, 2020

@hibrenda I'll try and let you know. Thanks in advance for support

@fathorMB
Copy link
Author

fathorMB commented May 8, 2020

@hibrenda It is now working filling all the fields you pointed out. Thank you!

@hibrenda
Copy link
Contributor

hibrenda commented May 8, 2020

By the way in master branch, we do have improvement even if you leave these as empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs investigation Type: Question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants