diff --git a/app/models/fraud_response.py b/app/models/fraud_response.py index c18070d..cfaecdb 100644 --- a/app/models/fraud_response.py +++ b/app/models/fraud_response.py @@ -3,6 +3,6 @@ class FraudResponse(BaseModel): estimatedFraudType: str # 분류된 사기 유형 - keywords: List[str] = Field(..., min_items=1, max_items=3, description="주요 위험 키워드 (최대 3개)") + keywords: List[str] = Field(default_factory=list, max_items=3, description="주요 위험 키워드 (최대 3개)") explanation: str # 해당 유형으로 판단한 이유 - score: float = Field(..., ge=0, le=80, description="위험도(0~80)") \ No newline at end of file + score: float = Field(..., ge=0, le=70, description="위험도(0~70)") \ No newline at end of file