BotSharp/tests/BotSharp.Plugin.PizzaBot/PizzaBotPlugin.cs

27 lines
913 B
C#
Raw Normal View History

2023-08-30 22:40:45 +00:00
using BotSharp.Abstraction.Agents;
using BotSharp.Plugin.PizzaBot.Hooks;
namespace BotSharp.Plugin.PizzaBot;
public class PizzaBotPlugin : IBotSharpPlugin
{
2024-01-12 22:20:22 +00:00
public string Id => "1c8270eb-de63-4ca0-8903-654d83ce5ece";
2023-11-13 16:47:27 +00:00
public string Name => "Pizza AI Assistant";
2023-11-16 18:20:43 +00:00
public string Description => "An example of an enterprise-grade AI Chatbot.";
2024-01-06 22:24:22 +00:00
public string IconUrl => "https://cdn-icons-png.flaticon.com/512/6978/6978255.png";
2024-01-13 00:31:25 +00:00
public string[] AgentIds => new[]
{
2024-01-28 01:02:33 +00:00
"8970b1e5-d260-4e2c-90b1-f1415a257c18",
2024-01-13 00:31:25 +00:00
"b284db86-e9c2-4c25-a59e-4649797dd130",
"c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd",
"dfd9b46d-d00c-40af-8a75-3fbdc2b89869",
"fe8c60aa-b114-4ef3-93cb-a8efeac80f75"
};
2023-11-16 18:20:43 +00:00
2023-08-30 22:40:45 +00:00
public void RegisterDI(IServiceCollection services, IConfiguration config)
{
// Register hooks
services.AddScoped<IAgentHook, PizzaBotAgentHook>();
}
}