> For the complete documentation index, see [llms.txt](https://trs.deadbits.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trs.deadbits.ai/overview/diagrams.md).

# Diagrams

TRS implements basic indexing and retrieved-augmented generation pipelines.&#x20;

<figure><img src="/files/6G3O0GFJRTcsVxTlW8Bh" alt=""><figcaption><p>Data indexing pipeline</p></figcaption></figure>

<figure><img src="/files/GMo1XHwMbEqRBTS2gXSV" alt=""><figcaption><p>Retrieval pipeline</p></figcaption></figure>

#### Planning

Planned upgrades to the pipelines include:

* Addition of summary index
  * Summarized text is stored in it's own index
  * Retrieval can query both the document and summary index then synthesize answer across both sources
* Better management of previously processed URLs
