Presentation 2023-10-11
Automatic Generation of Class Diagrams by Directing the Class Design Process to ChatGPT
Shogo Kanzaki, Taku Okuno,
PDF Download Page PDF download Page Link
Abstract(in Japanese) (See Japanese page)
Abstract(in English) Creating class diagrams requires experience and knowledge, and is time-consuming and costly. Therefore, this study constructs a system that automatically generates class diagrams using requirement descriptions as input. The system uses ChatGPT, one of the large-scale language models, to automatically generate class diagrams with a certain level of quality by specifying detailed procedures from requirement descriptions to class diagram generation as prompts. Three patterns of prompts were prepared, and experiments were conducted to generate class diagrams in different domains: a library lending management system, a liquor store inventory management system, and a factory monitoring system, to see if the class diagrams generated were valid. The result of the experiment showed that the class diagram generated from the prompt with the most instructions in the multiple domains received the highest evaluation.
Keyword(in Japanese) (See Japanese page)
Keyword(in English) UML Class Diagrams / ChatGPT / Prompt Engineering
Paper # SS2023-21,DC2023-27
Date of Issue 2023-10-04 (SS, DC)

Conference Information
Committee SS / DC
Conference Date 2023/10/11(2days)
Place (in Japanese) (See Japanese page)
Place (in English)
Topics (in Japanese) (See Japanese page)
Topics (in English)
Chair Kozo Okano(Shinshu Univ.) / Tatsuhiro Tsuchiya(Osaka Univ.)
Vice Chair Yoshiki Higo(Osaka Univ.) / Toshinori Hosokawa(Nihon Univ.)
Secretary Yoshiki Higo(Shinshu Univ.) / Toshinori Hosokawa(Tokyo Inst. of Tech.)
Assistant Shinsuke Matsumoto(Osaka Univ.)

Paper Information
Registration To Technical Committee on Software Science / Technical Committee on Dependable Computing
Language JPN
Title (in Japanese) (See Japanese page)
Sub Title (in Japanese) (See Japanese page)
Title (in English) Automatic Generation of Class Diagrams by Directing the Class Design Process to ChatGPT
Sub Title (in English)
Keyword(1) UML Class Diagrams
Keyword(2) ChatGPT
Keyword(3) Prompt Engineering
1st Author's Name Shogo Kanzaki
1st Author's Affiliation Future University Hakodate(FUN)
2nd Author's Name Taku Okuno
2nd Author's Affiliation Future University Hakodate(FUN)
Date 2023-10-11
Paper # SS2023-21,DC2023-27
Volume (vol) vol.123
Number (no) SS-206,DC-207
Page pp.pp.1-6(SS), pp.1-6(DC),
#Pages 6
Date of Issue 2023-10-04 (SS, DC)