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

Fix Sample QnAMaker-all-features memory scopes bug #3347

Merged
merged 1 commit into from
Jul 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Builder.Integration.AspNet.Core;
using Microsoft.BotBuilderSamples.Bots;
using Microsoft.BotBuilderSamples.Dialog;
Expand Down Expand Up @@ -47,6 +48,8 @@ public void ConfigureServices(IServiceCollection services)

// Create the bot as a transient. In this case the ASP Controller is expecting an IBot.
services.AddTransient<IBot, QnABot<RootDialog>>();

ComponentRegistration.Add(new DialogsComponentRegistration());
}

// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
Expand Down