# Rag namespace

> The Novior.MentorAgent.Rag namespace, in the Novior.MentorAgent package: 3 public types: IMentorQueryEmbedding, IMentorRagSource, MentorRagRequest.

- URL: https://docs.mentoragent.net/api/novior-mentoragent-rag
- Documentation for: MentorAgent 1.2.0

## Pages

- [IMentorQueryEmbedding interface](https://docs.mentoragent.net/api/novior-mentoragent-rag/imentorqueryembedding.md): The embedding of the message MentorAgent is answering right now, computed once per turn.
- [IMentorRagSource interface](https://docs.mentoragent.net/api/novior-mentoragent-rag/imentorragsource.md): The IMentorRagSource interface of Novior.MentorAgent.Rag: Contract for RAG (Retrieval-Augmented Generation) sources in MentorAgent. Implement this interface…
- [MentorRagRequest class](https://docs.mentoragent.net/api/novior-mentoragent-rag/mentorragrequest.md): What a search is for: the user's message and the context it was asked in. Passed to IMentorRagSource.SearchAsync before every turn when UseRag is on.
