♻️ Replace the LangChain with Semantic Kernel

This commit is contained in:
2025-10-25 17:07:29 +08:00
parent bbcaa27ac5
commit 40325c6df5
5 changed files with 59 additions and 126 deletions

View File

@@ -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();