using BotSharp.Abstraction.Conversations; using BotSharp.Abstraction.Models; using System; using System.Collections.Generic; using System.Text; namespace BotSharp.Core.Conversations; public class ConversationService : IConversationService { Dictionary> _history; public ConversationService() { _history = new Dictionary>(); } public void AddDialog(RoleDialogModel dialog) { _history[Guid.Empty.ToString()].Add(dialog); } public void CleanHistory() { throw new NotImplementedException(); } public void DeleteSession() { throw new NotImplementedException(); } public List GetAllSessions() { throw new NotImplementedException(); } public List GetDialogHistory() { return _history[Guid.Empty.ToString()]; } public List GetDialogHistory(string sessionId) { throw new NotImplementedException(); } public string NewSession() { throw new NotImplementedException(); } }