AI 엔티티 생성
AI 지원으로 사용자 정의 엔티티 패턴 생성
AI를 사용하여 내장 인식기로 다루지 않는 사용자 정의 엔티티 유형을 감지하기 위한 정규 표현식 패턴을 생성합니다.
AI 엔티티 생성은 기본 플랜 이상에서 사용할 수 있습니다. 무료 플랜 사용자는 정규 표현식 패턴을 사용하여 수동으로 사용자 정의 엔티티를 생성할 수 있습니다.
AI Entity Creation is available on Basic plan and above. Free plan users can create custom entities manually using regex patterns.
작동 방식
감지하려는 패턴의 예시 3-5개를 제공하세요
AI에게 감지하고 싶은 내용을 간단한 언어로 설명하세요.
AI가 예시를 분석하고 정규 표현식 패턴을 생성합니다
AI가 귀하의 설명을 바탕으로 정규 표현식 패턴을 생성합니다.
샘플 텍스트로 패턴을 테스트합니다
샘플 텍스트로 패턴을 테스트하고 필요에 따라 조정하세요.
품질 지표를 검토하고 필요시 수정합니다
분석에 사용할 사용자 정의 엔티티를 저장하세요.
AI 엔티티 생성
1단계: 사용자 정의 엔티티 열기
- Go to Settings → Custom Entities
- Click Create New Entity
- Select AI-Assisted mode
2단계: 패턴 설명하기
감지하고 싶은 내용을 명확하게 설명하세요. 형식에 대해 구체적으로 작성하세요.
좋은 예시
- "Employee IDs in the format EMP-12345 where 12345 is a 5-digit number"
- "Order numbers starting with ORD followed by 8 digits, like ORD12345678"
- "German postal codes - 5 digit numbers between 01000 and 99999"
- "Internal project codes: 3 uppercase letters, a dash, and 4 digits (e.g., ABC-1234)"
모호한 설명 피하기
- "ID numbers" - Too vague, what format?
- "Customer data" - What specific pattern?
- "Codes" - Need more specifics about format
3단계: 생성된 패턴 검토
AI가 귀하의 설명을 바탕으로 정규 표현식 패턴을 생성합니다. 검토하세요:
// For "Employee IDs: EMP-12345"
EMP-\d{5}
4단계: 패턴 테스트
- Enter sample text in the test area
- Click Test Pattern
- Verify that matches are highlighted correctly
- Check for false positives and false negatives
5단계: 엔티티 저장
- Enter a name for your entity (e.g., EMPLOYEE_ID)
- Add an optional description
- Choose a category (Personal, Technical, Custom, etc.)
- Click Save Entity
토큰 비용
이는 패턴 복잡성과 관계없이 고정 비용입니다. 수동 정규 표현식 입력은 무료입니다.
비용을 최소화하려면:
- Be as specific as possible in your first description
- Use manual regex if you already know the pattern
- Test thoroughly before saving to avoid recreating
수동 정규 표현식 생성
정규 표현식을 알고 있다면, 토큰을 사용하지 않고 사용자 정의 엔티티를 수동으로 생성할 수 있습니다:
- Go to Settings → Custom Entities
- Click Create New Entity
- Select Manual mode
- Enter your regex pattern directly
- Test and save
정규 표현식 팁
| 패턴 | 의미 | 예시 일치 |
|---|---|---|
| \d | Any digit (0-9) | 5 |
| \d{3} | Exactly 3 digits | 123 |
| [A-Z] | Uppercase letter | A |
| [A-Z]{3} | 3 uppercase letters | ABC |
| \w | Letter, digit, or underscore | a, 1, _ |
| - | Literal dash | - |
| ? | Optional (0 or 1) | |
| + | One or more | |
| * | Zero or more |
예시 패턴
Employee ID (EMP-12345)
EMP-\d{5}
Order Number (ORD12345678)
ORD\d{8}
Project Code (ABC-1234)
[A-Z]{3}-\d{4}
License Plate (ABC 123 or ABC-123)
[A-Z]{3}[\s-]?\d{3}
사용자 정의 엔티티 사용
생성된 후, 사용자 정의 엔티티는 내장 엔티티처럼 작동합니다:
분석기에서
- Open the entity selection panel
- Find your custom entity under the Custom category
- Check the box to include it in detection
- Run analysis as normal
프리셋에서
- Create or edit a preset
- Select your custom entity from the entity list
- Save the preset
Tip
사용자 정의 엔티티는 내장 엔티티와 구별하기 위해 '사용자 정의' 배지가 표시됩니다.
사용자 정의 엔티티 관리
엔티티 편집
- Go to Settings → Custom Entities
- Find your entity and click Edit
- Modify the name, description, or pattern
- Test the updated pattern
- Save changes
엔티티 삭제
- Go to Settings → Custom Entities
- Find your entity and click Delete
- Confirm deletion
Note
사용자 정의 엔티티를 삭제하면 이를 사용하는 모든 프리셋에서 제거됩니다. 프리셋은 여전히 작동하지만 해당 엔티티 유형을 감지하지 않습니다.
모범 사례
Related Documentation
마지막 업데이트: 2026년 3월