INFORMATION PROCESSING DEVICE, INFORMATION PROCESSING METHOD, AND NON-TRANSITORY COMPUTER-READABLE MEDIUM
Provided is an information processing device including a product creation unit that inputs a user prompt to an agent system and creates a product in response to the user prompt, and an end determination unit that determines whether an end condition given by the user is satisfied. The product creation unit includes a response output unit that outputs a response relevant to a user prompt, an environmental reaction unit that executes an action on an external environment and receives a result, and a history storage unit that stores an action history that is a record of the result of execution of the action.
Latest NEC Corporation Patents:
- MAGNETIC FIELD MEASUREMENT DEVICE
- INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND NON-TRANSITORY COMPUTER-READABLE MEDIUM
- DEVICES, METHODS, AND MEDIUM FOR COMMUNICATION
- ENDOSCOPIC EXAMINATION SUPPORT DEVICE, ENDOSCOPIC EXAMINATION SUPPORT METHOD, AND RECORDING MEDIUM
- METHOD FOR PRODUCING FIBER-REINFORCED CELLULOSE-BASED RESIN
This application is based upon and claims the benefit of priority from Japanese patent application No. 2025-084304, filed on May 20, 2025, the disclosure of which is incorporated herein in its entirety by reference.
TECHNICAL FIELDThe present disclosure relates to an information processing device, an information processing method, and a program.
BACKGROUND ARTJP 2024-20739 A discloses an information processing system that enables a user to achieve his/her purpose more efficiently.
SUMMARYHowever, it is not a system that determines whether the end condition is satisfied. Therefore, an example object of the present disclosure is to provide an information processing device or the like that determines whether an end condition is satisfied.
An information processing device according to an example aspect of the present disclosure includes
-
- a product creation unit that inputs a user prompt to an agent system and creates a product in response to the user prompt, and
- an end determination unit that determines whether an end condition given by the user is satisfied.
An information processing method according to an example aspect of the present disclosure includes
-
- inputting a user prompt to an agent system and creating a product in response to the user prompt, and
- determining whether an end condition given by the user is satisfied.
A program according to an example aspect of the present disclosure causes an information processing device to
-
- input a user prompt to an agent system and create a product in response to the user prompt, and
- determine whether an end condition given by the user is satisfied.
An example advantage of the present disclosure is that an information processing device that determines whether an end condition is satisfied is provided.
The above and other aspects, features and advantages of the present disclosure will become more apparent from the following description of certain exemplary embodiments when taken in conjunction with the accompanying drawings, in which:
In recent years, an agent system that executes complicated tasks such as gathering technical trends from a plurality of documents and making a hotel reservation on the web has emerged. The agent system is a system that autonomously plans and acts on the environment or creates an answer using a tool such as an application programming interface (API) or a web browser. In an agent system, a user issues a prompt in which a request for a job is written in a natural language. The agent system makes a plan in response to the prompt and makes a response by utilizing the tool. The agent system ends the execution in a case where self-determining that the request is satisfied.
However, in the “task with a high degree of freedom” requested to the agent system, a request for a response cannot be clearly conveyed, and thus what the user expects is not necessarily obtained by a single response. For example, it is considered to request a task of putting together technical trends from a plurality of documents. Even if a prompt “please write a report on technical trends related to the inference speed of LLM” is written, it is unclear under what conditions the response is sufficient. This may be a case where the user fails to specify the job, or may be unclear at the time of requesting the job. As a result, the agent system needs to make a plan or use a tool while a request for a response is unclear, and does not know whether the response expected by the user can be output.
Since the agent system has a high response latency, only the existing method in which the user updates the prompt to correct the response is inefficient. An iterative modification operation of “user immediately updates a prompt to immediately output response” is a solution to obtain the output expected by the user. However, since the response latency is high, this method is not suitable for the agent system. The agent system creates a response by using the tool a plurality of times in series. That is, parallel processing is inherently difficult because there is a dependency relationship between actions. Since the sequence of actions itself is long, it takes time to create a response.
In a case where the response latency is high, efficiency is poor for the following reasons.
-
- 1. Repeating the iterations simply increases the time to get the final response.
- 2. Since the user selects the asynchronous communication, a time lag occurs from the response completion timing until the user confirms the response completion. In addition, the user needs to intervene in the agent sporadically. Asynchronous communication refers to sending a prompt, then leaving the chat to do another job, and checking the chat again around the time at which a response is returned.
Therefore, it is desirable to continuously improve the response while managing the version of the response within the budget. That is, a system in which a function of performing an improvement action is added until a budget such as a time or a calculation resource given by a user is used up is provided. There is provided a system for recording versions of improved responses in a history and presenting them to a user. By doing so, even if the request is thrown only once and left, it is easy to obtain a response that meets expectations.
Description of Information Processing Device According to Example EmbodimentAs illustrated in
The product creation unit 101 inputs a user prompt to the agent system and creates a product in response to the user prompt.
The end determination unit 102 determines whether the end condition given by the user is satisfied. The end determination unit 102 determines whether the process satisfies an end condition that is a condition for ending the information processing device. The end condition includes the execution time of the information processing device, the number of tokens input to execute the information processing device, the number of output tokens from the LLM, the number of actions issued so far, the number of products 308 that can be committed so far, or a combination of these conditions.
The above configuration provides an information processing device that determines whether an end condition is satisfied.
Description of Information Processing Method According to Example EmbodimentFirst, a product is created (step S201). The product creation unit 101 inputs a user prompt to the agent system and creates a product in response to the user prompt.
Next, it is determined whether the end condition is satisfied (step S202). The end determination unit 102 determines whether the process satisfies an end condition that is a condition for ending the information processing device.
With the above configuration, there is provided an information processing method for determining whether an end condition is satisfied.
The information processing method is processed by executing a program in the information processing device. As illustrated in
Some or all of the processing in the information processing device 100 and the information processing device 1900 described above can be achieved as a computer program. Such a program can be stored and supplied to a computer by using various types of non-transitory computer-readable media. The non-transitory computer-readable media include various types of tangible recording media. Examples of the non-transitory computer-readable media include a magnetic recording medium (e.g., a flexible disk, a magnetic tape, or a hard disk drive), a magneto-optical recording medium (for example, a magneto-optical disc), a Compact Disc Read Only Memory (CD-ROM), a CD-R, a CD-R/W, and a semiconductor memory (e.g., a mask ROM, a Programmable ROM (PROM), an Erasable PROM (EPROM), a flash ROM, or a Random Access Memory (RAM)). The program may be supplied to the computer by using various types of transitory computer-readable media. Examples of the transitory computer-readable medium include electric signals, optical signals, and electromagnetic waves. The transitory computer-readable media can supply the programs to the computer via a wired communication path such as an electric wire and an optical fiber or a wireless communication path.
Description of Information Processing Device According to First Example EmbodimentAs illustrated in
The version management/planning unit 401 includes a release requirement creation unit 302 and a version management unit 304. As illustrated in
The release requirement creation unit 302 inputs the prompt 301 and the commit information 310 to a large language model (LLM) and outputs the release requirement 303. That is, the release requirement creation unit 302 generates the release requirement by using the LLM with reference to the user prompt and the commit history. At this time, a prompt may be added to the current commit information so that the products are as diverse as possible.
As illustrated in the upper diagram of
As illustrated in
If the condition written in the release requirement 303 is a test program, it is verified whether the program that is the product 308 passes the test program. If the verification is passed, it is assumed that the product 308 satisfies the release requirement. As illustrated in the upper diagram of
As illustrated in the lower diagram of
As illustrated in
As illustrated in
Examples of the end condition 315 include the execution time of the information processing device 300, the number of tokens input to execute the information processing device, the number of output tokens from the LLM, the number of actions issued so far, the number of products 308 that can be committed so far, or a combination of these conditions.
As illustrated in
The external environment communication unit 1101 includes an environmental reaction unit 306. As illustrated in the lower diagram of
The reflex agent unit 901 includes a response output unit 305 and a history storage unit 312. As illustrated in the lower diagram of
As illustrated in the right diagram of
With the above configuration, there is provided an information processing device that performs processing until an end condition is satisfied.
Description of Information Processing Method according to First Example EmbodimentAs illustrated in
Next, the action/product 308 is input to the history storage unit 312 and is stored as the agent history 313 (step S1403). Next, the agent history 313 and the end condition 315 determined by the user are input to the end determination unit 314, and it is determined whether the end condition 315 is satisfied (step S1404).
In a case where the end condition 315 is satisfied, the execution of the agent system ends. The commit information 310 at that time is displayed on the interface (step S1405).
In a case where the end condition 315 is not satisfied, conditional branching is performed according to the output by the response output unit 305 (step S1406). In a case where the product 308 is issued by the response output unit 305, the product 308 and the release requirement 303 are passed to the version management unit 304, and acceptance or rejection is determined (step S1407). The commit feedback 311 at the time of acceptance or rejection is added to the agent history 313 through the history storage unit 312 (step S1408).
In the case of rejection, the process returns to step S1402. In the case of acceptance, the product 308 is recorded in the commit information 310 through the version management unit 304 (step S1409). After step S1409, the process returns to step S1401.
In a case where the action 308 is issued by the response output unit 305, the environmental reaction unit 306 receives the action 308 as an input and outputs the observation 309 (step S1410). Then, the observation 309 is input to the history storage unit 312 and added to the agent history 313 (step S1411). After step S1411, the process returns to step S1402.
With the above configuration, there is provided an information processing method of continuing processing until an end condition is satisfied.
Description of Specific Example of Information Processing According to First Example EmbodimentAs illustrated in
The release requirement creation unit 302 first creates a requirement of v1 as the release requirement 303. The response output unit 305 outputs the next action 308 and the product 308 based on the prompt 301 input from the user and the release requirement 303.
In a case where the action 308 is output, the history storage unit 312 stores the agent history 313. Next, the end determination unit 314 compares the end condition 315 with the current agent history 313, and if the condition is satisfied, the agent system is continued.
Next, the environmental reaction unit 306 performs the action 308 to obtain the observation 309. The history storage unit 312 stores the observation 309 in the agent history 313.
As illustrated in
The response output unit 305 outputs the action 308 based on the new release requirement 303.
As illustrated in
As illustrated in
While the present disclosure has been particularly shown and described with reference to example embodiments thereof, the present disclosure is not limited to these example embodiments. It will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present disclosure as defined by the claims. And each embodiment can be appropriately combined with at least one of embodiments.
Each of the drawings or figures is merely an example to illustrate one or more example embodiments. Each figure may not be associated with only one particular example embodiment, but may be associated with one or more other example embodiments. As those of ordinary skill in the art will understand, various features or steps described with reference to any one of the figures can be combined with features or steps illustrated in one or more other figures, for example to produce example embodiments that are not explicitly illustrated or described. Not all of the features or steps illustrated in any one of the figures to describe an example embodiment are necessarily essential, and some features or steps may be omitted. The order of the steps described in any of the figures may be changed as appropriate.
Some or all of the example embodiments described above may also be described as, but are not limited to, the following Supplementary Notes.
Supplementary Note 1An information processing device including:
-
- a product creation unit that inputs a user prompt to an agent system and creates a product in response to the user prompt; and
- an end determination unit that determines whether an end condition given by the user is satisfied.
The information processing device according to Supplementary Note 1, in which the product creation unit includes:
-
- a response output unit that outputs a response relevant to the user prompt;
- an environmental reaction unit that executes an action on an external environment to receive a result; and
- a history storage unit that stores a result of execution of the action.
The information processing device according to Supplementary Note 2, in which the response output unit outputs the action to be transmitted to the external environment and metadata regarding the action.
Supplementary Note 4The information processing device according to Supplementary Note 3, in which the environmental reaction unit transmits the action to the external environment, receives a response based on the action from the external environment, and outputs the response and metadata regarding the response.
Supplementary Note 5The information processing device according to Supplementary Note 4, in which the history storage unit stores related information regarding the end condition included in metadata regarding the action and metadata regarding the response.
Supplementary Note 6The information processing device according to Supplementary Note 5, in which the end determination unit receives the end condition, compares the end condition with the related information, and performs end determination.
Supplementary Note 7The information processing device according to Supplementary Note 1, in which the end condition includes a condition related to an execution time of the information processing device.
Supplementary Note 8The information processing device according to Supplementary Note 1, in which the end condition includes a condition related to a number of input tokens to the LLM and a number of output tokens from the LLM.
Supplementary Note 9An information processing method including:
-
- inputting a user prompt to an agent system, and creating a product in response to the user prompt; and
- determining whether an end condition given by a user is satisfied.
A program for causing an information processing device to input a user prompt to an agent system and create a product in response to the user prompt, and
-
- determine whether an end condition given by the user is satisfied.
Some or all of the elements (e.g., configurations and functions) described in Supplementary Notes 2 to 8 dependent on Supplementary Note 1 {e.g. device} can also be dependent on Supplementary Note 9 {e.g. method} and Supplementary Note 10 {e.g. program} by the dependency relationship similar to those of Supplementary Notes 2 to 8. Some or all of the elements described in any Supplementary Note can be applied to various types of hardware, software, and recording means for recording software, systems, and methods.
Claims
1. An information processing device comprising:
- at least one memory storing instructions and
- at least one processor configured to execute the instructions to:
- enter a user prompt into an agent system, and create a product in response to the user prompt, and
- determine whether an end condition given by the user is satisfied.
2. The information processing device according to claim 1, wherein the creating of the product includes:
- outputting a response in response to the user prompt;
- executing an action on an external environment to receive a result; and
- storing a result of execution of the action.
3. The information processing device according to claim 2, wherein the outputting of the response includes outputting the action to be transmitted to the external environment and metadata regarding the action.
4. The information processing device according to claim 3, wherein the receiving of the result includes transmitting the action to the external environment, receiving a response based on the action from the external environment, and outputting the response and metadata regarding the response.
5. The information processing device according to claim 4, wherein the storing of the results includes storing related information regarding the end condition included in metadata regarding the action and metadata regarding the response.
6. The information processing device according to claim 5, wherein the determining includes receiving the end condition, comparing the end condition with the related information, and performing end determination.
7. The information processing device according to claim 1, wherein the end condition includes a condition related to an execution time of the information processing device.
8. The information processing device according to claim 1, wherein the end condition includes a condition related to a number of input tokens to the LLM and a number of output tokens from the LLM.
9. An information processing method comprising:
- inputting a user prompt to an agent system, and creating a product in response to the user prompt; and
- determining whether an end condition given by a user is satisfied.
10. The information processing method according to claim 9, wherein the creating of the product includes:
- outputting a response in response to the user prompt;
- executing an action on an external environment to receive a result; and
- storing a result of execution of the action.
11. The information processing method according to claim 10, wherein the outputting of the response includes outputting the action to be transmitted to the external environment and metadata regarding the action.
12. The information processing method according to claim 11, wherein the receiving of the result includes transmitting the action to the external environment, receiving a response based on the action from the external environment, and outputting the response and metadata regarding the response.
13. The information processing method according to claim 12, wherein the storing of the results includes storing related information regarding the end condition included in metadata regarding the action and metadata regarding the response.
14. The information processing method according to claim 13, wherein the determining includes receiving the end condition, comparing the end condition with the related information, and performing end determination.
15. The information processing method according to claim 9, wherein the end condition includes a condition related to an execution time of the information processing device.
16. The information processing method according to claim 9, wherein the end condition includes a condition related to a number of input tokens to the LLM and a number of output tokens from the LLM.
17. A non-transitory computer-readable medium storing a program for causing an information processing device to
- input a user prompt to an agent system and create a product in response to the user prompt, and
- determine whether an end condition given by the user is satisfied.
18. The non-transitory computer-readable medium according to claim 17, wherein the creating of the product includes:
- outputting a response in response to the user prompt;
- executing an action on an external environment to receive a result; and
- storing a result of execution of the action.
19. The non-transitory computer-readable medium according to claim 18, wherein the outputting of the response includes outputting the action to be transmitted to the external environment and metadata regarding the action.
20. The non-transitory computer-readable medium according to claim 19, wherein the receiving of the result includes transmitting the action to the external environment, receiving a response based on the action from the external environment, and outputting the response and metadata regarding the response.
Type: Application
Filed: Apr 29, 2026
Publication Date: Nov 26, 2026
Applicant: NEC Corporation (Tokyo)
Inventors: Masafumi ENOMOTO (Tokyo), Kunihiro TAKEOKA (Tokyo), Kosuke AKIMOTO (Tokyo)
Application Number: 19/662,023