Monorepo with centralized build props, npm workspaces, LlamaSharp AI, SQLite/SQLCipher storage, Svelte frontend, and unified smoke tests. Co-Authored-By: Oz <oz-agent@warp.dev>
15 lines
484 B
C#
15 lines
484 B
C#
using Journal.Core.Dtos;
|
|
|
|
namespace Journal.Core.Services.Conversations;
|
|
|
|
public interface IConversationService
|
|
{
|
|
List<ConversationDto> GetAll();
|
|
ConversationDetailDto? GetById(Guid id);
|
|
ConversationDto Create(CreateConversationDto dto);
|
|
bool Update(Guid id, UpdateConversationDto dto);
|
|
bool Remove(Guid id);
|
|
ConversationMessageDto AddMessage(Guid conversationId, string role, string text);
|
|
List<ConversationMessageDto> GetMessages(Guid conversationId);
|
|
}
|