Glossary

What is RAG?

In Turkish: RAG (bilgi getirmeli üretim) · Topic: Using AI

A technique in which a model finds relevant information from a document archive or the web before answering and bases its response on it. It is used to reduce fabricated information.

How does it work?

In RAG, when a user asks a question, the system first finds relevant passages in a document archive, database or the web. These texts are given to the model along with the question, and the model is asked to base its answer on this information. This way, the model can also use current or private information it did not see in training.

Why does it matter?

It is the most common way for companies to build assistants that work with their own documents. There is no need to retrain the model, the information can be updated, and answers can cite sources, which reduces fabricated information.

Example

An assistant that, when an employee asks about company internal policies, finds the relevant regulation clause and answers based on it is using RAG.

FAQ

What is RAG used for?

It lets a model answer using current, company-specific information and grounded in documents, without having to retrain the model.

Does RAG completely prevent hallucinations?

No, but it reduces them noticeably. Errors can still occur if the wrong document is retrieved or the model misinterprets the document.

Related guides

All terms