BotSharp/src/Infrastructure/BotSharp.Abstraction/Conversations/IConversationStorage.cs

11 lines
322 B
C#
Raw Normal View History

2023-06-27 18:31:13 +00:00
using BotSharp.Abstraction.Conversations.Models;
namespace BotSharp.Abstraction.Conversations;
public interface IConversationStorage
{
2023-08-09 21:49:55 +00:00
void InitStorage(string conversationId);
2023-08-18 04:27:07 +00:00
void Append(string conversationId, Agent agent, RoleDialogModel dialog);
2023-08-09 21:49:55 +00:00
List<RoleDialogModel> GetDialogs(string conversationId);
2023-06-27 18:31:13 +00:00
}