<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">Road map for the implementation of a conversational agent chatbot consistent with the guidelines of the Design System Italy (DSI)</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Davide</forename><surname>Bruno</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Regione Toscana</orgName>
								<address>
									<addrLine>via di Novoli, 27</addrLine>
									<postCode>50127</postCode>
									<settlement>Firenze</settlement>
									<country key="IT">Italy</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">Road map for the implementation of a conversational agent chatbot consistent with the guidelines of the Design System Italy (DSI)</title>
					</analytic>
					<monogr>
						<idno type="ISSN">1613-0073</idno>
					</monogr>
					<idno type="MD5">E89AA3DBEE8C02A22E3056E5CF5224C6</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2025-04-23T16:56+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>generative artificial intelligence</term>
					<term>public sector (PS)</term>
					<term>citizen</term>
					<term>CPSV-AP_IT</term>
					<term>CEUR-WS 1</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>The project idea intends to set some cornerstones for the design and subsequent implementation of a conversational agent based on intent and artificial intelligence generative with the aim of exploiting public service semantics (CPSV-AP_IT Core Public Service Vocabulary) to improve the interaction between citizens and the public sector (PS).</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>Artificial Intelligence Generative will certainly have a significant impact in the Public sector (PS). This technology offers opportunities to improve the efficiency, transparency and quality of public services. By implementing AI Generative-based systems, PS can automate repetitive processes, optimise data management and improve interaction with citizens. aims to improve productivity, accessibility and efficiency in service delivery. It leverages technologies such as machine learning, natural language processing (NLP) and natural language processing. These tools, known as 'conversational applications' or more commonly 'chatbots', exploit the ability of machines to understand natural language to handle requests and interactions with citizens in a timely and contextual manner. These applications will make it possible to improve the relationship with citizens, providing personalised and rapid responses, thus helping to optimise the delivery of public services. These highly innovative solutions will have to take into account the regulatory framework of reference for the PA and, in any case, avoid excessive dependence on suppliers that could quickly become technological lock-in. Another risk that should not be underestimated at this time of feverish excitement on the subject is 'overpromising' and the illusion of perfection that comes from controlled demos where everything seems perfect and everything is solved simply by installing Artificial Intelligence Generative, at the moment there are not many solutions that are field-tested in real situations and are not known. It is therefore crucial to choose the paradigm for the development of the target architecture and to identify generative AI models. It will be possible to exploit the great potential of generative AI if we take a cautious and forward-looking responsible approach favouring open-source solutions or those based on shared open standards so as to guarantee PA flexibility and increase the possibility of changing suppliers in the future. PAs will have to develop in-house skills very quickly by investing in staff training to make them at least aware and capable of expressing functional requirements, and not in the acquisition phase, but as mentioned, we must also be very vigilant in the operation and pre-operation phase, remembering that we are talking about new technological solutions that will certainly need to mature. It will not be easy in this very dynamic and exponentially exploding field of LLM solutions, techniques and models. However, lasting collaboration with other public bodies, including research bodies, must be encouraged and institutionalised in order to share experiences and best practices.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Reference Models and Goals</head><p>The 'Core Public Service Vocabulary Application Profile' (CPSV-AP) is a data model designed to harmonise the description of public services on eGovernment portals. It provides a common vocabulary to describe public services, ensuring interoperability and standardisation between different implementations. <ref type="bibr" target="#b1">2</ref> The CPSV-AP aims at structuring public service information, making it user-centred and machine-readable, facilitating the creation of a public service catalogue that is interoperable and efficient. This vocabulary is used by several EU countries, including Italy, to describe public services and associated life events in a standardised way.</p><p>In 2017, the Agency for Digital Italy (AgID) published, in the OntoPiA controlled set of ontologies and vocabularies <ref type="bibr" target="#b2">3</ref> (Ontologies for Public Administration), a special vocabulary for the definition of public services CPSV-AP_IT Core Public Service Vocabulary. <ref type="bibr" target="#b3">4</ref> The CPSV-AP_IT is the Italian version of this vocabulary, offering a framework to describe public services in Italy, in line with the European vocabulary of core public services. Designing and implementing a conversational agent natively integrated with CPSV-AP_IT will help improve the accessibility and effectiveness of public services, enabling users to interact in a more intuitive and personalised way with the information and services offered <ref type="bibr" target="#b4">5</ref> . Moreover, the artificial intelligence of the conversational agent could be enhanced by the structure and semantics provided by the CPSV-AP_IT, facilitating a better understanding of user requests and offering more precise and contextualised answers</p><p>The realised artefact would be reusable at different administrative levels of the central and local Public Administration thanks to the work carried out over the years by AGID and by virtue of the fact that the Core Vocabulary of Public Services-Italian Profile (CPSV-AP_IT) has been defined. Moreover, the aspects of accessibility and usability would be guaranteed by including as a requirement by design the respect of the principles of accessibility and usability already present in the Design System Italia<ref type="foot" target="#foot_6">6</ref> (DSI).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Main steps for the design and implementation</head><p>The project idea therefore intends to set some cornerstones for the design and subsequent implementation of a conversational agent based on intent and generative artificial intelligence with the aim of exploiting the semantics of public services to improve the interaction between citizens and public administration.</p><p>The selection phase of a chatbot development paradigm/platform is crucial as already mentioned from a technological point of view it will be a mix of intent and generative AI. For the reasons already expressed for the PA, open source solutions for generative AI should be favoured, combining it with retrieval-augmented generation (RAG) techniques<ref type="foot" target="#foot_7">7</ref> . Retrieval-augmented generation (RAG) has emerged as a promising solution that incorporates knowledge from external databases. For knowledge systems, RAG has several advantages over the use of LLM alone: Accuracy: RAG reduces and mitigates the risk of 'hallucinations', where LLMs might provide plausible but incorrect information. It does this by 'rooting' LLM answers in accurate data retrieved from your team's data sources to generate reliable answers. Transparency: good RAG systems can provide references that allow users to verify where information comes from, adding a level of trust and accountability to the answers provided by RAG models. Customisation: RAG systems can use data specific to your company or industry (e.g. naming conventions), making them adaptable and ensuring that answers are relevant to your specific context.</p><p>Other crucial elements in the PA's selection of the open source artificial intelligence architecture are: Agnostic with respect to language models (it must therefore work with customised OpenAI, Cohere, HuggingFace models) The solution must possess long-term memory, have the possibility of using external tools (API, other models), be able to ingest documents of different formats (at least pdf, txt, json) and be developed with technologies that natively implement the possibility of scaling horizontally and vertically.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Non-functional requirements:</head><p>Accessibility by design: the chatbot should be implemented according to the accessibility by design paradigm while also taking into account the needs of user groups with disabilities as suggested by accessibility best practices1, such as the provision of text alternatives for any images and audio transcripts.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Multilingualism:</head><p>implementation of multilingual functionality.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Acquisition and preparation of data</head><p>1. Retrieval of CPSV-AP_IT data: Data in CPSV-AP_IT format (e.g. eligibility requirements, tariffs) and identification of relations with other services. 2. Pre-processing and organisation: In the case of data not conforming to CPSV-AP_IT, a mapping phase is still necessary to clean and harmonise the data in a format suitable for the chosen development architecture. It may be necessary to convert them into a computer-readable format (e.g. JSON, CSV) and to structure and optimise them for efficient queries. 3. Identification of intentions and entities: in this phase, the potential questions and intentions of the user (e.g. "how do I apply for a passport renewal?") and the entities they might mention (e.g. "passport", "renewal") should be defined. This could help the chatbot understand the user's needs.</p></div>			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0">Ital-IA</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2024" xml:id="foot_1">: 4th National Conference on Artificial Intelligence, organized by CINI, May 29-30, 2024, Naples, Italy davide.bruno@regione.toscana.it ;</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_2">https://ec.europa.eu/isa2/solutions/core-public-servicevocabulary-application-profile-cpsv-ap_en/</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_3"><ref type="bibr" target="#b2">3</ref> OntoPiA: GitHub: https://github.com/italia/daf-ontologievocabolari-controllati e GitHub wiki: https://github.com/italia/dafontologie-vocabolari-controllati/wiki (ita)</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_4">Avaiable at link:&lt;https://github.com/italia/daf-ontologievocabolari-controllati/blob/master/Ontologie/CPSV/v1.1/CPSV-AP_IT.rdf.</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="5" xml:id="foot_5">&gt; 5 https://www.readygoone.it/approfondimenti/10-funzionidellassistente-conversazionale/</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="6" xml:id="foot_6">https://designers.italia.it/design-system/</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="7" xml:id="foot_7">https://blogs.nvidia.com/blog/what-is-retrieval-augmentedgeneration/</note>
		</body>
		<back>
			<div type="annex">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Chatbot technological development</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Design the flow of the conversation:</head><p>Create natural language dialogues that guide the user in the discovery of services. Consider common user questions and create branching paths based on their answers. Prioritise clarity and conciseness and nonbureaucratic language. 2. Integration of data with the CPSV-AP_IT model: Linking the chatbot via ingestion pipelines to the previously processed CPSV-AP_IT data. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Conclusions and on-going activities</head><p>This presentation briefly describes a possible road map for the implementation of a conversational agent based on intent and generative artificial intelligence (AIG) with the aim of exploiting public service semantics (CPSV-AP_IT Core Public Service Vocabulary) to improve the interaction between citizens and the public administration (PA). Retrieval Augmented Generation (RAG) in general offers several advantages, in particular to improve the capabilities of artificial intelligence systems. In short, it is an approach that combines large language models (LLM) with information retrieval (IR) to improve the accuracy and relevance of LLMgenerated text.</p><p>In a nutshell, the aims of this proposal:</p><p>1. Improving the discovery of online and onsite services of the public administration 2. Providing personalised and relevant answers to users 3. Reduce first level help desk calls to various services An indicative road map of development:</p><p>• A prototype will be realised and validated by 2024.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>•</head><p>By first half of 2025 go live in production.</p><p>Possible future developments also automate the delivery of some simple services, integration at least as UX in the Design System Italy.</p><p>We may conclude by saying that the PA should not make the mistake of building an architecture that is bound to a single LLM model or specific solutions because depending on the specific use case, expected performance and costs, the configuration of the generative AI solution will be different. Just to give an example of the variety and speed with which this sector is evolving, Anthropic alone released three LLM models between 2023 and 2024: #Claude1, #Claude2 and #Claude3.</p><p>OpenAI appears to be close to launching new versions of #GPT, which it claims will represent a further leap forward.</p><p>The galaxy of generative artificial intelligence is still evolving strongly.</p><p>And it also has an impact on the open source world in fact the difference between an open-source LLM and close so binary is showing its limits or rather this new pradigma1 is establishing itself with respect to LLM so we can have the following types of models:</p><p>Openly Trained Models (OLMo, Pythia, etc.) -are those models with training data, training code and weights available without restrictions on use. Permissible Usage Models (Llama**, Mistral, Gemma, etc.) -are those models with base model weights and inference code available for easy set-up and distribution.</p><p>Closed LLMs -everything from GPT4 to a random set of tuned weights without much information.</p><p>From the point of view of the Public Administration this is desirable a cautious and far-sighted responsible approach confirming the main requirement already expressed the framework selected must be agnostic with respect to the LLM model and in any case as PA we should prefer Openly Trained Models (OLMo, Pythia, etc.) or Permissible Usage Models (Llama**, Mistral, Gemma, etc.).</p></div>			</div>
			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<monogr>
		<title level="m" type="main">Retrieval-Augmented Generation for Natural Language Understanding</title>
		<author>
			<persName><forename type="first">Patrick</forename><surname>Lewis</surname></persName>
		</author>
		<ptr target="https://arxiv.org/abs/2005.11401" />
		<imprint>
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<monogr>
		<title level="m" type="main">RAG: A Simple but Effective Approach to Neural Conversational Modeling</title>
		<ptr target="https://medium.com/dropout-analytics/what-is-rag-in-generative-ai-f5b8c13575f8" />
		<editor>Alexander Rush et al.</editor>
		<imprint>
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<monogr>
		<title level="m" type="main">RAG-BERT: Retrieval-Augmented Generation with BERT</title>
		<ptr target="https://www.analyticsvidhya.com/blog/2023/10/rags-innovative-approach-to-unifying-retrieval-and-generation-in-nlp/" />
		<editor>Honglei Zhuang et al</editor>
		<imprint>
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<monogr>
		<title level="m" type="main">Towards Controllable and Consistent Generation with Retrieval-Augmented Generation</title>
		<author>
			<persName><forename type="first">Wang</forename></persName>
		</author>
		<ptr target="https://aclanthology.org/2020.coling-main.207" />
		<editor>Yilun</editor>
		<imprint>
			<date type="published" when="2021">2021</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<monogr>
		<title/>
		<author>
			<persName><forename type="first">Wang</forename></persName>
		</author>
		<ptr target="https://www.marktechpost.com/2024/04/01/evolution-of-rags-naive-rag-advanced-rag-and-modular-rag-architectures/" />
		<imprint/>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
