Knowledge Base قاعدة المعرفة 8 min 8 دقائق

Knowledge Base — Documents & Text قاعدة المعرفة — مستندات ونصوص

Learn how to add documents, PDFs, and plain text entries to teach your bot about your business. تعلّم كيف تُضيف مستندات وملفات PDF ونصوصاً لتعليم بوتك عن عملك.

The Knowledge Base is where your bot learns what to say. Everything you put here becomes the source your AI draws answers from. This lesson focuses on adding documents and plain text entries.

Opening the Knowledge Base

Inside your project, click the Knowledge Base tab. You'll see a list of all your knowledge entries. On a fresh project, it's empty — let's add some content.

Adding a Document (PDF or DOCX)

1
  1. Click Add Entry → Upload Document
  2. Select your file — PDF, DOCX, or TXT
  3. Give it a descriptive name (e.g., Return Policy 2025)
  4. Click Upload
  5. Mugib processes the document and breaks it into searchable chunks. This usually takes 10–30 seconds.

You'll see a green Indexed badge when it's ready.

💡 Best file format: If your document has tables or complex formatting, export it as plain text first. PDFs with embedded images or scanned text may not extract correctly.

Adding a Plain Text Entry

2
  1. Click Add Entry → Text
  2. Give it a title (e.g., Shipping Policy)
  3. Type or paste the content in the text area
  4. Click Save

Text entries are ideal for quick Q&A pairs and short policies. The recommended format is:

Q: What is your return window?
A: We accept returns within 30 days of delivery with the original receipt.

Q: Do you offer free shipping?
A: Yes, free shipping on all orders above $50.

Organizing Your Entries

3

You can view, edit, and delete entries from the Knowledge Base list. Use clear names so you can find and update them later. Good naming examples:

  • Return Policy — March 2025
  • Pricing FAQ
  • Opening Hours & Locations
  • doc1.pdf
  • Updated
⚠️ Keep content focused: One large 100-page company handbook often produces worse results than 10 focused documents covering specific topics. When in doubt, split content by topic.

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

فتح قاعدة المعرفة

داخل مشروعك، انقر تبويب قاعدة المعرفة. ستجد قائمة بجميع إدخالاتك المعرفية. في مشروع جديد، تكون فارغة — لنضف بعض المحتوى.

إضافة مستند (PDF أو DOCX)

1
  1. انقر إضافة إدخال ← رفع مستند
  2. اختر ملفك — PDF أو DOCX أو TXT
  3. أعطه اسماً وصفياً (مثل: سياسة الإرجاع 2025)
  4. انقر رفع
  5. يعالج مجيب المستند ويقسّمه إلى أجزاء قابلة للبحث. عادةً يستغرق 10–30 ثانية.

ستجد علامة تمت الفهرسة الخضراء عندما يكون جاهزاً.

💡 أفضل صيغة ملف: إذا كان مستندك يحتوي على جداول أو تنسيق معقد، صدّره كنص عادي أولاً. ملفات PDF مع صور مضمّنة أو نصوص ممسوحة ضوئياً قد لا تُستخرج بشكل صحيح.

إضافة إدخال نص عادي

2
  1. انقر إضافة إدخال ← نص
  2. أعطه عنواناً (مثل: سياسة الشحن)
  3. اكتب أو الصق المحتوى في منطقة النص
  4. انقر حفظ

إدخالات النص مثالية لأزواج السؤال والجواب السريعة والسياسات القصيرة. الصيغة الموصى بها:

س: ما هي مدة الإرجاع لديكم؟
ج: نقبل الإرجاع خلال 30 يوماً من التوصيل مع الإيصال الأصلي.

س: هل تقدمون شحناً مجانياً؟
ج: نعم، شحن مجاني على جميع الطلبات فوق 50 دولار.

تنظيم إدخالاتك

3

يمكنك عرض وتعديل وحذف الإدخالات من قائمة قاعدة المعرفة. استخدم أسماء واضحة لتتمكن من إيجادها وتحديثها لاحقاً. أمثلة على التسمية الجيدة:

  • سياسة الإرجاع — مارس 2025
  • أسئلة شائعة عن الأسعار
  • ساعات العمل والمواقع
  • doc1.pdf
  • محدّث
⚠️ احتفظ بالمحتوى مركّزاً: دليل شركة واحد من 100 صفحة غالباً يُنتج نتائج أسوأ من 10 مستندات مركّزة تغطي مواضيع محددة. عند الشك، قسّم المحتوى حسب الموضوع.

Ready to build your AI agent?

Start your free trial and put what you've learned into practice.

Start Free Trial

جاهز لبناء وكيل AI خاص بك؟

ابدأ تجربتك المجانية وطبّق ما تعلّمته.

ابدأ مجاناً
Ready to automate your support? Start free — no credit card required
Start Free