Skip to content

Commit 8fa9974

Browse files
committed
fix: FraudResponse
1 parent 37ddca1 commit 8fa9974

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/models/fraud_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
class FraudResponse(BaseModel):
55
estimatedFraudType: str # 분류된 사기 유형
6-
keywords: List[str] = Field(..., min_items=1, max_items=3, description="주요 위험 키워드 (최대 3개)")
6+
keywords: List[str] = Field(default_factory=list, max_items=3, description="주요 위험 키워드 (최대 3개)")
77
explanation: str # 해당 유형으로 판단한 이유
8-
score: float = Field(..., ge=0, le=80, description="위험도(0~80)")
8+
score: float = Field(..., ge=0, le=70, description="위험도(0~70)")

0 commit comments

Comments
 (0)