Saltar al contenido

Nuevo: herramientas de IA gratis — Analiza tu sitio web o obtén un plan de IA en 60 segundos.

ASTACKRA
Iniciar un proyecto

Glossary · AI

What is RAG (retrieval-augmented generation)?

RAG is a technique where a system first searches your own documents for the passages relevant to a question, then gives those passages to a language model as context so it answers from them. It is the standard way to make an AI assistant answer from company knowledge, with citations, instead of from whatever it memorised in training.

In practice

A RAG system has three moving parts: an ingestion step that splits documents into passages and indexes them, a retrieval step that finds the closest passages to the question, and a generation step that answers using only those passages. The quality of the answer is usually decided by retrieval, not by which model you chose. Most disappointing RAG projects are retrieval problems wearing a model costume.

Where it fits in a build

RAG is the right pattern whenever the correct answer already exists somewhere in your files and the problem is that nobody can find it: policy manuals, contracts, product documentation, historic tenders, support history. It is the wrong pattern when the answer has to be calculated from live data — that is a database query, and a model should be asked to write it, not to guess it.

Common mistakes

  • Splitting documents into fixed-size chunks that cut sentences and tables in half, then blaming the model for the answers.
  • Skipping citations. Without a link back to the source passage, nobody can check the answer, so nobody trusts the system.
  • Indexing everything, including drafts and superseded policies, so the assistant confidently quotes a document that was replaced two years ago.

Working on something that involves this?

ASTACKRA designs and builds AI systems, automation and custom software for businesses that need technology shaped around their own workflow. If this term turned up in a proposal and you want a straight answer about whether it applies to your situation, ask us — no obligation, and we will tell you if the answer is no.

Related

Siguiente paso

Cuéntanos qué está frenando a tu negocio.

Describa el flujo de trabajo, el sitio web, el recorrido del cliente o el sistema que su equipo ya ha superado. No necesita una especificación técnica — definiremos con usted la primera fase adecuada.

Iniciar un proyecto hello@astackra.com
  • Entrega remota en distintas zonas horarias
  • Alcance, hitos y decisiones por escrito
  • AI controlada por personas y compatible con NDA

Estudio remoto de IA, software y automatización — definido, construido y entregado para equipos de todo el mundo.

Creamos sistemas de IA y software a medida que automatizan operaciones, conectan equipos y generan un apalancamiento empresarial duradero.

Sistemas de IA, software a medida, SaaS, automatización de flujos de trabajo, inteligencia documental e ingeniería de producto digital para empresas en crecimiento de todo el mundo.

Tecnología compleja. Ingeniería impecable.

ASTACKRA · Estudio de Sistemas y Software