Visualization-oriented Natural Language Interfaces for Grafana Dashboard

Bo-Yao Tong, Ted T. Kuo, Chia‐Yu Lin · 2024

Real-time monitoring of individual node statuses is crucial in distributed systems to promptly identify and address anomalies and enable effective system management. Due to the less intuitive nature of traditional form-based methods for adding charts, there is a growing trend towards integrating large language models (LLMs) into visualization-oriented natural language interfaces (V-NLIs) to automate the entire front-end monitoring process. Although LLMs have advanced significantly, they still exhibit weaker capabilities in code generation, particularly when visualization platforms need LLMs to generate some specialized JSON formats for updating dashboards. To improve the code generation capability of general-purpose LLMs, we propose a system that allows users to create charts using arbitrary natural language. Additionally, concerning the limitations of LLMs in code generation, we aim to leverage the LangChain agent to develop a custom toolkit. The LangChain agent will enable language models to focus on text comprehension while our tool will handle code generation.

Read the paper · More papers on PaperTik