ClaimCheckAI / app /schemas /verdict.py
stutiagrawal's picture
display relevant evidence
3da97ef
Raw
History Blame Contribute Delete
243 Bytes
from pydantic import BaseModel
from typing import List
class Verdict(BaseModel):
claim_id: str
label: str # supported | refuted | insufficient
confidence: float
best_evidence_id: str
rationale: str
citation_ids: List[str] = []