NLP-Based Query Interface for InfluxDB: Designing a Hybrid Architecture with SpaCy and Large Language Model
Fatih Kaya, Pinar Kirci
2025
Abstract
Digital transformation has unleashed a tidal wave of data that is big data, as we like to call it, and working with that mountain brings real hurdles. Chief among them is the need for specialists who can speak in arcane query languages, which keeps everyday users at arm’s length. To break down that barrier, we introduce a natural-language interface (NLI) that lets users chat with a time-series database, such as InfluxDB, instead of writing SQL-style commands. The design follows a hybrid playbook, splitting the work into two clear tracks. Whenever absolute precision is essential, such that the system must craft an exact database query, it leans on a rules-based engine that behaves predictably every time, sidestepping the hallucinations sometimes seen in large language models. Once the data lands and the job shifts to drawing meaning from the numbers, the baton passes to Llama 3.1, whose generative skills excel at turning rows of metrics into clear insight. A working prototype already shows the approach can bridge everyday language and InfluxDB without missing a beat.
DownloadPaper Citation
in Harvard Style
Kaya F. and Kirci P. (2025). NLP-Based Query Interface for InfluxDB: Designing a Hybrid Architecture with SpaCy and Large Language Model. In Proceedings of the 2nd International Conference on Advances in Electrical, Electronics, Energy, and Computer Sciences - Volume 1: ICEEECS; ISBN 978-989-758-783-2, SciTePress, pages 271-277. DOI: 10.5220/0014353200004848
in Bibtex Style
@conference{iceeecs25,
author={Fatih Kaya and Pinar Kirci},
title={NLP-Based Query Interface for InfluxDB: Designing a Hybrid Architecture with SpaCy and Large Language Model},
booktitle={Proceedings of the 2nd International Conference on Advances in Electrical, Electronics, Energy, and Computer Sciences - Volume 1: ICEEECS},
year={2025},
pages={271-277},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0014353200004848},
isbn={978-989-758-783-2},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 2nd International Conference on Advances in Electrical, Electronics, Energy, and Computer Sciences - Volume 1: ICEEECS
TI - NLP-Based Query Interface for InfluxDB: Designing a Hybrid Architecture with SpaCy and Large Language Model
SN - 978-989-758-783-2
AU - Kaya F.
AU - Kirci P.
PY - 2025
SP - 271
EP - 277
DO - 10.5220/0014353200004848
PB - SciTePress