Multi-agent retrieval augmented system for domain-specific knowledge in structural engineering

Loading...
Thumbnail Image

URL

Journal Title

Journal ISSN

Volume Title

School of Engineering | Master's thesis

Department

Major/Subject

Mcode

Language

en

Pages

65

Series

Abstract

Large Language Models (LLMs) have shown remarkable capabilities in natural language tasks, but they struggle with specialized engineering knowledge like country-specific code provisions. This thesis addresses that gap by integrating the Finnish National Annexes to the Eurocode into an LLM-based assistant. We design a multi-agent Retrieval-Augmented Generation (RAG) system with two agents: one dedicated to retrieving relevant text from Finnish annex documents, and a second that leverages general Eurocode knowledge if the first agent finds no matches. We evaluate the system on structural engineering queries drawn from real design scenarios, comparing different model settings. Our results show that the RAG approach produces accurate, code-compliant answers grounded in the annex text, while the two-agent design guarantees a response for every query. Key findings indicate that smaller LLM variants stay strictly within provided sources by eliminating hallucinations at the cost of leaving some questions partially answered, whereas larger models offer more complete answers by drawing on general knowledge but occasionally introduce unsupported details. The thesis contributions include a novel LLM-based tool for automated code compliance assistance, empirical insights into model behavior with RAG, and a step toward safer AI integration in structural design workflows.

Description

Supervisor

Noureldin, Mohamed

Thesis advisor

Kortelainen, Petri

Other note

Citation