RAG sits between your Translation Management Platform (TMP) API—like Smartling or Phrase—and your chosen LLM. Its primary job is to intercept a translation request, query a vector database for relevant context, and inject that context into the LLM prompt. The relevant context typically includes:
- Approved terminology from your TMS glossary or term base.
- High-confidence translation memory (TM) matches for the same or similar source strings.
- Brand style guides, product documentation, or previously translated marketing materials.
- Project-specific instructions or regional preferences stored as metadata.
Without RAG, an LLM translates in a vacuum, often hallucinating terms or ignoring your established brand voice. With RAG, every AI-generated suggestion is grounded in your organization's approved linguistic assets.




