Documenti full-text disponibili:
|
Documento PDF (Thesis)
Disponibile con Licenza: Salvo eventuali più ampie autorizzazioni dell'autore, la tesi può essere liberamente consultata e può essere effettuato il salvataggio e la stampa di una copia per fini strettamente personali di studio, di ricerca e di insegnamento, con espresso divieto di qualunque utilizzo direttamente o indirettamente commerciale. Ogni altro diritto sul materiale è riservato
Download (664kB)
|
Abstract
This thesis explores how large language models (LLMs) can support web development, focusing on a comparison between DeepMind's Gemini models and OpenAI’s GPT models in generating code for both front-end and back-end tasks like HTML, CSS, JavaScript, and PHP. Organized into three main sections, the study covers how LLMs are being used in web development workflows, the foundations of these models, and a detailed comparison of GPT and Gemini in terms of code generation and evaluation performance.
Using a series of experiments, this research evaluates the accuracy and accessibility of both models in handling various coding tasks. It also examines ways to improve model performance through prompt optimization techniques to achieve the most optimal output on the first attempt. An additional section focuses on an accessibility review, assessing Gemini's ability to detect accessibility errors and evaluate its effectiveness in code correction. The findings reveal differences between GPT and Gemini, showing how each model approaches code generation and error correction, as well as their support for web accessibility standards. By optimizing the prompts given to the models, this study demonstrates that LLMs can significantly elevate code quality and enhance web accessibility.
Abstract
This thesis explores how large language models (LLMs) can support web development, focusing on a comparison between DeepMind's Gemini models and OpenAI’s GPT models in generating code for both front-end and back-end tasks like HTML, CSS, JavaScript, and PHP. Organized into three main sections, the study covers how LLMs are being used in web development workflows, the foundations of these models, and a detailed comparison of GPT and Gemini in terms of code generation and evaluation performance.
Using a series of experiments, this research evaluates the accuracy and accessibility of both models in handling various coding tasks. It also examines ways to improve model performance through prompt optimization techniques to achieve the most optimal output on the first attempt. An additional section focuses on an accessibility review, assessing Gemini's ability to detect accessibility errors and evaluate its effectiveness in code correction. The findings reveal differences between GPT and Gemini, showing how each model approaches code generation and error correction, as well as their support for web accessibility standards. By optimizing the prompts given to the models, this study demonstrates that LLMs can significantly elevate code quality and enhance web accessibility.
Tipologia del documento
Tesi di laurea
(Laurea)
Autore della tesi
Ji, Junkai
Relatore della tesi
Correlatore della tesi
Scuola
Corso di studio
Ordinamento Cds
DM270
Parole chiave
LLM,Code Generation,Web Accessibility,Gemini
Data di discussione della Tesi
28 Novembre 2024
URI
Altri metadati
Tipologia del documento
Tesi di laurea
(NON SPECIFICATO)
Autore della tesi
Ji, Junkai
Relatore della tesi
Correlatore della tesi
Scuola
Corso di studio
Ordinamento Cds
DM270
Parole chiave
LLM,Code Generation,Web Accessibility,Gemini
Data di discussione della Tesi
28 Novembre 2024
URI
Statistica sui download
Gestione del documento: