The RAG Knowledge Base is a template app for OutSystems Developer Cloud. It gives you a working starting point for building document ingestion, semantic search, and hybrid retrieval pipelines natively in ODC, without an external vector database or search service.
The app includes pre-built screens, pre-configured entities, and a hybrid search pipeline that combines semantic vector search with BM25 lexical scoring, fused using Reciprocal Rank Fusion. Wire up your embedding API credentials, run the BM25 index timer, and start from a working foundation rather than from scratch.
Key Screens
File Upload: upload a PDF, chunk the text, generate embeddings, and build the BM25 index in one workflow.
Semantic Search: query in natural language, toggle between semantic and hybrid search, retrieve ranked chunks with page references.
Documents: inspect ingested documents and processing status.
Vectors: inspect stored chunks, vector entries, and BM25 token detail per chunk.
Static Entity "RetrievalMode" is made public
https://opensource.org/licenses/BSD-3-Clause