Information processing device, information processing system, information processing method, and program

JP2025025808AInactive Publication Date: 2025-02-21RICOH CO LTD

Patent Information

Application Number
JP2023130945
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-08-10
Publication Date
2025-02-21
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 2025025808000001_ABST
    Figure 2025025808000001_ABST
Patent Text Reader

Abstract

To provide an information processing device that supports generation of a sentence using a language model.SOLUTION: An information processing device includes: chatbot control means that asks one or more questions to an end user according to a scenario and acquires answers to the questions; prompt generation means that generates a prompt where one or more variable portions included in a template prompt are replaced with answers corresponding to the variable portions; and sentence data acquisition means that acquires sentence data generated by inputting the generated prompt into a language model. The chatbot control means displays acquired sentence data on a user terminal operated by the end user.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

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

[0002] In recent years, various language models have been developed. Language models are now capable of not only recognizing text and understanding its meaning, but also extracting and classifying information from data that contains huge amounts of text, such as documents, and directly generating text.

[0003] Language models are actively used in various text-based fields, such as search engines, document creation, free dialogue on various topics, data parsing on a given text, providing expert knowledge, programming, style conversion of a given text, etc. (see, for example, Patent Document 1). Summary of the Invention [Problem to be solved by the invention]

[0004] A user may create documents (such as event planning documents, product or commodity explanatory documents, and real estate property introduction documents) for promoting (public relations) their company's products or services. By using a language model, the user can easily generate the documents. However, in order to generate more accurate documents using a language model, it is necessary to appropriately generate prompts to be input to the language model. It is sometimes difficult for users who are not familiar with language models to generate appropriate prompts. Patent Document 1 does not solve such a problem.

[0005] An embodiment of the present invention has been made in consideration of the above-mentioned problems, and has an object to provide an information processing device that supports the generation of sentences using a language model. [Means for solving the problem]

[0006] One embodiment of the present invention is an information processing device that includes a chatbot control means for asking an end user one or more questions according to a scenario and obtaining answers to the questions, a prompt generation means for generating a prompt in which one or more variable parts included in a template prompt are replaced with the answers corresponding to the variable parts, and a sentence data acquisition means for acquiring sentence data generated by inputting the generated prompt into a language model, wherein the chatbot control means displays the acquired sentence data on a user terminal operated by the end user. Effect of the Invention

[0007] It can assist in generating sentences using language models. [Brief description of the drawings]

[0008] [Figure 1] 1 is a configuration diagram of an example of an information processing system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram illustrating an example of a hardware configuration of a computer according to the present embodiment. [Diagram 3] 1 is a functional configuration diagram of an example of an information processing system according to an embodiment of the present invention. [Figure 4] FIG. 13 is a diagram illustrating an example of a chatbot configuration DB. [Diagram 5] FIG. 2 is a diagram illustrating an example of a scenario DB. [Figure 6] FIG. 11 is a diagram illustrating an example of a scenario managed in JSON format. [Figure 7] FIG. 11 is a diagram illustrating an example of a scenario managed in JSON format. [Figure 8] FIG. 11 is a diagram illustrating an example of a scenario managed in JSON format. [Figure 9] FIG. 13 is an image diagram of an example of a scenario screen. [Figure 10] FIG. 13 is an image diagram of an example of a chatbot screen. [Figure 11]This is an image of a chat bolt screen showing an example of the content of a conversation between a chatbot function and an end user according to a scenario. [Figure 12] 10 is a sequence diagram showing an example of a process for generating text data in the information processing system according to the embodiment. FIG. [Figure 13] FIG. 13 is an image diagram of an example of a chatbot screen in which answers from end users are selected. [Figure 14] FIG. 1 is an explanatory diagram showing an example of an outline of the operation of a chatbot system capable of human response. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings. [First embodiment] <System configuration> 1 is a configuration diagram of an example of an information processing system according to this embodiment. The information processing system 1 according to this embodiment has an information processing device 10 such as a chatbot server, an information processing device 12 such as a text generation server, an administrator terminal 14, and a user terminal 16 connected to each other so as to be able to communicate with each other via a network 18. The network 18 is the Internet, a LAN (Local Area Network), or the like.

[0010] The information processing device 10 provides a chatbot function. A chatbot is a term combining chat and bot (robot), and is an application or program such as an automatic conversation program that automates a certain task or process. Chatting refers to having a conversation by inputting text. Note that the text may be input using a keyboard or may be input by voice.

[0011] The information processing device 10 may function as a web server and provide data of a web page in which a chatbot is installed to the administrator terminal 14 and the user terminal 16. For example, the information processing device 10 answers questions from the user terminal 16 based on a scenario.

[0012] A scenario is information in which a conversation flow is set in advance. In addition, questions (messages) for prompting an end user to answer text data are set in the scenario. The information processing device 10 performs chatbot processing that allows a conversation to be held between the end user and the chatbot function provided by the information processing device 10.

[0013] The information processing device 12 provides a text generation function by using a language model such as a large language model. The language model used by the information processing device 12 may be, for example, ChatGPT (registered trademark). The information processing device 12 inputs the received prompt into the language model to generate text data according to the prompt and provides the text data to the information processing device 10. A prompt is a query statement or instruction statement that specifies the conditions for the text to be generated by the language model. In order to have the language model generate text data with high accuracy, it is necessary to devise a prompt to be generated.

[0014] The administrator terminal 14 is operated by an administrator user. The administrator user is, for example, a user of an organization such as a company that provides various services such as a chatbot service using the information processing device 10. The administrator terminal 14 is a PC (Personal Computer), a smartphone, a tablet terminal, a mobile phone, a PDA (Personal Digital Assistant), or the like that is operated by the administrator user.

[0015] The user terminal 16 is operated by an end user. The end user is a user who uses various services such as a chatbot service provided by the information processing device 10. The user terminal 16 is a PC, a smartphone, a tablet terminal, a mobile phone, a PDA, or the like operated by the end user. The user terminal 16 displays the chatbot function provided by the information processing device 10 and the contents of the conversation between the end user and the user in accordance with the chatbot processing of the information processing device 10.

[0016] In the information processing system 1 according to this embodiment, the information processing device 10 asks an end user one or more questions according to a scenario, obtains answers to the questions, and generates a prompt using the obtained answers and a template prompt described below. The information processing device 12 generates text data by inputting the prompt generated by the information processing device 10 into a language model, and provides the text data to the information processing device 10. The information processing device 10 then displays the text data provided by the information processing device 12 on the user terminal 16, allowing the end user to confirm it.

[0017] In addition, the administrator terminal 14 or the user terminal 16 may be a printer, a scanner, a facsimile, a multifunction peripheral (MFP), a projector, a display device with an electronic whiteboard function, an output device such as digital signage, a HUD (Head Up Display) device, industrial machinery, an imaging device, a sound collection device, a medical device, a network home appliance, an automobile (Connected Car), a game console, etc.

[0018] The information processing devices 10 and 12 are PCs, workstations, etc. The information processing devices 10 and 12 may also be printers, scanners, facsimiles, multifunction machines, projectors, display devices with electronic whiteboard functions, output devices such as digital signage, HUD devices, industrial machinery, imaging devices, sound collection devices, medical equipment, network home appliances, automobiles, game consoles, etc.

[0019] Note that the configuration of the information processing system 1 shown in FIG. 1 is one example. The information processing devices 10 and 12 have various system configuration examples depending on the use and purpose. For example, the information processing devices 10 and 12 may be configured with one or more information processing devices. Furthermore, the information processing devices 10 and 12 may be realized as a cloud computing service. The services provided by the information processing devices 10 and 12 may be provided as one service.

[0020] <Hardware configuration> "computer" The information processing device 10, the information processing device 12, the administrator terminal 14, and the user terminal 16 shown in Fig. 1 are realized by, for example, a computer 500 having a hardware configuration shown in Fig. 2. Fig. 2 is a diagram showing an example of the hardware configuration of a computer according to this embodiment.

[0021] The computer 500 includes a CPU (Central Processing Unit) 501, a ROM (Read Only Memory) 502, a RAM (Random Access Memory) 503, a HD 504, a HDD (Hard Disk Drive) controller 505, a display 506, an external device connection I / F (Interface) 508, a network I / F 509, a data bus 510, a keyboard 511, a pointing device 512, a DVD-RW (Digital Versatile Disk Rewritable) drive 514, and a media I / F 516.

[0022] The CPU 501 controls the overall operation of the computer 500 according to a program. The ROM 502 stores programs such as an IPL used to drive the CPU 501. The RAM 503 is used as a work area for the CPU 501. The HD 504 stores various data such as programs. The HDD controller 505 controls the reading and writing of various data from and to the HD 504 according to the control of the CPU 501.

[0023] The display 506 displays various information such as a cursor, a menu, a window, characters, or an image. The external device connection I / F 508 is an interface for connecting various external devices. In this case, the external device is, for example, a USB (Universal Serial Bus) memory. The network I / F 509 is an interface for data communication using the network 18. The data bus 510 is an address bus, a data bus, or the like for electrically connecting each component such as the CPU 501.

[0024] The keyboard 511 is a type of input means having a plurality of keys for inputting characters, numbers, various instructions, etc. The pointing device 512 is a type of input means for selecting and executing various instructions, selecting a processing target, moving a cursor, etc. The DVD-RW drive 514 controls reading and writing of various data from a DVD-RW 513 as an example of a removable recording medium. Note that the medium is not limited to a DVD-RW, and may be a DVD-R or the like. The media I / F 516 controls reading and writing (storing) of data from a recording medium 515 such as a flash memory.

[0025] It should be noted that the hardware configuration shown in FIG. 2 is merely an example, and it is not necessary for the configuration to include all of the components shown in FIG. 2, or the configuration may include components other than those shown in FIG.

[0026] <Functional configuration> Fig. 3 is a functional configuration diagram of an example of an information processing system according to this embodiment. Note that the functional configuration diagram of Fig. 3 appropriately omits configuration that is not necessary for explaining this embodiment.

[0027] The information processing device 10 realizes the functional configuration of Fig. 3 by, for example, a computer 500 in Fig. 2 executing an OS (Operating System) and a program. The information processing device 10 shown in Fig. 3 has a chatbot control unit 30, a scenario editing unit 32, a prompt generation unit 34, a text data acquisition unit 36, a chatbot configuration DB 38, and a scenario DB 40.

[0028] 2 executes an OS and a program, the information processing device 12 realizes the functional configuration of Fig. 3. The information processing device 12 shown in Fig. 3 includes a prompt input receiving unit 50, a text data generating unit 52, a text data providing unit 54, and a language model 56.

[0029] 2 executes an OS and a program, the administrator terminal 14 realizes the functional configuration of Fig. 3. The administrator terminal 14 shown in Fig. 3 includes an input unit 70 and a display unit 72.

[0030] 2 executes an OS and a program, the user terminal 16 realizes the functional configuration of Fig. 3. The user terminal 16 shown in Fig. 3 includes an input unit 90 and a display unit 92.

[0031] The chatbot control unit 30 performs chatbot processing to ask one or more questions to an end user operating the user terminal 16 according to a scenario, and to obtain from the user terminal 16 the end user's answer to the question.

[0032] The scenario editing unit 32 displays a scenario screen that receives an operation to edit a scenario from an administrator user on the administrator terminal 14 operated by the administrator user, and performs processing to edit the scenario in accordance with the operation of the administrator user received on the scenario screen. Details of the processing to edit a scenario will be described later.

[0033] As described below, the prompt generation unit 34 generates a prompt by using a template prompt including one or more variable parts. The prompt generation unit 34 generates a prompt by replacing one or more variable parts included in the template prompt with an answer corresponding to the one or more variable parts acquired by the chatbot control unit 30. Details of the processing by the prompt generation unit 34 will be described later.

[0034] The sentence data acquisition unit 36 ​​transmits the prompt generated by the prompt generation unit 34 to the information processing device 12, and acquires sentence data generated by inputting the generated prompt to the language model 56 (output from the language model 56).

[0035] The chatbot configuration DB38 has a configuration shown in FIG. 4, for example, and is an example of information for managing the chatbot configuration. The item "ID" of the chatbot configuration DB38 is an example of information for identifying a scenario, and may be unique information. The item "ShowText" is an example of text to be displayed on a button in the chatbot. The item "CustomScenarioID" is an example of an ID of a scenario to be displayed on the screen of the administrator terminal 14. "$category" and "$frequent" set as examples in the item "CustomScenarioID" in FIG. 4 are IDs of built-in scenarios. "17" set as an example in the item "CustomScenarioID" in FIG. 4 is the ID of a scenario (custom scenario) set on a scenario screen described later.

[0036] Scenario DB 40 has a configuration as shown in FIG. 5, for example, and is an example of information for managing scenarios. The item "ID" in scenario DB 40 is an example of information for identifying a scenario. Also, the item "Flow" manages scenarios set (defined) on a scenario screen, which will be described later. For example, in the column of the item "Flow", scenarios are managed in the Json format as shown in FIGS. 6 to 8. FIGS. 6 to 8 are configuration diagrams of an example of scenarios managed in Json format. Details of the scenarios shown in FIGS. 6 to 8 will be described later.

[0037] The prompt input receiving unit 50 receives a prompt from the information processing device 10 and accepts input of the prompt. The text data generating unit 52 generates text data according to the prompt by inputting the prompt received from the information processing device 10 to a language model 56. The text data providing unit 54 provides the text data generated by the text data generating unit 52 to the information processing device 10.

[0038] The input unit 70 of the administrator terminal 14 accepts operations from the administrator user. The display unit 72 displays a screen such as a scenario screen to be confirmed by the administrator user. The input unit 90 of the user terminal 16 accepts operations from the end user. The display unit 92 displays the contents of the conversation between the chatbot function provided by the information processing device 10 and the end user, and text data such as text generated by the information processing device 12 in response to a prompt.

[0039] <Processing> <Scenario Management> The administrator user operates the administrator terminal 14 to display, for example, a scenario screen 1000 shown in FIG. 9, and creates a new scenario (hereinafter, referred to as a custom scenario) or modifies (hereinafter, referred to as editing) the scenario.

[0040] FIG. 9 is an image diagram of an example of a scenario screen. For example, an administrator user logs in to a management screen or the like and transitions to a scenario screen 1000. The scenario screen 1000 has an edit column 1010 for a custom scenario. The administrator user edits the custom scenario by using cards 1020-1 to 1020-7 displayed in the edit column 1010 of FIG. 9, for example. It should be noted that cards 1020-1 to 1020-7 may be collectively referred to as cards 1020. The administrator user can add a new card 1020 to the edit column 1010 by pressing a button 1012.

[0041] There are three types of cards 1020: a card that is executed first, a card that is executed second or later, and a card that executes sentence generation using a language model on its back. Card 1020-1 is an example of a card that is executed first. Cards 1020-2, 1020-3, 1020-5, 1020-6, and 1020-7 are examples of cards that are executed second or later. Card 1020-4 is an example of a card that executes sentence generation using a language model on its back.

[0042] The scenario screen 1000 also has a template prompt input field 1002. For example, the following template prompt is displayed as an example in the template prompt input field 1002 of FIG.

[0043] "You are the company's public relations officer. Please write a 150-word introduction that explains the appeal of the following product. The product is {{request1}}, the price is {{request2}}, and it has the following features: {{request3}}." 9, the template prompt includes one or more variable parts {{request1}}-{{request3}}. In an edit field 1010, the administrator user edits a scenario for having the end user respond with text data to be substituted for one or more variable parts {{request1}}-{{request3}} of the template prompt.

[0044] For example, card 1020-1 is a card for prompting the end user to respond with text data to be substituted for the variable portion {{request1}} of the template prompt, and for replacing the variable portion {{request1}} of the template prompt.

[0045] The card 1020-2 is a card for prompting the end user to respond with text data to be substituted for the variable portion {{request2}} of the template prompt, and for replacing the variable portion {{request2}} of the template prompt.

[0046] The card 1020-3 is a card for prompting the end user to respond with text data to be substituted for the variable portion {{request3}} of the template prompt, and for replacing the variable portion {{request3}} of the template prompt.

[0047] 9 are replaced with text data of the end user's answer through cards 1020-1 to 1020-3, for example. The sentence data generated by inputting the prompt into the language model 56 is stored in the variable of the output variable input field 1004.

[0048] Card 1020-5 is a card for acquiring end user evaluation information on the text data generated by inputting a prompt into the language model 56, and changing subsequent processing based on the end user evaluation information. If the end user evaluation information on the text data generated by inputting a prompt into the language model 56 is "satisfied", processing transitions to returning to the beginning of card 1020-6. If the end user evaluation information on the text data generated by inputting a prompt into the language model 56 is not "satisfied", processing transitions to card 1020-7.

[0049] Card 1020-7 is a card for having the end user respond to the end user's complaints about the text data generated by inputting the prompt into language model 56, and for adding the end user's complaints to the prompt. After processing card 1020-7, processing returns to card 1020-4. The text data generated by inputting the corrected prompt into language model 56 has the complaints answered by the end user improved by processing card 1020-7.

[0050] The administrator user operates the administrator terminal 14 to edit, for example, the scenario shown in FIGS. 6 to 8 on a scenario screen 1000 shown in FIG.

[0051] In the JSON format definition in Figures 6 to 8, the following key and value pairs are saved in an array.

[0052] Key:cardx(uuid):uuid Value:Card type:type scenario-start-card: The first card to be executed scenario-card: Card to be executed from the second onwards system-card: A language model that runs text generation in the background ports:Action object details id: UUID assigned to each action object type: Type of action object interview-action-object-output-port: Can be used on scenario-start-card or scenario-card Save the end user input to the variable named by variableName. text-action-object-output-port: Can be used on scenario-start-card or scenario-card Displays the text specified in text as the button name. backtofirst-action-object-output-port: Press to go to the first option Displays the text specified in text as the button name. gpt-action-object-output-port: Action object to query ChatGPT request: The question to ChatGPT By using {{variable name}}, the value stored in the variable will be displayed. response: The variable name to store the ChatGPT response next: ID of the next card If empty, end the custom scenario and go to the first option. message: Message to display in chatbot Can be used on scenario-start-card or scenario-card By using {{variable name}}, the value stored in the variable will be displayed.

[0053] The administrator user can operate the administrator terminal 14 to edit the scenario shown in Fig. 6 to Fig. 8, for example, and then select to make the scenario available to the end user from the management screen, etc. The end user can select to execute the scenario made available to the user from, for example, the chatbot screen 1200 shown in Fig. 10.

[0054] <Scenario execution> Fig. 10 is an image diagram of an example of a chatbot screen. An end user can operate the user terminal 16 and press a button 1202 on a chatbot screen 1200 to have a conversation with the chatbot function according to a scenario such as those shown in Figs. 6 to 8.

[0055] Fig. 11 is an image diagram of a chat vault screen showing an example of the contents of a conversation between a chatbot function and an end user according to a scenario. Messages 1212-1 to 1212-7 on the left side of the chatbot screen 1200 in Fig. 11 are examples of messages input by the chatbot function. Messages 1214-1 to 1214-6 on the right side of the chatbot screen 1200 are examples of messages input by an end user.

[0056] Messages 1212-1 and 1214-1 are examples in which the chatbot function asks a question according to the contents of the scenario set by card 1020-1, and the end user answers. Based on the conversation contents of messages 1212-1 and 1214-1, "potato chips" is stored in the variable {{request1}}.

[0057] Messages 1212-2 and 1214-2 are examples in which the chatbot function asks a question according to the contents of the scenario set by card 1020-2, and the end user answers. Based on the conversation contents of messages 1212-2 and 1214-2, "100 yen" is saved in variable {{request2}}.

[0058] Messages 1212-3 and 1214-3 are examples in which the chatbot function asks a question according to the contents of the scenario set by card 1020-3, and the end user answers. Based on the conversation contents of messages 1212-3 and 1214-3, "Wasabi flavor, very spicy" is saved in variable {{request3}}.

[0059] After message 1214-3 is displayed, the prompt generation unit 34 of the information processing device 10 generates the following prompt in accordance with the contents of the scenario set by card 1020-4, in which the variable portions {{request1}} to {{request3}} included in the template prompt of FIG. 9 are replaced with, for example, the text data of the end user's answer based on cards 1020-1 to 1020-3, "potato chips," "100 yen," and "very spicy wasabi flavor."

[0060] "You are a public relations officer for the company. Please write an introduction of about 150 characters that explains the appeal of the following product. It is a potato chip product, priced at 100 yen, with characteristics such as wasabi flavor and super spicy." The text data acquisition unit 36 ​​of the information processing device 10 transmits the prompt generated by the prompt generation unit 34 to the information processing device 12 in accordance with the contents of the scenario set by the card 1020-4. The text data acquisition unit 36 ​​acquires text data, for example, text data described in message 1212-4, which is generated by inputting the generated prompt to the language model 56.

[0061] Moreover, messages 1212-4 and 1214-4 are examples of displaying sentence data generated by inputting a prompt into the language model 56, and acquiring end user evaluation information on the generated sentence data according to the contents of the scenario set by the card 1020-5. The end user evaluation information "No" is acquired based on the conversation contents of messages 1212-4 and 1214-4.

[0062] Messages 1212-5 and 1214-5 are examples of questions posed by the chatbot function according to the contents of the scenario set by the card 1020-7, and the end user responding. From the conversation contents of messages 1212-5 and 1214-5, the end user's complaint "Please express the difficulty more." is acquired.

[0063] After message 1214-5 is displayed, prompt generation unit 34 of information processing device 10 modifies the prompt to add the end user's complaint, "Please express the difficulty more clearly," in accordance with the contents of the scenario set by card 1020-7.

[0064] The sentence data acquisition unit 36 ​​of the information processing device 10 transmits the prompt generated by the prompt generation unit 34 according to the contents of the modified scenario to the information processing device 12. The sentence data acquisition unit 36 ​​acquires sentence data to be written in the message 1212-6 generated by inputting the generated prompt to the language model 56.

[0065] Messages 1212-6 and 1214-6 are examples of displaying text data generated by inputting a prompt into language model 56, and acquiring end user evaluation information for the generated text data according to the contents of the scenario set by card 1020-5. The end user evaluation information "yes" is acquired according to the conversation contents of messages 1212-6 and 1214-6. Message 1212-7 is an example of performing a return process to the beginning according to the contents of the scenario of card 1020-6.

[0066] 12 is a sequence diagram showing an example of a process for generating text data in the information processing system according to the present embodiment. In step S10, the chatbot control unit 30 of the information processing device 10 asks a question according to the scenario to an end user who operates the user terminal 16. In step S12, the chatbot control unit 30 acquires from the user terminal 16 the end user's answer to the question in step S10.

[0067] In step S14, the chatbot control unit 30 refers to the scenario and determines whether or not there is a next question. If there is a next question, the chatbot control unit 30 returns to the process of step S10 and repeats the processes of steps S10 to S14.

[0068] If it is determined in step S14 that there is no next question, the prompt generating unit 34 of the information processing device 10 generates a prompt in which one or more variable parts included in the template prompt are replaced with the answer acquired in step S12.

[0069] In step S18, the text data acquisition unit 36 ​​of the information processing device 10 transmits the prompt generated in step S16 to the information processing device 12. In step S20, the text data generation unit 52 of the information processing device 12 inputs the prompt received in step S18 to the language model 56, thereby generating text data according to the prompt.

[0070] In step S22, the text data providing unit 54 of the information processing device 12 provides the text data generated in step S20 to the information processing device 10. The text data acquiring unit 36 ​​of the information processing device 10 acquires the text data generated by the information processing device 12 in step S20.

[0071] In step S24, the chatbot control unit 30 of the information processing device 10 causes the text data acquired in step S22 to be displayed on the user terminal 16, for example, as the message 1212-4 shown in FIG.

[0072] In step S26, the input unit 90 of the user terminal 16 acquires evaluation information for the generated text data from the end user. For example, in the case of the message 1212-4 in Fig. 11, the evaluation information for the generated text data is an answer as to whether the end user is satisfied or not. In the case of an answer as to whether the end user is not satisfied, the evaluation information for the generated text data is an answer as to the end user's dissatisfaction.

[0073] In step S28, if the end user's evaluation information for the generated text data is satisfactory, the chatbot control unit 30 terminates the processing of the sequence diagram in Figure 12, and if the end user's evaluation information for the generated text data is not satisfactory, the chatbot control unit 30 returns to the processing of step S10 and continues processing.

[0074] The process in the sequence diagram of FIG. 12 is an example. For example, if the text data acquired from the information processing device 12 in step S22 includes a prohibited word (such as an NG word), the prompt generation unit 34 of the information processing device 10 may modify the prompt so as not to use the prohibited word, and transmit the modified prompt to the information processing device 12 to generate text data. Prohibited words may be registered in advance by an administrator user or an end user. Prohibited words may also be registered for each type of text to be generated. For example, when generating text data for a real estate advertisement, prohibited words may be registered so as to conform to the rules for real estate advertisements. Prohibited words may be registered by an administrator user from an administration screen or the like, or by an end user in a conversation with a chatbot function.

[0075] Furthermore, if the end user's answer is made in a selection format, the end user can more easily answer the question of the chatbot. Therefore, the information processing system 1 according to the present embodiment may make the answer from the end user in a selection format, for example, as shown in message 1300 in Fig. 13. Fig. 13 is an image diagram of an example of a chatbot screen in which the answer from the end user is made in a selection format.

[0076] Message 1300 in FIGS. 13(A) and 13(B) narrows down the keywords of the question in message 1300 from the answers of the end user contained in messages preceding message 1300, and displays them as recommended words (recommended answers).

[0077] For example, in message 1300 in Figure 13 (A), the chatbot narrows down the keywords by type, time, and region from the end user's answers prior to message 1300, "September 2023," "supermarket," and "Tokyo metropolitan area," and displays "summer festival," "health," "camping," and "fatigue prevention" as recommended words.

[0078] For example, in message 1300 in Figure 13 (B), the chatbot narrows down the keywords by type, time, and region from the end user's answers prior to message 1300, "December 2023," "supermarket," and "Tokyo metropolitan area," and displays "Christmas," "health," "year-end party," and "warm and cozy" as recommended words.

[0079] The process of narrowing down the recommended words from the end user's answers may be performed by generating a prompt including the end user's answers and querying ChatGPT for words to recommend as options for the end user's next answer.

[0080] According to the information processing system 1 of this embodiment, an end user can answer questions from a chatbot, and thereby generate prompts that can elicit more accurate answers from a language model 56 such as ChatGPT.

[0081] For example, when an end user who is a farmer creates a promotional text, the end user can generate prompts that can elicit more accurate answers from a language model such as ChatGPT by answering questions from a chatbot.56 End users can easily generate appropriate and attractive promotional text for vegetables, and by posting the promotional text at shipping destinations (markets, retail stores, e-commerce sites, etc.) or on their own company websites, they can appeal to the appeal of the vegetables and expect to increase sales.

[0082] In addition, end users, for example, real estate agents, can answer questions from the chatbot and generate prompts that can elicit more accurate answers from language models such as ChatGPT.56 End users can easily generate appropriate and attractive PR text for vegetables, and by posting the text on a real estate portal site, they can appeal to the appeal of the property and hopefully close the deal. [Other embodiments] The information processing system 1 according to this embodiment may be applied to a chatbot system capable of manned response as shown in Fig. 14. Fig. 14 is an explanatory diagram of an example showing an outline of the operation of a chatbot system capable of manned response.

[0083] A web browser runs on the user terminal 16, and executes a web application provided by the information processing device 10. The web application realizes a chatbot that answers questions from end users.

[0084] (1) For example, an end user inputs a question into a user terminal 16 on which a Web application is running.

[0085] (2) The information processing device 10 understands the content of the question of the end user. The information processing device 10 may be an AI (Artificial Intelligence) that has learned the correspondence between questions and answers.

[0086] (3) The information processing device 10 acquires an answer corresponding to the question from the question and answer information storage unit.

[0087] (4) The information processing device 10 transmits the answer to the user terminal 16 .

[0088] For example, when an end user selects to execute a scenario, as described above, the information processing device 10 conducts a conversation between the chatbot function and the end user according to the scenario, generates a prompt from the content of the conversation, and transmits the prompt to the information processing device 12 to obtain the text data desired by the end user.

[0089] (5) The information processing device 10 stores the conversation between the chatbot function and the end user in a history information storage unit or the like.

[0090] (6) The end user can input an operation for requesting human response into the user terminal 16 and shift to human response. For example, as shown in the first embodiment, if the end user repeatedly generates text data while correcting the prompt and is unable to obtain satisfactory text data, the end user may shift to human response. The shift to human response may be performed when the prompt is corrected a predetermined number of times or more, when it is detected that a word for requesting human response is included in the conversation between the chatbot function and the end user, or when the end user performs an operation for requesting human response.

[0091] In this way, the chatbot system not only generates text data using the chatbot function shown in the first embodiment and the content of conversations with end users, but also enables support for end users through human response.

[0092] (7) The operator may use his / her own knowledge and research to assist in generating prompts to enable the end user to obtain satisfactory text data.

[0093] (8) The administrator user can have the administrator terminal 14 communicate with the information processing device 10 and edit the question and answer information in order to improve the answers to questions, for example.

[0094] Each function of the above-described embodiments can be realized by one or more processing circuits. Here, the term "processing circuit" in this specification includes a processor programmed to execute each function by software, such as a processor implemented by an electronic circuit, and a device such as an ASIC (Application Specific Integrated Circuit), a DSP (digital signal processor), an FPGA (field programmable gate array), or a conventional circuit module designed to execute each function described above.

[0095] The group of devices described in the examples merely shows one of a number of computing environments for implementing the embodiments disclosed herein. The present invention is not limited to the present embodiment, and the components in the present embodiment include those that can be easily conceived by a person skilled in the art, those that are substantially the same, and those that are within the scope of what is called equivalent. Furthermore, various omissions, substitutions, modifications, and combinations of the components can be made without departing from the spirit of the present embodiment.

[0096] For example, aspects of the present invention are as follows. <1> A chatbot control means for asking one or more questions to an end user according to a scenario and obtaining answers to the questions; a prompt generating means for generating a prompt in which one or more variable parts included in a template prompt are replaced with the answer corresponding to the variable parts; a sentence data acquisition means for acquiring sentence data generated by inputting the generated prompt into a language model; having The chatbot control means Displaying the acquired text data on a user terminal operated by the end user. An information processing device comprising: <2> The scenario includes questions to be answered by the end user, the questions including text data to be substituted for one or more variable parts included in the template prompt. The above-mentioned <1> The information processing device described. <3> a scenario editing means for displaying a scenario screen for receiving an operation for editing the scenario from an administrator user on an administrator terminal operated by the administrator user, and for editing the scenario in accordance with the operation of the administrator user received on the scenario screen. The above <1> or <2> The information processing device described. <4> the prompt generating means, when the acquired text data includes a prohibited word, modifies the prompt so as not to use the prohibited word; The sentence data acquisition means acquires sentence data generated by inputting the modified prompt into a language model. The above-mentioned <1> ~ <3> 13. An information processing device according to claim 12 . <5> The chatbot control means acquires evaluation information of the end user with respect to the acquired text data, The prompt generating means modifies the prompt based on the end user's evaluation information; The sentence data acquisition means acquires sentence data generated by inputting the modified prompt into a language model. The above-mentioned <1> ~ <4> 13. An information processing device according to claim 12 . <6> The chatbot control means selects a word to be recommended in an answer to a subsequent question based on an answer to the question already obtained from the end user, and includes the selected word in the subsequent question. The above-mentioned <1> ~ <5> 13. An information processing device according to claim 12 . <7> The chatbot control means determines a timing for the chatbot control means to start asking one or more questions to the end user according to the scenario, based on the end user's operation or the content of the conversation with the chatbot. The above <1> ~ <6> 13. An information processing device according to claim 12 . <8> An information processing system in which a user terminal operated by an end user and an information processing device that provides a chatbot function communicate with each other via a network, The information processing device includes: A chatbot control means for asking one or more questions to an end user according to a scenario and obtaining answers to the questions; a prompt generating means for generating a prompt in which one or more variable parts included in a template prompt are replaced with the answer corresponding to the variable parts; a sentence data acquisition means for acquiring sentence data generated by inputting the generated prompt into a language model; having The user terminal, A display means for displaying the content of the conversation between the chatbot function and the end user, and the text data acquired by the text data acquisition means; have Information processing system. <9> An information processing method performed by an information processing system in which a user terminal operated by an end user and an information processing device providing a chatbot function communicate with each other via a network, comprising: The information processing device includes: Asking one or more questions to an end user according to a scenario and obtaining answers to said questions; generating a prompt in which one or more variable parts included in a template prompt are replaced with the answer corresponding to the variable parts; obtaining sentence data generated by inputting the generated prompt into a language model; having The user terminal, A step of displaying the conversation between the chatbot function and the end user, and the text data acquired in the step of acquiring the text data; have Information processing methods. <10> In the information processing device, A chatbot control procedure for asking one or more questions to an end user according to a scenario and obtaining answers to the questions; a prompt generating step of generating a prompt in which one or more variable parts included in a template prompt are replaced with the answer corresponding to the variable parts; a sentence data acquisition step of acquiring sentence data generated by inputting the generated prompt into a language model; a display step of displaying the acquired text data on a user terminal operated by the end user; A program for executing the above. [Explanation of symbols]

[0097] 1. Information Processing Systems 10. Information processing device 12 Information processing equipment 14 Administrator terminal 16 User terminals 18 Network 30 Chatbot control section 32 Scenario Editorial Department 34 Prompt Generation Unit 36 Text data acquisition section 38 Chatbot configuration DB 40 Scenario DB 50 Prompt input reception section 52 Text data generation unit 54 Text Data Provider 56 Language Models 70, 90 Input section 72, 92 display section [Prior art documents] [Patent documents]

[0098] [Patent Document 1] JP 2023-43129 A

Claims

1. A chatbot control means for asking one or more questions to an end user according to a scenario and obtaining answers to the questions; a prompt generating means for generating a prompt in which one or more variable parts included in a template prompt are replaced with the answer corresponding to the variable parts; a sentence data acquisition means for acquiring sentence data generated by inputting the generated prompt into a language model; having The chatbot control means Displaying the acquired text data on a user terminal operated by the end user. An information processing device comprising:

2. The scenario includes questions to be answered by the end user, the questions including text data to be substituted for one or more variable parts included in the template prompt.

2. The information processing apparatus according to claim 1,

3. a scenario editing means for displaying a scenario screen for receiving an operation for editing the scenario from an administrator user on an administrator terminal operated by the administrator user, and for editing the scenario in accordance with the operation of the administrator user received on the scenario screen.

3. The information processing device according to claim 1 or 2.

4. the prompt generating means, when the acquired text data includes a prohibited word, modifies the prompt so as not to use the prohibited word; The sentence data acquisition means acquires sentence data generated by inputting the modified prompt into a language model.

3. The information processing apparatus according to claim 1 or 2.

5. The chatbot control means acquires evaluation information of the end user with respect to the acquired text data, The prompt generating means modifies the prompt based on the end user's evaluation information; The sentence data acquisition means acquires sentence data generated by inputting the modified prompt into a language model.

3. The information processing apparatus according to claim 1 or 2.

6. The chatbot control means selects a word to be recommended in an answer to a subsequent question based on an answer to the question already obtained from the end user, and includes the selected word in the subsequent question.

3. The information processing apparatus according to claim 1 or 2.

7. The chatbot control means determines a timing for the chatbot control means to start asking the end user one or more questions according to the scenario, based on the end user's operation or the content of the conversation with the chatbot.

3. The information processing device according to claim 1 or 2.

8. An information processing system in which a user terminal operated by an end user and an information processing device that provides a chatbot function communicate with each other via a network, The information processing device includes: A chatbot control means for asking one or more questions to an end user according to a scenario and obtaining answers to the questions; a prompt generating means for generating a prompt in which one or more variable parts included in a template prompt are replaced with the answer corresponding to the variable parts; a sentence data acquisition means for acquiring sentence data generated by inputting the generated prompt into a language model; having The user terminal, A display means for displaying the content of the conversation between the chatbot function and the end user, and the text data acquired by the text data acquisition means; have Information processing system.

9. An information processing method performed by an information processing system in which a user terminal operated by an end user and an information processing device providing a chatbot function communicate with each other via a network, comprising: The information processing device includes: Asking one or more questions to an end user according to a scenario and obtaining answers to said questions; generating a prompt in which one or more variable parts included in a template prompt are replaced with the answer corresponding to the variable parts; obtaining sentence data generated by inputting the generated prompt into a language model; having The user terminal, A step of displaying the conversation between the chatbot function and the end user, and the text data acquired in the step of acquiring the text data; have Information processing methods.

10. In the information processing device, A chatbot control procedure for asking one or more questions to an end user according to a scenario and obtaining answers to the questions; a prompt generating step of generating a prompt in which one or more variable parts included in a template prompt are replaced with the answer corresponding to the variable parts; a sentence data acquisition step of acquiring sentence data generated by inputting the generated prompt into a language model; a display step of displaying the acquired text data on a user terminal operated by the end user; A program for executing.

Citation Information

Patent Citations

  • Dialogue support device and dialogue support method

    JP2022001974A

  • Data generation method using language model, computer device, and computer program

    JP2023018624A

  • Target information generation method and system

    JP2023043129A

Cited By

  • Generative AI operation support system

    JP7759150B1

  • Generative AI operation support system

    JP7759150B6

  • Programs, methods, information processing devices, and systems

    JP7829981B1

  • AI-powered operation support system

    JP7930628B1