An integrated method for BIM data retrieval using large language model
Deli Liu, Xiaoping Zhou, Yu Li
Abstract
Data retrieval in Building Information Modelling (BIM) is essential for effective project management, yet existing methods remain limited by manual processes, keyword-based searches, and poor handling of complex queries. To address this gap, we propose an intelligent BIM data retrieval system that integrates large language models (LLMs) with vector search in a multi-agent framework using LangChain. BIM data from Revit models are exported to an SQL database via Dynamo. Natural language queries are transformed into SQL using LLMs guided by relevant prompt documents. To overcome LLM token limitations, prompts are embedded into a vector database for semantic retrieval. A reflection mechanism corrects errors in SQL generation, and a fine-tuned LLM enhances accuracy. This work advances current BIM research by enabling automated, context-aware, and accurate data access – bridging the gap between human queries and structured BIM data through agentive flow.