package com.correx.core.inference

import com.correx.core.events.types.SessionId
import com.correx.core.sessions.projections.replay.EventReplayer

class InferenceRepository(
    private val replayer: EventReplayer<InferenceState>
) {
    fun getInferenceState(sessionId: SessionId): InferenceState {
        return replayer.rebuild(sessionId)
    }
}
