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: src/modules/ingest/app/sources/disaster-sms.source.ts
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -193,8 +193,15 @@ async function resolveDisasterKinds(
193
193
id: item.id,
194
194
text: item.text,
195
195
})),
196
-
request:
196
+
request:[
197
197
'Prefer labels that describe a CONFIRMED event over labels that describe risk, prevention, guidance, or general context.',
198
+
'- "민방공" is ONLY for wartime / national-security civil-defense alerts (e.g., air-raid/missile warnings, evacuation orders, civil-defense drills/sirens). NEVER use "민방공" for general safety tips, accident prevention, weather-related cautions, or ambiguous public-safety notices. If it’s not clearly civil-defense, choose another label; if none fits, choose "기타".',
199
+
'- "AI" means Avian Influenza (조류인플루엔자), NOT Artificial Intelligence. Use "AI" only for messages about poultry/birds + outbreaks/suspected/confirmed cases, quarantine, culling, movement restrictions, test results, etc. If the text mentions “AI” as Artificial Intelligence or is unclear, prefer "기타".',
200
+
'- "테러" is ONLY for terrorism-related threats/incidents or official counter-terror alerts. Do NOT use it for ordinary crime, accidents, or vague danger warnings; if unclear, prefer "기타".',
201
+
'- "사이버" is ONLY for cyber incidents (hacking, ransomware, DDoS, malware, data breaches, unauthorized access). If it is primarily a communication/service outage without cyber-attack evidence, consider "통신" instead; if still unclear, use "기타".',
202
+
'- "금융" is ONLY for financial issues such as voice phishing/smishing, bank/card/account fraud, financial-institution service disruptions, or payment system incidents. If unclear, prefer "기타".',
203
+
'- Default rule for "기타": If no label is a clear match, choose "기타".',
204
+
].join('\n'),
198
205
});
199
206
}catch(error){
200
207
logger.warn({ error,pendingCount: pending.length},'Disaster SMS kind classification failed, fallback to other');
0 commit comments