prompt-compiler-api / src /knowledge /mapping_models.py
JairoDanielMT's picture
Upload folder using huggingface_hub
4ef6c2b verified
Raw
History Blame Contribute Delete
378 Bytes
from dataclasses import dataclass
@dataclass(slots=True)
class MappingCandidate:
source_id: str # e.g., "Artoria Pendragon" (AniList Name)
target_id: str # e.g., "artoria_pendragon_(fate)" (Danbooru Tag)
confidence: float
matched_name: bool = False
matched_alias: bool = False
matched_franchise: bool = False
strategy: str = ""