[KongchangAI]

#RAG

287 related articles

Bilibili's 748-Episode AI Large Model Zero-to-Hero Course: A Full Breakdown from RAG to Agent in Practice
·3 min

Bilibili's 748-Episode AI Large Model Zero-to-Hero Course: A Full Breakdown from RAG to Agent in Practice

Full breakdown of Bilibili's 748-episode AI large model course: from fundamentals to prompt engineering, then RAG, LangChain, and Agent development with three enterprise projects.

Read more →
XERJ: A New Way to Search Data for AI, Reducing Token Consumption by 40x
·2 min

XERJ: A New Way to Search Data for AI, Reducing Token Consumption by 40x

XERJ is an open-source AI data search tool on GitHub that uses autoindex to automatically index code, docs, logs, and PDFs, cutting token consumption by 40x vs grep. Compatible with Elasticsearch, supporting RAG and agent memory scenarios.

Read more →
Don't Rush to a Vector Database: First, Nail Down Your Retrieval Baseline
·2 min

Don't Rush to a Vector Database: First, Nail Down Your Retrieval Baseline

Building a RAG assistant doesn't require starting with a vector database. Learn how to establish a measurable retrieval baseline using existing full-text search and SQL filtering, identify vocabulary gap scenarios through an evaluation set of fifty real questions, and then decide whether to introduce vector retrieval and hybrid search.

Read more →
RAG in Production: Should You Really Use Frameworks Like LangChain?
·2 min

RAG in Production: Should You Really Use Frameworks Like LangChain?

A developer shares production-grade RAG engine experience: when to use LangChain/LlamaIndex frameworks and when to write native code. Document parsing, retrieval fusion, and observability each have their best choices.

Read more →
What Is RAG? Retrieval-Augmented Generation Explained Through an n8n Workflow
·3 min

What Is RAG? Retrieval-Augmented Generation Explained Through an n8n Workflow

Using a library analogy to explain RAG (Retrieval Augmented Generation) and demonstrate document loading, embedding, Pinecone storage, and retrieval generation in an n8n workflow.

Read more →
LLM Wiki vs RAG: Real-World Test Shows Replacing Retrieval with a Wiki Is Actually Slower
·4 min

LLM Wiki vs RAG: Real-World Test Shows Replacing Retrieval with a Wiki Is Actually Slower

Vellum Labs benchmarked an LLM wiki vs RAG/agentic retrieval on the 1,176-line itsdangerous codebase: the wiki was 55% slower and 34% pricier per first-round question, but answered the fifth question nobody had written down.

Read more →
After the RAG Pipeline Works: Permission, Traceability, and Data Consistency Challenges in Enterprise Retrieval-Augmented Generation
·2 min

After the RAG Pipeline Works: Permission, Traceability, and Data Consistency Challenges in Enterprise Retrieval-Augmented Generation

Getting a RAG pipeline running is only the beginning. This article analyzes the three hurdles of enterprise retrieval-augmented generation: document permission control, answer traceability and auditing, and multi-source data consistency—and why these can't be solved by prompts or pipelines.

Read more →
Chunking Is the Product, the Model Is Just the Engine
·3 min

Chunking Is the Product, the Model Is Just the Engine

RAG performance depends on chunking strategy, not the embedding model. This article examines structure-aware chunking, table and footnote traps, adversarial evaluation, and why your chunker is the real product.

Read more →
Malav Naik: From Data Engineering to Knowledge Graph-Driven AI Systems
·1 min

Malav Naik: From Data Engineering to Knowledge Graph-Driven AI Systems

Malav Naik, from Gujarat, India to Dublin, with five years of data engineering at S&P Global, now builds AI automation at Trinity Care Nursing Homes; his SkillBot combines RAG with a 2.3M-triple RDF knowledge graph, achieving 97% factual accuracy.

Read more →
Why I Abandoned Answer Generation After Building a RAG Search Engine for 10,000 Documents
·4 min

Why I Abandoned Answer Generation After Building a RAG Search Engine for 10,000 Documents

A developer shares lessons from building a RAG search engine for 10,000 Russian religious documents: structure-aware chunking, hybrid retrieval, RRF fusion, Cohere reranking, and why he ultimately abandoned LLM answer generation for pure semantic search returning original sources.

Read more →
RAG Evaluation and Hallucination Guardrails: How to Detect and Block AI Hallucinations
·2 min

RAG Evaluation and Hallucination Guardrails: How to Detect and Block AI Hallucinations

Learn how to evaluate RAG systems with context relevance and faithfulness, use LLM judges to block hallucinations, and build regression test sets to prevent degradation.

Read more →
Extracting Data from Long PDFs: Why Direct LLM Reading Fails and the Agentic IDP Approach
·3 min

Extracting Data from Long PDFs: Why Direct LLM Reading Fails and the Agentic IDP Approach

Why feeding long PDFs whole to an LLM fails: four failure causes, chunking's blind spots, and the Agentic IDP approach—page-by-page parsing, cross-page extraction, Schema definition, cost comparison, and data integrity checks.

Read more →
Making Web Pages Survive RAG Chunking: Writing Strategies for AI Citations
·3 min

Making Web Pages Survive RAG Chunking: Writing Strategies for AI Citations

RAG systems evaluate content by passage, not page. Learn to simulate chunking, detect weak passages, and win AI citations with self-contained answers, query-style headings, and JSON-LD.

Read more →
When AI Confidently Gives Wrong Answers, the Problem Isn't Always the LLM
·1 min

When AI Confidently Gives Wrong Answers, the Problem Isn't Always the LLM

AI confidently gives wrong answers — the problem may not be the LLM itself. A developer breaks down three failure layers in a brand marketing copy system: brand context, retrieval, and generation, arguing that blindly tweaking prompts only treats symptoms while locating the failing layer is the key to reliable AI applications.

Read more →
Structuring Data for AI Agents: Five Approaches and a Selection Guide
·6 min

Structuring Data for AI Agents: Five Approaches and a Selection Guide

There's no single best way to structure data for AI Agents. This article compares semantic models, knowledge graphs, RAG, Markdown+grep, and open formats, drawing on research from dbt, Microsoft, and Chroma to help you pick the right data architecture based on question type.

Read more →
Copying Is Not Grounding: ASC Exposes the Faithfulness Reward Loophole in Long-Form RAG
·3 min

Copying Is Not Grounding: ASC Exposes the Faithfulness Reward Loophole in Long-Form RAG

New research reveals RAG faithfulness rewards can be gamed by copying. The Authored-Sentence Credit (ASC) method moves rewards from answer-level to sentence-level, cutting error rates and boosting supported sentences across four models and five corpora.

Read more →
How Many Tokens Does It Cost to Feed a Webpage to an LLM? 20 Real Pages Tested
·2 min

How Many Tokens Does It Cost to Feed a Webpage to an LLM? 20 Real Pages Tested

20 real pages tested: median raw HTML is ~128K tokens; LLM-oriented Markdown saves 98% vs HTML and 63% vs full-page text. Main content extraction drives 51% of savings.

Read more →
A Complete Guide to RAG Evaluation Metrics: Retrieval, Generation, and Operations
·3 min

A Complete Guide to RAG Evaluation Metrics: Retrieval, Generation, and Operations

A systematic breakdown of RAG evaluation metrics: retrieval (Hit rate, Recall@k, MRR, nDCG), generation (faithfulness, answer relevance), and operations (cost, latency, storage), with examples and tooling.

Read more →