평가 캐시와 개인정보 마스킹 보강
This commit is contained in:
parent
f0771db919
commit
6a81ec596c
11 changed files with 737 additions and 14 deletions
38
data/privacy/pii-masking-ko-fixtures.json
Normal file
38
data/privacy/pii-masking-ko-fixtures.json
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
[
|
||||
{
|
||||
"id": "ko_name_label",
|
||||
"text": "이름: 김서연, 연락은 하지 말아 주세요.",
|
||||
"expected_entities": ["NAME"],
|
||||
"forbidden_substrings": ["김서연"],
|
||||
"required_substrings": ["[NAME]"]
|
||||
},
|
||||
{
|
||||
"id": "ko_name_relationship_context",
|
||||
"text": "친구 박민수에게 오늘 상담 내용을 말하지 않았어요.",
|
||||
"expected_entities": ["NAME"],
|
||||
"forbidden_substrings": ["박민수"],
|
||||
"required_substrings": ["친구 [NAME]에게"]
|
||||
},
|
||||
{
|
||||
"id": "ko_org_school_department",
|
||||
"text": "소속은 한신대학교 상담심리학과입니다.",
|
||||
"expected_entities": ["ORG"],
|
||||
"unexpected_entities": ["NAME"],
|
||||
"forbidden_substrings": ["한신대학교", "상담심리학과"],
|
||||
"required_substrings": ["[ORG]"]
|
||||
},
|
||||
{
|
||||
"id": "ko_org_health_center",
|
||||
"text": "지난주 마음봄상담센터에서 안내를 받았습니다.",
|
||||
"expected_entities": ["ORG"],
|
||||
"unexpected_entities": ["NAME"],
|
||||
"forbidden_substrings": ["마음봄상담센터"],
|
||||
"required_substrings": ["[ORG]"]
|
||||
},
|
||||
{
|
||||
"id": "ko_common_words_false_positive",
|
||||
"text": "학교 가는 게 힘들고 엄마랑 친구 이야기를 하면 불안해요.",
|
||||
"unexpected_entities": ["NAME", "ORG"],
|
||||
"required_substrings": ["학교", "엄마", "친구"]
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue