common.skipToContent

إنشاء كيان الذكاء الاصطناعي

إنشاء أنماط كيان مخصصة بمساعدة الذكاء الاصطناعي

استخدم الذكاء الاصطناعي لإنشاء أنماط regex لاكتشاف أنواع الكيانات المخصصة التي لا تغطيها أدوات التعرف المدمجة.

إنشاء كيانات AI متاح في الخطة الأساسية وما فوق. يمكن لمستخدمي الخطة المجانية إنشاء كيانات مخصصة يدويًا باستخدام أنماط regex.

AI Entity Creation is available on Basic plan and above. Free plan users can create custom entities manually using regex patterns.


كيف يعمل

1

قدم 3-5 أمثلة على النمط الذي ترغب في اكتشافه

أخبر AI بما تريد اكتشافه بلغة بسيطة

2

يقوم الذكاء الاصطناعي بتحليل الأمثلة وإنشاء نمط regex

يخلق AI نمط regex بناءً على وصفك

3

اختبر النمط مع نص عينة

اختبر النمط مع نص عينة وقم بالتعديل إذا لزم الأمر

4

راجع مقاييس الجودة وقم بتحسينها إذا لزم الأمر

احفظ كيانك المخصص للاستخدام في التحليل


إنشاء كيان AI

الخطوة 1: افتح الكيانات المخصصة

  1. Go to Settings → Custom Entities
  2. Click Create New Entity
  3. 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: اختبار النمط

  1. Enter sample text in the test area
  2. Click Test Pattern
  3. Verify that matches are highlighted correctly
  4. Check for false positives and false negatives

الخطوة 5: حفظ الكيان

  1. Enter a name for your entity (e.g., EMPLOYEE_ID)
  2. Add an optional description
  3. Choose a category (Personal, Technical, Custom, etc.)
  4. Click Save Entity

تكلفة التوكنات

50 توكنلكل إنشاء كيان AI

هذه تكلفة ثابتة بغض النظر عن تعقيد النمط. إدخال 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، يمكنك إنشاء كيانات مخصصة يدويًا دون استخدام التوكنات:

  1. Go to Settings → Custom Entities
  2. Click Create New Entity
  3. Select Manual mode
  4. Enter your regex pattern directly
  5. Test and save

نصائح regex

النمطالمعنىمطابقة مثال
\dAny digit (0-9)5
\d{3}Exactly 3 digits123
[A-Z]Uppercase letterA
[A-Z]{3}3 uppercase lettersABC
\wLetter, digit, or underscorea, 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}


استخدام الكيانات المخصصة

بمجرد إنشائها، تعمل الكيانات المخصصة مثل الكيانات المدمجة:

في المحلل

  1. Open the entity selection panel
  2. Find your custom entity under the Custom category
  3. Check the box to include it in detection
  4. Run analysis as normal

في الإعدادات المسبقة

  1. Create or edit a preset
  2. Select your custom entity from the entity list
  3. Save the preset

Tip

تظهر الكيانات المخصصة مع شارة "مخصص" لتمييزها عن الكيانات المدمجة.


إدارة الكيانات المخصصة

تحرير كيان

  1. Go to Settings → Custom Entities
  2. Find your entity and click Edit
  3. Modify the name, description, or pattern
  4. Test the updated pattern
  5. Save changes

حذف كيان

  1. Go to Settings → Custom Entities
  2. Find your entity and click Delete
  3. Confirm deletion

Note

حذف كيان مخصص يزيله من جميع الإعدادات المسبقة التي تستخدمه. ستظل الإعدادات المسبقة تعمل ولكن لن تكتشف هذا النوع من الكيانات.


أفضل الممارسات

كن محددًا في أوصاف AI الخاصة بك - أضف تفاصيل التنسيق والأمثلة
اختبر الأنماط مع حالات الحافة قبل الحفظ
استخدم أسماء ذات معنى مثل CUSTOMER_ORDER_ID بدلاً من ID1
أضف أوصافًا للمساعدة في تذكر ما يكتشفه كل كيان
استخدم regex اليدوي إذا كنت مرتاحًا لذلك - يوفر التوكنات
اجمع الكيانات المخصصة ذات الصلة في نفس الإعداد المسبق لتسهيل الإدارة

Related Documentation

آخر تحديث: مارس 2026