"""
==================================================
Smart Attendance AI
Core - Face Embedding Result
==================================================
Represents a detected face together with its
512-dimensional embedding.
==================================================
"""

from dataclasses import dataclass, field
from typing import List

from core.ai_result import AIResult


@dataclass(slots=True)
class EmbeddingResult(AIResult):
    """
    Represents a detected face together with
    its embedding.
    """

    # ==========================================
    # Face Embedding (512-D)
    # ==========================================

    embedding: List[float] = field(
        default_factory=list
    )

    # ==========================================
    # Embedding Dimension
    # ==========================================

    embedding_dimension: int = 512