17 lines
470 B
C#
17 lines
470 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 void RegisterDI(IServiceCollection services, IConfiguration config)
|
|
{
|
|
// Register hooks
|
|
services.AddScoped<IAgentHook, PizzaBotAgentHook>();
|
|
}
|
|
}
|