Program, information processing method, and information processing device

The program leverages natural language processing to generate software code from user inputs, addressing the need for rapid software development without requiring advanced skills, by converting summary prompts into detailed specifications and executable code, thereby improving efficiency and accessibility.

WO2024218997A1PCT designated stage expired Publication Date: 2024-10-24NEUROBASE INC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/038663
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-21
Filing Date
2023-10-26
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

The rapid pace of software version upgrades and specification changes necessitates a system that can design and develop software without requiring advanced design or development skills, as existing methods are inefficient for engineers without specialized knowledge.

Method used

A program that utilizes a natural language processing model to generate program code from summary prompts, allowing users to input instructions in natural language, images, or a combination of both, to produce detailed specifications and ultimately generate software without needing software design or development expertise.

Benefits of technology

Enables software design and development without requiring specialized skills, reducing the complexity and time needed for software creation by converting high-level inputs into executable code, thus enhancing efficiency and accessibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023038663_24102024_PF_FP_ABST
    Figure JP2023038663_24102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided are a program and the like that make it possible to design and develop software without requiring software design skills or development skills. According to this program, a computer receives an overview prompt indicating an overview of a program code to be generated. The computer enters the received overview prompt into a natural language processing model to obtain a detailed prompt indicating detailed specification content regarding the program code. The computer then enters the obtained detailed prompt into the natural language processing model to obtain the program code.
Need to check novelty before this filing date? Find Prior Art

Description

Program, information processing method, and information processing device

[0001] The present disclosure relates to a program, an information processing method, and an information processing device.

[0002] Patent Literature 1 discloses a technique for designing a screen for software having a graphical user interface (GUI), in which pre-prepared parts are selected and the layout information, attribute information, and setting items of the selected parts are set via a graphical interface. By using such a technique, even engineers who do not have advanced design skills for screen design can easily design an execution screen for the software.

[0003] Patent No. 6570436

[0004] In recent years, the speed at which software is upgraded or its specifications are changed has increased, and there is a demand for faster software design and development. Therefore, there is a demand for a system that allows software design and development without requiring significant software design or development skills.

[0005] In one aspect, an object is to provide a program or the like that enables software design and development without requiring software design or development skills.

[0006] A program according to one aspect receives an overview prompt indicating an overview of the program code to be generated, inputs the received overview prompt into a natural language processing model to obtain a detail prompt indicating detailed specifications of the program code, and inputs the obtained detail prompt into the natural language processing model to cause a computer to execute a process of obtaining the program code.

[0007] In one aspect, software can be designed and developed without requiring software design or development skills.

[0008] FIG. 1 is a block diagram showing an example of a configuration of an information processing device. FIG. 2 is a flowchart showing an example of a program code generation processing procedure. FIG. 3 is a flowchart showing an example of a program code generation processing procedure. FIG. 4 is a flowchart showing an example of a program code generation processing procedure. FIG. 5 is a flowchart showing an example of a program code generation processing procedure. FIG. 6 is an explanatory diagram showing an example of a screen. FIG. 7 is an explanatory diagram showing an example of a screen. FIG. 8 is an explanatory diagram showing an example of a screen. FIG. 9 is an explanatory diagram showing an example of a screen. FIG. 10 is an explanatory diagram showing an example of a screen. FIG. 11 is an explanatory diagram showing an example of a screen. FIG. 12 is a flowchart showing an example of a program code generation processing procedure of embodiment 2. FIG. 13 is an explanatory diagram showing a modified example of an application design screen. FIG. 14 is a flowchart showing an example of a program code generation processing procedure of embodiment 3.

[0009] Hereinafter, a program, an information processing method, and an information processing device according to the present disclosure will be described in detail with reference to the drawings illustrating embodiments thereof.

[0010] (Embodiment 1) In this embodiment, an information processing device will be described that designs and develops an application program (software, hereinafter simply referred to as an application) using instructions (prompts) in natural language (text data) and images, etc. The information processing device of this embodiment can support not only the user's work in designing an application, but also the work in developing an application. Hereinafter, the design and development of an application will be collectively referred to as application design. In this embodiment, an example will be described in which Japanese is used as the natural language, but the natural language is not limited to Japanese, and languages ​​other than Japanese, such as English, French, Vietnamese, Chinese, etc., may also be used. FIG. 1 is a block diagram showing an example of the configuration of an information processing device.

[0011] The information processing device 10 is a computer capable of various information processing and transmitting and receiving information, such as a server computer or a personal computer. The information processing device 10 includes a control unit 11, a memory unit 12, a communication unit 13, an input unit 14, a display unit 15, a reading unit 16, and the like, which are interconnected via a bus. The control unit 11 is configured using one or more processors, such as a central processing unit (CPU), a microprocessing unit (MPU), a graphics processing unit (GPU), a general-purpose computing on graphics processing units (GPGPU), a tensor processing unit (TPU), or an AI chip (AI semiconductor). The control unit 11 executes various information processing and control processes to be performed by the information processing device 10 by appropriately executing a program P stored in the memory unit 12. Note that if the control unit 11 includes multiple processors, the control unit 11 may execute each process using a different processor.

[0012] The storage unit 12 includes a RAM (Random Access Memory), a flash memory, a hard disk, a solid state drive (SSD), etc. The storage unit 12 stores a program P (program product) executed by the control unit 11 and various data required for executing the program P. The storage unit 12 also stores an application (hereinafter referred to as a design support application AP) for implementing a process for supporting application design (generation of program code). The storage unit 12 also temporarily stores data, etc., generated when the control unit 11 executes the program P and the design support application AP. The storage unit 12 also stores a natural language processing model M. The natural language processing model M is a general-purpose large-scale language model (LLM) constructed by performing unsupervised pre-training using a large set of sentences, etc. The natural language processing model M is trained to perform calculations to generate output data corresponding to the content of the input data based on the input data, when input data including, for example, text data and / or image data written in a natural language is input, and to output the generated output data. The natural language processing model M can be constructed using algorithms such as GPT (Generative Pre-trained Transformer)-3, GPT-3.5, GPT-4, and RWKV, and may be constructed by combining multiple algorithms. The natural language processing model M is not limited to the above-described transformer-based model and RNN (Recurrent Neural Network)-based model. The natural language processing model M is expected to be used as a program module constituting artificial intelligence software. The natural language processing model M performs a predetermined calculation on input data and outputs the calculation result. The memory unit 12 stores data such as coefficients and thresholds of functions that define this calculation as the natural language processing model M. Instead of storing the natural language processing model M in the memory unit 12, the information processing device 10 may access a language processing server that stores the natural language processing model M and read it out.

[0013] The communication unit 13 is a communication module for performing processes related to wired or wireless communication, and transmits and receives information to and from other devices via a network. The network may be the Internet, a public telephone network, or a local area network (LAN) established within the facility where the information processing device 10 is installed. The input unit 14 accepts operation inputs from a user and sends control signals corresponding to the operation content to the control unit 11. The input unit 14 includes, for example, a keyboard, a mouse, and a microphone for voice input. The display unit 15 is a liquid crystal display or an organic EL display, and displays various information according to instructions from the control unit 11. A part of the input unit 14 and the display unit 15 may be a touch panel integrally configured.

[0014] The reading unit 16 reads information stored in a portable storage medium 10a, such as a CD (Compact Disc), a DVD (Digital Versatile Disc), a USB (Universal Serial Bus) memory, or an SD (Secure Digital) card. The program P and the design support application AP stored in the storage unit 12 may be read by the control unit 11 from the portable storage medium 10a via the reading unit 16 and stored in the storage unit 12. The program P and the design support application AP may be written to the storage unit 12 during the manufacturing stage of the information processing device 10, or may be downloaded by the control unit 11 from another device via the communication unit 13 and stored in the storage unit 12.

[0015] In this embodiment, the information processing device 10 may be a multi-computer consisting of multiple computers, or may be a virtual machine virtually constructed by software within a single device. Furthermore, if the information processing device 10 is configured as a server computer, the information processing device 10 may be a local server installed in the facility where the information processing device 10 is located, or a cloud server connected to the information processing device 10 via a network such as the Internet. The following description assumes that the information processing device 10 is a single computer. The program P and the design support application AP may be executed on a single computer, or may be distributed and executed on multiple computers interconnected via a network. Furthermore, the input unit 14 and the display unit 15 are not essential to the information processing device 10. The information processing device 10 may be configured to accept operations via a connected computer or to output information to be displayed to an external display device.

[0016] When generating a computer program (program code), the information processing device 10 configured as described above receives a summary of the program code to be generated in the form of at least one of text data written in a natural language, text data converted from speech data spoken in a natural language, and image data. The summary data received by the information processing device 10 will be referred to as a summary prompt hereinafter. Using a natural language processing model M, the information processing device 10 executes a process of generating, from the received summary prompt, a detail prompt (hereinafter referred to as an intermediate prompt) that describes detailed specifications of the program code to be generated in natural language. The information processing device 10 then executes a process of generating program code from the intermediate prompt using the natural language processing model M. In this manner, the information processing device 10 of this embodiment uses the natural language processing model M when generating an intermediate prompt from the summary prompt and when generating program code from the intermediate prompt. The information processing device 10 is configured to accept edits to intermediate prompts using at least one of text data written in a natural language, text data converted from voice data spoken in a natural language, and image data, and updates (modifies) the program code by inputting the edited intermediate prompt into the natural language processing model M. The information processing device 10 of this embodiment also performs processes such as accepting input of an intermediate prompt and generating program code from the accepted intermediate prompt, accepting settings and the like for the program code to be generated via a GUI, and generating program code based on the accepted settings and the like.

[0017] The process of generating program code by the information processing device 10 of this embodiment will be described below. Figures 2 to 6 are flowcharts showing an example of the program code generation process, and Figures 7A to 13 are explanatory diagrams showing example screens. The control unit 11 of the information processing device 10 executes the following process in accordance with the program P and design support application AP stored in the storage unit 12.

[0018] A user who designs an application (generates program code) instructs the information processing device 10 to launch a design support application AP. When the control unit 11 of the information processing device 10 receives an instruction to launch the design support application AP via the input unit 14, the control unit 11 launches the design support application AP and executes the following processing.

[0019] When the control unit 11 of the information processing device 10 launches the design support application AP, it displays, as an initial screen, a screen (not shown) on the display unit 15. The screen has a button for accepting an instruction to create a new application and a button for accepting an instruction to create (update) an application currently being created. When the control unit 11 accepts an instruction to create a new application via the initial screen, it displays an application name input screen on the display unit 15 (S11). The control unit 11 displays, for example, an application name input screen such as that shown in FIG. 7A. The screen shown in FIG. 7A has an input field for an application name to be assigned to the newly created application and a Create button for instructing the start of generation of an application with the input application name. Note that the application name input screen may have an input field for meta information, such as a description of the application to be created, in addition to the input field for the application name. The control unit 11 accepts input of an application name via the input unit 14 into the input field of the application name input screen (S12). When the control unit 11 accepts input of the application name, it displays the accepted application name in the input field.

[0020] The control unit 11 determines whether the Create button on the application name input screen has been operated (S13). If it determines that the Create button on the application name input screen has not been operated (S13: NO), the control unit 11 returns to step S12 and continues accepting input of the application name in the input field. If it determines that the Create button on the application name input screen has been operated (S13: YES), the control unit 11 displays an application design screen for the newly created application on the display unit 15 (S14). The control unit 11 displays, for example, an application design screen such as that shown in FIG. 7B. The screen shown in FIG. 7B is a design screen that accepts operations for designing an application with the application name "AAA App." The screen shown in FIG. 7B has a menu field R1, a GUI field R2, and a prompt wizard field R3. The menu field R1 displays menu items for selecting items that can be set for the application to be created. In the example of FIG. 7B, the menu items Data, Screen, Theme, Language, and Others are displayed. Note that the menu items are not limited to the example in Fig. 7B, and may be changeable (added and deleted) for each user or each application to be generated. Also, the menu items may be configured to be arbitrarily set, for example, the Data and Screen menu items may be required items, while other menu items may be changeable.

[0021] The GUI field R2 is an area that accepts, via a graphical interface, input of setting information related to each item that can be set for the application. When one of the menu items displayed in the menu field R1 is selected, the GUI field R2 switches to display a screen that accepts input of setting information for the selected menu item. FIG. 7B shows an example of the display when the Data menu item is selected. Note that Data is a menu item for accepting input of setting information related to data handled by the application, Screen is a menu item for accepting input of setting information related to the display screen of the application, Theme is a menu item for accepting input of setting information related to the theme color of the application, Language is a menu item for accepting input of setting information related to the language used in the application, and Others is a menu item for accepting input of setting information related to content other than the above.

[0022] The GUI field R2 shown in FIG. 7B includes an input field I1 for entering the name of the data (e.g., a database) to be newly created, and a +Add button for instructing the creation of a database with the name entered in the input field I1. When the name of the database is entered in the input field I1 and the +Add button is operated, the control unit 11 of the information processing device 10 displays an input screen (not shown) for information about the newly created database and accepts input of information about the database via the input screen. The input screen here has input fields for accepting input of, for example, the type of database (data store) (e.g., information about its purpose), the names of the data fields the database has, the type of data stored in each data field (e.g., alphabets, numbers, symbols, etc.), the number of digits, and the amount of data. When input of information about the new database is accepted via this input screen, the control unit 11 of the information processing device 10 closes the display of the input screen and displays the entered information about the database in the GUI field R2. 7B shows the initial state of the application design screen, so nothing is displayed in the GUI field R2, but when information about a database is input, for example, the name of the database (Data-Name), the ID assigned to the database, the type of the database (Type), etc. When setting information for each menu item is input via the GUI field R2, the control unit 11 of the information processing device 10 reflects the input setting information in the prompt wizard field R3.

[0023] The prompt wizard field R3 is an area that accepts setting information for each configurable item of the application via natural language and / or image input, and includes a summary prompt field I2 and an intermediate prompt field I3. Since FIG. 7B shows the initial state, the summary prompt field I2 and the intermediate prompt field I3 are blank (blank). The summary prompt field I2 is an input field that accepts summary prompt input, including the overview and purpose of the application to be generated, via one or more of natural language (text data), image data, and voice input. The summary prompt field I2 is also configured to accept execution instructions for processing to be executed by the control unit 11 of the information processing device 10 in accordance with the design support application AP, such as instructions to change already-generated intermediate prompts, instructions to change already-generated program code, instructions to commit program code being created, and instructions to execute a build process for the program code, via one or more of natural language, image data, and voice input. The intermediate prompt field I3 is a preview field that displays detailed specifications (intermediate prompts) of the application to be generated in natural language, and is configured to allow editing (changes) of the displayed specifications. In this embodiment, the intermediate prompt field I3 displays, for each menu item, a specification (intermediate prompt) generated using the natural language processing model M from the overview prompt entered in the overview prompt field I2. The intermediate prompt field I3 is configured to allow direct input of intermediate prompts via the input unit 14, and displays not only intermediate prompts generated from overview prompts but also directly entered intermediate prompts. Specifically, the intermediate prompt field I3 is provided corresponding to each menu item displayed in the menu field R1, and displays information related to the settings of each menu item. In the example of FIG. 7B , the intermediate prompt field I3 for Data Schema (data structure) displays information related to the settings of the Data menu item, such as specifications related to the structure of a database used in an application (e.g., the type of database, the names of data fields, and the type of data).The Screen Definition intermediate prompt field I3 displays information about the settings of the Screen menu items, such as specifications for the screen configuration and screen transitions (routing) used in the application. The Theme Color intermediate prompt field I3 displays information about the settings of the Theme menu items, such as specifications for the theme color set for the entire application. The Language intermediate prompt field I3 displays information about the settings of the Language menu items, such as the type of language used in the application. The Others intermediate prompt field I3 displays information about the settings of the Others menu items, such as settings for items to be defined other than the above-mentioned specifications (intermediate prompts). The intermediate prompt field I3 is configured to accept edits (changes) to the displayed intermediate prompts using one or more of natural language (text data), images, and voice input. The intermediate prompt field I3 is not limited to the example shown in FIG. 7B , nor is it limited to a configuration corresponding to each menu item. For example, the Language intermediate prompt field I3 may not be provided, and information about the settings of the Language menu item may be displayed in the Others intermediate prompt field I3. Also, if a menu item can be changed, an intermediate prompt field I3 corresponding to the changed menu item is provided in the prompt wizard field R3.

[0024] In the prompt wizard field R3 shown in FIG. 7B , the summary prompt field I2 is configured to accept text input via the input unit 14. The summary prompt field I2 is also configured to accept an application summary prompt via image input or voice input via a microphone, and is provided with an image input button B1 and a voice input button B2. When the image input button B1 is operated, the control unit 11 of the information processing device 10 displays a selection screen (not shown) for selecting an arbitrary image file stored in the memory unit 12, etc., and accepts the selection of an image file containing an application summary via the selection screen. The image file here is a file containing an image in which the application summary is written in text (natural language). For example, an image file obtained by scanning a paper on which the application summary is handwritten can be used. Note that the image file may also contain text data in addition to the image. Furthermore, the data in the image file may be not only text information but also an image image that cannot be converted into natural language (text), such as image data generated using an image generation AI that generates an image by inputting text data, etc. When the voice input button B2 is operated, the control unit 11 of the information processing device 10 collects sound using the microphone of the input unit 14, acquires voice data uttered by the user, performs voice recognition processing on the acquired voice data to generate text data of the spoken content, and acquires the generated text data as a summary prompt. The summary prompt field I2 may also be configured to accept input of the summary prompt using a text file containing a summary of the application in text data. The summary prompt field I2 may also be configured to accept input of the summary prompt using data of any type or format, such as a video file, a PDF (Portable Document Format) file, or a binary file. The summary prompt field I2 may also be configured to accept input of the summary prompt interactively.For example, a configuration may be adopted in which a question regarding the summary prompt is displayed in the summary prompt field I2, and the summary prompt is input by the user inputting an answer to the question. Also, for example, when the user inputs a summary prompt, the control unit 11 inputs the input summary prompt to the natural language processing model M, and displays output data output from the natural language processing model M as an answer, and the user inputs an additional summary prompt in response to this answer, thereby inputting the summary prompt.

[0025] The prompt wizard field R3 in FIG. 7B is provided with an Apply button B3 associated with the overview prompt field I2 for instructing execution of a process for generating an intermediate prompt based on the overview prompt entered in the overview prompt field I2. Also, an Apply button B4 associated with the intermediate prompt field I3 for instructing execution of a process for generating program code based on the intermediate prompts displayed in each intermediate prompt field I3 is provided. Also, a screen switching button B5 is provided for instructing a large-screen display of only the prompt wizard field R3 in the display area of ​​the GUI field R2 and the prompt wizard field R3. Furthermore, the prompt wizard field R3 in FIG. 7B is provided with a history display field R4, which displays update history information for the intermediate prompt. Specifically, the history display field R4 displays the generation history or change history of the intermediate prompt when an intermediate prompt is generated or changed based on the overview prompt entered in the overview prompt field I2, and displays the input history or change history of the intermediate prompt when an intermediate prompt is input or changed in the intermediate prompt field I3. Furthermore, when program code is input or changed via the GUI field R2, an intermediate prompt is generated from the updated program code, and then the change history of the intermediate prompt is displayed in the history display field R4. Since Fig. 7B shows the initial state, nothing is displayed in the history display field R4 of Fig. 7B , but history information indicating, for example, that application creation has started may be displayed. The change history information is managed by version information (version number) that indicates the order in which the intermediate prompt was generated or changed, and is configured so that the user can restore the intermediate prompt and program code to the version state desired and re-update the intermediate prompt and program code from that version state.For example, the control unit 11 is configured to accept an instruction (a downgrade execution instruction) to restore any history information displayed in the history display field R4 to the state immediately before or immediately after the execution of the process indicated by the history information. When a downgrade execution instruction is received for any history information, the control unit 11 is configured to restore the intermediate prompts and program code to the state immediately before (e.g., immediately before an editing process) or immediately after (e.g., immediately after the editing process) the process indicated by the history information was executed. In this case, the control unit 11 restores the display content of the application design screen to the intermediate prompts and program code immediately before or immediately after the execution of the process indicated by the history information. This configuration allows the intermediate prompts and program code to be restored to a desired state (the state of a desired version), enabling efficient editing by repeatedly executing and redoing edits to the intermediate prompts and program code. The application design screen is not limited to the configuration shown in FIG. 7B . For example, the prompt wizard field R3 may be configured, like the GUI field R2, so that when a menu item in the menu field R1 is selected, the intermediate prompt field I3 corresponding to the selected menu item is switched and displayed. Furthermore, the prompt wizard field R3 may be divided into a plurality of fields, and each prompt wizard field R3 may display an intermediate prompt field I3 for the menu item that has been set.

[0026] On the application design screen configured as described above, for example, when a user generates software (program code) using natural language via the prompt wizard field R3, the user inputs a summary prompt in the summary prompt field I2 or an intermediate prompt in the intermediate prompt field I3 and operates the Apply button B3 or B4. When generating software via the GUI provided in the GUI field R2, the user inputs settings for each menu item via the GUI. When inputting program code, the user inputs the program code via the input field provided in the GUI field R2. For example, as shown in FIG. 13 , the GUI field R2 is provided with a program code input field (display field), allowing the user to enter program code via this input field. Furthermore, when history information is displayed in the history display field R4, the user can revert the intermediate prompt and program code to any version by instructing downgrade of any history information.

[0027] The control unit 11 of the information processing device 10 determines whether or not input of a summary prompt has been received via the summary prompt field I2 on the screen shown in FIG. 7B (S15). If it determines that input of a summary prompt has been received (S15: YES), the control unit 11 proceeds to step S20. If it determines that input of a summary prompt has not been received (S15: NO), the control unit 11 determines whether input of an intermediate prompt has been received via the intermediate prompt field I3 (S16). If it determines that input of an intermediate prompt has been received (S16: YES), the control unit 11 proceeds to step S48. If it determines that input of an intermediate prompt has not been received (S16: NO), the control unit 11 determines whether input of setting contents has been received via the GUI provided in the GUI field R2 (S17). If it determines that input of setting contents has been received (S17: YES), the control unit 11 proceeds to step S73. If the control unit 11 determines that the input of setting contents has not been accepted via the GUI (S17: NO), it determines whether or not the input of program code has been accepted via the GUI field R2 (S18), and if it determines that the input has been accepted (S18: YES), it proceeds to step S88. If the control unit 11 determines that the input of program code has not been accepted (S18: NO), it determines whether or not an instruction to execute downgrade has been accepted (S19), and if it determines that the instruction has been accepted (S19: YES), it proceeds to step S102. If the control unit 11 determines that the instruction to execute downgrade has not been accepted (S19: NO), it returns to step S15.

[0028] If it is determined that the input of the overview prompt has been accepted (S15: YES), the control unit 11 accepts the accepted overview prompt and displays it in the overview prompt field I2 on the application design screen (S20). Here, the control unit 11 may accept the input of the overview prompt by text input via the input unit 14, by image input by operating the image input button B1, or by voice input by operating the voice input button B2. Furthermore, the control unit 11 may accept the input of the overview prompt by various types of files or data, such as text files, video files, PDF files, and binary files. Next, the control unit 11 determines whether the Apply button B3 has been operated (S21). If it determines that the Apply button B3 has not been operated (S21: NO), the control unit 11 returns to the processing of step S20 and continues accepting the input of the overview prompt in the overview prompt field I2.

[0029] When the control unit 11 determines that the Apply button B3 has been operated (S21: YES), it generates an intermediate prompt based on the input summary prompt (S22). Here, the control unit 11 inputs the summary prompt input into the summary prompt field I2—specifically, the summary prompt currently displayed in the summary prompt field I2—to the natural language processing model M, and the natural language processing model M acquires an intermediate prompt describing detailed specifications of the application to be generated in natural language. The summary prompt includes text data and / or image data. The control unit 11 may input the summary prompt directly to the natural language processing model M, or may input the summary prompt to the natural language processing model M after adding a message to the beginning of the summary prompt for controlling the output result from the natural language processing model M, such as, for example, "Please create a detailed specification document for software with the following content." Furthermore, if the natural language processing model M is configured to accept images and the input summary prompt includes an image, the control unit 11 inputs the summary prompt including the image to the natural language processing model M. In addition to inputting the image included in the summary prompt directly into the natural language processing model M, the control unit 11 may also generate text data from the image using an OCR (Optical Character Recognition) function and input the generated text data into the natural language processing model M. Furthermore, the intermediate prompt output by the natural language processing model M may include not only text data describing the specifications of the application to be generated in natural language, but also image data (still images and videos) corresponding to the content of the summary prompt. For example, the natural language processing model M may be configured to output a file such as image data (still images and videos) input as the summary prompt, either directly or with some processing. Furthermore, the natural language processing model M may be configured to generate and output a file such as image data based on the content of the summary prompt. By using such a natural language processing model M, it is possible to generate, for example, a screen design for an application from the content of the summary prompt.

[0030] The control unit 11 displays the generated intermediate prompt in the intermediate prompt field I3 (S23). The control unit 11 displays, for example, an application design screen such as that shown in FIG. 8 . The application design screen shown in FIG. 8 shows a state in which the prompt wizard field R3 is displayed on a large screen, and the screen switching button B5 in the screen shown in FIG. 8 has been modified to accept an instruction to switch to a screen displaying the GUI field R2 and the prompt wizard field R3 side by side. In the screen shown in FIG. 8 , a summary prompt, "Please create an application with a member login function and a members-only blog function," is entered in the summary prompt field I2, and intermediate prompts generated from the summary prompt are displayed in the intermediate prompt field I3 for each menu item. When inputting the summary prompt into the natural language processing model M, the control unit 11 instructs the natural language processing model M to output output data for each setting item (menu item). For example, the control unit 11 adds a message for controlling the output result from the natural language processing model M, such as "Please create detailed specifications for the data schema (data structure)," to the summary prompt and then inputs the message into the natural language processing model M. This allows the control unit 11 to obtain an intermediate prompt generated by the natural language processing model M for each menu item, and to display the obtained intermediate prompt in each intermediate prompt field I3.

[0031] The control unit 11 may also input a summary prompt to the natural language processing model M, divide the output data output from the natural language processing model M into each setting item (menu item), and display the corresponding items in the intermediate prompt field I3. For example, the control unit 11 may search for terms related to Data Schema in the output data from the natural language processing model M, extract content related to Data Schema from the search results, and display the extracted content in the Data Schema intermediate prompt field I3. Similarly, the control unit 11 may search for terms related to Screen Definition in the output data from the natural language processing model M, extract content related to Screen Definition from the search results, and display the extracted content in the Screen Definition intermediate prompt field I3. The control unit 11 may also search for terms related to Theme Color in the output data from the natural language processing model M, extract content related to Theme Color from the search results, and display the extracted content in the Theme Color intermediate prompt field I3. The control unit 11 may also search for terms related to Language in the output data from the natural language processing model M, extract content related to Language from the search results, and display the extracted content in the Language intermediate prompt field I3. The control unit 11 may then display the remaining content that was not extracted in the Others intermediate prompt field I3. Even in this configuration, an intermediate prompt generated from the overview prompt using the natural language processing model M is displayed in the intermediate prompt field I3 corresponding to each menu item.

[0032] The control unit 11 generates history information (generation history information of the intermediate prompt) indicating the details of the generation process that generated the intermediate prompt from the overview prompt, adds version information (version number) to the generated history information, stores the history information in the storage unit 12, and displays the history information in the history display field R4 of the application design screen (S24). The screen shown in FIG. 8 displays history information including the input content of the overview prompt and the date and time when the intermediate prompt was generated from the overview prompt. The history display field R4 includes an uncommitted field R4b that displays history information in a state where the intermediate prompt and program code being created have not been committed (hereinafter referred to as the uncommitted state), and a committed field R4a that displays history information in a state where the intermediate prompt and program code being created have been committed (hereinafter referred to as the committed state). In this example, since the generated intermediate prompt is in the uncommitted state, the control unit 11 displays the generation history information of the intermediate prompt in the uncommitted field R4b. The control unit 11 highlights the uncommitted history information by underlining it, as shown in FIG. 8 . The control unit 11 also displays a Revert button in the uncommitted column R4b for canceling the process (here, the process of generating an intermediate prompt from an overview prompt) for the uncommitted history information, and a Commit button B6 for confirming the uncommitted intermediate prompt. When the Revert button is operated, the control unit 11 returns the display contents of the overview prompt column I2, the intermediate prompt column I3, and the history display column R4 to the state before the process for the uncommitted history information was executed. This allows the intermediate prompt and program code being created to be restored to the state before the process for the history information was executed. Note that when the Revert button is operated, the control unit 11 may leave the overview prompt entered in the process indicated by the history information displayed, without restoring the display contents of the overview prompt column I2 to the state before the process indicated by the history information was executed. In this case, there is no need to re-enter the overview prompt; a new overview prompt can be entered by editing the overview prompt already entered.When the Commit button B6 is operated, if program code corresponding to the intermediate prompt displayed in the intermediate prompt column I3 has not yet been generated, the control unit 11 generates the program code and confirms the intermediate prompt and program code (putting them in a committed state). The control unit 11 moves the history information corresponding to the committed intermediate prompt and program code to the commit column R4a, as shown in FIG. 10A , for example, and displays it. At this time, the control unit 11 stops highlighting the history information and displays it in the commit column R4a. The control unit 11 may also input the input content of the overview prompt into the natural language processing model M, generate a summary of the input content, and use the summary as intermediate prompt generation history information. In the state shown in FIG. 8 (where an intermediate prompt is generated from the overview prompt and displayed), the overview prompt can be edited (added and deleted) in the overview prompt column I2. The user visually checks the intermediate prompt, edits the overview prompt as necessary, and then operates the Apply button B3 again.

[0033] In the state shown in FIG. 8 , the control unit 11 determines whether an edit to the overview prompt displayed in the overview prompt field I2 has been accepted (S25). If it determines that an edit has been accepted (S25: YES), the process returns to step S20 and repeats steps S20 to S24. Specifically, the control unit 11 displays the edited overview prompt in the overview prompt field I2. When the Apply button B3 is operated, the control unit 11 uses the natural language processing model M to generate an intermediate prompt from the edited overview prompt. The generated intermediate prompt is displayed in the intermediate prompt field I3, and history information about the intermediate prompt generation process is displayed in the uncommitted field R4b of the history display field R4. Note that, in this case, the intermediate prompt generated based on the previously input overview prompt is displayed in the intermediate prompt field I3. Therefore, in step S22, the control unit 11 may input the intermediate prompt displayed in the intermediate prompt field I3 to the natural language processing model M in addition to the edited overview prompt, thereby generating a new intermediate prompt (an intermediate prompt corresponding to the edited overview prompt). Furthermore, the control unit 11 may extract the difference (changes) between the overview prompt before and after editing, and generate a new intermediate prompt by inputting the changes to the overview prompt and the intermediate prompt currently displayed in the intermediate prompt column I3 into the natural language processing model M. As a result, the display content of the intermediate prompt column I3 is updated to an intermediate prompt corresponding to the updated overview prompt, and the display content of the uncommitted column R4b is updated to history information related to the updated intermediate prompt.

[0034] Through the processing up to this point, the control unit 11 displays, for example, an application design screen such as that shown in FIG. 9 on the display unit 15. In the screen shown in FIG. 9 , the edited overview prompt is displayed in the overview prompt field I2, the intermediate prompt corresponding to the edited overview prompt is displayed in the intermediate prompt field I3, and the history display field R4 (uncommitted field R4b) highlights the history information of the process that generated the new intermediate prompt. Note that in FIG. 9 , the content changed (added) by editing the overview prompt is highlighted by underlining in the intermediate prompt field I3 of the Screen Definition, but this highlighting is not required. Furthermore, the content changed by editing may also be highlighted for the edited overview prompt displayed in the overview prompt field I2. Such highlighting allows the user to easily understand the content of the overview prompt that the user added and the content of the intermediate prompt that was changed by editing the overview prompt. In the screen shown in FIG. 9 , when the control unit 11 receives a cancel instruction for uncommitted history information, it can restore the display contents of the overview prompt field I2, intermediate prompt field I3, and history display field R4 to the state before the process in the history information was executed.

[0035] 8 and 9, if the control unit 11 determines that no edits to the overview prompt have been accepted (S25: NO), it determines whether the Apply button B4 associated with the intermediate prompt field I3 has been operated (S26). If it determines that the Apply button B4 has been operated (S26: YES), the control unit 11 generates program code based on the intermediate prompt currently displayed in the intermediate prompt field I3 (S27). Here, the control unit 11 generates text data in a natural language by associating each menu item with the intermediate prompt displayed in the intermediate prompt field I3 for each menu item, inputs the generated text data into the natural language processing model M, and uses the natural language processing model M to obtain program code for the application to be generated. The control unit 11 may input the generated text data (intermediate prompt) directly to the natural language processing model M, or may add, for example, information on the format of the program to be generated (function name, argument and return value type information, etc.) or a message for controlling the output result from the natural language processing model M, such as "Please create program code for the application with the following content," to the beginning of the text data before inputting it to the natural language processing model M. Furthermore, if the intermediate prompt includes not only text data but also image data, etc., the control unit 11 inputs the image data, etc., along with the text data, to the natural language processing model M and acquires the program code from the natural language processing model M.

[0036] The control unit 11 executes a build process on the generated program code (S29). The build process analyzes the program code (source code) for problems (errors, bugs, etc.) and, if there are no problems, converts the program code into an executable file (executable file). If there are problems, the control unit 11 outputs error information indicating the detected problem. The control unit 11 determines whether the build process was successful (S30). If the control unit 11 determines that the build process failed (S30: NO), for example, if error information is output as a result of the build process, the control unit 11 outputs an error message notifying the user that the build process failed (S31), and returns to the process of step S25. For example, the control unit 11 displays the error message on the application design screen, and the user edits the overview prompt displayed in the overview prompt field I2 based on the error content. If the control unit 11 receives new edits to the overview prompt (S25: YES), the control unit 11 repeats the processes of steps S20 to S24.

[0037] If it is determined that the build process was successful (S30: YES), the control unit 11 displays the settings (setting information) for each menu item in the GUI column R2 of the application design screen based on the generated program code (S32). The control unit 11 displays, for example, an application design screen (GUI column R2) such as that shown in FIG. 11 or 12. The control unit 11 also displays the setting information for the menu item selected via the menu column R1 in the GUI column R2. FIG. 11 shows an example of the display in the GUI column R2 when the "Theme" menu item is selected, and FIG. 12 shows an example of the display in the GUI column R2 when the "Screen" menu item is selected.

[0038] Next, the control unit 11 executes a deploy process on the executable file generated from the program code by the build process (S33). The deploy process is a process of storing the executable file in the desired environment (device) and running the application by executing the executable file. By performing the deploy process, the control unit 11 can display a screen preview of the application in the GUI column R2, as shown in FIG. 11 . The control unit 11 then generates history information by associating the program code generated in step S27, the intermediate prompt used to generate the program code, and version information assigned to the intermediate prompt (e.g., a version number, specifically, the version number assigned to the history information in step S24), and stores the history information in, for example, the storage unit 12 (S34). This allows the intermediate prompt and program code to be associated with the version information of the intermediate prompt. For example, when a downgrade execution instruction is received based on the history information displayed in the history display column R4 (commit column R4a), the control unit 11 can restore the specified version of the intermediate prompt and program code. When the control unit 11 generates program code for the application to be generated for the first time, the control unit 11 stores the generated program code in a file with a preset file name or a file name generated according to preset rules. When program code has already been generated for the application to be generated, the control unit 11 overwrites the generated program code in the already generated file. When storing intermediate prompts, the control unit 11 stores the menu items (Data Schema, Screen Definition, Theme Color, Language, and Others) in association with the intermediate prompts displayed in the respective intermediate prompt columns I3.

[0039] 8 and 9, if it is determined that the Apply button B4 associated with the intermediate prompt field I3 has not been operated (S26: NO), the control unit 11 proceeds to step S35 and determines whether the Commit button B6 in the uncommitted field R4b has been operated (S35). If it is determined that the Commit button B6 has not been operated (S35: NO), the control unit 11 returns to the processing of step S25 and waits until an edit to the summary prompt is accepted, the Apply button B4 is operated, or the Commit button B6 is operated.

[0040] If the control unit 11 determines that the Commit button B6 has been operated on the screens of Figures 8 and 9 (S35: YES), the control unit 11 determines whether program code has already been generated by operating the Apply button B4, a build process has been executed on the generated program code, and whether the executed build process was successful (S36). If the control unit 11 determines that a build process has not been executed (S36: NO), the control unit 11 executes the same processes as steps S27 to S34 (S37 to S44). That is, when the Apply button B4 or the Commit button B6 is operated on the screens of Figures 8 and 9, the control unit 11 performs a process of generating program code from the intermediate prompt currently displayed in the intermediate prompt field I3, and a build and deploy process for the program code. Note that when generating program code, if program code has already been generated, the control unit 11 may generate new program code by inputting the already generated program code into the natural language processing model M in addition to the intermediate prompt currently displayed in the intermediate prompt field I3. In addition, when program code has already been generated, the control unit 11 may extract the difference between the intermediate prompt used to generate the generated program code (the intermediate prompt of the previous version) and the intermediate prompt displayed in the intermediate prompt column I3 at this point (the intermediate prompt of the latest version), and generate the latest version of the program code by inputting the extracted difference and the generated program code (the program code of the previous version) into the natural language processing model M.

[0041] If the control unit 11 determines that the build process was successful (S36: YES), or after the process of step S44, it confirms the intermediate prompt currently displayed in the intermediate prompt column I3 and the program code generated from this intermediate prompt (S45). That is, the control unit 11 commits the intermediate prompt and program code stored in the storage unit 12 in step S34 or step S44. Therefore, when the Commit button B6 in the uncommitted column R4b is operated, the current intermediate prompt and program code are temporarily confirmed. The control unit 11 then updates the prompt wizard column R3 of the currently displayed application design screen (S46). For example, as shown in FIG. 10A, the control unit 11 updates the summary prompt column I2 to a blank state, stops highlighting the history information displayed in the uncommitted column R4b, and moves it to the committed column R4a. In this case, the uncommitted column R4b is deleted. 10A, it is possible to input a new overview prompt into the overview prompt field 12 and edit an intermediate prompt into the intermediate prompt field 13. The user visually checks the intermediate prompt displayed in the intermediate prompt field 13 and, as necessary, inputs a new overview prompt or edits the intermediate prompt.

[0042] The control unit 11 determines whether an instruction to terminate the program code generation process has been received (S47). For example, the control unit 11 determines whether an instruction to terminate the design support application AP has been received via the input unit 14. If the control unit 11 determines that an instruction to terminate has not been received (S47: NO), the control unit 11 returns to the process of step S15 and executes the processes of steps S20 to S46 each time a summary prompt is input or edited via the summary prompt field I2. As a result, each time a summary prompt is input or edited, an intermediate prompt is generated based on the input or edited summary prompt, and program code is generated based on the generated intermediate prompt. If the control unit 11 determines that an instruction to terminate has been received (S47: YES), the control unit 11 terminates the series of processes.

[0043] If it is determined in step S16 that an input of an intermediate prompt has been received via the intermediate prompt field I3 (S16: YES), the control unit 11 receives the input intermediate prompt and displays it in the intermediate prompt field I3 on ​​the application design screen (S48). If an intermediate prompt is already displayed in the intermediate prompt field I3, the control unit 11 receives edits to the intermediate prompt and displays the received edited intermediate prompt. The control unit 11 is configured to receive input of the intermediate prompt by text input, voice input, or image input via the input unit 14. The control unit 11 is also configured to receive input of an intermediate prompt by clicking a mouse on any position in the displayed intermediate prompt to specify an insertion position, and to receive content to be inserted by text input, voice input, or image input, thereby receiving edits to the intermediate prompt. When inputting and editing the intermediate prompt, the control unit 11 may also receive data of any type or format, such as a text file, an image file, a video file, a PDF file, or a binary file.

[0044] The control unit 11 adds a version number to the editing history information indicating the input or edited content of the intermediate prompt and stores it in the storage unit 12. The control unit 11 also displays the editing history information in the uncommitted field R4b of the application design screen (S49). The control unit 11 displays, for example, an application design screen such as that shown in FIG. 10B . In the screen of FIG. 10B , the edited intermediate prompt is displayed in the intermediate prompt field I3 for Theme Color, and the editing history information of the intermediate prompt and the Commit button B6 are displayed in the uncommitted field R4b of the history display field R4. The editing history information of the intermediate prompt includes the name of the edited menu item (Theme in FIG. 10B ) and the date and time of the edit. In the screen of FIG. 10B , the uncommitted field R4b can also accept a cancel instruction for the uncommitted history information via the Revert button. When the Revert button is operated, the control unit 11 can restore the display contents of the intermediate prompt field I3 and the history display field R4 to the state before the execution of the process in the history information displayed in the uncommitted field R4b. Furthermore, the control unit 11 may input the input content or edited content of the intermediate prompt into the natural language processing model M, generate a summary of the input content or edited content, and use the summary as the editing history information of the intermediate prompt.

[0045] 10B (the state in which an intermediate prompt has been input or edited), it is possible to edit (add and delete) the intermediate prompt in the intermediate prompt column I3, and the user visually checks the intermediate prompt and edits the intermediate prompt as necessary. The control unit 11 determines whether or not the edit for the intermediate prompt has been accepted (S50), and if it determines that the edit has been accepted (S50: YES), the control unit 11 returns to the processing of step S48 and repeats the processing of steps S48 to S50. As a result, each time an edit is made to the intermediate prompt, the control unit 11 updates the display content of the intermediate prompt column I3 to the edited intermediate prompt and updates the display content of the uncommitted column R4b to the history information related to the updated intermediate prompt.

[0046] In the screen shown in FIG. 10B , if the control unit 11 determines that no edits to the intermediate prompt have been accepted ( S50: NO), it determines whether the Apply button B4 associated with the intermediate prompt field I3 has been operated ( S51 ). If it determines that the Apply button B4 has been operated ( S51: YES), it executes the same processes as steps S27 to S34 ( S52 to S59 ). That is, when the Apply button B4 is operated on the screen shown in FIG. 10B , the control unit 11 performs a process of generating program code from the intermediate prompt currently displayed in the intermediate prompt field I3, and a build process and a deploy process for the program code. In step S52, if program code has already been generated, the control unit 11 may generate new program code by inputting the generated program code into the natural language processing model M in addition to the intermediate prompt currently displayed in the intermediate prompt field I3. Alternatively, the control unit 11 may extract differences between the intermediate prompt before and after editing and input the extracted differences and the generated program code into the natural language processing model M to generate the latest version of the program code. Also, in step S59, the control unit 11 generates history information by associating the program code generated in step S52, the edited intermediate prompt input in step S48, and the version information assigned to this intermediate prompt, and stores the information in, for example, the memory unit 12 (S59).

[0047] 10B , if the Apply button B4 associated with the intermediate prompt field I3 has not been operated (S51: NO), the control unit 11 proceeds to step S60 and determines whether the Commit button B6 in the uncommitted field R4b on the screen has been operated (S60). If the control unit 11 determines that the Commit button B6 has not been operated (S60: NO), the control unit 11 returns to the processing of step S50 and waits until an edit to the intermediate prompt is accepted, the Apply button B4 is operated, or the Commit button B6 is operated.

[0048] 10B (YES in S60), the control unit 11 determines whether program code has already been generated by operating the Apply button B4, a build process has been executed on the generated program code, and whether the executed build process was successful (S61). If it determines that a build process has not been executed (NO in S61), the control unit 11 executes the same processes as steps S52 to S59 (S62 to S69). That is, when the Apply button B4 or the Commit button B6 is operated on the screen of FIG. 10B, the control unit 11 executes a process of generating program code from the intermediate prompt currently displayed in the intermediate prompt column I3, and a build process and deployment process for the program code.

[0049] When the control unit 11 determines that the build process was successful (S61: YES), or after the processing of step S69, the control unit 11 confirms the intermediate prompt currently displayed in the intermediate prompt column I3 and the program code generated from this intermediate prompt (S70). Therefore, when the Commit button B6 in the uncommitted column R4b is operated, the intermediate prompt and program code at this point become committed. The control unit 11 then updates the prompt wizard column R3 of the currently displayed application design screen (S71). Step S71 is the same process as step S46, and the prompt wizard column R3 is updated to the state shown in FIGS. 11 and 12. Specifically, the control unit 11 ends the highlighting of the history information currently displayed in the uncommitted column R4b, moves it to the committed column R4a, and deletes the uncommitted column R4b. The control unit 11 determines whether an instruction to end the program code generation process has been received (S72). If it determines that an instruction has not been received (S72: NO), the control unit 11 returns to the process of step S15 and executes the processes of steps S48 to S71 each time an intermediate prompt is input or edited via the intermediate prompt field I3. As a result, each time an intermediate prompt is input or edited, program code is generated based on the input or edited intermediate prompt. If the control unit 11 determines that an instruction to end the process has been received (S72: YES), the control unit 11 ends the series of processes.

[0050] If it is determined in step S17 that input of settings has been accepted via the GUI provided in the GUI field R2 (S17: YES), the control unit 11 accepts the input settings and displays them in the GUI field R2 on the application design screen (S73). If settings are already displayed in the GUI field R2, the control unit 11 accepts edits to the displayed settings and displays the accepted edited settings. The GUI field R2 displays the settings of the menu item selected via the menu field R1. FIG. 11 shows the GUI field R2 displaying the settings of the Theme menu item, displaying the settings for each of the theme colors of the application: base color (background color), main color, text color, and accent color. In the example of FIG. 11, the control unit 11 displays the settings of each color in the GUI field R2, including the color code assigned to each set color, a color palette B7 displaying each color, and a preview of the screen using each color. The color palette B7 is configured to accept changes to the settings of each color. For example, when one of the color palettes B7 is operated (e.g., clicked with a mouse), the control unit 11 of the information processing device 10 displays a list of selectable colors, and when a selection of one of the colors is accepted, the control unit 11 updates the settings (the set color of each color) to the selected color. When the set content of one of the colors is changed, the control unit 11 displays the color code and color palette B7 of the changed color, as well as a preview of the screen using the changed color. The GUI field R2 in the screen of FIG. 11 includes an Apply button B8 for instructing application (reflection) of the changes made via the color palette B7. After changing the set content of one of the colors via the color palette B7 in the screen of FIG. 11, the user operates the Apply button B8 to update (apply) the changed content.

[0051] 12 and 13 show a GUI field R2 displaying the settings for the Screen menu items, displaying the settings for the display screens in the application. The GUI field R2 shown in FIG. 12 displays a screen transition diagram (routing), displaying the name of each screen and the ID assigned to the screen for each screen. The GUI field R2 in FIG. 12 also includes an Edit button B10 associated with each screen for instructing the execution of an editing process for that screen and a Delete button B11 for instructing the deletion of that screen. The GUI field R2 in FIG. 12 also includes an Apply button B9 for instructing the application (reflection) of the deletion of the screen corresponding to the Delete button B11 operated when the Delete button B11 corresponding to that screen is operated. After operating one of the Delete buttons B11 in the screen shown in FIG. 12, the user operates the Apply button B9 to update (apply) the operation contents.

[0052] When the edit button B10 for any screen is operated in the GUI field R2 of FIG. 12 , the control unit 11 of the information processing device 10 displays the settings for the screen corresponding to the operated edit button B10, as shown in FIG. 13 . The GUI field R2 of FIG. 13 shows an example of a display when the edit button B10 corresponding to the Home Screen is operated in the GUI field R2 of FIG. 12 . The GUI field R2 (preview field) of FIG. 13 displays the name of the screen, the source code (program code) related to the screen, and a preview of the screen. The GUI field R2 of FIG. 13 is configured to accept edits (changes) to the displayed program code. When the control unit 11 accepts edits to the program code, it displays the edited content (input content) in the GUI field R2. In FIG. 13 , the control unit 11 highlights the edited content by underlining it. The GUI field R2 of FIG. 13 includes an Apply button B12 for instructing application (reflection) of the edited content to the program code. After editing the program code on the screen of FIG. 13, the user operates the Apply button B12 when updating (applying) the edited content.

[0053] 11 to 13 show how program code for the Theme and Screen menu items is edited via GUI column R2, but program code for the Data, Language, and Others menu items can also be edited via GUI column R2. For example, for the Data menu item, information about the set database (e.g., the names of the data fields, the type of data stored in each data field, the number of digits, and the amount of data) is displayed in GUI column R2, allowing each piece of information to be edited. For the Language menu item, the GUI column R2 displays information about the set language, including the correspondence between each language (translations), allowing each piece of information to be edited.

[0054] The control unit 11 determines whether the Apply button B8 or B9 in the GUI field R2 has been operated on the screen shown in FIG. 11 or 12 (S74). If it determines that the Apply button B8 or B9 has not been operated (S74: NO), the control unit 11 returns to step S73 and continues accepting input or editing of settings via the GUI. If it determines that the Apply button B8 or B9 in the GUI field R2 has been operated (S74: YES), the control unit 11 generates program code based on the settings of each menu item currently displayed in the GUI field R2 (S75). For example, the control unit 11 updates the currently generated program code based on the settings of each menu item currently displayed in the GUI field R2 (the settings after input or editing via the GUI field R2) to generate new program code. For example, the control unit 11 rewrites various setting values ​​included in the previously generated program code based on the settings of each menu item. The control unit 11 may also generate new program code by inputting the edited setting contents and the program code that has already been generated at this point into the natural language processing model M. Furthermore, the control unit 11 may generate an intermediate prompt corresponding to the edited setting contents by inputting the edited setting contents and the intermediate prompt that is currently displayed in the intermediate prompt field I3 into the natural language processing model M, and may generate new program code by inputting the intermediate prompt generated for each menu item into the natural language processing model M. At this time, the control unit 11 may input the generated intermediate prompt and the program code that has already been generated at this point into the natural language processing model M to generate new program code, or may extract a difference (change) between before and after the generation of the intermediate prompt and input the extracted difference and the generated program code into the natural language processing model M to generate new program code.

[0055] The control unit 11 then executes the same processes as steps S29 to S31 (S77 to S79). After step S79, the control unit 11 returns to step S73. If it determines that the build process was successful (S78: YES), the control unit 11 generates an intermediate prompt corresponding to the program code (updated program code) generated in step S75 from the program code and updates the intermediate prompt displayed in the intermediate prompt field I3 (S80). For example, the control unit 11 extracts the differences (changes) between the pre-update program code and the updated program code, and inputs the extracted differences and the intermediate prompt corresponding to the pre-update program code into the natural language processing model M to generate an intermediate prompt corresponding to the updated program code. The control unit 11 then displays the generated intermediate prompt corresponding to the updated program code in the intermediate prompt field I3. The intermediate prompt corresponding to the updated program code is not limited to being generated using the natural language processing model M. For example, the control unit 11 may register the changes to the program code in association with the partial intermediate prompt corresponding to the changes. The control unit 11 may then identify a partial intermediate prompt corresponding to the difference (changes) between the program code before the update and the program code after the update, and generate an intermediate prompt corresponding to the program code after the update by adding the identified partial intermediate prompt to the intermediate prompt corresponding to the program code before the update.

[0056] The control unit 11 adds a version number to update history information indicating the generated contents (update contents) of the intermediate prompt corresponding to the updated program code, stores the update history information in the storage unit 12, and displays the update history information in the uncommitted column R4b of the application design screen (S81).The control unit 11 then executes the same processes as steps S33 and S34 (S82-S83).In step S83, the control unit 11 generates history information by associating the program code generated in step S75, the updated intermediate prompt generated in step S80, and the version number assigned to this intermediate prompt, and stores the history information in the storage unit 12.The control unit 11 then determines whether the Commit button B6 in the uncommitted column R4b has been operated (S84). If it is determined that the Commit button B6 has not been operated (S84: NO), the control unit 11 returns to the processing of step S73, and each time the Apply buttons B8 and B9 are operated after accepting edits of the setting contents via the GUI, performs processing to generate (update) program code from the setting contents displayed in the GUI column R2, and performs build processing and deploy processing for the program code. The control unit 11 also performs processing to generate an intermediate prompt corresponding to the updated program code, and displays update history information for the generated intermediate prompt in the uncommitted column R4b.

[0057] If the control unit 11 determines that the Commit button B6 has been operated (S84: YES), it confirms the intermediate prompt currently displayed in the intermediate prompt field I3 and the program code corresponding to this intermediate prompt (S85). The control unit 11 then updates the prompt wizard field R3 of the currently displayed application design screen (S86). Step S86 is the same process as step S46. The control unit 11 determines whether an instruction to terminate the program code generation process has been received (S87). If the control unit 11 determines that an instruction to terminate the program code generation process has not been received (S87: NO), the control unit 11 returns to step S15 and executes steps S73 to S86 each time the control unit 11 receives input or editing of settings via the GUI. As a result, each time settings are input or changed via the GUI, program code is generated or updated based on the input or changed settings for each menu item, and an intermediate prompt is generated based on the generated or updated program code. If the control unit 11 determines that an instruction to terminate has been received (S87: YES), the control unit 11 terminates the series of processes.

[0058] If it is determined in step S18 that input of program code has been accepted via the GUI field R2 (S18: YES), the control unit 11 accepts the accepted program code and displays it in the GUI field R2 on the application design screen (S88). If program code is already displayed in the GUI field R2, the control unit 11 accepts edits to the displayed program code and displays the accepted edited program code. For example, as shown in FIG. 13, the control unit 11 updates the program code displayed in the GUI field R2 with the edited program code. The control unit 11 determines whether the Apply button B12 provided in the GUI field R2 on the screen shown in FIG. 13 has been operated (S89). If it determines that the Apply button B12 has not been operated (S89: NO), the control unit 11 returns to the processing of step S88 and continues accepting input or editing of program code via the GUI field R2. If it is determined that the Apply button B12 provided in the GUI field R2 has been operated (S89: YES), the control unit 11 executes the same processing as steps S77 to S81 (S90 to S94). In step S90, the control unit 11 executes a build process on the program code (updated program code) entered or edited via the GUI field R2 in step S88. In step S93, the control unit 11 generates an intermediate prompt corresponding to the updated program code based on the updated program code. Here, the control unit 11 regards the edited content of the program code as the difference between before and after the update (changes), and inputs this difference and the intermediate prompt corresponding to the program code before the update into the natural language processing model M to generate an intermediate prompt corresponding to the updated program code. Here too, if a partial intermediate prompt corresponding to a change to the program code is associated with this change, the control unit 11 may identify the partial intermediate prompt corresponding to the difference (change) between the program code before and after the update, and add the identified partial intermediate prompt to the intermediate prompt corresponding to the program code before the update, thereby generating an intermediate prompt corresponding to the updated program code.In step S94, the control unit 11 adds a version number to the update history information of the intermediate prompt corresponding to the updated program code, stores the information in the storage unit 12, and displays the update history information in the uncommitted column R4b.

[0059] Next, the control unit 11 updates the display contents (setting contents) of each menu item in the GUI column R2 based on the updated program code (S95). As a result, the display contents of each menu item in the GUI column R2 are changed to contents that correspond to the edited program code edited via the GUI column R2. Thereafter, the control unit 11 executes the same processes as steps S82 to S86 (S96 to S100). In step S97, the control unit 11 generates history information by associating the updated program code received in step S88 with the intermediate prompt corresponding to the updated program code generated in step S93 and the version number assigned to the intermediate prompt, and stores the generated history information in the storage unit 12. Again, the control unit 11 may input the program code before and after editing into the natural language processing model M, generate a summary of the edited program code, and use the summary as the program code editing history information. If the control unit 11 determines that the Commit button B6 has not been operated (S98: NO), the control unit 11 returns to the processing of step S88, and performs build processing and deploy processing on the input or changed program code each time the Apply button B12 is operated after accepting edits to the program code. In addition, the control unit 11 performs processing to generate an intermediate prompt corresponding to the updated program code, and displays the update history information of the generated intermediate prompt in the uncommitted column R4b.

[0060] The control unit 11 determines whether an instruction to end the program code generation process has been received (S101). If it determines that an instruction has not been received (S101: NO), the control unit 11 returns to step S15 and executes steps S88 to S100 each time program code is input or edited via the GUI field R2. As a result, each time program code is input or edited, an intermediate prompt is generated based on the input or changed program code. If the control unit 11 determines that an instruction to end the process has been received (S101: YES), the control unit 11 ends the series of processes.

[0061] If it is determined in step S19 that a downgrade instruction has been received (S19: YES), the control unit 11 receives the version information (version number) to be downgraded (S102). For example, the control unit 11 is configured to receive the downgrade instruction based on the history information displayed in the history display field R4 (commit field R4a) of the prompt wizard field R3, and identifies the version information of the history information for which the downgrade instruction was received. The control unit 11 reads the intermediate prompt and program code of the identified version information from the storage unit 12 (S103), executes a build process on the read program code (S104), and generates an executable file. Next, the control unit 11 updates the prompt wizard field R3 based on the read intermediate prompt (S106). Here, the control unit 11 displays the read intermediate prompt in the intermediate prompt field I3 of the prompt wizard field R3, and displays the history information up to the version for which the downgrade instruction was received in the commit field R4a.

[0062] Next, the control unit 11 updates the GUI column R2 based on the program code read in step S103 (S107). Here, the control unit 11 displays the setting contents and program code for each menu item in the GUI column R2 based on the read program code. The control unit 11 then executes a deploy process on the executable file generated by the build process in step S104 (S108). This causes an application design screen based on the intermediate prompt and program code corresponding to the history information of the version for which downgrade execution was instructed to be performed to be displayed. The control unit 11 then proceeds to step S101. If the control unit 11 determines that an instruction to terminate the program code generation process has not been received (S101: NO), the control unit 11 returns to the process of step S15 and executes the processes of steps S102 to S108 each time an instruction to perform downgrade execution is received. If the control unit 11 determines that an instruction to terminate the program code generation process has been received (S101: YES), the control unit 11 terminates the series of processes.

[0063] Through the above-described process, in this embodiment, software (program code) can be generated based on prompts (overview prompts and intermediate prompts) input using natural language and / or images, etc. Furthermore, prompts can be edited using natural language and / or images, etc., and program code can be modified by editing the prompts. Prompts can be input and edited using text input, image input, voice input, etc. Therefore, even users without specialized knowledge, such as software design or development skills, can design and develop any software. Furthermore, in this embodiment, an overview of an application is accepted as an overview prompt, intermediate prompts indicating detailed specifications of the application are generated from the overview prompt, and program code is generated from the intermediate prompts. While it is conceivable to generate program code directly from the overview prompt, this could result in program code that is not intended by the user being generated, potentially increasing the number of reworks required to modify the program code. In contrast, in this embodiment, program code is generated from intermediate prompts generated from the overview prompt, enabling program code intended by the user to be generated with fewer modifications. Furthermore, the intermediate prompts used to generate program code serve as detailed specifications for the application, eliminating the need for a separate process for creating software specifications separately from program code generation. In this embodiment, the process of generating program code based on a prompt has been described, but the object to be generated may not only be program code for realizing an application, but also a configuration file (settings file) in the application.

[0064] In this embodiment, the process of generating an intermediate prompt from a summary prompt using the natural language processing model M and the process of generating program code from the intermediate prompt using the natural language processing model M are not limited to being performed locally by the information processing device 10. For example, the process using the natural language processing model M may be performed by a server that provides the natural language processing model M. For example, the information processing device 10 may be configured to send a summary prompt input via the prompt wizard field R3 to a server and receive an intermediate prompt generated from the summary prompt at the server. Furthermore, the information processing device 10 may be configured to send an intermediate prompt displayed in the prompt wizard field R3 to a server and receive program code generated from the intermediate prompt at the server. Furthermore, the process of generating new program code from setting information of program code changed via a GUI using the natural language processing model M, the process of generating an intermediate prompt corresponding to the changed setting content from setting information of program code changed via a GUI, and the process of generating an intermediate prompt corresponding to the program code from updated program code are not limited to being performed locally by the information processing device 10.

[0065] Second Embodiment A description will be given of an information processing device that, when the build process in the first embodiment described above fails, corrects an error location using a natural language processing model M. The information processing device of this embodiment has a configuration similar to that of the information processing device 10 of the first embodiment shown in FIG. 1 , and therefore a description of the configuration will be omitted.

[0066] FIG. 14 is a flowchart showing an example of a program code generation processing procedure according to the second embodiment. The processing shown in FIG. 14 is the processing shown in FIGS. 2 to 6 with steps S111 to S114 added between steps S30 and S31, between steps S40 and S41, between steps S55 and S56, between steps S65 and S66, between steps S78 and S79, and between steps S91 and S92, respectively. Explanations of steps that are the same as those in FIGS. 2 to 6 will be omitted. Steps other than steps S30 to S31, S40 to S41, S55 to S56, S65 to S66, S78 to S79, and S91 to S92 are not shown in FIG.

[0067] If the control unit 11 of the information processing device 10 determines that the build process failed in any of steps S30, S40, S55, S65, S78, or S91 (NO), it attempts to correct the program code (S111). For example, the control unit 11 inputs the program code that has been built and error information (details of the problem contained in the program code) output by the build process into the natural language processing model M, thereby obtaining the corrected program code from the natural language processing model M. The control unit 11 then re-executes the build process on the corrected program code (re-executes the build process) (S112). The control unit 11 determines whether the re-executed build process was successful (S113). If the control unit 11 determines that the build process failed (S113: NO), it determines whether the number of attempts to correct the program code at this point in time is equal to or greater than a predetermined number (e.g., 5 times, 10 times, etc.) (S114). If it is determined that the number of attempts to correct the program code is less than the predetermined number (S114: NO), the control unit 11 returns to step S111 and repeats the processes of steps S111 to S114. Note that in step S111, the control unit 11 may input the most recently generated corrected program code and error information generated in the build process performed on this program code into the natural language processing model M, thereby acquiring further corrected program code.

[0068] If the control unit 11 determines that the build process was successful (S113: YES), the control unit 11 proceeds to one of steps S32, S42, S57, S67, S80, and S93, and executes steps S32, S42, S57, S67, S80, and S93 and subsequent steps for the program code that was successfully built. On the other hand, if the control unit 11 determines that the number of attempts to modify the program code is equal to or greater than a predetermined number (S114: YES), the control unit 11 proceeds to steps S31, S41, S56, S66, S79, and S92, and outputs an error message notifying the user that the build process failed and that the program code could not be modified. The control unit 11 then proceeds to steps S25, S50, S73, and S88.

[0069] According to the above-described process, in this embodiment, if a build process fails due to some problem in the program code generated based on intermediate prompts, etc., the natural language processing model M can be used to attempt to correct the program code. The control unit 11 can attempt to correct the program code multiple times, up to a predetermined number of times. If the problem remains unresolved and the build process fails even after a predetermined number of attempts to correct the program code, an error message is output, and the user can redo the generation of the program code by editing the overview prompt, editing the intermediate prompt, editing (changing) the settings via a GUI, or editing the program.

[0070] In this embodiment, the processing is the same as that in the first embodiment except for the processing of attempting to correct the program code using the natural language processing model M when the build processing fails, and the same effects as those in the first embodiment can be obtained. Furthermore, in this embodiment, the program code is attempted to be corrected using the natural language processing model M, so that problems (errors, bugs, etc.) that can be corrected using the natural language processing model M can be automatically resolved. This reduces the operational burden on the user. The modified examples described in the first embodiment above can also be applied to this embodiment as appropriate.

[0071] (Embodiment 3) An information processing device configured to interactively accept input of a summary prompt in the above-described embodiment 1 will be described. The information processing device of this embodiment has a configuration similar to that of the information processing device 10 of embodiment 1 shown in FIG. 1, and therefore a description of the configuration will be omitted.

[0072] FIG. 15 is an explanatory diagram showing a modified example of the application design screen. The application design screen shown in FIG. 15 has the same configuration as the screens shown in FIGS. 8 to 10B , but also includes a summary prompt history field R5 above the summary prompt field I2 in the prompt wizard field R3, which displays the input history of the summary prompt. In the screen shown in FIG. 15 , when a summary prompt is entered in the summary prompt field I2 and the Apply button B3 is operated, an intermediate prompt is generated from the summary prompt and displayed in the intermediate prompt field I3, as in the first embodiment, and the generation history of the intermediate prompt is displayed in the history display field R4 (uncommitted field R4b). In this embodiment, the entered summary prompt is displayed in the summary prompt history field R5 and deleted from the summary prompt field I2. When a summary prompt is displayed in the summary prompt history field R5, dialogue information prompting the user to enter information related to the summary prompt to be entered is displayed in the summary prompt history field R5, and the user enters a new summary prompt according to the displayed dialogue information.

[0073] Fig. 16 is a flowchart showing an example of a program code generation processing procedure according to the third embodiment. The processing shown in Fig. 16 is the processing shown in Figs. 2 to 6 with steps S121 to S124 added instead of step S25. Explanations of the same steps as in Figs. 2 to 6 will be omitted. Note that Fig. 16 does not show steps other than steps S14 to S15 and steps S20 to S24 in Figs. 2 to 6.

[0074] When the control unit 11 of the information processing device 10 of this embodiment determines in step S21 that the Apply button B3 has been operated (S21: YES), it executes the processes of steps S22 to S24 and displays the application design screen as shown in Fig. 8. Then, the control unit 11 displays the summary prompt entered in the summary prompt field I2 in the summary prompt history field R5 (S121). Note that the control unit 11 erases the summary prompt that was displayed (moved) to the summary prompt history field R5 from the summary prompt field I2.

[0075] Next, the control unit 11 generates dialogue information that prompts the user to take the next action (e.g., input a new summary prompt) based on the summary prompt moved to the summary prompt history field R5 (S122). For example, the control unit 11 inputs the summary prompt or the summary prompt and intermediate prompt displayed in the summary prompt and intermediate prompt field I3 into the natural language processing model M, and uses the natural language processing model M to obtain dialogue information describing the content of the utterance to the user in natural language. The control unit 11 may input the summary prompt or the summary prompt and intermediate prompt directly into the natural language processing model M, or may input the summary prompt or the summary prompt and intermediate prompt to the natural language processing model M after adding a message to the beginning to control the output result from the natural language processing model M, such as "Please create a message indicating what the user should do next." The dialogue information here may include, in addition to requests to the user, questions related to the summary prompt, instructions to execute the next operation the user should perform (e.g., operating the Apply button B4 or the Commit button B6), and so on. The control unit 11 displays the generated dialogue information in the summary prompt history field R5 (S123). 15, the message displayed as the dialogue information is, "A specification (intermediate prompt) has been generated. Please let us know if any corrections are required." Note that the dialogue information displayed in the summary prompt history field R5 may be notified to the user by voice output, for example, if the information processing device 10 has a voice output function using a speaker.

[0076] The user checks the dialogue information displayed in the summary prompt history field R5 and inputs a new summary prompt as necessary. The control unit 11 determines whether input of a new summary prompt has been received via the summary prompt field I2 (S124). If it determines that input of a new summary prompt has been received (S124: YES), the control unit 11 proceeds to step S20. The control unit 11 then executes steps S20 to S24 and S121 to S123 for the new summary prompt. If it determines that input of a new summary prompt has not been received (S124: NO), the control unit 11 proceeds to step S26 and executes the processes from step S26 onward.

[0077] According to the above-described processing, in this embodiment, when the user inputs a summary prompt, the user can input the summary prompt in the form of a response to the dialogue information displayed in the summary prompt history field R5, thereby reducing the operational burden on the user who inputs the summary prompt. In this embodiment, the dialogue information generated by the natural language processing model M is displayed in response to the summary prompt input by the user. However, a configuration may also be adopted in which a message such as a hint regarding the input of the summary prompt is displayed in the summary prompt history field R5 before the user inputs the summary prompt. In this case, even if the user does not know what summary prompt to input, the user can input the summary prompt by following the message displayed in the summary prompt history field R5.

[0078] In this embodiment, the dialogue information displayed in the summary prompt history field R5 is not limited to being generated using the natural language processing model M. For example, dialogue information may be registered in association with keywords, and the dialogue information that corresponds to the keywords included in the summary prompt entered by the user may be identified as the dialogue information to be provided to the user.

[0079] In this embodiment, when a summary prompt is input, the process is the same as that of the first embodiment, except that the input summary prompt and the dialogue information generated from the summary prompt are displayed in the summary prompt history field R5. In this embodiment, a summary prompt can be input in the form of a response to the dialogue information displayed in the summary prompt history field R5, thereby reducing the operational burden on the user who inputs the summary prompt. Furthermore, even a user who is unfamiliar with inputting prompts to the natural language processing model M can input an appropriate summary prompt, thereby enabling the generation of highly accurate intermediate prompts and highly accurate program code. The configuration of this embodiment can also be applied to the information processing device 10 of the second embodiment. Even when applied to the information processing device 10 of the second embodiment, similar processes are possible and similar effects are obtained. Furthermore, the modified examples described in the first and second embodiments can also be applied to this embodiment.

[0080] The matters described in each of the above embodiments can be combined with each other. Furthermore, the independent claims and dependent claims described in the claims can be combined with each other in any and all combinations, regardless of the reference format. Furthermore, the claims use a format in which a claim references two or more other claims (multiple claim format), but this is not limited to this. A multiple claim (multi-multi claim) that references at least one other multiple claim may also be used.

[0081] The embodiments disclosed herein are illustrative in all respects and should not be considered limiting. The scope of the present invention is defined by the claims, not by the above meaning, and is intended to include all modifications within the meaning and scope of the claims.

[0082] REFERENCE SIGNS LIST 10 Information processing device 11 Control unit 12 Storage unit 13 Communication unit 14 Input unit 15 Display unit M Natural language processing model

Claims

1. A program that causes a computer to execute the following processes: accept an overview prompt that indicates an overview of program code to be generated; input the accepted overview prompt into a natural language processing model to obtain a detail prompt that indicates detailed specifications of the program code; and input the obtained detail prompt into the natural language processing model to obtain the program code.

2. The program according to claim 1, which causes the computer to execute the following processes: outputting the acquired detailed prompt in a preview field; accepting edits to the detailed prompt displayed in the preview field; and inputting the edited detailed prompt into the natural language processing model to acquire the program code.

3. The program according to claim 2, which causes the computer to execute a process of outputting edit history information relating to edits accepted in response to the detail prompt.

4. The program according to claim 3, which causes the computer to execute a process of returning the detail prompt and the program code to the state before or after the editing process performed on the detail prompt when an instruction to return the detail prompt to the state before or after the editing process is performed is received based on the editing history information.

5. A program according to any one of claims 2 to 4, which causes the computer to execute a process of inputting the edited detail prompt and a program code corresponding to the unedited detail prompt into the natural language processing model, and obtaining the program code corresponding to the edited detail prompt.

6. A program according to any one of claims 2 to 4, which causes the computer to execute the following process: extracting the difference between the detailed prompt before editing and the detailed prompt after editing; inputting the extracted difference and a program code corresponding to the detailed prompt before editing into the natural language processing model; and acquiring the program code corresponding to the detailed prompt after editing.

7. The program according to any one of claims 1 to 4, which causes the computer to execute a process of outputting the program code to a preview column, and accepting edits to the program code displayed in the preview column.

8. The program according to claim 7, which causes the computer to execute a process of: generating, based on the edited program code, a detailed prompt corresponding to the edited program code.

9. A program according to any one of claims 1 to 4, which causes the computer to execute the following processes: outputting a screen having a GUI (Graphical User Interface) used to generate the program code; accepting setting information related to the program code via the GUI provided on the screen; and generating the program code based on the accepted setting information.

10. The program according to claim 9, which causes the computer to execute a process of generating a detailed prompt corresponding to the program code based on the program code generated based on the setting information.

11. The program according to any one of claims 1 to 4, which causes the computer to execute a process of accepting an instruction to execute a process for the computer via an input field that accepts input of the summary prompt.

12. A program that causes a computer to execute the following processes: obtain a detail prompt indicating detailed specifications regarding the program code to be generated; output the obtained detail prompt in a preview column; accept edits to the detail prompt displayed in the preview column; input the edited detail prompt into a natural language processing model to obtain program code corresponding to the edited detail prompt; and store editing history information that associates the edited detail prompt with the obtained program code.

13. An information processing method in which a computer performs the following processes: accepting a summary prompt indicating an overview of program code to be generated; inputting the accepted summary prompt into a natural language processing model to obtain a detail prompt indicating detailed specifications of the program code; and inputting the obtained detail prompt into the natural language processing model to obtain the program code.

14. An information processing device having a control unit, wherein the control unit receives a summary prompt indicating an overview of program code to be generated, inputs the received summary prompt into a natural language processing model to obtain a detail prompt indicating detailed specifications of the program code, and inputs the obtained detail prompt into the natural language processing model to obtain the program code.

Citation Information

Patent Citations

  • Software utilization device

    JP1996263509A

  • Information processing apparatus, information processing method, and program

    JP2021103432A

  • Automatic program code generation system

    JP2023018851A