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

Add QnA to QnAMaker #22

Open
Kartik1607 opened this issue May 7, 2018 · 0 comments
Open

Add QnA to QnAMaker #22

Kartik1607 opened this issue May 7, 2018 · 0 comments

Comments

@Kartik1607
Copy link
Contributor

We need to add questions and answers to QnAMaker to add more intelligence to bot. Make sure to use correct format for adding the QA pair to service. An example would be

Question : Tell me about Udacity.

{
  "responses": [
    [
      "Udacity is a online portal for self-paced learning whose courses are prepared by tech giants like Google, Amazon, facebook etc .",
      "Udacity is an innovative online education provider. We offer cutting-edge courses built in partnership with leading companies like Google, AT&T, and Facebook on everything from mastering web design to tech entrepreneurship."
    ],
    [
      "Our flagship Nanodegree programs set the standard for industry-recognized credentials, where your code is reviewed by experts from these organizations.",
      "It provides some Nanodegree degree programs where you code is reviewed by experts from these organisations."
    ]
  ],
  "SuggestedActions": [
    "Awesome",
    "Start Learning",
    "What is the cost?"
  ]
}

The SuggestedActions are shown to user as buttons.
The responses is an array of array. From each sub array bot, picks up a sentence and posts it to the user.

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

1 participant