♻️ Replace the LangChain with Semantic Kernel
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
using DysonNetwork.Insight;
|
||||
using DysonNetwork.Insight.Startup;
|
||||
using DysonNetwork.Shared.Http;
|
||||
using LangChain.Extensions.DependencyInjection;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using LangChain.Serve;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
@@ -17,7 +15,6 @@ builder.Services.AddAppAuthentication();
|
||||
builder.Services.AddAppFlushHandlers();
|
||||
builder.Services.AddAppBusinessServices();
|
||||
builder.Services.AddThinkingServices(builder.Configuration);
|
||||
builder.Services.AddLangChainServe();
|
||||
|
||||
builder.AddSwaggerManifest(
|
||||
"DysonNetwork.Insight",
|
||||
@@ -38,4 +35,4 @@ app.ConfigureAppMiddleware(builder.Configuration);
|
||||
|
||||
app.UseSwaggerManifest("DysonNetwork.Insight");
|
||||
|
||||
app.Run();
|
||||
app.Run();
|
||||
|
||||
Reference in New Issue
Block a user