You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: txt2stix/ai_extractor/utils.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ class RelationshipList(BaseModel):
33
33
classDescribesIncident(BaseModel):
34
34
describes_incident: bool=Field(description="does the <document> include malware analysis, APT group reports, data breaches and vulnerabilities?")
35
35
explanation: str=Field(description="Two or three sentence summary of the incidents it describes OR summary of what it describes instead of an incident")
36
-
incident_classification : str=Field(description="One of valid incident classifications that best describes this document/report")
36
+
incident_classification : list[str]=Field(description="All the valid incident classifications that describe this document/report")
37
37
38
38
classAttackFlowItem(BaseModel):
39
39
position : int=Field(description="order of object starting at 0")
0 commit comments