RAG for Fiori Apps — chat to find Fiori apps, understand what they do, and how they fit your project

What it does

Ask, in plain language, about SAP Fiori apps

RAG for Fiori Apps turns the Fiori Apps Library into a conversational assistant. It combines app metadata — releases, catalogs, OData services, business roles — with a language model so answers stay grounded in facts, not guesses.

Chat interface

Ask natural questions like "Which apps manage bank accounts?" and get a direct, cited answer.

Find the right app

Search by transaction code, business catalog, OData service, module, or what the app should do.

Grounded in metadata

Every answer is retrieved from downloaded Fiori Apps Library data for the exact release you're on.

Release comparison

See what changed between S/4HANA releases — new, removed, or updated apps per module.

MCP server

Expose the same chatflow as an MCP server so tools like VS Code or Claude can query it directly.

Runs on open tooling

Built on Dify, Qdrant, and optionally local LLMs via Ollama — no vendor lock-in required.

Why it helps

Built for S/4HANA project work

Whether you're consulting on a rollout or validating a development approach, the assistant saves the back-and-forth of digging through the Fiori Apps Library by hand.

1

Faster app discovery

Stop paging through the Fiori Apps Library — describe the business need and get matching apps back.

2

Fewer wrong answers

Retrieval-augmented generation keeps responses tied to real metadata instead of model guesswork.

3

Release-aware

Know exactly which apps exist, changed, or disappeared between two S/4HANA releases.

4

Fits your workflow

Use it as a standalone chat, or plug it into your IDE / AI assistant through the MCP server.

5

Self-hosted & local-LLM friendly

Runs on your own Dify + Qdrant stack, with optional local models via Ollama — no data leaves your environment.

6

Validates your dev work

Check transaction-to-app mappings, OData services, and catalogs while building or reviewing a project.

How it works

From Fiori metadata to a grounded answer

Fiori app metadata is downloaded, indexed as markdown and SQL, and served through a retrieval-augmented chatflow.

In action

A real question, a real answer

Example from the chatflow, answering a question about app counts in a specific release.

Chat example: How many Fiori apps are in S/4HANA 2025 FPS1?

Where to get it

Get started

The project is open source. Clone the repo, stand up Dify locally, and load your Fiori Apps metadata.

Clone the repo

git clone https://github.com/tobiashofmann/rag-fiori-apps

Set up Dify + Qdrant

Run Dify self-hosted via Docker, enable the Qdrant vector store, and configure an LLM (cloud or local via Ollama).

Download Fiori app metadata

python3 app_metadata/scripts/fetch_fiori_apps.py --release S32OP --technology fiori

Upload to the knowledge base and import the chatflow

Run the upload script, then import kb/Fiori_Apps.yml into Dify Studio and start chatting.

DifySelf-hosted chatflow & knowledge base
QdrantVector database for retrieval
Docker / PodmanTo run the Dify stack locally
Ollama (optional)Local embedding & LLM models