| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
* Add deploymentTemplates folder * Fix templates
* Add qnabot class * Add pom * Add feedback changes * Remove join() calls
* Add Application class * Implement the use of ConfigurationCredentialProvider * Apply feedback
| }; | ||
|
|
||
| // The actual call to the QnA Maker service. | ||
| qnaMaker.getAnswers(turnContext, options).thenAccept(response -> { |
There was a problem hiding this comment.
This should be:
// The actual call to the QnA Maker service.
return qnaMaker.getAnswers(turnContext, options)
.thenCompose(response -> {
if (response != null && response.length > 0) {
return turnContext.sendActivity(MessageFactory.text(response[0].getAnswer()))
.thenApply(sendResult -> null);
}
else {
return turnContext.sendActivity(MessageFactory.text("No QnA Maker answers were found."))
.thenApply(sendResult -> null);
}
});
Sorry, something went wrong.
| @@ -0,0 +1,42 @@ | |||
| { | |||
There was a problem hiding this comment.
new-rg-parameters.json can be removed.
Sorry, something went wrong.
| @@ -0,0 +1,39 @@ | |||
| { | |||
There was a problem hiding this comment.
preexisting-rg-parameters.json can be removed.
Sorry, something went wrong.
| @@ -0,0 +1,183 @@ | |||
| { | |||
There was a problem hiding this comment.
Update template-with-new-rg.json with version from 02.echo-bot
Sorry, something went wrong.
| @@ -0,0 +1,154 @@ | |||
| { | |||
There was a problem hiding this comment.
Update template-with-preexisting-rg.json with version from 02.echo-bot
Sorry, something went wrong.
|
Martin Battaglino (@Batta32) Also need to update from main |
Sorry, something went wrong.
|
Thanks tracyboehrer (@tracyboehrer) for your feedback. We will be applying the requested changes right now! |
Sorry, something went wrong.
|
tracyboehrer (@tracyboehrer) - we already applied the requested changes and merged main into this branch 😊. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #864
Description
We are adding the sample 11.qnamaker in Java taking into account the C# 11.qnamaker bot present in BotBuilder-Samples repository.
Specific Changes
Testing
Current behavior of the Java migrated sample
