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)
- Click Add Entry → Upload Document
- Select your file — PDF, DOCX, or TXT
- Give it a descriptive name (e.g., Return Policy 2025)
- Click Upload
- 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.
Adding a Plain Text Entry
- Click Add Entry → Text
- Give it a title (e.g., Shipping Policy)
- Type or paste the content in the text area
- 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
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
قاعدة المعرفة هي المكان الذي يتعلم منه بوتك ماذا يقول. كل ما تضعه هنا يصبح المصدر الذي يستخرج منه AI إجاباته. هذا الدرس يركز على إضافة المستندات وإدخالات النصوص العادية.
فتح قاعدة المعرفة
داخل مشروعك، انقر تبويب قاعدة المعرفة. ستجد قائمة بجميع إدخالاتك المعرفية. في مشروع جديد، تكون فارغة — لنضف بعض المحتوى.
إضافة مستند (PDF أو DOCX)
- انقر إضافة إدخال ← رفع مستند
- اختر ملفك — PDF أو DOCX أو TXT
- أعطه اسماً وصفياً (مثل: سياسة الإرجاع 2025)
- انقر رفع
- يعالج مجيب المستند ويقسّمه إلى أجزاء قابلة للبحث. عادةً يستغرق 10–30 ثانية.
ستجد علامة تمت الفهرسة الخضراء عندما يكون جاهزاً.
إضافة إدخال نص عادي
- انقر إضافة إدخال ← نص
- أعطه عنواناً (مثل: سياسة الشحن)
- اكتب أو الصق المحتوى في منطقة النص
- انقر حفظ
إدخالات النص مثالية لأزواج السؤال والجواب السريعة والسياسات القصيرة. الصيغة الموصى بها:
س: ما هي مدة الإرجاع لديكم؟
ج: نقبل الإرجاع خلال 30 يوماً من التوصيل مع الإيصال الأصلي.
س: هل تقدمون شحناً مجانياً؟
ج: نعم، شحن مجاني على جميع الطلبات فوق 50 دولار. تنظيم إدخالاتك
يمكنك عرض وتعديل وحذف الإدخالات من قائمة قاعدة المعرفة. استخدم أسماء واضحة لتتمكن من إيجادها وتحديثها لاحقاً. أمثلة على التسمية الجيدة:
- ✅
سياسة الإرجاع — مارس 2025 - ✅
أسئلة شائعة عن الأسعار - ✅
ساعات العمل والمواقع - ❌
doc1.pdf - ❌
محدّث
Ready to build your AI agent?
Start your free trial and put what you've learned into practice.
Start Free Trial