package ai.decompile.ai.model.repository;

import ai.decompile.ai.model.entity.ChatMessage;
import java.util.List;
import java.util.UUID;
import org.springframework.data.jpa.repository.JpaRepository;

public interface ChatMessageRepository extends JpaRepository<ChatMessage, UUID> {
  List<ChatMessage> findBySessionIdOrderByCreatedAtAsc(UUID sessionId);
}
