Adding option to pass filters to qna through azure bot service
up vote
0
down vote
favorite
I have created function bot
(nodejs) and was able to connect to qna
and url looks similar to https://webchat.botframework.com/embed/sample-bot?s=key&filter=test
and works fine as of now.
Bot service code looks like this
https://github.com/Microsoft/BotBuilder-CognitiveServices/blob/master/Node/samples/QnAMaker/QnAMakerSimpleBot/app.js
What i'm trying to do is to pass query param filter=test
from embed url and read it from nodejs
code and pass it to qna, so that we can filter out the answers, i tried rest API and works fine from postman, how i can do it from function bot nodejs
code ?
https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/metadata-generateanswer-usage#filter-results-with-strictfilters
azure azure-bot-service qnamaker
add a comment |
up vote
0
down vote
favorite
I have created function bot
(nodejs) and was able to connect to qna
and url looks similar to https://webchat.botframework.com/embed/sample-bot?s=key&filter=test
and works fine as of now.
Bot service code looks like this
https://github.com/Microsoft/BotBuilder-CognitiveServices/blob/master/Node/samples/QnAMaker/QnAMakerSimpleBot/app.js
What i'm trying to do is to pass query param filter=test
from embed url and read it from nodejs
code and pass it to qna, so that we can filter out the answers, i tried rest API and works fine from postman, how i can do it from function bot nodejs
code ?
https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/metadata-generateanswer-usage#filter-results-with-strictfilters
azure azure-bot-service qnamaker
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have created function bot
(nodejs) and was able to connect to qna
and url looks similar to https://webchat.botframework.com/embed/sample-bot?s=key&filter=test
and works fine as of now.
Bot service code looks like this
https://github.com/Microsoft/BotBuilder-CognitiveServices/blob/master/Node/samples/QnAMaker/QnAMakerSimpleBot/app.js
What i'm trying to do is to pass query param filter=test
from embed url and read it from nodejs
code and pass it to qna, so that we can filter out the answers, i tried rest API and works fine from postman, how i can do it from function bot nodejs
code ?
https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/metadata-generateanswer-usage#filter-results-with-strictfilters
azure azure-bot-service qnamaker
I have created function bot
(nodejs) and was able to connect to qna
and url looks similar to https://webchat.botframework.com/embed/sample-bot?s=key&filter=test
and works fine as of now.
Bot service code looks like this
https://github.com/Microsoft/BotBuilder-CognitiveServices/blob/master/Node/samples/QnAMaker/QnAMakerSimpleBot/app.js
What i'm trying to do is to pass query param filter=test
from embed url and read it from nodejs
code and pass it to qna, so that we can filter out the answers, i tried rest API and works fine from postman, how i can do it from function bot nodejs
code ?
https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/metadata-generateanswer-usage#filter-results-with-strictfilters
azure azure-bot-service qnamaker
azure azure-bot-service qnamaker
asked Nov 7 at 10:16
tomalex
6121927
6121927
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53187417%2fadding-option-to-pass-filters-to-qna-through-azure-bot-service%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown