journal/Journal.Core/Services/Conversations/IConversationService.cs
Jacob Schmidt 192e6e3891 feat: add AI coaching, conversation persistence, and LLamaSharp integration
- Add Journal.AI project with LLamaSharp-based AI service (Phi-3 model)
- Implement coach sessions (daily check-in, evening review, weekly review)
- Add conversation CRUD with SQLCipher persistence
- AI chat with full conversation history for context-aware replies
- Frontend: CoachPanel, AI stores, conversation stores, side panel UI
- Conversation list with create, rename, and delete support
- Fix Phi-3 output quality (system prompt leaking, token cleanup, JSON filtering)
- Fix CREATEDRAFT kind override in coach sessions

Co-Authored-By: Oz <oz-agent@warp.dev>
2026-03-01 16:07:59 -06:00

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);
}