last ...
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user