BotSharp/src/Plugins/BotSharp.Plugin.ChatHub/ChatHubPlugin.cs

18 lines
516 B
C#
Raw Normal View History

2023-11-22 16:27:55 +00:00
using BotSharp.Plugin.ChatHub.Hooks;
using Microsoft.Extensions.Configuration;
namespace BotSharp.Plugin.ChatHub;
/// <summary>
/// The dialogue channel connects users, AI assistants and customer service representatives.
/// </summary>
public class ChatHubPlugin : IBotSharpPlugin
{
public string Name => "Chat Hub";
public void RegisterDI(IServiceCollection services, IConfiguration config)
{
// Register hooks
services.AddScoped<IConversationHook, ChatHubConversationHook>();
}
}