<!-- TITLE: EdTechRAG-Chatbot -->
<!-- DESCRIPTION: An open-source chatbot that can be prepared with your own content and, thanks to metadata, reliably leads to the right source. -->
<!-- LANG: en -->
<!-- URL: https://flaait.tugraz.at/en/services/edtechrag-chatbot/ -->
<!-- URL_DE: https://flaait.tugraz.at/services/edtechrag-chatbot/ -->
<!-- URL_EN: https://flaait.tugraz.at/en/services/edtechrag-chatbot/ -->
<!-- TYPE: service -->
<!-- STATUS: pilot -->
<!-- PILLARS: ai -->
<!-- PILLAR_TITLES: AI for Teaching -->
<!-- DETAIL: full -->

# EdTechRAG-Chatbot

*An open-source chatbot that can be prepared with your own content and, thanks to metadata, reliably leads to the right source.*

**Key facts**

- **Focus area:** AI for Teaching
- **Status:** Pilot
- **Source code:** [github.com/ed-tech-at/EdTechRAG](https://github.com/ed-tech-at/EdTechRAG)
- **Licence:** MIT (code) · CC BY 4.0 (content)
- **Developed by:** Ed-Tech Research Community Graz
- **Contact:** [telucation@tugraz.at](mailto:telucation@tugraz.at)

A chatbot is only as good as the source it draws on. EdTechRAG is filled with your own content and answers questions from it — not from a language model’s general knowledge. The source code is open and the application can be self-hosted.

The method behind it is called **retrieval-augmented generation** (RAG): for a given question, the matching passages in your own documents are located first, and only those passages are passed to the language model. The answer therefore stays tied to the stored content and can be traced back to its source.

## Metadata instead of a wall of text

Plain similarity search over chunks of text often finds the right wording but the wrong document. EdTechRAG therefore carries metadata alongside the content — narrowing the search before it starts. What was “it said that somewhere” becomes a specific hit that teaching staff and students can go and read for themselves.

## Open and self-hostable

The code is available on GitHub under the MIT licence. Self-hosting requires:

- `Docker` and `Node.js`
- PostgreSQL with the `pgvector` extension for vector search
- optionally a GitHub or GitLab connection so that content is ingested automatically

Anyone self-hosting EdTechRAG must remove all references to TU Graz — logo and imprint — unless this has been expressly agreed. The copyright notices and the licence attribution have to be kept.

## Further links

- [Source code on GitHub · github.com/ed-tech-at/EdTechRAG](https://github.com/ed-tech-at/EdTechRAG)
