Program, information processing device, and method

The program facilitates efficient tone adjustment of LLM-generated sentences by using coordinate axes for direct tone selection, improving user interaction and efficiency in tone change processes.

JP7798456B2Active Publication Date: 2026-01-14OPTIM
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2024025706
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2024-02-22
Publication Date
2026-01-14
Estimated Expiration
2044-02-22

AI Technical Summary

Technical Problem

Existing methods for changing the tone of output sentences from large-scale language models (LLMs) require users to specify additional sentences, which is time-consuming.

Method used

A program that allows users to adjust the tone of LLM-generated sentences through an intuitive interface with coordinate axes, enabling direct selection of tone elements and specifying ranges for tone change, with the LLM system modifying the tone based on user input.

Benefits of technology

Enables efficient creation of text by allowing users to change tone intuitively and efficiently without manual text input, enhancing user interaction with LLMs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007798456000001
    Figure 0007798456000001
  • Figure 0007798456000002
    Figure 0007798456000002
  • Figure 0007798456000003
    Figure 0007798456000003
Patent Text Reader

Abstract

To create a sentence using a large language model more efficiently.SOLUTION: A program for operating a computer equipped with a processor and a memory causes the processor to execute the steps of: presenting, to a user, a sentence of predetermined content output from a large language model; presenting, to the user, an input interface having at least one axis related to wording and conforming to the axis while specifying the content of the axis; receiving an operation from the user on the input interface; creating a prompt for modifying the wording of the sentence based on association between designated coordinates and the wording; inputting the created prompt to the large language model to output a sentence with modified wording; and presenting, to the user, the sentence with the modified wording.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

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

[0002] Patent Document 1 (Patent No. 7325152) describes that a user may select the output format of a response sentence output from a large-scale language model (LLM). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent 7325152 Summary of the Invention [Problem to be solved by the invention]

[0004] In Patent Document 1, when generating a prompt for an LLM, the output format of the answer sentence can be selected by specifying additional sentences such as "answer in a certain tone of voice."

[0005] However, this requires the user to specify additional sentences when changing the tone, which is time-consuming.

[0006] The purpose of this disclosure is to use LLM to write more efficiently. [Means for solving the problem]

[0007] A program for operating a computer having a processor and a memory, the program causing the processor to execute the following steps: presenting a sentence of predetermined content output from a large-scale language model to a user; presenting an input interface having at least one axis related to tone and aligned with the axis, with the content of the axis clearly indicated; accepting an operation from the user on the input interface; creating a prompt for changing the tone of the sentence based on a correspondence between specified coordinates and tone; inputting the created prompt into the large-scale language model and outputting the sentence with the changed tone; and presenting the sentence with the changed tone to the user. [Effects of the Invention]

[0008] According to the present disclosure, LLM can be used to create text more efficiently. [Brief explanation of the drawings]

[0009] [Figure 1] 1 is a block diagram showing the overall configuration of a system 1. FIG. [Figure 2] 2 is a block diagram illustrating an example of the functional configuration of a terminal device 10. FIG. [Figure 3] FIG. 2 is a diagram illustrating an example of the functional configuration of a server 20. [Figure 4] 2 is a diagram showing the data structure of a table stored in the server 20. FIG. [Figure 5] 2 is a diagram showing the data structure of a table stored in the server 20. FIG. [Figure 6] FIG. 2 is a diagram illustrating an example of a processing flow in the system 1. [Figure 7] FIG. 10 is a diagram illustrating an example screen of the present disclosure. [Figure 8] FIG. 10 is a diagram illustrating an example screen of the present disclosure. [Figure 9] FIG. 10 is a diagram illustrating an example screen of the present disclosure. [Figure 10] FIG. 2 is a block diagram showing the basic hardware configuration of a computer 90. DETAILED DESCRIPTION OF THE INVENTION

[0010] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. In the following description, the same components are denoted by the same reference numerals. The names and functions of the components are also the same. Therefore, detailed descriptions thereof will not be repeated.

[0011] <Summary> The system according to this embodiment is a tool for generating predetermined sentences using a large-scale language model, and has a user interface that allows adjustment of the tone of the output sentences.

[0012] <1. Overall system configuration> Fig. 1 is a block diagram showing an example of the overall configuration of a system 1. The system 1 shown in Fig. 1 includes, for example, a terminal device 10, a server 20, and an LLM system 30. The terminal device 10, the server 20, and the LLM system 30 are communicatively connected via, for example, a network 70.

[0013] 1 shows an example in which the system 1 includes two terminal devices 10, but the number of terminal devices 10 included in the system 1 is not limited to two. The number of terminal devices 10 included in the system 1 may be less than three, or may be three or more.

[0014] 1 shows an example in which the system 1 includes one LLM system 30, but the number of LLM systems 30 included in the system 1 is not limited to one. The number of LLM systems 30 included in the system 1 may be two or more.

[0015] 1 shows an example in which the server 20 is independent of the LLM system 30, the server 20 may include the functionality of the LLM system 30. In other words, the server 20 may store the LLM.

[0016] In this embodiment, a collection of multiple devices may be considered as one server. The allocation of multiple functions required to realize the server 20 according to this embodiment to one or more pieces of hardware can be determined appropriately in consideration of the processing capacity of each piece of hardware and / or the specifications required for the server 20.

[0017] 1 is an information processing device operated by a user who intends to generate a sentence with adjustable tone. The terminal device 10 is realized, for example, as a desktop personal computer (PC), a laptop PC, or the like. The terminal device 10 may also be realized as a mobile terminal such as a smartphone or a tablet.

[0018] The terminal device 10 includes a communication IF (Interface) 12, an input device 13, an output device 14, a memory 15, a storage 16, and a processor 19. The input device 13 is a device for receiving input operations from a user (for example, a touch panel, a touch pad, a pointing device such as a mouse, a keyboard, etc.). The output device 14 is a device for presenting information to a user (a display, a speaker, etc.).

[0019] The server 20 is, for example, an information processing device that uses the LLM to provide a service for generating sentences. The server 20 transmits instructions (prompts) for generating sentences to the LLM system 30 and causes the LLM system 30 to output the sentences. The server 20 presents the sentences output from the LLM system 30 to the user.

[0020] The server 20 is, for example, an information processing device realized by a computer connected to a network 70. As shown in Fig. 1, the server 20 includes a communication IF 22, an input / output IF 23, a memory 25, a storage 26, and a processor 29. The input / output IF 23 functions as an input device for receiving input operations from a user and as an interface with an output device for outputting information to the user.

[0021] The LLM system 30 is a system built with a large-scale artificial intelligence model (LLM) used in the field of natural language processing (NLP), for example. By learning from large amounts of text data (web pages, books, articles, etc.), the LLM can understand patterns in human language and effectively perform natural language generation (NLG) tasks.

[0022] LLMs are used in many NLP tasks, such as generating answers to specific questions, automatic sentence generation, text summarization, translation, and sentiment analysis. They can also be used in a variety of applications, including education, entertainment, customer service, and product development. Examples of LLMs include, but are not limited to, GPT-4 (registered trademark) (OpenAI) and PaLM2 (registered trademark) (Google).

[0023] The LLM system 30 inputs text data and prompts from the server 20 to the LLM, and causes the LLM to output answers based on the input text data and prompts. The LLM system 30 transmits the answers output from the LLM to the server 20.

[0024] Each information processing device is configured by a computer equipped with an arithmetic unit and a storage device. The basic hardware configuration of the computer and the basic functional configuration of the computer realized by the hardware configuration will be described later. For each of the terminal device 10, the server 20, and the LLM system 30, descriptions that overlap with the basic hardware configuration and basic functional configuration of the computer will be omitted.

[0025] <2. Terminal device configuration> Fig. 2 is a block diagram showing an example of the functional configuration of the terminal device 10. As shown in Fig. 2, the terminal device 10 includes a communication unit 120, an input device 13, an output device 14, an audio processing unit 17, a microphone 171, a speaker 172, a camera 160, a position information sensor 150, a storage unit 180, and a control unit 190. The blocks included in the terminal device 10 are electrically connected by, for example, a bus or the like.

[0026] The communication unit 120 performs processing such as modulation and demodulation for the terminal device 10 to communicate with other devices. The communication unit 120 performs transmission processing on the signal generated by the control unit 190 and transmits it to the outside (for example, the server 20). The communication unit 120 performs reception processing on the signal received from the outside and outputs it to the control unit 190.

[0027] The input device 13 is a device for inputting instructions or information by a user operating the terminal device 10. The input device 13 is realized, for example, by a touch-sensitive device 131 or the like, which inputs instructions by touching an operation surface. When the terminal device 10 is a PC or the like, the input device 13 may be realized by a reader, keyboard, mouse, or the like. The input device 13 converts instructions input by the user into electrical signals and outputs the electrical signals to the control unit 190. The input device 13 may include, for example, a receiving port that receives electrical signals input from an external input device.

[0028] The output device 14 is a device for presenting information to a user operating the terminal device 10. The output device 14 is realized, for example, by a display 141 or the like. The display 141 displays data according to the control of the control unit 190. The display 141 is realized, for example, by an LCD (Liquid Crystal Display) or an organic EL (Electro-Luminescence) display or the like.

[0029] The audio processing unit 17 performs, for example, digital-to-analog conversion processing of an audio signal. The audio processing unit 17 converts a signal provided from the microphone 171 into a digital signal and provides the converted signal to the control unit 190. The audio processing unit 17 also provides the audio signal to the speaker 172. The audio processing unit 17 is realized, for example, by a processor for audio processing. The microphone 171 receives audio input and provides an audio signal corresponding to the audio input to the audio processing unit 17. The speaker 172 converts the audio signal provided from the audio processing unit 17 into audio and outputs the audio to the outside of the terminal device 10.

[0030] The camera 160 is a device that receives light with a light receiving element and outputs the light as an image capturing signal.

[0031] The position information sensor 150 is a sensor that detects the position of the terminal device 10, and is, for example, a GPS (Global Positioning System) module. The GPS module is a receiving device used in a satellite positioning system. In the satellite positioning system, signals are received from at least three or four satellites, and the current position of the terminal device 10 equipped with the GPS module is detected based on the received signals. The position information sensor 150 may detect the current position of the terminal device 10 from the position of the wireless base station to which the terminal device 10 is connected.

[0032] The storage unit 180 is realized by, for example, the memory 15, the storage 16, etc., and stores data and programs used by the terminal device 10. The storage unit 180 stores, for example, user information 181.

[0033] The user information 181 includes, for example, information about the user who uses the terminal device 10. The information about the user includes, for example, the user's name, age, address, date of birth, contact information, and the like.

[0034] The control unit 190 is realized by the processor 19 reading a program stored in the storage unit 180 and executing instructions included in the program. The control unit 190 controls the operation of the terminal device 10. The control unit 190 functions as an operation reception unit 191, a transmission / reception unit 192, and a presentation control unit 193 by operating in accordance with the program.

[0035] The operation reception unit 191 performs processing for receiving instructions or information input from the input device 13. Specifically, for example, the operation reception unit 191 receives instructions or information input from the touch-sensitive device 131 or the like.

[0036] Furthermore, the operation reception unit 191 receives voice instructions input from the microphone 171. Specifically, for example, the operation reception unit 191 receives a voice signal that is input from the microphone 171 and converted into a digital signal by the voice processing unit 17. For example, the operation reception unit 191 analyzes the received voice signal and extracts a predetermined noun, thereby acquiring an instruction from the user.

[0037] The transmitting / receiving unit 192 performs processing for the terminal device 10 to transmit and receive data to and from an external device such as the server 20 in accordance with a communication protocol. Specifically, for example, the transmitting / receiving unit 192 transmits information input by a user or instructions from a user to the server 20. In addition, the transmitting / receiving unit 192 receives information provided by the server 20.

[0038] The presentation control unit 193 controls the output device 14 to present information provided from the server 20 to the user. Specifically, for example, the presentation control unit 193 causes information related to a sentence transmitted from the server 20 to be displayed on the display 141. In addition, the presentation control unit 193 causes the information transmitted from the server 20 to be output from the speaker 172.

[0039] <3. Functional configuration of the server> 3 is a diagram showing an example of the functional configuration of the server 20. As shown in FIG.

[0040] The communication unit 201 performs processing for the server 20 to communicate with external devices.

[0041] The storage unit 202 includes, for example, a user information table 2021 and a prompt table 2022. The tables stored in the storage unit 202 are not limited to these.

[0042] The user information table 2021 is a table that stores information about users, and will be described in detail later.

[0043] The prompt table 2022 is a table that stores information about prompts that are input statements to the LLM system 30. Details will be described later.

[0044] The control unit 203 is realized by the processor 29 reading a program stored in the storage unit 202 and executing instructions included in the program. The program includes an application such as a web browser application. The program includes a programming language such as JavaScript (registered trademark) that is executed on the web browser application stored in the terminal device 10. The control unit 203 operates in accordance with the program to perform functions shown as a reception control module 2031, a transmission control module 2032, a service processing module 2033, and a presentation control module 2035.

[0045] The reception control module 2031 controls the process by which the server 20 receives signals from external devices in accordance with a communication protocol.

[0046] The transmission control module 2032 controls the process in which the server 20 transmits signals to external devices in accordance with a communication protocol.

[0047] The service processing module 2033 controls the process of creating a sentence in response to an input sentence entered by a user. The service processing module 2033 also controls the process of changing the tone of the sentence based on the tone selected by the user.

[0048] The presentation control module 2035 controls the process of presenting information to the user.

[0049] <4. Data Structure> The following describes the data structure of tables stored in the server 20. Note that the data structure described is an example and does not exclude data that is not listed. Furthermore, even data listed in the same table may be stored in separate storage areas in the storage unit 202.

[0050] Fig. 4 is a diagram showing the data structure of the user information table 2021. The user information table 2021 shown in Fig. 4 is a table having columns of name, age, sex, date of birth, and contact information, with the user ID as a key.

[0051] The user ID is an item that stores an identifier for uniquely identifying a user. The name is an item that stores the name of the user. The age is an item that stores the age of the user. The gender is an item that stores the gender of the user. The date of birth is an item that stores the date of birth of the user. The contact information is an item that stores the contact information (e.g., telephone number, email address, etc.) of the terminal device 10 that the user has.

[0052] Fig. 5 is a diagram showing the data structure of the prompt table 2022. The prompt table 2022 shown in Fig. 5 is a table having columns of prompts and coordinates, with a prompt ID as a key.

[0053] The prompt ID is an item that stores an identifier for uniquely identifying a prompt. The prompt is an item that stores data related to the prompt, which is an input sentence (instruction sentence) to the LLM system 30. The data related to the prompt is, for example, text information that instructs a change in tone of the generated sentence. In the example shown in Figure 5, the text information is, for example, "If the maximum ease of expression is 3, please convert to an expression with an ease of 1."

[0054] The coordinates are coordinates on a coordinate axis for adjusting tone. The item "coordinates" stores, for example, the coordinate elements and the numerical values ​​of the coordinates. The tone of a sentence is defined via the coordinates. The numerical values ​​of the expressions in the pronto are linked to the coordinates.

[0055] As shown by prompt IDP0003 and prompt IDP0004 in Figure 5, if there are two conflicting expressions, two different prompts may point to the same coordinate with a value of 0. Note that if prompt IDP0003 is stored, prompt IDP0004, for example, does not need to be stored.

[0056] <5. Operation> An example of the processing flow in the system 1 will be described.

[0057] 6 is a flowchart showing an example of the operation of the server 20 when generating a sentence in response to a request from a user. In the explanation of FIG. 6, the server 20 provides a service for generating a sentence as SaaS (Software as a Service).

[0058] First, a user who wants to generate a sentence accesses the server 20. The user logs in to the sentence generation service provided by the server 20, for example, by inputting their own user ID and password.

[0059] In step S601, the server 20 receives a request to output a sentence from a user. Specifically, for example, the user operates the terminal device 10 to input a sentence to instruct the output of a sentence that the user desires to be generated. The sentence that the user desires to be generated is called an output sentence. The sentence that instructs the output of the output sentence is called an instruction sentence.

[0060] The input instruction sentence may be, for example, an imperative sentence, a question sentence, or a single word, i.e., an incomplete sentence. The operation receiving unit 191 receives the instruction sentence. The transmitting / receiving unit 192 transmits the instruction sentence from the user to the server 20. The reception control module 2031 receives the instruction sentence transmitted from the terminal device 10. In other words, the server 20 receives the instruction sentence input by the user.

[0061] In step S602, the server 20 transmits the instruction to the LLM system 30. Specifically, for example, the transmission control module 2032 transmits the instruction to the LLM system 30.

[0062] The LLM system 30 inputs instruction sentences received from the server 20 into the LLM. The LLM system 30 causes the LLM to output output sentences corresponding to the instruction sentences. The LLM system 30 outputs the output sentences output from the LLM to the server 20. In other words, the LLM system 30 generates sentences.

[0063] In step S603, the server 20 presents the output sentence to the user. Specifically, for example, the reception control module 2031 receives the output sentence transmitted from the LLM system 30. The presentation control module 2035 presents the output sentence transmitted from the LLM system 30 to the user. The presentation control unit 193 controls the display 141 to display the output sentence to the user. This allows the user to check the output sentence.

[0064] In step S604, the server 20 presents the user with an interface for changing the tone of the output sentence. Specifically, the service processing module 2033 presents the user with a coordinate axis for selecting a tone. Details will be described later with reference to FIG. 8. The presentation control unit 193 controls the display 141 to display the coordinate axis to the user.

[0065] If a user does not want to change the tone of the output sentence, the user does not take any action on the interface for changing the tone of the output sentence. The service processing module 2033 terminates the processing due to the user's inaction. In this case, the service processing module 2033 may, for example, leave the output sentence presented to the user.

[0066] A user who wishes to change the tone operates the terminal device 10 to select a coordinate on the coordinate axis that indicates the desired tone. The operation reception unit 191 receives the user's selection of the coordinate. The transmission / reception unit 192 transmits information related to the coordinate selected by the user to the server 20. The reception control module 2031 receives the information related to the coordinate transmitted from the terminal device 10. In other words, the server 20 receives the user's selection of the coordinate on the coordinate axis. The service processing module 2033 transitions the process to step S605.

[0067] In step S605, the server 20 reads a prompt related to the change in tone. Specifically, for example, when the server 20 receives a user's selection of a coordinate on a coordinate axis, the service processing module 2033 reads a prompt from the prompt table 2022 based on the selected coordinate. In other words, the numerical value of the expression in the prompt is linked to the coordinate.

[0068] In step S606, the server 20 transmits the prompt to the LLM system 30. Specifically, for example, the transmission control module 2032 transmits the prompt to the LLM system 30.

[0069] The LLM system 30 inputs prompts received from the server 20 into the LLM. The LLM system 30 causes the LLM to output output sentences in response to the prompts. The LLM system 30 outputs the output sentences output from the LLM to the server 20. In other words, the LLM system 30 changes the tone of the sentence based on the selected tone.

[0070] In step S607, the server 20 presents the new output sentence to the user. Specifically, for example, the reception control module 2031 receives the output sentence transmitted from the LLM system 30. The presentation control module 2035 presents the output sentence transmitted from the LLM system 30 to the user. The presentation control unit 193 controls the display 141 to display the output sentence to the user. This allows the user to confirm the new output sentence, i.e., the sentence with the changed tone.

[0071] After step S607, the service processing module 2033 shifts the process to step S604 and repeats the same process.

[0072] In step S604, the user may specify a range of output sentences, thereby limiting the range of tone changes to the specified range in steps S605 to S607. Specifically, for example, in step S604, the server 20 presents the user with an interface for specifying the range of output sentences whose tone will be changed.

[0073] For example, a user wishing to change the tone of an entire output sentence may be inactive in the interface, in which case no scope of the output sentence is specified and the tone of the entire output sentence is changed.

[0074] For example, a user wishing to change the tone of a portion of an output sentence may drag the desired range of the output sentence on the interface, thereby designating the dragged range as the range in which the tone will be changed. In this case, in steps S605 through S607 and in subsequent iterations of step S604, the processing for the designated range proceeds in the same manner as if no range had been designated, using the prompts for tone change and range designation. In step S607, server 20 may present to the user either only the output sentences in the designated range, or the entire output sentence, i.e., a combination of the output sentences in the designated range and the output sentences in the undesignated range.

[0075] If a range of output sentences has been specified, in step 604 from the second time onward, the server 20 may present the user with an interface for selecting whether to change the tone of the unspecified range to the same tone as the specified range. Specifically, for example, the service processing module 2033 may present the unspecified range and present the user with a button for changing the tone of the unspecified range.

[0076] For example, if a user does not want to change the tone of the unspecified range, the user does not click the button. In this case, the service processing module 2033, for example, leaves the output sentence presented to the user.

[0077] For example, a user who desires to change the tone of an unspecified range may drag the desired range to re-designate the dragged range as the range to be changed in tone, and then press the button. In this case, in steps S605 through S607 and in subsequent iterations of step S604, the re-designated range is processed in the same manner as if the range had not been re-designated, using prompts regarding the tone change and the re-designation of the range. In step S607, server 20 may present to the user either only the output sentences in the re-designated range, or the entire output sentences, i.e., a sentence that combines the output sentences in the re-designated range with the output sentences in the un-re-designated range.

[0078] <6. Screen Examples> An example screen of the present disclosure will be described.

[0079] Fig. 7 is a schematic diagram showing an example of a display screen of the display 141 of the terminal device 10. In Fig. 7, the instruction sentence is "Tell me about American history," and an example is explained in which the tone of the output sentence is changed in response to the instruction sentence.

[0080] The first area 1401 is an area for receiving an instruction sentence from the user in step S601 and for presenting the input instruction sentence. Specifically, for example, when the user taps the first area 1401 via the terminal device 10, the user can input an instruction sentence into the first area 1401. For example, the received instruction sentence is presented until the screen of FIG. 7 is closed.

[0081] Button 1402 is a button for executing the generation of a sentence. Specifically, for example, when an instruction sentence is input in first area 1401, if button 1402 is pressed by the user via terminal device 10, the process of step S602 is performed.

[0082] The second area 1403 is an area for presenting output sentences in steps S603 and S607. Specifically, for example, the presentation control module 2035 presents the output sentences transmitted from the LLM system 30 to the user in the second area 1403. If a new output sentence is generated while an existing output sentence is being presented in the second area 1403, the existing output sentence is overwritten with the new output sentence, and the new output sentence is presented. Note that the new output sentence may be presented successively while the previous output sentence is maintained.

[0083] The marker 1404 is a marker for specifying a range in which the tone will be changed in the output sentence presented in the second area 1403. Specifically, for example, a user who wishes to change the tone of a portion of the output sentence may drag the range of text in the second area 1403 where the tone is desired to be changed via the terminal device 10, thereby specifying the dragged range as the range in which the tone will be changed. In this way, the marker 1404 is attached to the range of text in the output sentence where the tone will be changed.

[0084] The third area 1405 is an area for selecting a tone. The user selects a desired tone in the third area 1405 via the terminal device 10. Details will be described later with reference to FIG. 8. The third area 1405 may be displayed as an area following the second area 1403, may be displayed so as to be superimposed on the second area 1403, or may be displayed at a predetermined position on the display 141. The size of the third area 1405 may be set in advance or by the user, or may vary depending on the included elements and the included axis values.

[0085] Button 1406 is a button for executing the change in tone. For example, when an output sentence is input in second area 1403, if button 1406 is pressed by the user via terminal device 10, the processes of steps S605 and S606 are performed. In other words, a sentence with a changed tone is generated based on the tone selected in third area 1405.

[0086] The fourth area 1407 is an area for previewing a sentence with a hypothetical change in tone. Specifically, for example, when the marker 1404 specifies the range of tone change, steps S605 and S606 are performed without pressing the button 1406. In other words, the LLM system 30 generates a sentence with a hypothetical change in tone only within the range specified by the marker 1404 based on the tone provisionally selected in the third area 1405. The presentation control module 2035 presents the generated sentence in the fourth area 1407. This allows the user to test the tone change in advance. Following the example of FIG. 7, the text "Economic development has begun" specified by the marker 1404 is hypothetically changed to "Beginning to become wealthy" based on the provisionally selected difficulty coordinate axis -2, politeness coordinate axis +1, and evaluation coordinate axis 0.

[0087] While the marker 1404 does not specify the extent to which the tone is to be changed, for example, the presentation control module 2035 presents nothing in the fourth region 1407 .

[0088] Fig. 8 is a schematic diagram showing an example of the display screen of the display 141 of the terminal device 10. Fig. 8 shows an enlarged view of the third area 1405 of Fig. 7, that is, the area for selecting the tone.

[0089] Coordinate axes 80, exemplified by coordinate axes 80-1 to 80-3, are coordinate axes for selecting a tone. Specifically, the user selects a coordinate on each coordinate axis 80 that indicates a desired tone via terminal device 10. In steps 605 and 606, the tone of the sentence is changed based on the selected tone.

[0090] Each coordinate axis 80 is assigned an element that defines the tone of the text by the LLM system 30. Two semantically opposing expressions are displayed consecutively between the two ends of the axis under one element. That is, coordinates closer to one end of the axis indicate a tone in which one expression is stronger, and coordinates closer to the other end of the axis indicate a tone in which the other expression is stronger. The axes may be separated by scales that indicate the intensity of the expressions. In the example of Figure 8, coordinate axis 80-1 is the axis for the element "difficulty," which handles the two opposing expressions "difficult" and "easy."

[0091] The sliders 81, exemplified by sliders 81-1 to 81-3, are sliders for selecting coordinates on each coordinate axis 80. Specifically, the user moves the slider 81 on each coordinate axis 80 via the terminal device 10 and places the slider 81 at the coordinate indicating the desired strength of expression. In the example of FIG. 8, the user operates the slider 81-1 to select difficulty (-2), i.e., a strength of "ease" 2, on the coordinate axis 80-1, i.e., the "difficulty" axis. The slider 81 may, for example, move continuously on the axis or move in steps by each scale on the axis. This allows the user to intuitively select the tone of the sentence. One slider 81 is assigned to one coordinate axis 80.

[0092] The coordinate axis group 82 presented in the third area 1405 is a group made up of at least one coordinate axis 80. The contents of the coordinate axis group 82 may be selected by the service processing module 2033.

[0093] Specifically, the service processing module 2033 may select the contents of the coordinate axis group 82 according to the frequency of use of the coordinate axis 80. Specifically, for example, the service processing module 2033 may group the top three most frequently used coordinate axes 80 into the coordinate axis group 82.

[0094] Furthermore, specifically, the service processing module 2033 may select the contents of the coordinate axes group 82 according to the theme of the text to be output by the instruction statement. Specifically, the service processing module 2033 may select the contents of the coordinate axes group 82 according to, for example, the degree of association between the theme and the element. For example, if the theme is mathematics, value judgments are unlikely to be incorporated into mathematics, so the service processing module 2033 excludes the evaluation coordinate axis 80 from the coordinate axes group 82. On the other hand, if the theme is politics, value judgments are likely to be incorporated into politics, so the service processing module 2033 includes the evaluation coordinate axis 80 in the coordinate axes group 82.

[0095] The contents of the coordinate axis group 82 may be stored by default in the storage unit 202. In this case, the service processing module 2033 may present the contents of the coordinate axis group 82 stored by default in the storage unit 202 in the third area 1405.

[0096] As described above, there may be multiple coordinate axis groups 82. When multiple coordinate axis groups 82 exist, for example, the user may select one coordinate axis group 82 to be presented in the third area 1405 from the multiple coordinate axis groups 82 via the terminal device 10.

[0097] The button 83 is a button for editing the contents of the coordinate axis group 82. Specifically, for example, when the user presses the button 83, the service processing module 2033 may present to the user an interface for adding or removing coordinate axes 80 from the coordinate axis group 82. Via the presented interface, the user can delete from the coordinate axis group 82 a coordinate axis 80 that is currently being presented in the coordinate axis group 82, or can add to the coordinate axis group 82 a coordinate axis 80 that is not currently being presented in the coordinate axis group 82.

[0098] Fig. 9 is a schematic diagram showing an example of the display screen of the display 141 of the terminal device 10. Fig. 9 is an enlarged view of the third area 1405 of Fig. 7, i.e., the area for selecting the tone. When the coordinate axes 80 constituting the coordinate axis group 82 are two, Fig. 9 can be presented instead of Fig. 8.

[0099] The coordinate axes 80, exemplified by coordinate axes 80-1 and 80-2, are coordinate axes for selecting a tone. The two coordinate axes 80 are arranged two-dimensionally. That is, one coordinate axis 80 is the X-axis and the other coordinate axis 80 is the Y-axis. The two coordinate axes 80 form a Cartesian coordinate system. Specifically, the user selects a coordinate on the Cartesian coordinate system that indicates a desired tone via the terminal device 10. In steps 605 and 606, the tone of the sentence is changed based on the selected tone.

[0100] Each coordinate axis 80 is assigned an element that defines the tone of the text by the LLM system 30. Two semantically opposing expressions are displayed consecutively between the two ends of the axis under one element. That is, coordinates closer to one end of the axis indicate a tone in which one expression is stronger, and coordinates closer to the other end of the axis indicate a tone in which the other expression is stronger. The axes may be separated by a scale indicating the intensity of the expressions.

[0101] The slider 81 is a slider for selecting a coordinate on a Cartesian coordinate system. Specifically, the user places the slider 81 on the coordinate that indicates the desired strength of expression on the Cartesian coordinate system via the terminal device 10. In the example of FIG. 9, the user operates the slider 81 to select the coordinate of difficulty (2) on the difficulty axis and formality (3) on the politeness axis, i.e., the strength of "difficulty" 2 and "formality" 3. The slider 81 moves two-dimensionally, i.e., moves on a Cartesian coordinate system. For example, the slider 81 may move continuously on the coordinate system, or may move in steps in accordance with the scale on the coordinate system. This allows the user to intuitively select the tone of speech. One slider 81 is assigned to each of the two coordinate axes 80.

[0102] The coordinate axis group 82 presented in the third area 1405 is a group made up of two coordinate axes 80. The contents of the coordinate axis group 82 may be selected by the service processing module 2033.

[0103] Specifically, the service processing module 2033 may select the contents of the coordinate axis group 82 according to the frequency of use of the coordinate axis 80. Specifically, for example, the service processing module 2033 may group the top two most frequently used coordinate axes 80 into the coordinate axis group 82.

[0104] Specifically, the service processing module 2033 may select the contents of the coordinate axes group 82 according to the theme of the text to be output by the instruction statement. Specifically, the service processing module 2033 may select the contents of the coordinate axes group 82 according to, for example, the degree of association between the theme and the element. For example, if the theme is mathematics, value judgments are unlikely to appear in mathematics, so the service processing module 2033 excludes the evaluation coordinate axis 80 from the coordinate axes group 82. On the other hand, if the theme is politics, value judgments are likely to appear in politics, so the service processing module 2033 includes the evaluation coordinate axis 80 in the coordinate axes group 82.

[0105] The contents of the coordinate axis group 82 may be stored by default in the storage unit 202. In this case, the service processing module 2033 may present the contents of the coordinate axis group 82 stored by default in the storage unit 202 in the third area 1405.

[0106] As described above, there may be multiple coordinate axis groups 82. When multiple coordinate axis groups 82 exist, for example, the user may select one coordinate axis group 82 to be presented in the third area 1405 from the multiple coordinate axis groups 82 via the terminal device 10.

[0107] The button 83 is a button for editing the contents of the coordinate axis group 82. Specifically, for example, when the user presses the button 83, the service processing module 2033 may present to the user an interface for adding or removing coordinate axes 80 from the coordinate axis group 82. Via the presented interface, the user can delete a coordinate axis 80 currently being presented in the coordinate axis group 82 from the coordinate axis group 82, or can add a coordinate axis 80 not currently being presented to the coordinate axis group 82 to the coordinate axis group 82. The user edits the coordinate axis group 82 using the button 83 so that the coordinate axis group 82 is composed of two coordinate axes 80.

[0108] <7. Summary> As described above, in the above embodiment, the presentation control module 2035 presents a sentence with a predetermined content output from the large-scale language model to the user. The service processing module 2033 has at least one axis related to tone and presents an input interface along the axis to the user, clearly indicating the content of the axis. The reception control module 2031 accepts user operations on the input interface. The service processing module 2033 creates a prompt for changing the tone of the sentence based on the correspondence between the specified coordinates and the tone. The LLM system 30 inputs the created prompt into the large-scale language model and outputs the sentence with the changed tone. The presentation control module 2035 presents the sentence with the changed tone to the user. This allows the user to easily issue instructions regarding tone to the large-scale language system via an intuitive interface without having to input text for the prompt. Therefore, according to the present disclosure, sentences can be created more efficiently using a large-scale language model.

[0109] In addition, in the above embodiment, the tone elements for changing the tone on the axis are preset or are set based on the content suggested by the large-scale language model, which frees the user from the effort of coming up with countless possible tone elements by themselves, allowing the user to easily change the tone.

[0110] Also, in the above embodiment, an axis is selected by the user as the axis for changing the tone, which allows the user to intuitively select the element of tone that they wish to change.

[0111] In the above embodiment, the range of the sentence to be changed in tone is specified by the user in the receiving step, which allows the user to flexibly and intuitively specify the range of the sentence to be changed in tone.

[0112] In addition, in the above embodiment, if the user accepts the tone change, the tone of at least some of the text ranges where the tone has not been changed is changed to match the tone of the text range where the tone has been changed, allowing the user to gradually change the tone of the ranges while maintaining consistency in tone.

[0113] In the above embodiment, in the step of presenting the sentence with the changed tone to the user, the sentence is provisionally presented to the user to allow the user to confirm the change, thereby allowing the user to test the change in tone in advance.

[0114] <8. Variations> In the above embodiment, the user is presented with a user interface for changing the tone and selects the desired tone only after the sentence has been generated and presented to the user. However, the user may be presented with a user interface for changing the tone and select the desired tone before the sentence is generated, for example, at the same time as the user is able to input instructions.

[0115] In the above embodiment, the tone of the sentence generated by the LLM system 30 in the sentence generation service, i.e., the output sentence, is changed. However, the tone of sentences other than the output sentence may also be changed. For example, a user may change the tone of a sentence transcribed from outside the sentence generation service.

[0116] In the above embodiment, the two coordinate axes 80 constituting the coordinate axis group 82 in Fig. 9 are described as an example of rendering a Cartesian coordinate system, i.e., a two-dimensional coordinate system. However, the coordinate axes 80 are not limited to a two-dimensional coordinate system, and may render a multidimensional coordinate system of three or more dimensions. In other words, N coordinate axes 80 may render an N-dimensional coordinate system.

[0117] In the above embodiment, the output sentence, i.e., text data, is presented to the user. However, the output sentence may be converted into a predetermined text file through a predetermined operation and then output so that the user can download it.

[0118] In the above embodiment, a prompt from the prompt table 2022 is read when changing the tone. However, instead of the prompt from the prompt table 2022, a prompt from a predetermined template may be read. The prompt from the predetermined template includes blanks for subtracting the selected coordinates, i.e., the expression and value. For example, the prompt from the predetermined template is "If the maximum of the () expression is (), please convert it to the expression () ()." The expression and value are subtracted from ().

[0119] Furthermore, in the above embodiment, an example of a configuration in which each function is provided by the terminal device 10 or the server 20 is described, but this is not limited to this form, and some or all of the functions may be provided by the terminal device 10, the server 20, or both the terminal device 10 and the server 20 in a configuration different from the above embodiment.

[0120] <9 Basic computer hardware configuration> 10 is a block diagram showing the basic hardware configuration of a computer 90. The computer 90 includes at least a processor 91, a main memory device 92, an auxiliary memory device 93, and a communication IF (interface) 99. These are electrically connected to each other by a bus.

[0121] The processor 91 is hardware for executing an instruction set written in a program, and is composed of an arithmetic unit, registers, peripheral circuits, and the like.

[0122] The main storage device 92 is used to temporarily store programs, data to be processed by the programs, etc. For example, it is a volatile memory such as a DRAM (Dynamic Random Access Memory).

[0123] The auxiliary storage device 93 is a storage device for saving data and programs, such as a flash memory, a hard disk drive (HDD), a magneto-optical disk, a CD-ROM, a DVD-ROM, or a semiconductor memory.

[0124] The communication IF 99 is an interface for inputting and outputting signals for communicating with other computers via a network using wired or wireless communication standards. The network is composed of the Internet, a LAN, various mobile communication systems constructed by wireless base stations, etc. For example, the network includes 3G, 4G, and 5G mobile communication systems, LTE (Long Term Evolution), and wireless networks (e.g., Wi-Fi (registered trademark)) that can connect to the Internet via a predetermined access point. In the case of a wireless connection, communication protocols include, for example, Z-Wave (registered trademark), ZigBee (registered trademark), and Bluetooth (registered trademark). In the case of a wired connection, the network also includes a direct connection using a USB (Universal Serial Bus) cable, etc.

[0125] It should be noted that the computer 90 can be virtually realized by distributing all or part of each hardware configuration across multiple computers 90 and interconnecting them via a network. In this way, the computer 90 is a concept that includes not only a computer 90 housed in a single housing or case, but also a virtualized computer system.

[0126] <Basic functional configuration of computer 90> A description will be given of the functional configuration of a computer realized by the basic hardware configuration of a computer 90 shown in Fig. 10. The computer includes at least the functional units of a control unit, a storage unit, and a communication unit.

[0127] The functional units of the computer 90 can also be realized by distributing all or part of the functional units among multiple computers 90 interconnected via a network. The computer 90 is a concept that includes not only a single computer 90 but also a virtualized computer system.

[0128] The control unit is realized by the processor 91 reading various programs stored in the auxiliary storage device 93, expanding them in the main storage device 92, and executing processing in accordance with the programs. The control unit can realize functional units that perform various types of information processing depending on the type of program. In this way, the computer is realized as an information processing device that processes information.

[0129] The storage unit is realized by a main storage device 92 and an auxiliary storage device 93. The storage unit stores data, various programs, and various databases. Furthermore, the processor 91 can allocate a storage area corresponding to the storage unit in the main storage device 92 or the auxiliary storage device 93 in accordance with the programs. Furthermore, the control unit can cause the processor 91 to execute processes for adding, updating, and deleting data stored in the storage unit in accordance with the various programs.

[0130] A database refers to a relational database, which manages data sets called tables, which are structured by rows and columns, by relating them to each other. In a database, a table is called a table, a column in a table is called a column, and a row in a table is called a record. In a relational database, relationships between tables can be set and associated. Usually, each table has a column set as a key for uniquely identifying a record, but setting a key to a column is not essential. The control unit can cause the processor 91 to add, delete, or update records in a specific table stored in the storage unit according to various programs.

[0131] The communication unit is realized by the communication IF 99. The communication unit realizes the function of communicating with other computers 90 via a network. The communication unit can receive information transmitted from other computers 90 and input the information to the control unit. The control unit can cause the processor 91 to execute information processing on the received information in accordance with various programs. In addition, the communication unit can transmit information output from the control unit to other computers 90.

[0132] The functions performed by the components described herein may be implemented in circuitry or processing circuitry, including general-purpose processors, application-specific processors, integrated circuits, ASICs (Application Specific Integrated Circuits), a CPU (a Central Processing Unit), conventional circuits, and / or combinations thereof, programmed to perform the described functions. A processor includes transistors and other circuits and is considered to be circuitry or processing circuitry. A processor may also be a programmed processor that executes programs stored in memory. In this specification, a circuitry, unit, or means is hardware that is programmed to realize or performs the described functions, which may be any hardware disclosed herein or any hardware known to be programmed to realize or perform the described functions. If the hardware is a processor considered to be a type of circuitry, the circuitry, means, or unit is a combination of the hardware and software used to configure the hardware and / or processor.

[0133] Although several embodiments of the present disclosure have been described above, these embodiments can be embodied in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and modifications are intended to be included in the scope of the inventions and their equivalents as defined in the claims, as well as in the scope and spirit of the inventions.

[0134] <Additional Notes> The matters described in the above embodiments will be supplemented below. (Appendix 1) a program for operating a computer having a processor (29) and a memory (25), the program causing the processor to perform the following steps: presenting a sentence of a predetermined content output from a large-scale language model to a user; presenting an input interface having at least one axis (80) related to tone and aligned with the axis, with the content of the axis clearly indicated; accepting operations from the user on the input interface; creating a prompt to change the tone of the sentence based on a correspondence between specified coordinates and tone; inputting the created prompt into the large-scale language model and outputting the sentence with the changed tone; and presenting the sentence with the changed tone to the user. (Appendix 2) The program described in (Appendix 1), wherein the tone elements for changing the tone on the axis are set in advance or based on content suggested by a large-scale language model. (Appendix 3) The program of (Appendix 1), wherein the axis is selected by the user as the axis for changing the tone. (Appendix 4) The program according to any one of (Appendix 1) to (Appendix 3), wherein in the receiving step, the range of the sentence in which the tone is to be changed is specified by the user. (Appendix 5) A program as described in any one of (Appendix 1) to (Appendix 4), which, if the change in tone is accepted by the user, changes the tone of at least some of the text ranges whose tone has not been changed to match the tone of the text ranges whose tone has been changed. (Appendix 6) A program according to any one of (Appendix 1) to (Appendix 5), wherein in the step of presenting the sentence with the changed tone to the user, the sentence is provisionally presented to the user to allow the user to confirm the change. (Appendix 7) A method executed by a computer having a processor and a memory, wherein the processor executes all of the steps performed in any of the inventions according to (Appendix 1) to (Appendix 6). (Appendix 8) An information processing device comprising a control unit 203 and a storage unit 202, wherein the control unit executes all of the steps executed in the invention according to any one of (Appendix 1) to (Appendix 6). (Appendix 9) A system comprising means for executing all steps performed in any of the inventions according to (Appendix 1) to (Appendix 6). [Explanation of symbols]

[0135] 1. System 10...Terminal device 12...Communication IF 13...Input device 14...Output device 15...Memory 16…Storage 19...Processor 20...Server 22...Communication IF 23...Input / output interface 25…Memory 26…Storage 29...Processor 30...LLM System 80…Network 120…Communications Department 131...Touch-sensitive devices 141...Display 150...Location information sensor 160...camera 17...Audio processing unit 171...Mike 172...Speaker 180...Storage section 181...User information 190...Control unit 191...Operation reception section 192...Transmitter / receiver 193...Presentation control unit 201…Communications Department 202...Storage section 2021...User Information Table 2022… Prompt Table 203...Control unit 2031...Receiver control module 2032...Transmission control module 2033...Service processing module 2035…Presentation control module 90...Server (computer) 91...Processor 92...Memory (main storage device) 93...Storage (auxiliary storage device) 99...Communication IF

Claims

1. A program for operating a computer including a processor and a memory, the program causing the processor to: presenting a sentence of predetermined content output from the large-scale language model to a user; presenting to a user an input interface having at least one axis related to tone, along with a description of the axis; receiving user input via an input interface and specifying a range of text to be changed by the user; generating a prompt to change the tone of the sentence based on the correspondence between the specified coordinates and the tone; inputting the generated prompt into a large-scale language model and outputting a sentence with a modified tone; presenting the tone-modified sentence to a user; A program that executes the following.

2. The program according to claim 1 , wherein the tone elements for changing the tone on the axis are set in advance or based on content suggested by a large-scale language model.

3. The program of claim 1 , wherein the axis is selected by a user as an axis for varying tone.

4. 2. The program of claim 1, further comprising: if the change in tone is accepted by the user, changing the tone of at least a portion of the text ranges whose tone has not been changed to match the tone of the text ranges whose tone has been changed.

5. 2. The program of claim 1, wherein the step of presenting the sentence with the changed tone to the user includes provisionally presenting the sentence to the user to allow the user to confirm the change.

6. A method implemented on a computer having a processor and a memory, wherein the processor executes all of the steps performed in the invention according to any one of claims 1 to 5.

7. 10. An information processing device comprising a control unit and a storage unit, wherein the control unit executes all of the steps executed in the invention according to any one of claims 1 to 5.

8. A system comprising means for executing all steps executed in any one of the inventions according to claims 1 to 5.

Citation Information

Patent Citations

  • Text generation device and text generation method

    JP7325152B1

  • Script modification

    US20200125638A1