إنشاء كيان الذكاء الاصطناعي
إنشاء أنماط كيان مخصصة بمساعدة الذكاء الاصطناعي
استخدم الذكاء الاصطناعي لإنشاء أنماط regex لاكتشاف أنواع الكيانات المخصصة التي لا تغطيها أدوات التعرف المدمجة.
إنشاء كيانات AI متاح في الخطة الأساسية وما فوق. يمكن لمستخدمي الخطة المجانية إنشاء كيانات مخصصة يدويًا باستخدام أنماط regex.
AI Entity Creation is available on Basic plan and above. Free plan users can create custom entities manually using regex patterns.
كيف يعمل
قدم 3-5 أمثلة على النمط الذي ترغب في اكتشافه
أخبر AI بما تريد اكتشافه بلغة بسيطة
يقوم الذكاء الاصطناعي بتحليل الأمثلة وإنشاء نمط regex
يخلق AI نمط regex بناءً على وصفك
اختبر النمط مع نص عينة
اختبر النمط مع نص عينة وقم بالتعديل إذا لزم الأمر
راجع مقاييس الجودة وقم بتحسينها إذا لزم الأمر
احفظ كيانك المخصص للاستخدام في التحليل
إنشاء كيان 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 نمط regex بناءً على وصفك. راجعه:
// 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
تكلفة التوكنات
هذه تكلفة ثابتة بغض النظر عن تعقيد النمط. إدخال regex يدوي مجاني.
لتقليل التكاليف:
- 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
إنشاء regex يدوي
إذا كنت تعرف regex، يمكنك إنشاء كيانات مخصصة يدويًا دون استخدام التوكنات:
- Go to Settings → Custom Entities
- Click Create New Entity
- Select Manual mode
- Enter your regex pattern directly
- Test and save
نصائح regex
| النمط | المعنى | مطابقة مثال |
|---|---|---|
| \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