Term-extract-enhanced Python-Programming question answering with GraphRAG

Integrating local domain knowledge bases into domain-specific Question Answering (QA) systems enhances their professionalism and effectiveness. Recently, the Graph-based Retrieval-Augmented Generation (GraphRAG) framework has become a preferred approach for integrating local knowledge bases with large language models (LLMs). However, the standard GraphRAG exhibits limitations in extracting technical terms in domain-specific QA tasks, and often introduces irrelevant knowledge, leading to unfaithful answers. To address these issues, we develop a GraphRAG-based QA platform with redesigning prompt templates, which is specifically for College Cybersecurity Python Programming course. We first process various course documents to construct the local knowledge base. Then we deploy GraphRAG for the QA platform and design the prompt templates for technical term extraction and faithful answer generation. Experimental results demonstrate that the proposed QA platform significantly outperforms traditional methods in terms of accuracy and faithfulness.

Authors

Institutions

Publication Details

Journal
IET conference proceedings.
Published
2025-10-13
DOI
https://doi.org/10.1049/icp.2025.2838
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Term-extract-enhanced Python-Programming question answering with GraphRAG

Likun Wei, Yang Hu, Jia Chen, Renyu Zhang
IET conference proceedings.
Topic Modeling
article

Term-extract-enhanced Python-Programming question answering with GraphRAG

Likun Wei, Yang Hu, Jia Chen, Renyu Zhang
article en

Abstract

Integrating local domain knowledge bases into domain-specific Question Answering (QA) systems enhances their professionalism and effectiveness. Recently, the Graph-based Retrieval-Augmented Generation (GraphRAG) framework has become a preferred approach for integrating local knowledge bases with large language models (LLMs). However, the standard GraphRAG exhibits limitations in extracting technical terms in domain-specific QA tasks, and often introduces irrelevant knowledge, leading to unfaithful answers. To address these issues, we develop a GraphRAG-based QA platform with redesigning prompt templates, which is specifically for College Cybersecurity Python Programming course. We first process various course documents to construct the local knowledge base. Then we deploy GraphRAG for the QA platform and design the prompt templates for technical term extraction and faithful answer generation. Experimental results demonstrate that the proposed QA platform significantly outperforms traditional methods in terms of accuracy and faithfulness.

IET conference proceedings.Vol. 2025(23)
Beihang University (CN)
Openalex Percentile: Top 85%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Term-extract-enhanced Python-Programming question answering with GraphRAG — Likun Wei, Yang Hu, et al. · IET conference proceedings. (2025) | TGRS Research Map | TGRS