BotSharp/tests/BotSharp.Plugin.PizzaBot/PizzaBotPlugin.cs
2024-01-06 16:24:22 -06:00

19 lines
593 B
C#

using BotSharp.Abstraction.Agents;
using BotSharp.Plugin.PizzaBot.Hooks;
namespace BotSharp.Plugin.PizzaBot;
public class PizzaBotPlugin : IBotSharpPlugin
{
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 bool WithAgent => true;
public void RegisterDI(IServiceCollection services, IConfiguration config)
{
// Register hooks
services.AddScoped<IAgentHook, PizzaBotAgentHook>();
}
}