Kizuki
    Preparing search index...

    Interface SessionState

    A teach-back session as it stands now.

    interface SessionState {
        conceptId: string;
        ended?: {
            at: string;
            clean: boolean;
            confirmedMissIds: string[];
            rejectedMissIds: string[];
        };
        error?: string;
        explanation: string;
        misses?: { missId: string; quote: { passageId: string; text: string } }[];
        missesDropped: number;
        rounds: RoundState[];
        runId?: string;
        sessionId: string;
        startedAt: string;
        status: SessionStatus;
        updatedAt: string;
    }
    Index
    conceptId: string

    The concept being taught, as it was when the session started. It may have been merged since.

    ended?: {
        at: string;
        clean: boolean;
        confirmedMissIds: string[];
        rejectedMissIds: string[];
    }

    Set when the session ends: when (ISO time), which misses you confirmed and which you rejected, and whether it was clean (no confirmed misses and no "the material is right" answer).

    error?: string

    Why the session failed. undefined unless it failed.

    explanation: string

    Your explanation, trimmed.

    misses?: { missId: string; quote: { passageId: string; text: string } }[]

    What you may have missed, proposed at the end. undefined until proposed.

    missesDropped: number

    How many of the model's proposed misses failed the checks and were dropped.

    rounds: RoundState[]

    The rounds of questions so far, in order.

    runId?: string

    The id of the workflow run that runs the session. undefined until it starts.

    sessionId: string

    The session's id: ses_ and 16 hex characters.

    startedAt: string

    When the session started, as an ISO time string.

    Where the session is, worked out from the fields above.

    updatedAt: string

    When the last event for this session was recorded.