Package io.jmix.dynmodelai.repository
Class AgentHistoryRepository
java.lang.Object
io.jmix.dynmodelai.repository.AgentHistoryRepository
Append and fixed-order reads only. Saved events do not participate in runtime recovery.
-
Constructor Summary
ConstructorsConstructorDescriptionAgentHistoryRepository(UnconstrainedDataManager dataManager, ConversationRepository conversationRepository) -
Method Summary
Modifier and TypeMethodDescriptionvoidappend(AgentHistoryRecord event, int schemaVersion, String eventType, String payload) org.springframework.data.domain.Page<AgentHistoryEvent> eventsBySequenceAsc(UUID conversationId, UUID runId, org.springframework.data.domain.Pageable pageable) org.springframework.data.domain.Page<AgentHistoryEvent> snapshotsBySequenceAsc(UUID conversationId, UUID runId, org.springframework.data.domain.Pageable pageable)
-
Constructor Details
-
AgentHistoryRepository
public AgentHistoryRepository(UnconstrainedDataManager dataManager, ConversationRepository conversationRepository)
-
-
Method Details
-
append
-
eventsBySequenceAsc
public org.springframework.data.domain.Page<AgentHistoryEvent> eventsBySequenceAsc(UUID conversationId, UUID runId, org.springframework.data.domain.Pageable pageable) -
snapshotsBySequenceAsc
public org.springframework.data.domain.Page<AgentHistoryEvent> snapshotsBySequenceAsc(UUID conversationId, UUID runId, org.springframework.data.domain.Pageable pageable)
-