Mitra OS Wiki
Browse the wiki

Retrieval-augmented generation (RAG)

Glossary · glossary · Updated

Not every capability described on this wiki is available today.

Quick answer

Retrieval-augmented generation, or RAG, is a technique where an AI first retrieves relevant text from a chosen source and then uses it to write its answer, which can make the answer better grounded.

Summary

A language model answers from patterns it learned in training, which can be out of date or wrong. RAG adds a lookup step so the model can see relevant source text when it answers. It can reduce unsupported answers but does not remove the need to check important output.

Key takeaways

  • RAG retrieves source text first, then generates an answer from it.
  • It can ground answers in documents the model was not trained on.
  • It can reduce, but not eliminate, hallucination.
  • It is often used alongside tool calling.

In context

RAG is one way to give a large language model fresh or private information. It addresses a cause of AI hallucination but does not remove it. Agents often combine retrieval with tool calling. For the broader picture, read what are AI agents, agentic AI and AI safety and auditability.

How Mitra OS fits

Mitra OS describes its AI as read-and-draft only, grounded in live data and audit-logged. Which data sources ground answers, and whether retrieval is used, is not documented yet.

Frequently asked questions

What does RAG stand for?

Retrieval-augmented generation.

Does RAG stop an AI from making mistakes?

No. It can make answers better grounded, but the model can still misread or misuse the text it retrieves, so important output should be checked.

How is RAG different from tool calling?

RAG brings in reference text for an answer. Tool calling lets a model request actions or live lookups. Retrieval can itself be done through a tool.

Does RAG change the model?

No. It supplies extra text at answer time and does not retrain the model.

Does Mitra OS use RAG?

Which techniques Mitra OS uses is not documented yet. It states that its AI is read-and-draft only and grounded in live data.

People also ask

Glossary terms on this page

  • MITRA: MITRA is the orchestration platform behind Mitra OS. Mitra is the name you talk to, and Mitra OS, Inc. is the company that builds it.
  • Agentic AI: Agentic AI describes AI systems that work toward a goal across several steps, choosing actions and using tools, instead of only replying to a single prompt.
  • AI hallucination: An AI hallucination is output from a model that sounds confident but is wrong or invented, such as a false fact, a fake source or an incorrect figure.

Last updated . Last reviewed .