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 integration — AI 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.
  • Embedding — An embedding is a numerical representation of text (or image) that lets AI systems compare semantic similarity.
  • Vector database — A vector database is a database optimised for storing and searching embeddings — the foundation of RAG systems and AI search.
Fixed price per phase · Full source code, owned by you · Reply within one business day

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

Book a 30-minute meeting, or send us a few lines about what's grinding. We reply within one business day.

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.