[KongchangAI]
Concept检索增强生成

RAG

Retrieval-Augmented Generation (RAG) is an AI technical framework that combines information retrieval with the generative capabilities of large language models. Its core mechanism involves retrieving relevant documents or passages from an external knowledge base before generating a response, and providing them as context to the model. This allows the model to draw on current or domain-specific knowledge, effectively mitigating hallucination issues and knowledge cutoff limitations inherent in large language models.

Core Facts

Timeline (last 90 days)

Nov 27

Perplexity combines real-time web retrieval with generation and is suited to research-type tasks.

Unverified50%
Nov 27

Notebook LM limits retrieval to the PDFs uploaded by the user, enabling question answering based on user-provided documents.

Unverified50%
Nov 27

The article suggests using an enterprise knowledge base as a real project and practicing in depth around RAG's chunking and retrieval

Unverified50%
Nov 27

Persistence mechanisms are closely related to the context window limits of LLMs; in practice, they externalize long-term memory and retrieve it on demand through methods such as retrieval-augmented generation (RAG).

Unverified50%
Nov 26

WorkBuddy's knowledge base is based on RAG (retrieval-augmented generation) technology, which can precisely retrieve proprietary document fragments within a limited context window and reduce the probability of the model fabricating content.

Unverified50%
Nov 26

In RAG workflows, document parsing quality sets the upper bound for subsequent retrieval and question-answering quality; preserving table row-column structure and the correspondence between charts and captions during parsing can significantly improve retrieval accuracy and answer reliability.

Unverified50%
Nov 26

Indirect prompt injection is one of the core security threats facing RAG systems, in which attackers hide malicious instructions in retrieved documents to induce the model to perform unintended operations.

Unverified50%
Nov 26

MINE is training-free and can be deployed directly into existing RAG pipelines without additional labeled data or model fine-tuning.

Unverified50%
Nov 25

When generating acceptance criteria, RAG optionally introduces retrieved requirement-related examples as context to reduce model hallucination.

Unverified50%
Nov 25

The framework consists of three core components: retrieval-augmented generation (RAG), multi-model parallel generation, and an explicit human-in-the-loop workflow.

Unverified50%

40 more timeline events

All Facts (20)

Verified

Inference cost refers to the computational resource expenses consumed when a model responds to user requests; it is a recurring, per-call expenditure, unlike training costs.

90%
Verified

Indirect prompt injection refers to attackers pre-embedding malicious instructions into third-party content (such as web pages, PDF documents, or API responses), which the model then executes after RAG systems retrieve or tool calls pull this content into the context.

90%
Verified

RAG allows models to access the latest or private data without retraining and reduces the risk of hallucinations.

90%
Verified

The GraphRAG approach extracts entities and relationships from documents, stores them as nodes and edges in a graph database, and during retrieval first uses vector search to recall candidate nodes before performing multi-hop reasoning along the graph's edges.

90%
Verified

The core idea of RAG is to retrieve relevant information from an external knowledge base as context to inject into the prompt before the large model generates a response.

90%
Verified

The core of GraphRAG is integrating knowledge graphs into the traditional RAG pipeline, organizing information in the form of triples (two entities and their relationship).

90%
Verified

Regression testing refers to re-running existing test cases after modifying code to ensure that the new changes have not introduced new bugs or broken existing functionality.

90%
Verified

Hybrid retrieval, which fuses BM25 keyword scores with vector similarity scores through weighted combination (typically using the RRF reciprocal rank fusion algorithm), has become the mainstream paradigm for RAG systems.

90%
Verified

Retrieval-Augmented Generation (RAG) anchors facts by incorporating real-time web search with cited sources, but its effectiveness is influenced by factors such as search result quality, document parsing accuracy, and the model's comprehension capability.

90%
Verified

The answer quality of RAG depends largely on the retrieval step rather than on the model's capabilities themselves.

90%
Verified

Retrieval-Augmented Generation (RAG) addresses the hallucination problem of large models by answering based on the content of a real knowledge base.

90%
Verified

The RAG technology stack consists of vector databases (such as Pinecone, Weaviate, and Chroma), embedding models, reranking, and other technologies.

90%
Verified

Retrieval-Augmented Generation (RAG) is a mainstream hallucination suppression technique that retrieves relevant document fragments from an external knowledge base as context to inject into the prompt before the model generates a response

90%
Verified

Prompt注入(Prompt Injection)是针对大语言模型应用的安全威胁,攻击者通过在输入中嵌入恶意指令试图覆盖系统原有行为约束

90%
Verified

LlamaIndex (formerly GPT Index) focuses on data indexing and Retrieval-Augmented Generation (RAG) scenarios.

90%
Verified

The RAG (Retrieval-Augmented Generation) architecture was proposed by the Meta AI research team in 2020.

90%
Verified

Cursor's AI agent capability uses RAG (Retrieval-Augmented Generation) technology to inject relevant code context into large language models to achieve precise task execution.

90%
Verified

The typical workflow of RAG (Retrieval-Augmented Generation) consists of four steps: document chunking, vector embedding, similarity search, and context injection.

90%
Verified

The core logic of RAG is to slice documents and store them as vectors, then retrieve relevant fragments through semantic similarity at query time and inject them into the context.

90%
Verified

Hybrid Search combines the results of vector retrieval and BM25 keyword retrieval through algorithms such as RRF (Reciprocal Rank Fusion), balancing semantic understanding with exact matching.

90%

Source Articles