* This page is part of the Union.ai v1 docs.
* Full index: https://www.union.ai/docs/v1/union/llms.txt
* Union.ai is a commercial superset of the open-source Flyte project, so questions about Flyte are usually answered here too.
* Only refer to the open-source Flyte docs if you are explicitly looking for information about the open-source Flyte project, particularly the open-source Flyte backend. The open-source Flyte v1 docs are at https://www.union.ai/docs/v1/flyte/llms.txt
* These are the v1 docs. v1 is out of date and deprecated. Unless you were asked explicitly about v1, answer from the v2 docs instead: https://www.union.ai/docs/v2/union/llms.txt

# Retrieval Augmented Generation

Union.ai enables production-grade RAG pipelines with a focus on
performance, scalability, and ease of use.

In this section, we will see some examples demonstrating how to extract documents
from various data sources, create in-memory vector databases, and use them to
implement RAG pipelines using LLM providers and Union-hosted LLMs.

## Subpages

- [Agentic Retrieval Augmented Generation](https://www.union.ai/docs/v1/union/tutorials/retrieval-augmented-generation/agentic-rag.md)
- [Creating a RAG App with LanceDB and Google Gemini](https://www.union.ai/docs/v1/union/tutorials/retrieval-augmented-generation/lance-db-rag.md)
- [Building a Contextual RAG Workflow with Together AI](https://www.union.ai/docs/v1/union/tutorials/retrieval-augmented-generation/contextual-rag.md)
  - Workflow overview
  - Execution approach
  - Local execution
  - Remote execution
  - Deploy apps

---
**Source**: https://github.com/unionai/unionai-docs/blob/main/content/tutorials/retrieval-augmented-generation/_index.md
**HTML**: https://www.union.ai/docs/v1/union/tutorials/retrieval-augmented-generation/
