Retrieval Augmented Generation (RAG) in Wikibase4Research
Abstract
Poster presented at the 5th Culture Community Plenary organised by NFDI4Culture. The poster presents the experimental prototype of a RAG LLM extension for the NFDI4Culture Service Wikibase4Research developed at the Open Science Lab (OSL) at TIB Hannover. OSL develops open source solutions for the management of research data with Wikibase, an extension of the MediaWiki software suite. The poster shows the integration of AI-based approaches within MediaWiki, utilizing Retrieval-Augmented Generation (RAG), a methodology that allows Large Language Models (LLMs) to interact with custom data sources. Computational resources can be used from remote services such as Huggingface API or GWDG SAIA or locally, preserving user privacy by keeping all data local. The results provide context-aware responses to user queries in natural language or support the user in the creation of SPARQL queries. OSL has updated the service to index data saved in several structured formats including MediaWiki pages and Wikibase statements. A demo instance of the service has been applied to a Wiki instance containing data about historic manor houses in the Baltic Sea Region, a joint project between OSL and the University of Greifswald. NFDI4Culture is funded by the Deutsche Forschungsgemeinschaft (DFG) under grant no. 441958017.