BotSharp/tests/BotSharp.Plugin.PizzaBot/PizzaBotPlugin.cs
2024-01-12 18:31:25 -06:00

26 lines
865 B
C#

using BotSharp.Abstraction.Agents;
using BotSharp.Plugin.PizzaBot.Hooks;
namespace BotSharp.Plugin.PizzaBot;
public class PizzaBotPlugin : IBotSharpPlugin
{
public string Id => "1c8270eb-de63-4ca0-8903-654d83ce5ece";
public string Name => "Pizza AI Assistant";
public string Description => "An example of an enterprise-grade AI Chatbot.";
public string IconUrl => "https://cdn-icons-png.flaticon.com/512/6978/6978255.png";
public string[] AgentIds => new[]
{
"b284db86-e9c2-4c25-a59e-4649797dd130",
"c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd",
"dfd9b46d-d00c-40af-8a75-3fbdc2b89869",
"fe8c60aa-b114-4ef3-93cb-a8efeac80f75"
};
public void RegisterDI(IServiceCollection services, IConfiguration config)
{
// Register hooks
services.AddScoped<IAgentHook, PizzaBotAgentHook>();
}
}