Enhancing LLM Performance Through an Agentic Approach in Retrieval-Augmented Generation

dc.contributor.advisor Kovalenko, Alexander
dc.contributor.author Botek, Matúš
dc.contributor.referee Čepek, Miroslav
dc.date.accepted 2025-06-10
dc.date.accessioned 2025-06-06T09:52:52Z
dc.date.available 2025-06-06T09:52:52Z
dc.date.issued 2025-05-09
dc.description.abstract Tato práce zkoumá přístupy k integraci používání nástrojů a agentních přístupů do systémů využívajících velkých jazykových modelů (\textit{large language model}, LLM). Představuje návrh a implementaci agentního LLM systému rozšířeného o funkcionalitu volání nástrojů pro zpracování geoprostorových dat. Hlavním cílem práce bylo vyvinout systém, který kombinuje schopnosti porozumění jazyku LLM s externími nástroji pro rozšíření jejich schopností v oblasti prostorové analýzy, vyhledávání dat a získávání znalostí. Vyvinutý systém nazvaný GeoChat Assistant umožňuje interaktivní dotazování nad uživatelem definovanou geografickou oblastí a dynamicky využívá specializované nástroje pro prostorové výpočty a získávání dat z webových mapových služeb (\textit{web map service}, WMS), veřejných API a dalších zdrojů geoprostorových dat. Je postaven na frameworku LangGraph, který orchestruje volání nástrojů, generování odpovědí a celkové rozhodování systému. Tato práce také vyhodnocuje efektivitu systému na vlastní datové sadě geoprostorových úloh, experimentuje s různými LLM a měří jejich vliv na výkonnost volání nástrojů a kvalitu odpovědí. GeoChat Assistant byl také testován experty z dané oblasti a sesbíral relevantní lidská ohodnocení svých schopností. Výsledky ukazují, že systémy LLM rozšířené o využívání nástrojů nabízejí výhody v oblasti doménově specifického uvažování a zpracování komplexních multimodálních dat. cs
dc.description.abstract This thesis explores the approaches for integrating tool use and agency into Large Language Model (LLM) systems. It presents the design and implementation of an agentic LLM system augmented with tools for geospatial data processing. The main objective was to develop a system that combines the language understanding capabilities of LLMs with external tools to enhance functionality in spatial analysis, data retrieval, and knowledge extraction. The developed system, called GeoChat Assistant, enables interactive querying over a user-defined geographical area and dynamically invokes specialized tools for spatial computations and data retrieval from Web Map Services (WMS), public APIs, and other geospatial data sources. It is built on the LangGraph framework, which orchestrates the tool use, response generation, and decision-making. This thesis also evaluates the systems performance on a custom dataset of geospatial tasks, experimenting with various LLMs and measuring their impact on tool calling performance and response quality. GeoChat Assistant was also tested by domain experts, collecting relevant human assessments of its capabilities. Results demonstrate that tool-augmented LLM systems offer advantages in domain-specific reasoning and handling complex, multimodal data. en
dc.identifier KOS-1243582197205
dc.identifier.uri http://hdl.handle.net/10467/122630
dc.language.iso eng
dc.publisher České vysoké učení technické v Praze cs
dc.publisher Czech Technical University in Prague en
dc.rights Vysokoškolská závěrečná práce je dílo chráněné autorským zákonem. Je možné pořizovat z něj na své náklady a pro svoji osobní potřebu výpisy, opisy a rozmnoženiny. Jeho využití musí být v souladu s autorským zákonem v platném znění. cs
dc.rights A university thesis is a work protected by the Copyright Act of the Czech Republic. Extracts, copies and transcripts of the thesis are allowed for personal use only and at one`s own expense. The use of thesis should be in compliance with the Copyright Act. en
dc.subject velké jazykové modely cs
dc.subject RAG cs
dc.subject LLM rozšířené o nástroje cs
dc.subject agentní LLM systémy cs
dc.subject geoprostorová data cs
dc.subject LangGraph cs
dc.subject large language models en
dc.subject RAG en
dc.subject tool-augmented LLMs en
dc.subject agentic LLM systems en
dc.subject geospatial data en
dc.subject LangGraph en
dc.title Zlepšení výkonu LLM prostřednictvím agentního přístupu v Retrieval-Augmented Generation cs
dc.title Enhancing LLM Performance Through an Agentic Approach in Retrieval-Augmented Generation en
dc.type diplomová práce cs
dc.type master thesis en
dspace.entity.type Publication
relation.isAdvisorOfPublication 1d81a757-e1a4-46a0-b2fb-9f2306a53e5b
relation.isAdvisorOfPublication.latestForDiscovery 1d81a757-e1a4-46a0-b2fb-9f2306a53e5b
relation.isAuthorOfPublication 2d159fb0-c857-4b4f-8f50-0348b8397231
relation.isAuthorOfPublication.latestForDiscovery 2d159fb0-c857-4b4f-8f50-0348b8397231
relation.isRefereeOfPublication b750ec2f-a1ad-4352-9b36-42a71d334fc0
relation.isRefereeOfPublication.latestForDiscovery b750ec2f-a1ad-4352-9b36-42a71d334fc0
theses.degree.grantor katedra aplikované matematiky cs
theses.degree.programme Informatika cs

Files

Original bundle

Now showing 1 - 5 of 5
Name:
Botekmat-supervisor-report.pdf
Size:
48.22 KB
Format:
Adobe Portable Document Format
Description:
REVIEW
Access level:
OPEN
Access rights:
openly accessible
Name:
Botekmat-reviewer-report.pdf
Size:
42.23 KB
Format:
Adobe Portable Document Format
Description:
REVIEW
Access level:
OPEN
Access rights:
openly accessible
Name:
F8-DP-2025-Botek-Matus-DP_final.pdf
Size:
10.99 MB
Format:
Adobe Portable Document Format
Description:
THESIS
Access level:
OPEN
Access rights:
openly accessible
Name:
F8-DP-2025-Botek-Matus-priloha-dp_geochat.zip
Size:
9.25 MB
Format:
Unknown data format
Description:
ATTACHMENT
Access level:
OPEN
Access rights:
openly accessible
Name:
Prubeh-obhajoby.pdf
Size:
614.64 KB
Format:
Adobe Portable Document Format
Description:
DEFENSE_PROCEEDINGS
Access level:
OPEN
Access rights:
openly accessible