DemoDu browst durch einen öffentlichen Pith-Workspace. Read-only.

Eigenen starten · 14 Tage gratis

Wiki-Seite

Retrieval-augmented generation

RAG retrieves external information before generation to ground model outputs.

1 Quelle✦ KI-generiert von Pith

Retrieval-augmented generation (RAG) is a method for improving large language models by retrieving relevant external information before generating a response1. Instead of relying only on static training data, a RAG system can consult documents, databases, uploaded files, or web sources to answer questions with fresher or more domain-specific information1.

RAG is commonly used to reduce hallucinations by grounding outputs in retrieved material1. It can also improve transparency when responses include cited sources, making claims easier to verify1. Another advantage is that it can incorporate new knowledge without full model retraining, which can lower cost and speed up updates1.

RAG is especially useful for chatbots and enterprise systems that need access to internal knowledge bases or authoritative references1. However, it does not eliminate errors: if the model misreads retrieved content, it can still produce misleading answers1.

At a high level, RAG systems often convert data into embeddings, retrieve the most relevant items at inference time, and combine that context with the user prompt1. The approach is a practical way to connect language models with external memory and live information1.

Quellen

  1. 1

    Retrieval-augmented generation

    en.wikipedia.org

Gefällt dir, was du siehst?

Starte deinen eigenen Workspace, speichere was du liest, und lass Pith das Wiki für dich bauen. 14 Tage gratis.

Retrieval-augmented generation — Pith demo