0Pricing
LLM Apps in Production (RAG + Vector DB + Caching) · บทเรียน

ภาพรวมสถาปัตยกรรมระบบ RAG เบื้องต้น

ทำความเข้าใจองค์ประกอบระดับภาพรวมของระบบ RAG ซึ่งรวมถึงแหล่งข้อมูล ตัวค้นคืน และตัวสร้างผลลัพธ์

ภาพรวมสถาปัตยกรรมระบบ RAG เบื้องต้น เป็นบทเรียน LLM Apps in Production (RAG + Vector DB + Caching) ฟรีบน CoddyKit นี่คือบทเรียนที่ 3 จากทั้งหมด 4 บทเรียน คุณสามารถอ่านบทเรียนทั้งหมดด้านล่างฟรี — จากนั้นลองปฏิบัติด้วยตัวคุณเองในเบราว์เซอร์พร้อมตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 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 เบื้องต้น” ฟรีให้อ่านที่นี่บนเว็บ เพื่อปฏิบัติแบบโต้ตอบ (ตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 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) ด้วยโค้ดที่ใช้งานได้จริงที่คุณเรียกใช้โดยตรงในเบราว์เซอร์ และติวเตอร์ AI ตลอด 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) ทุกบทมีตัวแก้ไขโค้ดในตัว คุณจึงเขียนและรันโค้ดจริงได้เลยในเบราว์เซอร์ และได้รับข้อเสนอแนะจาก AI ในทันที — ไม่ต้องติดตั้งในเครื่องของคุณ

บทเรียนทั้งหมดในหลักสูตรนี้

  1. ทำความเข้าใจแอป LLM ในสภาพแวดล้อมจริง
  2. พื้นฐานของการสร้างแบบเสริมด้วยการค้นคืน
  3. ภาพรวมสถาปัตยกรรมระบบ RAG เบื้องต้น
  4. วิศวกรรมพรอมต์และหน้าต่างบริบท
← กลับไปที่ LLM Apps in Production (RAG + Vector DB + Caching)