نظرة عامة على بنية نظام RAG الأساسي
تعرّفوا إلى المكوّنات عالية المستوى لنظام RAG، بما في ذلك مصادر البيانات وأدوات الاسترجاع والمولّدات.
نظرة عامة على بنية نظام RAG الأساسي درس مجاني في LLM Apps in Production (RAG + Vector DB + Caching) على CoddyKit. هذا هو الدرس 3 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في LLM Apps in Production (RAG + Vector DB + Caching)، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة LLM Apps in Production (RAG + Vector DB + Caching) 4 دروس في المجموع.
بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.
Intro to RAG Architecture
Now let's look at the building blocks of a RAG system. Knowing the architecture shows you exactly how RAG makes LLMs more accurate and reliable.
The Three Main Pillars
RAG blends retrieval (finding info) and generation (creating text) through three components: data sources, a retriever, and a generator.
Component 1: Data Sources
The data sources hold the external knowledge your LLM wasn't trained on — PDFs, web pages, internal wikis, database records, and more.
Preparing Your Data
First your data gets processed: large documents are split into smaller, searchable pieces called chunks, like indexing a library by chapter instead of by whole book.
Component 2: The Retriever
The retriever is a smart search engine for your chunks. It understands the meaning of a query, not just keywords, to fetch the most relevant context.
Retriever in Action
When a user asks, the retriever scans all processed chunks and pulls out the few most likely to hold the answer, passing them along as context.
Component 3: The Generator (LLM)
The generator is your LLM — the part that writes the response. In RAG it gets two inputs: your original question and the context the retriever found.
LLM's Role: Grounded Responses
Instead of leaning on pre-trained knowledge alone, the LLM uses retrieved context to ground its answer, like an expert handed the exact reference documents.
The Full RAG Flow
The full RAG flow: query in, retriever finds chunks, query plus chunks go to the generator, the LLM writes a grounded answer, the user gets a factual reply.
Check Your Understanding
Which component is primarily responsible for finding relevant information from your knowledge base when a user asks a question?
RAG Architecture Recap
Recap: a RAG system has three parts — data sources (the knowledge), retriever (the smart search), and generator (the LLM crafting grounded answers).
الأسئلة الشائعة
هل درس «نظرة عامة على بنية نظام RAG الأساسي» مجاني؟
نعم — نص درس «نظرة عامة على بنية نظام RAG الأساسي» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة LLM Apps in Production (RAG + Vector DB + Caching)، انتقل إلى CoddyKit PRO. تتضمن دورة LLM Apps in Production (RAG + Vector DB + Caching) 4 دروس في المجموع.
ماذا ستتعلم في «نظرة عامة على بنية نظام RAG الأساسي»؟
تعرّفوا إلى المكوّنات عالية المستوى لنظام RAG، بما في ذلك مصادر البيانات وأدوات الاسترجاع والمولّدات. تتمرن على LLM Apps in Production (RAG + Vector DB + Caching) مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.
هل أحتاج إلى خبرة سابقة لأبدأ LLM Apps in Production (RAG + Vector DB + Caching)؟
لا تُشترط خبرة سابقة. LLM Apps in Production (RAG + Vector DB + Caching) على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 3 من أصل 4.
كم من الوقت يستغرق درس «نظرة عامة على بنية نظام RAG الأساسي»؟
معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.
هل يمكنني كتابة وتشغيل أكواد في درس LLM Apps in Production (RAG + Vector DB + Caching) هذا؟
نعم. كل درس في LLM Apps in Production (RAG + Vector DB + Caching) يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.
جميع الدروس في هذه الدورة
- فهم تطبيقات نماذج اللغة الكبيرة في بيئة الإنتاج
- أساسيات التوليد المعزَّز بالاسترجاع
- نظرة عامة على بنية نظام RAG الأساسي
- هندسة الأوامر ونوافذ السياق