Hiyve Components - v1.0.0
    Preparing search index...

    Minimal mood state shape accepted by mood bridge utilities.

    Uses string for emotion to avoid a hard dependency on @hiyve/mood-analysis. Any object matching this shape (including the full MoodState from mood-analysis) can be passed directly.

    interface MoodStateLike {
        confidence: number;
        emotion: string;
        enabled?: boolean;
        engagement?: number;
        gracePeriod?: boolean;
        offFrame?: boolean;
        timestamp: number;
    }
    Index

    Properties

    confidence: number

    Detection confidence score (0-1)

    emotion: string

    Detected emotion (e.g. 'happy', 'sad', 'neutral')

    enabled?: boolean

    Whether mood analysis is enabled for this participant

    engagement?: number

    Engagement score (0-1)

    gracePeriod?: boolean

    Whether the detection is in a grace period

    offFrame?: boolean

    Whether the participant is off-frame

    timestamp: number

    Timestamp of the detection in milliseconds