This commit is contained in:
2026-04-09 17:02:13 +03:30
parent 843aff3879
commit 523ad16b3c
10 changed files with 706 additions and 0 deletions
+9
View File
@@ -27,6 +27,7 @@ using xAiApi.DI;
using xAiApi.Data.Helpers;
using xAiApi.Data;
using xAiApi.Data.Seeder;
using xAiApi.AI.DI;
// using xApi.Extensions;
// using xDataHelper;
// using xDataHelper.DbSeeder;
@@ -201,6 +202,10 @@ namespace xAiApi
};
});
#endregion
//
// Register AI Service ...
services.AddXAIServices();
}
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
@@ -263,6 +268,10 @@ namespace xAiApi
//
// Use xGraphQL Middleware ...
app.UseXGraphQL(withPlayground: withPlayground);
//
// Use AI Services ...
app.UseXAIServices();
}
}
}