Ustvarjanje AI entitet
Ustvarite prilagojene vzorce entitet s pomočjo AI
Uporabite AI za generiranje regex vzorcev za odkrivanje prilagojenih vrst entitet, ki niso pokrite z vgrajenimi prepoznavalniki.
Ustvarjanje AI entitet je na voljo pri osnovnem načrtu in višje. Uporabniki brezplačnega načrta lahko ustvarijo prilagojene entitete ročno z uporabo regex vzorcev.
AI Entity Creation is available on Basic plan and above. Free plan users can create custom entities manually using regex patterns.
Kako deluje
Zagotovite 3-5 primerov vzorca, ki ga želite odkriti
Povejte AI, kaj želite zaznati v preprostem jeziku
AI analizira primere in generira regex vzorec
AI ustvari regex vzorec na podlagi vašega opisa
Preizkusite vzorec s testnim besedilom
Preizkusite vzorec z vzorčnim besedilom in prilagodite, če je potrebno
Preglejte kakovostne metrike in po potrebi izboljšajte
Shrani svojo prilagojeno entiteto za uporabo v analizi
Ustvarjanje AI entitete
Korak 1: Odprite prilagojene entitete
- Go to Settings → Custom Entities
- Click Create New Entity
- Select AI-Assisted mode
Korak 2: Opis vašega vzorca
Vnesite jasen opis tega, kar želite zaznati. Bodite specifični glede formata.
Dobre primere
- "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)"
Izogibajte se nejasnim opisom
- "ID numbers" - Too vague, what format?
- "Customer data" - What specific pattern?
- "Codes" - Need more specifics about format
Korak 3: Pregled generiranega vzorca
AI generira regex vzorec na podlagi vašega opisa. Preglejte ga:
// For "Employee IDs: EMP-12345"
EMP-\d{5}
Korak 4: Preizkusite vzorec
- Enter sample text in the test area
- Click Test Pattern
- Verify that matches are highlighted correctly
- Check for false positives and false negatives
Korak 5: Shrani entiteto
- Enter a name for your entity (e.g., EMPLOYEE_ID)
- Add an optional description
- Choose a category (Personal, Technical, Custom, etc.)
- Click Save Entity
Strošek žetonov
To je fiksni strošek ne glede na kompleksnost vzorca. Ročni vnos regex je brezplačen.
Za zmanjšanje stroškov:
- 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
Ročna ustvaritev regex
Če poznate regex, lahko ustvarite prilagojene entitete ročno brez uporabe žetonov:
- Go to Settings → Custom Entities
- Click Create New Entity
- Select Manual mode
- Enter your regex pattern directly
- Test and save
Nasveti za regex
| Vzorec | Pomen | Primer ujemanja |
|---|---|---|
| \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 |
Primeri vzorcev
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}
Uporaba prilagojenih entitet
Ko so ustvarjene, prilagojene entitete delujejo kot vgrajene entitete:
V analitiku
- 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
V prednastavitvah
- Create or edit a preset
- Select your custom entity from the entity list
- Save the preset
Tip
Prilagojene entitete so prikazane z oznako "Prilagojeno", da jih ločite od vgrajenih entitet.
Upravljanje prilagojenih entitet
Urejanje entitete
- Go to Settings → Custom Entities
- Find your entity and click Edit
- Modify the name, description, or pattern
- Test the updated pattern
- Save changes
Brisanje entitete
- Go to Settings → Custom Entities
- Find your entity and click Delete
- Confirm deletion
Note
Brisanje prilagojene entitete jo odstrani iz vseh prednastavitev, ki jo uporabljajo. Prednastavitve bodo še vedno delovale, vendar ne bodo zaznale tega tipa entitete.
Najboljše prakse
Related Documentation
Zadnja posodobitev: marec 2026