This work introduces an innovative approach that harnesses the power of large language models (LLMs) to facilitate the creation of websites by end users through natural language specifications. Our key contribution lies in a user-oriented method that utilizes prompt engineering, compelling the LLM response to adhere to a specific template, which in turn enables direct parsing of the model's responses, allowing users to focus on refining the generated website without concerning themselves with the underlying code. The engineered prompt ensures model efficiency by implementing a modification strategy that preserves context and tokens generated in the LLM responses, updating only specific parts of the code rather than rewriting the entire document, thereby minimizing unnecessary code revisions. Moreover, our approach empowers LLMs to generate multiple documents, augmenting the user experience. We showcase a proof-of-concept implementation where users submit textual descriptions of their desired website features, prompting the LLM to produce corresponding HTML and CSS code. This paper underscores the potential of our approach to democratize web development and enhance its accessibility for non-technical users. Future research will focus on conducting user studies to ascertain the efficacy of our method within existing low-code/no-code platforms, ultimately extending its benefits to a broader audience.

Leveraging Large Language Models for End User Website Generation / Calo, Tommaso; De Russis, Luigi. - ELETTRONICO. - (2023), pp. 52-61. (Intervento presentato al convegno IS-EUD: the 9th International Symposium on End-User Development tenutosi a Cagliari (Italy) nel 06-08 June 2023) [10.1007/978-3-031-34433-6_4].

Leveraging Large Language Models for End User Website Generation

Calo, Tommaso;De Russis, Luigi
2023

Abstract

This work introduces an innovative approach that harnesses the power of large language models (LLMs) to facilitate the creation of websites by end users through natural language specifications. Our key contribution lies in a user-oriented method that utilizes prompt engineering, compelling the LLM response to adhere to a specific template, which in turn enables direct parsing of the model's responses, allowing users to focus on refining the generated website without concerning themselves with the underlying code. The engineered prompt ensures model efficiency by implementing a modification strategy that preserves context and tokens generated in the LLM responses, updating only specific parts of the code rather than rewriting the entire document, thereby minimizing unnecessary code revisions. Moreover, our approach empowers LLMs to generate multiple documents, augmenting the user experience. We showcase a proof-of-concept implementation where users submit textual descriptions of their desired website features, prompting the LLM to produce corresponding HTML and CSS code. This paper underscores the potential of our approach to democratize web development and enhance its accessibility for non-technical users. Future research will focus on conducting user studies to ascertain the efficacy of our method within existing low-code/no-code platforms, ultimately extending its benefits to a broader audience.
2023
978-3-031-34432-9
File in questo prodotto:
File Dimensione Formato  
IS_EUD_End_User_Web__Camera_Ready_.pdf

embargo fino al 03/06/2024

Descrizione: paper
Tipologia: 2. Post-print / Author's Accepted Manuscript
Licenza: PUBBLICO - Tutti i diritti riservati
Dimensione 694.78 kB
Formato Adobe PDF
694.78 kB Adobe PDF   Visualizza/Apri   Richiedi una copia
978-3-031-34433-6_4.pdf

non disponibili

Descrizione: articolo pubblicato
Tipologia: 2a Post-print versione editoriale / Version of Record
Licenza: Non Pubblico - Accesso privato/ristretto
Dimensione 1.14 MB
Formato Adobe PDF
1.14 MB Adobe PDF   Visualizza/Apri   Richiedi una copia
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11583/2978033