> For the complete documentation index, see [llms.txt](https://gdplabs.gitbook.io/glchat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gdplabs.gitbook.io/glchat/developer-documentation/lmrp.md).

# LMRP

### Overview

This document provides comprehensive documentation for **LMRP (Language Model Request Processor)** components used in the GLChat Backend Standard RAG pipeline. LMRPs are orchestrator modules that wrap prompt builders, LM invokers, and optionally output parsers to perform end-to-end LM invocations in a single process.

**LMRP (Language Model Request Processor)** is an orchestrator module that combines three key components:

1. **Prompt Builder** - Constructs prompts from templates and input data
2. **LM Invoker** - Handles the actual Language Model API calls
3. **Output Parser** (optional) - Parses and validates LM responses
