Skip to content

RAG (Retrieval-Augmented Generation)

RAG is a technique where a language model answers based on the business's own documents — instead of only its general training.

Also known as: retrieval augmented generation, context-based AI

RAG (Retrieval-Augmented Generation) is a technique where a language model retrieves relevant excerpts from a knowledge base or document archive before generating its answer. Instead of relying on the model's general training, the answer is grounded in actual documents — with the option to cite the source. RAG solves two problems at once: the AI gives answers based on your business's data, and you can see where each answer came from. Common use cases are internal knowledge search, customer service chats grounded in product documentation, and contract search.

In Norwegian context

For Norwegian businesses, RAG is often the first choice when building an AI assistant that "knows" the company's own documents — because data stays on Norwegian infrastructure and access control can be enforced per document.

Read more in the in-depth article on this topic.

Related terms

  • AI integrationAI integration is the process of wiring language models, RAG, or predictive models directly into a business's existing systems and workflows.
  • LLM (Large Language Model)An LLM is a large language model trained on enormous text volumes that can generate, summarise, and analyse text in a human-like way.
  • EmbeddingAn embedding is a numerical representation of text (or image) that lets AI systems compare semantic similarity.
  • Vector databaseA vector database is a database optimised for storing and searching embeddings — the foundation of RAG systems and AI search.
No commitment · 30 min · Free

We build what you need. Let's figure out what that is.

Send us two sentences about what's grinding. You'll hear back today, and we'll tell you whether this is something we can help with.

You can change these choices at any time. Necessary is always on because it is required for the site to work.

Necessary

Required for basic functionality, such as remembering your consent choice. No tracking.

Statistics

Anonymised visit statistics via Google Analytics 4. Helps us understand which pages people read.

Product insights

Detailed behavioural analysis via PostHog, including session recording with masked input fields. Used to improve the user experience.