Template-Driven Specification of Requirements for LLM-Based Chatbots

The integration of large language models (LLMs) into chatbots introduces specific requirements related to reasoning, regulatory constraints, and user-sensitive interactions. This paper presents a template-driven approach for specifying system requirements in LLM-enhanced chatbots. The method uses a structured requirements card that defines the functional and non-functional roles, input-output behaviors, contextual reasoning dependencies, and compliance or operational constraints. By formalizing these requirements, the approach supports alignment between LLM capabilities and system design, facilitates verification of behavior across dialogue flows, and improves traceability within the software architecture. This specification model is particularly suited for domains where consistency, interpretability, and compliance with business rules are critical. As a proof of concept, a set of requirements for a financial chatbot was elicited and organized into cards derived from the template.

Institutions

Publication Details

Published
2025-09-22
DOI
https://doi.org/10.5753/wbots.2025.14151
Primary Topic
Neonatal Respiratory Health Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Template-Driven Specification of Requirements for LLM-Based Chatbots

Neonatal Respiratory Health Research
article

Template-Driven Specification of Requirements for LLM-Based Chatbots

article en

Abstract

The integration of large language models (LLMs) into chatbots introduces specific requirements related to reasoning, regulatory constraints, and user-sensitive interactions. This paper presents a template-driven approach for specifying system requirements in LLM-enhanced chatbots. The method uses a structured requirements card that defines the functional and non-functional roles, input-output behaviors, contextual reasoning dependencies, and compliance or operational constraints. By formalizing these requirements, the approach supports alignment between LLM capabilities and system design, facilitates verification of behavior across dialogue flows, and improves traceability within the software architecture. This specification model is particularly suited for domains where consistency, interpretability, and compliance with business rules are critical. As a proof of concept, a set of requirements for a financial chatbot was elicited and organized into cards derived from the template.

Instituto de Tecnologia e Pesquisa (BR), Universidad San Pedro (PE)
Openalex Percentile: Top 34%
Neonatal Respiratory Health Research
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.