Creazione Entità AI
Crea modelli di entità personalizzati con assistenza AI
Utilizza l'AI per generare modelli regex per rilevare tipi di entità personalizzati non coperti dai riconoscitori integrati.
La Creazione di Entità AI è disponibile nel piano Base e superiori. Gli utenti del piano gratuito possono creare entità personalizzate manualmente utilizzando modelli regex.
AI Entity Creation is available on Basic plan and above. Free plan users can create custom entities manually using regex patterns.
Come Funziona
Fornisci 3-5 esempi del modello che desideri rilevare
Dì all'AI cosa vuoi rilevare in linguaggio semplice
L'AI analizza gli esempi e genera un modello regex
L'AI crea un modello regex basato sulla tua descrizione
Testa il modello con un testo di esempio
Testa il modello con un testo di esempio e aggiusta se necessario
Rivedi le metriche di qualità e affina se necessario
Salva la tua entità personalizzata per l'uso nell'analisi
Creazione di un'Entità AI
Passo 1: Apri Entità Personalizzate
- Go to Settings → Custom Entities
- Click Create New Entity
- Select AI-Assisted mode
Passo 2: Descrivi il Tuo Modello
Inserisci una descrizione chiara di ciò che vuoi rilevare. Sii specifico riguardo al formato.
Buoni Esempi
- "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)"
Evita Descrizioni Vague
- "ID numbers" - Too vague, what format?
- "Customer data" - What specific pattern?
- "Codes" - Need more specifics about format
Passo 3: Rivedi il Modello Generato
L'AI genera un modello regex basato sulla tua descrizione. Rivedilo:
// For "Employee IDs: EMP-12345"
EMP-\d{5}
Passo 4: Testa il Modello
- Enter sample text in the test area
- Click Test Pattern
- Verify that matches are highlighted correctly
- Check for false positives and false negatives
Passo 5: Salva l'Entità
- Enter a name for your entity (e.g., EMPLOYEE_ID)
- Add an optional description
- Choose a category (Personal, Technical, Custom, etc.)
- Click Save Entity
Costo del Token
Questo è un costo fisso indipendentemente dalla complessità del modello. L'inserimento manuale di regex è gratuito.
Per minimizzare i costi:
- 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
Creazione Manuale di Regex
Se conosci regex, puoi creare entità personalizzate manualmente senza utilizzare token:
- Go to Settings → Custom Entities
- Click Create New Entity
- Select Manual mode
- Enter your regex pattern directly
- Test and save
Suggerimenti per Regex
| Modello | Significato | Esempio di Corrispondenza |
|---|---|---|
| \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 |
Modelli di Esempio
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}
Utilizzo di Entità Personalizzate
Una volta create, le entità personalizzate funzionano come entità integrate:
Nell'Analizzatore
- 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
Nei Preset
- Create or edit a preset
- Select your custom entity from the entity list
- Save the preset
Tip
Le entità personalizzate sono visualizzate con un'etichetta "Personalizzato" per distinguerle dalle entità integrate.
Gestione delle Entità Personalizzate
Modifica un'Entità
- Go to Settings → Custom Entities
- Find your entity and click Edit
- Modify the name, description, or pattern
- Test the updated pattern
- Save changes
Elimina un'Entità
- Go to Settings → Custom Entities
- Find your entity and click Delete
- Confirm deletion
Note
Eliminare un'entità personalizzata la rimuove da tutti i preset che la utilizzano. I preset continueranno a funzionare ma non rileveranno quel tipo di entità.
Migliori Pratiche
Related Documentation
Ultimo aggiornamento: Marzo 2026