Implemented skeleton of chatbot init

This commit is contained in:
Chomp
2025-01-18 12:39:42 +00:00
parent 2d0d8d6d0b
commit 8d632e9bb2
4 changed files with 142 additions and 25 deletions
+17 -5
View File
@@ -1,18 +1,30 @@
using Core.Annotations;
using Core.Annotations;
using Core.Helpers.Dialog.Commando;
using Core.Models.Eft.Dialog;
using Core.Models.Eft.Profile;
using Core.Models.Utils;
using Core.Services;
namespace Core.Helpers.Dialogue;
[Injectable]
public class AbstractDialogChatBot : IDialogueChatBot
public abstract class AbstractDialogChatBot : IDialogueChatBot
{
public UserDialogInfo GetChatBot()
protected ISptLogger<AbstractDialogChatBot> _logger;
protected MailSendService _mailSendService;
private readonly List<IChatCommand> _chatCommands;
public AbstractDialogChatBot(
ISptLogger<AbstractDialogChatBot> logger,
MailSendService mailSendService,
IEnumerable<IChatCommand> chatCommands)
{
throw new NotImplementedException();
_logger = logger;
_mailSendService = mailSendService;
_chatCommands = chatCommands.ToList();
}
public abstract UserDialogInfo GetChatBot();
public string HandleMessage(string sessionId, SendMessageRequest request)
{
throw new NotImplementedException();