Control system, control method, and program
The control system automates the control of robots, sensors, and plants by using a language model to interpret natural language commands and execute appropriate functions, addressing the lack of specific control details in existing systems.
Patent Information
- Application Number
- JP2024108813
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-10-31
- Estimated Expiration
- 2044-07-05
AI Technical Summary
Existing control systems for controlled objects, such as robots and plants, lack specific details on how to automate their control using learned models.
A control system that includes a control device and a language model, utilizing function metadata, prompts, and answer information to automatically control robots, sensors, and plants through natural language instructions, determining appropriate functions and executing them using a control device.
Enables automated control of controlled objects using natural language inputs, ensuring accurate execution of functions based on user prompts.
Smart Images

Figure 0007576729000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a control system, a control method, and a program. [Background technology]
[0002] Conventionally, control of a controlled object has been automated. Patent Document 1 discloses that the control content of a drive device is specified by a learned model. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2023-3602 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, Patent Document 1 does not specifically disclose how the drive device is controlled.
[0005] The present disclosure has been made in consideration of the above-mentioned circumstances, and aims to provide a control system, a control method, and a program capable of automatically controlling a controlled object. [Means for solving the problem]
[0006] A control system according to one embodiment of the present disclosure is a control system comprising a control device that controls a controlled object and a language model, wherein the control device comprises a transmission means that transmits metadata of a function for controlling the controlled object to the language model, and a notification means that notifies the language model of a prompt for controlling the controlled object, and the language model comprises a determination means that determines whether to respond to the prompt using the function based on the metadata transmitted by the transmission means and the prompt notified by the notification means, and a presentation means that presents answer information to the control device including identification information that identifies the function when the determination means determines that the prompt will be answered using the function, and the control device further comprises a control means that controls the controlled object using the answer information presented by the presentation means, and the controlled object includes any one of a robot, a sensor, and a plant. Effect of the Invention
[0007] According to the present disclosure, it is possible to provide a control system, a control method, and a program capable of automatically controlling a controlled object. [Brief description of the drawings]
[0008] [Figure 1] 1 is a schematic block diagram showing a system configuration of a control system according to an embodiment. [Diagram 2] 2 is a schematic block diagram showing a specific example of a functional configuration of a control device according to the embodiment. FIG. [Diagram 3] FIG. 2 is a schematic block diagram showing a specific example of the functional configuration of a language model according to the embodiment. [Figure 4] FIG. 13 is a diagram showing an example of a data structure used for a command received by a robot that is a controlled object. [Diagram 5] FIG. 13 is a diagram showing an example of a data structure used for a command received by a robot that is a controlled object. [Figure 6]FIG. 13 is a diagram showing an example of a data structure used for a command received by a robot that is a controlled object. [Figure 7] FIG. 13 is a diagram showing an example of a data structure used for a command received by a robot that is a controlled object. [Figure 8] FIG. 13 is a diagram showing an example of a data structure used for a command received by a robot that is a controlled object. [Figure 9] FIG. 13 is a diagram showing an example of a data structure used for a command received by a robot that is a controlled object. [Figure 10] FIG. 13 is a diagram showing an example of a data structure used for a command received by a robot that is a controlled object. [Figure 11] FIG. 13 is a diagram showing an example of a data structure used for a command received by a robot that is a controlled object. [Figure 12] FIG. 13 is a diagram showing an example of a data structure used for a command received by a robot that is a controlled object. [Figure 13] FIG. 13 is a diagram showing an example of a data structure used for a command received by a robot that is a controlled object. [Figure 14] FIG. 13 is a diagram showing an example of a data structure used for a command received by a robot that is a controlled object. [Figure 15] FIG. 13 is a diagram showing an example of a data structure used for a command received by a robot that is a controlled object. [Figure 16] FIG. 13 is a diagram showing an example of a data structure used for a command received by a robot that is a controlled object. [Figure 17] FIG. 13 is a diagram showing an example of a data structure used for a command received by a robot that is a controlled object. [Figure 18] FIG. 13 is a diagram showing an example of a data structure used for a command received by a robot that is a controlled object. [Figure 19] FIG. 4 is a diagram showing an example of a data structure used in a command received by a sensor that is a controlled object. [Figure 20]FIG. 4 is a diagram showing an example of a data structure used in a command received by a sensor that is a controlled object. [Figure 21] FIG. 4 is a diagram showing an example of a data structure used in a command received by a sensor that is a controlled object. [Figure 22] FIG. 4 is a diagram showing an example of a data structure used in a command received by a sensor that is a controlled object. [Figure 23] FIG. 4 is a diagram showing an example of a data structure used in a command received by a sensor that is a controlled object. [Figure 24] FIG. 4 is a diagram showing an example of a data structure used in a command received by a sensor that is a controlled object. [Diagram 25] FIG. 2 is a diagram showing an example of a data structure used for a command received by a plant that is a controlled object. [Figure 26] FIG. 2 is a diagram showing an example of a data structure used for a command received by a plant that is a controlled object. [Figure 27] FIG. 2 is a diagram showing an example of a data structure used for a command received by a plant that is a controlled object. [Figure 28] FIG. 2 is a diagram showing an example of a data structure used for a command received by a plant that is a controlled object. [Figure 29] FIG. 13 is a diagram showing an example of a data structure used in a command received by a database that is a controlled object. [Diagram 30] FIG. 13 is a diagram showing an example of a data structure used in a command received by a database that is a controlled object. [Diagram 31] FIG. 13 is a diagram showing an example of a data structure used in a command received by a database that is a controlled object. [Diagram 32] FIG. 13 is a diagram showing an example of a data structure used in a command received by a database that is a controlled object. [Diagram 33] 3 is a control flow of a control system according to an embodiment. [Diagram 34] FIG. 2 is a diagram illustrating an outline of a hardware configuration example of an information processing device applied to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] A control system according to an embodiment of the present disclosure will be described below with reference to the drawings. The control system controls a controlled object using, for example, a predefined function. Hereinafter, in this embodiment, a function for controlling a controlled object may be simply referred to as a function. In the control system, a plurality of functions may be defined. Details of the functions will be described later.
[0010] FIG. 1 is a schematic block diagram showing a system configuration of a control system 1 according to an embodiment. The control system 1 includes a control device 10 and a language model 20. As shown in Fig. 1, the control system 1 and the controlled object 2 are communicatively connected via a network 70. Specifically, the control device 10 of the control system 1 and the controlled object 2 are communicatively connected via the network 70. In addition, the control device 10 and the language model 20 are communicatively connected via the network 70.
[0011] The network 70 may be a network using wireless communication or a network using wired communication. The network 70 may be configured using, for example, the Internet or a local area network (LAN). The network 70 may be configured by combining a plurality of networks.
[0012] FIG. 2 is a schematic block diagram showing a specific example of a functional configuration of the control device 10 according to the embodiment. The control device 10 controls the controlled object 2. The control device 10 is configured using an information device such as a smartphone, a tablet, a personal computer, a dedicated device, etc. The control device 10 includes a communication unit 11, an input unit 12, an output unit 13, a storage unit 14, and a control unit 15.
[0013] The communication unit 11 is a communication device. The communication unit 11 may be configured as, for example, a network interface. The communication unit 11 performs data communication with other devices via the network 70 in response to the control of the control unit 15. The communication unit 11 may be a device that performs wireless communication or a device that performs wired communication.
[0014] The input unit 12 is configured using existing input devices such as a keyboard, a pointing device (mouse, tablet, etc.), a button, a touch panel, etc. The input unit 12 is operated by a user when inputting a user's instruction to the control device 10. The input unit 12 may be an interface for connecting the input device to the control device 10. In this case, the input unit 12 inputs an input signal generated in the input device in response to a user's input to the control device 10. The input unit 12 may be configured using a microphone and a voice recognition device. In this case, the input unit 12 acquires an acoustic signal generated by the user's speech, performs voice recognition on the words spoken by the user, and inputs character string information of the recognition result to the control device 10. The voice recognition process may be executed by the control unit 15. The input unit 12 may be configured in any way as long as it is configured to input a user's instruction to the control device 10.
[0015] The output unit 13 outputs information in a form that can be recognized by the user. The output unit 13 may be, for example, an image display device such as a liquid crystal display or an organic EL (Electro Luminescence) display. The output unit 13 may be an interface for connecting the image display device to the control device 10. In this case, the output unit 13 generates a video signal for displaying image data and outputs the video signal to the image display device connected to the output unit 13. The output unit 13 may be a device for outputting sound such as a speaker. The output unit 13 may be an interface for connecting an audio output device such as a speaker or a headphone to the control device 10. In this case, the output unit 13 generates an audio signal for reproducing audio data and outputs the audio signal to the audio output device connected to the output unit 13. The output unit 13 may be configured as a touch panel integrated with the input unit 12.
[0016] The storage unit 14 is configured using a storage device such as a magnetic hard disk device or a semiconductor storage device. The storage unit 14 stores data used by the control unit 15. The storage unit 14 stores data required when the control unit 15 performs processing. The storage unit 14 functions as, for example, a metadata storage unit 141, a prompt storage unit 142, and an answer information storage unit 143.
[0017] The metadata storage unit 141 stores metadata. In this embodiment, the metadata refers to metadata of a function for controlling the control target 2. The metadata is, for example, specific contents of the function and information on the function of the function. In this embodiment, the metadata includes, for example, content information and argument specification information. The content information is information indicating the content of the operation of the controlled object 2. Specifically, the content information includes a function name, definition information, etc. The function name is a name indicating the content of the function. In this embodiment, the function name is identification information that identifies the function. The definition information is information indicating the specific content of the function. Specific examples of the definition information will be described later. The argument specification information is information that indicates the specification of an argument. The argument specification information is information that indicates specific details regarding the specification of an argument used in a function. In this embodiment, the specification of an argument includes the type of the argument, the definition of the argument, and the values that the argument can take. In this embodiment, the various types of information related to the metadata described above may be defined in advance by a user and stored in the metadata storage unit 141. The information stored in the metadata storage unit 141 may be read out and used as appropriate when control is performed by the control system 1. The information (metadata) stored in the metadata storage unit 141 may be transmitted to the language model 20.
[0018] The prompt storage unit 142 stores a prompt. In this embodiment, the prompt refers to a prompt for controlling the controlled object 2. The prompt is input by the user via, for example, the input unit 12. In this embodiment, the prompt includes text in a natural language or the like. The text may be in any language, including, for example, Japanese or English. In other words, in this embodiment, the prompt for controlling the controlled object 2 is in a natural language that the user normally uses. In this embodiment, the prompt may include, for example, quantity information and directional information. The quantity information is information indicating an amount corresponding to the motion of the controlled object 2. The quantity information may include, for example, numerical information on a distance corresponding to the motion of the controlled object 2, numerical information on a state such as a temperature, pressure, flow rate, torque, etc. of the controlled object 2, and information on a time corresponding to the motion of the controlled object 2. The distance corresponding to the motion of the controlled object 2 may be, for example, a distance traveled by the controlled object 2. The directional information is, for example, information indicating a direction corresponding to the motion. The directional information may include, for example, information on a direction corresponding to the motion of the controlled object 2. The direction corresponding to the motion of the controlled object 2 may be, for example, a direction in which the controlled object 2 moves. In this embodiment, various types of information related to the above-mentioned prompts may be input by the user via the input unit 12 and then stored in the prompt storage unit 142. The information stored in the prompt storage unit 142 may be read out and used as appropriate, for example, when control is performed by the control system 1. The information stored in the prompt storage unit 142 may be used, for example, as a log that can be referenced by the user.
[0019] The answer information storage unit 143 stores the answer information. In this embodiment, the answer information is information presented by the presenting means 22 described later. The answer information may include, for example, identification information (function name) for identifying a function, argument information indicating arguments of the function, and argument values. In this embodiment, various information related to the answer information described above may be presented by the presentation means 22 and then stored in the answer information storage unit 143. The information stored in the answer information storage unit 143 may be read out and used as appropriate when control is performed by the control system 1.
[0020] The control unit 15 is configured using a processor such as a CPU (Central Processing Unit) and a memory (main storage device). The control unit 15 functions as a transmission means 151, a notification means 152, a determination means 153, and a control means 154 by the processor executing a program. All or part of the functions of the control unit 15 may be realized using hardware such as an ASIC (Application Specific Integrated Circuit), a PLD (Programmable Logic Device), a PLC (Programmable Logic Controller), or an FPGA (Field Programmable Gate Array). The above program may be recorded on a computer-readable recording medium. The computer-readable recording medium is, for example, a portable medium such as a flexible disk, a magneto-optical disk, a ROM, a CD-ROM, or a semiconductor storage device (for example, an SSD: Solid State Drive), or a storage device such as a hard disk or a semiconductor storage device built into a computer system. The above program may be transmitted via an electric communication line.
[0021] The control unit 15 may execute, for example, an application program installed in its own device (control device 10). The program installed in the control device 10 may cause the computer to function as the control system 1 according to the present embodiment. A specific example of such an application is an application provided to the control device 10 as a dedicated application for the control system 1. Another specific example of such an application is a WEB browser application. Such an application may be installed in the control device 10 in advance, or may be downloaded each time a determination process is executed. For example, when implemented as a WEB browser application, the control device 10 may download and execute the application from a device (for example, the WEB server itself or another server) designated by the WEB server in response to the control device 10 connecting to a specific WEB server. The control unit 15 operates according to the program of the application being executed.
[0022] The transmitting means 151 transmits the metadata to the language model 20. The metadata is, for example, defined in advance by a user as described above and stored in the metadata storage unit 141. In this case, the transmitting means 151 may transmit the metadata read from the metadata storage unit 141 to the language model 20 when control is performed by the control system 1. Alternatively, the metadata may be input by the user simultaneously with a prompt when control is performed by the control system 1. In this case, the transmitting means 151 may transmit the metadata input by the user to the language model 20.
[0023] The notification means 152 notifies the language model 20 of a prompt. The prompt is input by the user, for example, as described above. In this case, the notification means 152 may transmit the prompt input by the user to the language model 20 when control is performed by the control system 1. Alternatively, the prompt may be one stored in the prompt storage unit 142. In this case, the notification means 152 may transmit the prompt read from the prompt storage unit 142 to the language model 20 when control is performed by the control system 1. This aspect is suitable, for example, when the user wishes to perform control similar to a prompt input in the past.
[0024] The determination means 153 determines whether or not to execute a function identified by the identification information, according to the prompt notified by the notification means 152 and the answer information presented by the presentation means 22. More specifically, the determination means 153 determines whether or not it is possible to control the controllable target 2 according to the prompt input by the user when the function is executed based on the answer information presented by the presentation means 22. Then, when the determination means 153 determines that it is possible to control the controllable target 2 according to the prompt based on the answer information presented by the presentation means 22, it determines to execute the function. When the determination means 153 determines that it is impossible to control the controllable target 2 according to the prompt based on the answer information presented by the presentation means 22, it may determine not to execute the function.
[0025] The control means 154 uses the answer information presented by the presentation means 22 to control the controlled object 2. In other words, when the determination means 153 determines that the function is to be executed, the control means 154 executes the function. In this way, the control means 154 controls the controlled object 2. Details of the control of the controlled object 2 by the control means 154 will be described later.
[0026] FIG. 3 is a schematic block diagram showing a specific example of the functional configuration of the language model 20 according to the embodiment. The language model 20 is, for example, a trained model. The trained model is, for example, a model that has acquired general-purpose knowledge by accessing an information source such as an Internet site and learning various text information (including source code) and image information in advance using words such as "common knowledge". More specifically, the language model 20 includes, for example, a large-scale language model. The large-scale language model may include, for example, GPT-4 (registered trademark), GPT-3.5-turbo, PaLM2, LaMDA2, LLaMa2, Claude 2.1, OpenCALM, and Alpaca 7B. The language model 20 may be, for example, one stored on a WEB server, or one stored in the storage unit 14 of the control device 10. The language model 20 may be, for example, stored in an information processing device and operated by the information processing device. In this embodiment, the language model 20 receives metadata transmitted from a transmission means 151 and a prompt notified from a notification means 152, and functions as a determination means 21, a presentation means 22, and a query means .
[0027] The determining means 21 determines, based on the metadata sent by the sending means 151 and the prompt notified by the notifying means 152, whether or not to respond to the prompt using a function. Specifically, the determination means 21 determines whether or not there is a function name and / or definition information corresponding to the content of the received prompt, for example. If the determination means 21 determines that there is a function name and / or definition information corresponding to this content, it determines that the prompt will be answered using a function. On the other hand, if the determination means 21 determines that there is no corresponding function name and / or definition information, it determines that the prompt will not be answered using a function. More specifically, the determination means 21 determines whether or not arguments of a function related to metadata and their values can be specified from the content of the received prompt, for example. If the arguments of the function and their values are specified from the prompt, the determination means 21 determines that the prompt will be answered using a function. If the arguments of the function and their values are not specified from the prompt, the determination means 21 determines that the prompt will not be answered using a function.
[0028] When the determination means 21 determines that a function is used to respond to the prompt, the presentation means 22 presents answer information to the control device 10. Specifically, the presentation means 22, for example, appropriately extracts arguments and their values of the function related to the metadata from the content of the received prompt, and outputs identification information of the function for executing the prompt, the arguments of the function, and the argument values as answer information. The presentation means 22 then presents the answer information thus generated to the control device 10. This enables the control device 10 to control the control target 2 based on the prompt input by the user in natural language as described above. The presentation means 22 may be realized, for example, by a function calling function in the language model 20 .
[0029] For example, when the determination means 21 determines that the prompt is not to be answered using a function, the inquiry means 23 inquires of the control device 10 about the contents of the prompt notified by the notification means 152. Specifically, when the inquiry means 23 cannot extract arguments and values of a function related to metadata from the contents of the received prompt, the inquiry means 23 outputs a command to inquire about arguments and values of a function corresponding to the contents of the prompt. The inquiry means 23 inquires about various types of information as follows. That is, the inquiry means 23 may, for example, generate a command to search for content corresponding to the received prompt from information on past prompts stored in the prompt storage unit 142, and transmit the command to the control device 10. Alternatively, the inquiry means 23 may, for example, generate a command to cause the display unit to display a message instructing the user to re-enter the prompt, and transmit the command to the control device 10. The control system 1 according to this embodiment is configured with the above components.
[0030] The controlled object 2 is an object controlled by the control device 10. In this embodiment, the controlled object 2 includes, for example, any one of a robot, a sensor, and a plant. The controlled object 2 may include, for example, any one of a robot, a sensor, a plant, and a database. The control of the controlled object 2 by the control device 10 may include, for example, at least the execution, start, interruption, and end of the operation of the controlled object 2.
[0031] In this embodiment, the controlled object 2 is controlled by the control means 154 of the control device 10 executing a function for controlling the controlled object 2. Hereinafter, an overview of the control of the controlled object 2 by the function in this embodiment will be described. First, the user issues an operation instruction to the controlled object 2 using natural language. The operation instruction by the user is accepted by the control device 10, for example, by the user inputting the operation instruction using the input unit 12. The control device 10 transmits the operation instruction in natural language accepted in this way to the language model 20 using the transmission means 151. The language model 20 accepts the operation instruction in natural language accepted from the control device 10 as a prompt for controlling the controlled object 2. The language model 20 presents identification information, arguments, and argument values of a function for controlling the controlled object 2 to the control device 10 using the presentation means 22 as answer information to the accepted prompt. The control means 154 of the control device 10 executes the function based on the answer information presented in this way. In this way, the controlled object 2 is controlled. A specific flow of control of the controlled object 2 by the control system 1 will be described later. Hereinafter, examples of definition information of the function for controlling the controlled object 2 by the control device 10 in each of the above-mentioned cases of the controlled object 2 will be described. These pieces of information indicate, for example, a function metadata structure to be transmitted to the language model 20 in order to determine whether the controlled object 2 can be controlled and to estimate parameters.
[0032] (When the controlled object is a robot) When the controlled object 2 is a robot, the function for controlling the robot, which is the controlled object 2, may include, for example, a function for controlling the position and posture of the robot. When the robot includes a tool, the function for controlling the robot may include a function for controlling the tool. When the robot works on a workpiece, the function for controlling the robot may include a function for controlling the workpiece. The type of the argument of the function that controls the robot, which is the controlled target 2, may be a type that corresponds to a numerical value (for example, a number type) or a type that does not correspond to a numerical value (for example, a Boolean type). Furthermore, the argument of the function that controls the robot, which is the controlled target 2, may correspond to control of the position and posture of the robot.
[0033] 4 is a diagram showing an example of a data structure used in a command received by a robot that is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 4, the function name, which is identification information for identifying the function, is "name":"move_robot". That is, the function shown in FIG. 4 is defined as the move_robot function. The function of the move_robot function shown in FIG. 4 is "description":"translate robot's position and rotate robot's attitude". That is, the move_robot function shown in FIG. 4 is a function that moves the position of the robot or rotates (changes) the attitude of the robot. Arguments of the move_robot function shown in Figure 4 include, for example, init_flag, dx, dy, dz, drx, dry, and drz.
[0034] The init_flag shown in Fig. 4 is an argument for initializing the position and posture of the robot. The init_flag is of Boolean type and does not require variables such as quantities. The presentation means 22 of the language model 20 outputs the use of the move_robot function based on the received prompt. Also, the presentation means 22 outputs the fact that the argument of the move_robot function is init_flag and whether the value of init_flag is true or false, based on whether the received prompt includes an instruction to reset the position and posture of the robot to the initial state. When the value of init_flag is true, the position and posture of the robot are initialized by the control means 154. When the value of init_flag is false, the position and posture of the robot are not initialized.
[0035] The above-mentioned process by init_flag shown in Fig. 4 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "return the robot to its initial position", the presentation means 22 outputs answer information so that the value of init_flag becomes true, and presents it to the control device 10. Thereafter, the control means 154 executes the move_robot function, thereby resetting the position and posture of the robot to their initial states. When the user's prompt does not include the above content, the presentation means 22 outputs answer information so that the value of init_flag becomes false, and presents it to the control device 10. As a result, even if the control means 154 executes the move_robot function, the position and posture of the robot are not reset to their initial states.
[0036] dx, dy, and dz shown in Fig. 4 are arguments for moving the robot's position in the X, Y, and Z directions, respectively. dx, dy, and dz are number type, and require variables for the amount (distance) by which the robot's position is moved in each direction. The presentation means 22 of the language model 20 outputs the use of the move_robot function based on the received prompt. Furthermore, the presentation means 22 outputs that the argument of the move_robot function is one of dx, dy, and dz, based on whether or not the received prompt includes an instruction to specify the direction and distance to move the robot's position, and outputs the distance to move the robot as one of dx, dy, and dz or each of the values. The control means 154 executes the move_robot function based on the answer information thus output, thereby moving the robot's position by a predetermined distance in the X direction, Y direction, or Z direction.
[0037] The above-mentioned process using dx, dy, and dz shown in FIG. 4 is performed, for example, as follows. That is, for example, when the user inputs a prompt in natural language such as "move the robot 100 mm in the X direction," the presentation means 22 outputs answer information so that the value of dx becomes a variable equivalent to a moving distance of 100 mm, and presents it to the control device 10. Thereafter, the control means 154 executes the move_robot function, so that the position of the robot moves 100 mm in the X direction. In the above-mentioned case, since the prompt by the user does not include content to move the robot in the Y direction or the Z direction, the presentation means 22 outputs answer information so that the values of dy and dz become variables equivalent to a moving distance of 0 mm, and presents it to the control device 10. As a result, even if the control means 154 executes the move_robot function, the robot does not move in the Y direction or the Z direction.
[0038] Here, for example, the user may input a prompt such as "move the robot 100 mm" or "move the robot in the X direction." Such prompts are sufficient for the presenting means 22 to select the move_robot function, but are insufficient to select one of dx, dy, and dz, or to determine the values of dx, dy, and dz. In such cases, it is preferable for the querying means 23 to query such content as "in which direction should the robot be moved?" and "how far should the robot be moved?".
[0039] 4 are arguments for rotating (changing) the robot's posture around the X-axis, Y-axis, or Z-axis, respectively. drx, dry, and drz are number type, and require a variable that indicates the amount by which to rotate (change) the robot's posture around the corresponding axis. The presentation means 22 of the language model 20 outputs the use of the move_robot function based on the received prompt. The presentation means 22 also outputs that the argument of the move_robot function is one of drx, dry, and drz, based on whether or not the received prompt includes an instruction to specify an axis and an amount by which the robot's posture is rotated (changed), and outputs the amount by which the robot's posture is rotated (changed) as one of drx, dry, and drz or each of the values. The control means 154 executes the move_robot function based on the answer information thus output, thereby moving the robot's posture by a predetermined amount (angle) around the X-axis, Y-axis, or Z-axis.
[0040] The above-mentioned process using drx, dry, and drz shown in FIG. 4 is performed, for example, as follows. That is, for example, when the user inputs a prompt in natural language such as "change the robot's posture by 30 degrees around the X axis," the presentation means 22 outputs answer information so that the value of drx becomes a variable equivalent to a posture change amount of 30 degrees, and presents it to the control device 10. Thereafter, the control means 154 executes the move_robot function, so that the posture of the robot rotates (changes) by 30 degrees around the X axis. In the above-mentioned case, since the prompt by the user does not include content to rotate (change) the posture of the robot around the Y axis or the Z axis, the presentation means 22 outputs answer information so that the values of dry and drz become variables equivalent to a posture change amount of 0 degrees, and presents it to the control device 10. As a result, even if the control means 154 executes the move_robot function, the posture of the robot does not change around the Y axis or the Z axis.
[0041] Here, for example, the user may input a prompt such as "Rotate the robot's posture by 30 degrees" or "Change the robot's posture around the X axis." Such prompts are sufficient for the presentation means 22 to select the move_robot function, but are insufficient to select one of drx, dry, and drz, or to determine the values of drx, dry, and drz. In such a case, it is preferable to inquire by the inquiry means 23 about the contents such as "Around which axis will the robot's posture be rotated?" and "By how much angle will the robot's posture be changed?"
[0042] 5 is a diagram showing an example of a data structure used in a command received by a robot that is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 5, the function name, which is identification information for identifying the function, is "name": "get_robot_timeseries_pos". That is, the function shown in FIG. 5 is defined as the get_robot_timeseries_pos function. The function of the get_robot_timeseries_pos function shown in FIG. 5 is "description": "Get robot's position(xyz) timeseries data from database". That is, the get_robot_timeseries_pos function shown in FIG. 5 is a function for acquiring the robot's position data along the time series from the database. The robot's position data along the time series acquired by executing the get_robot_timeseries_pos function is used, for example, to reproduce the trajectory of the robot's past movements. The database may be stored, for example, in the memory unit 14 of the control device 10, or may be stored in the cloud or the like. The arguments of the get_robot_timeseries_pos function shown in FIG. 5 include, for example, starttime and endtime.
[0043] The starttime argument in Figure 5 is used to obtain the start time when obtaining the robot's position data along a time series. The endtime argument is used to obtain the end time when obtaining the robot's position data along a time series. starttime and endtime are of string type and require a time variable. The presentation means 22 of the language model 20 outputs the use of the get_robot_timeseries_pos function based on the received prompt. The presentation means 22 also outputs that the argument of the get_robot_timeseries_pos function is starttime or endtime based on whether or not the received prompt includes an instruction to specify the start time and end time, and outputs the start time and end time as the values of starttime and endtime, respectively. The control means 154 executes the get_robot_timeseries_pos function based on the answer information thus output, thereby acquiring, from the database, the position data of the robot along the time series from the specified start time to the end time.
[0044] The above-mentioned process using starttime and endtime shown in Fig. 5 is performed, for example, as follows. That is, for example, when the user inputs a prompt in natural language such as "obtain the robot's trajectory from 9:00 to 10:00", the presentation means 22 outputs answer information so that the value of starttime is a variable corresponding to the time of 9:00 and the value of endtime is a variable corresponding to the time of 10:00, and presents it to the control device 10. Thereafter, the control means 154 executes the get_robot_timeseries_pos function, whereby the control means 154 obtains the position data of the robot in time series from 9:00 to 10:00 from the database.
[0045] Here, for example, the user may input a prompt such as "Get the robot's trajectory from 9:00". This type of prompt is sufficient for the presentation means 22 to select the get_robot_timeseries_pos function and to determine the value of starttime, but is insufficient to determine the value of endtime. In such a case, it is preferable for the query means 23 to query content such as "What is the end time?"
[0046] In addition to the above, the function for controlling the robot, which is the controlled object 2, may include, for example, a function for controlling the operation of an end effector attached to the robot (for example, an operation for gripping an object or an operation for poking an object) and a function for acquiring the state of the robot (for example, a reaction force acting on the robot). The argument of the function for controlling the robot, which is the controlled object 2, may correspond to, for example, the operation of the end effector attached to the robot.
[0047] 6 is a diagram showing an example of a data structure used in a command received by a robot that is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 6, the function name, which is identification information for identifying the function, is "name": "activate_robot". That is, the function shown in FIG. 6 is defined as the activate_robot function. The function of the activate_robot function shown in FIG. 6 is "description": "Activate / Deactivate robot servo". That is, the activate_robot function shown in FIG. 6 is a function that sets the parameters of the operating state (ON) or stopped state (OFF) of the robot's servo (servo motor). The arguments of the activate_robot function shown in FIG. 6 include, for example, activate_flag.
[0048] The activate_flag shown in Fig. 6 is an argument for setting the servo of the robot to either an operating state (ON) or a stopped state (OFF). The activate_flag is of Boolean type and does not require variables such as quantities.
[0049] The presentation means 22 of the language model 20 outputs the use of the activate_robot function based on the received prompt. The presentation means 22 also outputs whether the value of activate_flag is "true" (e.g., in operation) or "false" (e.g., in operation) based on the instruction, contained in the received prompt, as to whether the robot's servo should be set to an operating state or a stopped state. The control means 154 executes the activate_robot function based on the answer information thus output, thereby grasping whether the robot's servo should be set to an operating state or a stopped state.
[0050] The above-mentioned process by activate_flag shown in Fig. 6 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "set the robot's servo to ON", the presentation means 22 outputs answer information so that the value of activate_flag becomes true, and presents it to the control device 10. After that, the control means 154 executes the activate_robot function, whereby the control means 154 sets the robot's servo to an operating state.
[0051] 7 is a diagram showing an example of a data structure used in a command received by a robot that is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 7, the function name, which is identification information for identifying the function, is "name":"Set_robot_parameter of minimum, maximum range". That is, the function shown in FIG. 7 is defined as the set_robot_parameter of minimum, maximum range function (hereinafter, set_robot_param function). That is, the set_robot_param function shown in FIG. 7 is a function that sets the position range, speed range, attitude range, or reaction force range of the robot. Note that the metadata may also state "name":"set_robot_param" and "description":"Set_robot_parameter of minimum, maximum range". The arguments of the set_robot_param function shown in FIG. 7 include, for example, parameter, value_min, and value_max.
[0052] The parameter shown in Figure 7 is an argument for obtaining a character string corresponding to the parameter to be set. The parameter is of string type, and requires a character string corresponding to the parameter. The character strings corresponding to the parameter are "position_range" (range of position), "velocity_range" (range of velocity), "angle_range" (range of angle (attitude)), or "force_range" (range of reaction force). These character strings are registered as enumerators.
[0053] The presentation means 22 of the language model 20 outputs the use of the set_robot_param function based on the received prompt. Also, based on an instruction included in the received prompt as to which parameter of the position range, velocity range, angle range (posture range), or reaction force range to set, the presentation means 22 outputs that the argument of the set_robot_param function is parameter, and that the value of parameter is either "position_range", "velocity_range", "angle_range", or "force_range". The control means 154 executes the set_robot_param function based on the answer information thus output, thereby grasping which parameter of the robot's position range, velocity range, angle range, or reaction force range to set.
[0054] 7 is an argument for acquiring a numerical value required for setting a parameter of the lower limit of the position range, the speed range, the angle range, or the reaction force range. value_min is of number type, and requires a variable of such a numerical value of the lower limit. 7 is an argument for acquiring a numerical value required for setting the upper limit parameter of the position range, the velocity range, the angle range, or the reaction force range. value_max is of number type, and requires a variable of such an upper limit numerical value.
[0055] The presentation means 22 of the language model 20 outputs the use of the set_robot_param function based on the received prompt. The presentation means 22 also outputs that the arguments of the set_robot_param function are value_min and value_max based on the information on the numerical values included in the received prompt, and outputs the numerical values of the lower limit and upper limit values to be set, respectively, as the values of value_min and value_max. The control means 154 executes the set_robot_param function based on the answer information thus output, thereby setting the lower limit or upper limit of the position range, speed range, angle range, or reaction force range of the robot.
[0056] The above-mentioned process using parameter, value_min, and value_max shown in Fig. 7 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "Set the upper limit of the reaction force range of the robot to X and the lower limit to Y", the presentation means 22 outputs answer information so that the value of parameter becomes an enumerator of "force_range", the value of value_max becomes X, and the value of value_min becomes Y, and presents the answer information to the control device 10. After that, the control means 154 executes the set_robot_param function, whereby the control means 154 sets the upper limit of the reaction force range of the robot to X and the lower limit to Y. The same applies to "position_range", "velocity_range", and "angle_range".
[0057] Here, for example, the user may input a prompt such as "set the reaction force range." This prompt is sufficient for the presentation means 22 to select the set_robot_param function and for the value of parameter to become an enumerator of "force_range," but is insufficient to determine the values of value_min and value_max. In such a case, it is preferable for the inquiry means 23 to inquire about the content such as "what should the upper and lower limits of the reaction force range be set to?"
[0058] 8 is a diagram showing an example of a data structure used in a command received by a robot that is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 8, the function name, which is identification information for identifying the function, is "name": "set_robot_control_mode". That is, the function shown in FIG. 8 is defined as the set_robot_control_mode function. The function of the set_robot_control_mode function shown in FIG. 8 is "description": "Set robot control mode. manual means to use robot pendant. remote means to use PLC / PC / Teaching". That is, the set_robot_control_mode function shown in FIG. 8 is a function that sets the control mode of the robot to either a manual mode (manual mode) in which the robot is operated by a pendant or the like, or a remote mode (automatic mode) in which the robot is controlled by teaching or the like. The arguments of the set_robot_control_mode function shown in FIG. 8 include, for example, mode.
[0059] Mode shown in Fig. 8 is an argument for obtaining a character string corresponding to the parameter to be set. Mode is a string type, and requires a character string corresponding to the mode. The character string corresponding to the mode is "manual" or "remote". These character strings are registered as enumerators.
[0060] The presentation means 22 of the language model 20 outputs the use of the set_robot_control_mode function based on the received prompt. The presentation means 22 also outputs that the argument of the set_robot_control_mode function is "mode" based on the instruction, included in the received prompt, of whether to set a parameter, manual or automatic. The control means 154 executes the set_robot_control_mode function based on the answer information thus output, thereby grasping whether to set the parameter, automatic or manual, for the robot control mode.
[0061] The above-mentioned processing by mode shown in Fig. 8 is performed, for example, as follows. That is, for example, when the user inputs a prompt in natural language such as "Set the control mode of the robot to manual mode", the presentation means 22 outputs answer information so that the value of mode becomes an enumerator of "manual" and presents it to the control device 10. After that, the control means 154 executes the set_robot_control_mode function, so that the control means 154 sets the control mode of the robot to manual mode.
[0062] Here, for example, a prompt such as "set the control mode of the robot" may be input by the user. Such a prompt is sufficient for the presentation means 22 to select the set_robot_control_mode function, but is insufficient for determining the value of mode. In such a case, it is preferable for the inquiry means 23 to inquire of a content such as "whether to set the operation mode of the robot to manual mode or automatic mode."
[0063] 9 is a diagram showing an example of a data structure used in a command received by a robot that is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 9, the function name, which is identification information for identifying the function, is "name": "set_robot_operation_mode". That is, the function shown in FIG. 9 is defined as the set_robot_operation_mode function. The function of the set_robot_operation_mode function shown in FIG. 9 is "description": "Set robot operation mode. jog(moving by joint angle input) / world axis(Catresian coordinates in world axis / tool axis(Catresian coordinates in tool axis)". That is, the set_robot_operation_mode function shown in FIG. 9 is a function that sets the robot to one of a mode in which the robot is controlled by jog operation, a mode in which the robot is controlled in world coordinates, or a mode in which the robot is controlled in tool coordinates, etc. The arguments of the set_robot_operation_mode function shown in FIG. 9 include, for example, mode.
[0064] Mode shown in Fig. 9 is an argument for obtaining a character string corresponding to the parameter to be set. Mode is a string type, and requires a character string corresponding to the mode. The character string corresponding to the mode is "jog" (jog operation mode), "world_axis" (world coordinate mode), or "tool_axis" (tool coordinate mode). These character strings are registered as enumerators.
[0065] The presentation means 22 of the language model 20 outputs the use of the set_robot_operation_mode function based on the received prompt. The presentation means 22 also outputs that the argument of the set_robot_operation_mode function is "mode" based on an instruction included in the received prompt as to which parameter of the jog operation mode, the world coordinate mode, or the tool coordinate mode to set. The control means 154 executes the set_robot_operation_mode function based on the answer information thus output, thereby grasping which parameter of the jog, world coordinate, or tool coordinate to set for the robot control mode.
[0066] The above-mentioned processing by mode shown in Fig. 9 is performed, for example, as follows. That is, for example, when the user inputs a prompt in natural language such as "set the operation mode of the robot to the jog operation mode", the presentation means 22 outputs answer information so that the value of mode becomes an enumerator of "jog" and presents it to the control device 10. After that, the control means 154 executes the set_robot_operation_mode function, so that the control means 154 sets the control mode of the robot to the jog operation mode.
[0067] Here, for example, a prompt such as "set the robot operation mode" may be input by the user. Such a prompt is sufficient for the presentation means 22 to select the set_robot_operation_mode function, but is insufficient for determining the value of mode. In such a case, it is preferable for the inquiry means 23 to inquire as to whether the robot operation mode should be set to the jog operation mode, world coordinate mode, or tool coordinate mode.
[0068] 10 is a diagram showing an example of a data structure used in a command received by a robot that is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 10, the function name, which is identification information for identifying the function, is "name": "get_robot_param". That is, the function shown in FIG. 10 is defined as the get_robot_param function. The function of the get_robot_param function shown in FIG. 10 is "description": "Get robot parameter. position is robot's xyzabc position. joint is robot's each joint angle. op_mode is operation mode. ctrl_mode is control mode." That is, the get_robot_param function shown in FIG. 10 is a function that acquires the robot's position and posture information, the robot's joint angle, the robot's operation mode, or the robot's control mode. The arguments of the get_robot_param function shown in FIG. 10 include, for example, parameter.
[0069] The parameter shown in Figure 10 is an argument for obtaining a character string corresponding to the parameter to be obtained. The parameter is of string type, and requires a character string corresponding to the parameter. The character strings corresponding to the parameter are "position" (position and orientation information), "joint" (joint angle), "op_mode" (operation mode), or "ctrl_mode" (control mode). These character strings are registered as enumerators.
[0070] The presentation means 22 of the language model 20 outputs the use of the get_robot_param function based on the received prompt. Also, based on an instruction included in the received prompt as to which parameter of the position / posture, joint angle, operation mode, or control mode to acquire, the presentation means 22 outputs that the argument of the get_robot_param function is parameter, and that the value of parameter is either "position", "joint", "op_mode", or "ctrl_mode". The control means 154 executes the get_robot_param function based on the answer information thus output, thereby acquiring position / posture information indicating the position / posture of the robot, joint angle information indicating the joint angle of the robot, and the parameters of the operation mode or control mode.
[0071] The above-mentioned process using the parameter shown in Fig. 10 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "obtain the position and orientation of the robot", the presentation means 22 outputs answer information so that the value of the parameter becomes an enumerator of "position" and presents it to the control device 10. Thereafter, the control means 154 executes the get_robot_param function, thereby obtaining the position and orientation information of the robot. The same applies to "joint", "op_mode", and "ctrl_mode".
[0072] Here, for example, the user may input a prompt such as "Get robot information." Such a prompt is sufficient for the presentation means 22 to select the get_robot_param function, but is insufficient for determining the value of parameter. In such a case, it is preferable for the inquiry means 23 to inquire about the content such as "Which of the position / posture, joint angle, operation mode, or control mode should be acquired?"
[0073] 11 is a diagram showing an example of a data structure used in a command received by a robot that is a controlled object 2. The metadata shown in FIG. In the example shown in FIG. 11, the function name, which is identification information for identifying the function, is "name": "activate_tool". That is, the function shown in FIG. 11 is defined as the activate_tool function. The function of the activate_tool function shown in FIG. 11 is "description": "Activate / Deactivate tool". That is, the activate_tool function shown in FIG. 11 is a function that sets the parameters of the operating state (ON) or stopped state (OFF) of the robot's tool (end effector). The arguments of the activate_tool function shown in FIG. 11 include, for example, activate_flag.
[0074] 11 is an argument for putting the end effector into either an operating state (ON) or a stopped state (OFF). The activate_flag is of Boolean type and does not require variables such as quantities.
[0075] The presentation means 22 of the language model 20 outputs the use of the activate_tool function based on the received prompt. The presentation means 22 also outputs whether the value of activate_flag is "true" (e.g., in operation) or "false" (e.g., in operation) based on the instruction, contained in the received prompt, as to whether the end effector is to be set to an operating state or a stopped state. The control means 154 executes the activate_tool function based on the answer information thus output, thereby grasping whether the end effector is to be set to an operating state or a stopped state.
[0076] The above-mentioned process by activate_flag shown in Fig. 11 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "set the end effector ON", the presentation means 22 outputs answer information so that the value of activate_flag becomes true, and presents it to the control device 10. After that, the control means 154 executes the activate_tool function, whereby the control means 154 sets the end effector to an operating state.
[0077] 12 is a diagram showing an example of a data structure used for a command received by an end effector of a robot that is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 12, the function name, which is identification information for identifying the function, is "name":"change_tool". That is, the function shown in FIG. 12 is defined as the change_tool function. The function of the change_tool function shown in FIG. 12 is "description":"Change tool to selected index". That is, the change_tool function shown in FIG. 12 is a function that causes the robot to execute control to replace the end effector held by the robot with the end effector corresponding to the selected end effector ID. The arguments of the change_tool function shown in FIG. 12 include, for example, tool_id.
[0078] 12 is an argument for acquiring the end effector ID corresponding to the end effector. tool_id is of number type and requires a variable for the end effector ID. The presentation means 22 of the language model 20 outputs the use of the change_tool function based on the received prompt. Furthermore, the presentation means 22 outputs that the argument of the change_tool function is tool_id, based on whether or not the received prompt includes an instruction to specify an end effector ID, and outputs the end effector ID as the value of tool_id. The control means 154 executes the change_tool function based on the answer information thus output, thereby controlling the robot to replace the end effector currently held by the robot with the end effector corresponding to the selected end effector ID.
[0079] The above-mentioned process using tool_id shown in Fig. 12 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "change to end effector No. 1", the presentation means 22 outputs answer information so that the value of tool_id becomes a variable corresponding to the end effector ID corresponding to end effector No. 1, and presents it to the control device 10. Thereafter, the control means 154 executes the change_tool function, thereby controlling the robot to change the end effector currently held by the robot to the end effector corresponding to end effector ID No. 1.
[0080] Here, for example, the user may input a prompt such as "switch end effector". Such a prompt is sufficient for the presenting means 22 to select the change_tool function, but is insufficient to determine the value of tool_id. In such a case, it is preferable for the querying means 23 to query the user regarding "which end effector to switch to".
[0081] 13 is a diagram showing an example of a data structure used for a command received by an end effector that is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 13, the function name, which is identification information for identifying the function, is "name": "get_tool_param". That is, the function shown in FIG. 13 is defined as the get_tool_param function. The function of the get_tool_param function shown in FIG. 13 is "description": "Get tool parameter. angular_velocity means tool's angular_velocity. motor_torque means tool's motor torque." That is, the get_tool_param function shown in FIG. 13 is a function that acquires the angular velocity or torque parameters of the end effector attached to the robot. The arguments of the get_tool_param function shown in FIG. 13 include, for example, parameter.
[0082] The parameter shown in Figure 13 is an argument for obtaining a character string corresponding to the parameter to be obtained. The parameter is of string type, and requires a character string corresponding to the parameter. The character string corresponding to the parameter is "angular_velocity" or "motor_torque". These character strings are registered as enumerators.
[0083] The presentation means 22 of the language model 20 outputs the use of the get_tool_param function based on the received prompt. Also, based on an instruction included in the received prompt as to which parameter of the angular velocity or motor torque of the end effector is to be acquired, the presentation means 22 outputs that the argument of the get_tool_param function is parameter and that the value of parameter is either "angular_velocity" or "motor_torque". The control means 154 executes the get_tool_param function based on the answer information thus output, thereby grasping whether to acquire the parameter of the angular velocity or motor torque of the end effector.
[0084] The above-mentioned process using the parameter shown in Fig. 13 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "obtain the angular velocity of the end effector", the presentation means 22 outputs answer information so that the value of the parameter becomes an enumerator of "angular_velocity" and presents it to the control device 10. After that, the control means 154 executes the get_tool_param function, thereby obtaining the angular velocity of the end effector. The same applies to "motor_torque".
[0085] Here, for example, the user may input a prompt such as "Get end effector information." Such a prompt is sufficient for the presentation means 22 to select the get_tool_param function, but is insufficient for determining the value of parameter. In such a case, it is preferable for the inquiry means 23 to inquire about the content such as "Which information, the angular velocity or the motor torque of the end effector, should be acquired?"
[0086] 14 is a diagram showing an example of a data structure used for a command received by an end effector of a robot that is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 14, the function name, which is identification information for identifying the function, is "name":"set_tool_param". That is, the function shown in FIG. 14 is defined as the set_tool_param function. The function of the set_tool_param function shown in FIG. 14 is "description:Set tool parameter. angular_velocity means tool's angular_velocity. motor_torque means tool's motor torque." That is, the set_tool_param function shown in FIG. 14 is a function that sets the angular velocity or torque parameters of the end effector attached to the robot. The arguments of the set_tool_param function shown in FIG. 14 include, for example, parameter and value.
[0087] The parameter shown in Figure 14 is an argument for obtaining a character string corresponding to the parameter to be set. The parameter is of string type and requires a character string corresponding to the parameter. The character string corresponding to the parameter is "angular_velocity" or "motor_torque". These character strings are registered as enumerators.
[0088] The presentation means 22 of the language model 20 outputs the use of the set_tool_param function based on the received prompt. Also, based on an instruction included in the received prompt as to which parameter, angular velocity or motor torque, to set, the presentation means 22 outputs that the argument of the set_tool_param function is parameter and that the value of parameter is either "angular_velocity" or "motor_torque". The control means 154 executes the set_tool_param function based on the answer information thus output, thereby grasping which parameter, angular velocity or motor torque, of the end effector is to be set.
[0089] 14 is an argument for acquiring a numerical value required for setting the parameters of the angular velocity or motor torque of the end effector. Value is of number type and requires a numerical variable of the angular velocity or motor torque.
[0090] The presentation means 22 of the language model 20 outputs the use of the set_tool_param function based on the received prompt. The presentation means 22 also outputs that the argument of the set_tool_param function is value based on the information on the numerical value included in the received prompt, and outputs the numerical value of the angular velocity or motor torque to be set as the value of value. The control means 154 executes the set_tool_param function based on the answer information thus output, thereby setting the parameters of the angular velocity or motor torque of the end effector.
[0091] The above-mentioned processing using the parameter and value shown in Fig. 14 is performed, for example, as follows. That is, for example, when the user inputs a prompt in a natural language such as "set the angular velocity of the end effector to X", the presentation means 22 outputs answer information so that the value of parameter becomes an enumerator of "angular_velocity" and the value of value becomes a numerical value corresponding to X, and presents it to the control device 10. Thereafter, the control means 154 executes the set_tool_param function, whereby the control means 154 sets the angular velocity of the end effector to a numerical value corresponding to X. The same applies to "motor_torque".
[0092] Here, for example, the user may input a prompt such as "set the angular velocity of the end effector." Such a prompt is sufficient for the presentation means 22 to select the set_tool_param function and for the value of "parameter" to become an enumerator of "angular_velocity," but is insufficient to determine the value of "value." In such a case, it is preferable for the query means 23 to query the content such as "what should the angular velocity of the end effector be set to?"
[0093] 15 is a diagram showing an example of a data structure used in a command received by a robot that is a controlled object 2. The metadata shown in FIG. In the example shown in FIG. 15, the function name, which is identification information for identifying the function, is "name": "activate_work". That is, the function shown in FIG. 15 is defined as the activate_work function. The function of the activate_work function shown in FIG. 15 is "description": "Activate / Deactivate work". That is, the activate_work function shown in FIG. 15 is a function that sets the parameters of the operating state (ON) or stopped state (OFF) of the workpiece to be worked on by the robot. The arguments of the activate_tool function shown in FIG. 15 include, for example, activate_flag.
[0094] 15 is an argument for putting the work into either an operating state (ON) or a stopped state (OFF). The activate_flag is of Boolean type and does not require variables such as quantity.
[0095] The presentation means 22 of the language model 20 outputs the use of the activate_work function based on the received prompt. The presentation means 22 also outputs whether the value of activate_flag is "true" (e.g., in operation) or "false" (e.g., in operation) based on the instruction, included in the received prompt, as to whether the work should be set to an operating state or a stopped state. The control means 154 executes the activate_work function based on the answer information thus output, thereby grasping whether the work should be set to an operating state or a stopped state.
[0096] The above-mentioned process by activate_flag shown in Fig. 15 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "set work ON", the presentation means 22 outputs answer information so that the value of activate_flag becomes true, and presents it to the control device 10. Thereafter, the control means 154 executes the activate_work function, whereby the control means 154 sets the end effector to an operating state.
[0097] 16 is a diagram showing an example of a data structure used in a command received by a workpiece performed by a robot, which is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 16, the function name, which is identification information for identifying the function, is "name": "change_work". That is, the function shown in FIG. 16 is defined as the change_work function. The function of the change work function shown in FIG. 16 is "description": "Change work to selected index". That is, the change work function shown in FIG. 16 is a function that causes the robot to execute control to change the work being worked on by the robot to the work corresponding to the selected work ID. The arguments of the change_work function shown in FIG. 16 include, for example, work_id.
[0098] 16 is an argument for acquiring a work ID corresponding to a work. work_id is a number type and requires a work ID variable. The presentation means 22 of the language model 20 outputs the use of the change_work function based on the received prompt. Furthermore, the presentation means 22 outputs that the argument of the change_work function is work_id, based on whether or not the received prompt includes an instruction to specify work_id, and outputs the work ID as the value of work_id. The control means 154 executes the change_work function based on the answer information thus output, thereby controlling the robot to change the work currently being performed by the robot to the work corresponding to the selected work ID.
[0099] The above-mentioned process using work_id shown in Fig. 16 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "Change the workpiece that the robot is working on to workpiece No. 1", the presentation means 22 outputs answer information so that the value of work_id becomes a variable corresponding to the workpiece ID corresponding to workpiece No. 1, and presents it to the control device 10. Thereafter, the control means 154 executes the change_work function, thereby controlling the robot so as to change the workpiece that the robot is currently working on to the workpiece corresponding to workpiece No. 1.
[0100] Here, for example, the user may input a prompt such as "change the workpiece that the robot is working on." Such a prompt is sufficient for the presentation means 22 to select the change_work function, but is insufficient for determining the value of work_id. In such a case, it is preferable to inquire using the inquiry means 23 as to "which workpiece should be changed to."
[0101] 17 is a diagram showing an example of a data structure used in a command received by a workpiece performed by a robot, which is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 17, the function name, which is identification information for identifying the function, is "name": "get_work_param". That is, the function shown in FIG. 17 is defined as the get_work_param function. The function of the get_work_param function shown in FIG. 17 is "description": "Get work parameter. angular_velocity means work's angular_velocity. mass means tool's mass." That is, the get_work_param function shown in FIG. 17 is a function that sets the parameters of the angular velocity or mass of the workpiece being worked on by the robot. The arguments of the get_work_param function shown in FIG. 17 include, for example, parameter.
[0102] The parameter shown in FIG. 17 is an argument for obtaining a character string corresponding to the parameter to be set. The parameter is of string type, and requires a character string corresponding to the parameter. The character string corresponding to the parameter is "angular_velocity" or "mass". These character strings are registered as enumerators.
[0103] The presentation means 22 of the language model 20 outputs the use of the get_work_param function based on the received prompt. Also, based on an instruction included in the received prompt as to whether to acquire a parameter of the angular velocity or mass of the workpiece, the presentation means 22 outputs that the argument of the get_work_param function is parameter, and that the value of parameter is either "angular_velocity" or "mass". The control means 154 executes the get_work_param function based on the answer information thus output, thereby grasping whether to acquire a parameter of the angular velocity or mass of the workpiece.
[0104] The above-mentioned process using the parameter shown in Fig. 17 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "obtain the angular velocity of the workpiece", the presentation means 22 outputs answer information so that the value of the parameter becomes an enumerator of "angular_velocity" and presents it to the control device 10. After that, the control means 154 executes the get_work_param function, and thereby the control means 154 obtains the angular velocity of the end effector. The same applies to "mass".
[0105] Here, for example, the user may input a prompt such as "Get work information." This type of prompt is sufficient for the presentation means 22 to select the get_work_param function, but is insufficient to determine the value of parameter. In such a case, it is preferable for the inquiry means 23 to inquire as to whether "information on the angular velocity or mass of the work should be acquired."
[0106] 18 is a diagram showing an example of a data structure used in a command received by a workpiece performed by a robot, which is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 18, the function name, which is identification information for identifying the function, is "name":"set_work_param". That is, the function shown in FIG. 18 is defined as the set_work_param function. The function of the set_work_param function shown in FIG. 18 is "description:Set work parameter. angular_velocity means work's angular_velocity. m_time means to be activation time." That is, the set_work_param function shown in FIG. 18 is a function that sets parameters for the angular velocity or operating time (rotation time) of a workpiece being worked on by a robot. The arguments of the set_work_param function shown in FIG. 18 include, for example, parameter and value.
[0107] The parameter shown in Figure 18 is an argument for obtaining a character string corresponding to the parameter to be set. The parameter is of string type, and requires a character string corresponding to the parameter. The character string corresponding to the parameter is "angular_velocity" (angular velocity) or "m_time" (operating time (rotation time)). These character strings are registered as enumerators.
[0108] The presentation means 22 of the language model 20 outputs the use of the set_work_param function based on the received prompt. Also, based on an instruction included in the received prompt as to which parameter, angular velocity or working time, to set, the presentation means 22 outputs that the argument of the set_work_param function is parameter, and that the value of parameter is either "angular_velocity" or "m_time". The control means 154 executes the set_work_param function based on the answer information thus output, thereby grasping which parameter, angular velocity or working time, to set.
[0109] The value shown in Fig. 18 is an argument for acquiring a numerical value required for setting the parameters of the angular velocity or operation time (rotation time, drive time) of the work. The value is of number type and requires a numerical variable for the angular velocity or operation time.
[0110] The presentation means 22 of the language model 20 outputs the use of the set_work_param function based on the received prompt. The presentation means 22 also outputs that the argument of the set_work_param function is value based on the information on the numerical value included in the received prompt, and outputs the numerical value of the angular velocity or working time to be set as the value of value. The control means 154 executes the set_work_param function based on the answer information thus output, thereby setting the parameters of the angular velocity or working time of the work.
[0111] The above-mentioned processing using the parameter and value shown in Fig. 18 is performed, for example, as follows. That is, for example, when the user inputs a prompt in a natural language such as "set the angular velocity of the work to X", the presentation means 22 outputs answer information so that the value of parameter becomes an enumerator of "angular_velocity" and the value of value becomes a numerical value corresponding to X, and presents it to the control device 10. Thereafter, the control means 154 executes the set_work_param function, whereby the control means 154 sets the angular velocity of the work to a numerical value corresponding to X. The same applies to "m_time".
[0112] Here, for example, a prompt such as "set the angular velocity of the workpiece" may be input by the user. Such a prompt is sufficient for the presentation means 22 to select the set_work_param function and for the value of "parameter" to become an enumerator of "angular_velocity", but is insufficient to determine the value of "value". In such a case, it is preferable to inquire using the inquiry means 23 as to "how much to set the angular velocity of the workpiece". The same applies to "m_time".
[0113] (When the controlled object is a sensor) When the controlled object 2 is a sensor, the function for controlling the sensor that is the controlled object 2 may include, for example, a function for controlling measurement by the sensor and a function for acquiring a measurement value from the sensor. In this embodiment, the sensor is, for example, a camera. The function for controlling the measurement by the sensor may include, for example, a function for capturing and acquiring image data or point cloud data, and a function for acquiring information such as the position of the workpiece, the direction of the normal vector of the workpiece surface, and the trajectory of the robot moving on the workpiece surface from the captured image data. The type of the argument of the function that controls the sensor, which is the controlled object 2, may be a type that corresponds to a numerical value (e.g., number type) or a type that does not correspond to a numerical value (e.g., Boolean type). Furthermore, the argument of the function that controls the sensor, which is the controlled object 2, may correspond to the execution of measurement such as imaging and the acquisition of the position of a workpiece, etc.
[0114] 19 is a diagram showing an example of a data structure used in a command received by a sensor that is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 19, the function name, which is identification information for identifying the function, is "name": "get_image". That is, the function shown in FIG. 19 is defined as the get_image function. The function of the get_image function shown in FIG. 19 is "description": "Get single camera image of selected device id." That is, the get_image function shown in FIG. 19 is a function that captures an image using a camera corresponding to a selected device ID and acquires image data. The arguments of the get_image function shown in FIG. 19 include, for example, device_id.
[0115] 19 is an argument for acquiring the device ID corresponding to the camera that acquires image data. The device_id is a number type and requires a device ID variable. The presentation means 22 of the language model 20 outputs the use of the get_image function based on the received prompt. Furthermore, the presentation means 22 outputs that the argument of the get_image function is device_id, based on whether or not the received prompt includes an instruction to specify a device ID, and outputs the device ID as the value of device_id. The control means 154 executes the get_image function based on the answer information thus output, thereby acquiring image data by the camera corresponding to the selected device ID.
[0116] The above-mentioned process using device_id shown in Fig. 19 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "take a picture with camera No. 1", the presentation means 22 outputs answer information so that the value of device_id becomes a variable corresponding to the device ID corresponding to camera No. 1, and presents it to the control device 10. Thereafter, the control means 154 executes the get_image function, whereby the control means 154 acquires image data captured by the camera corresponding to device ID No. 1.
[0117] In addition, as shown in FIG. 19, in "description": "Camera's device ID. default value is zero," the initial value of the device ID is 0. If the user's prompt does not include information regarding the device ID, the presentation means 22 outputs answer information so that the value of device_id becomes a variable equivalent to the device ID corresponding to the camera with the number 0, and presents it to the control device 10. Thereafter, the control means 154 executes the get_image function, whereby the control means 154 acquires image data captured by the camera corresponding to the device ID with the number 0.
[0118] 20 is a diagram showing an example of a data structure used in a command received by a sensor that is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 20, the function name, which is identification information for identifying the function, is "name": "get_pointcloud". That is, the function shown in FIG. 20 is defined as the get_pointcloud function. The function of the get_pointcloud function shown in FIG. 20 is "description": "Get single point cloud sensor data of selected device id." That is, the get_pointcloud function shown in FIG. 20 is a function that captures an image using a camera corresponding to a selected device ID and acquires point cloud data. When the get_pointcloud function is executed in the control system 1, it is preferable that the camera that is the controlled object 2 is, for example, one that is capable of acquiring point cloud data. The arguments of the get_pointcloud function shown in FIG. 20 include, for example, device_id.
[0119] 20 is an argument for acquiring the device ID corresponding to the camera that acquires the point cloud data. The device_id is of number type and requires a device ID variable. The presentation means 22 of the language model 20 outputs the use of the get_pointcloud function based on the received prompt. The presentation means 22 also outputs that the argument of the get_pointcloud function is device_id, based on whether or not the received prompt includes an instruction to specify a device ID, and outputs the device ID as the value of device_id. The control means 154 executes the get_pointcloud function based on the answer information thus output, thereby acquiring point cloud data by the camera corresponding to the selected device ID.
[0120] The above-mentioned process using device_id shown in Fig. 20 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "obtain point cloud data with camera No. 1", the presentation means 22 outputs answer information so that the value of device_id becomes a variable corresponding to the device ID corresponding to camera No. 1, and presents it to the control device 10. After that, the control means 154 executes the get_pointcloud function, so that the control means 154 obtains the point cloud data captured by the camera corresponding to device ID No. 1.
[0121] In addition, as shown in the description of device_id in Fig. 20, "description": "Point cloud sensor's device ID. default value is zero", the initial value of the device ID is 0. If the user's prompt does not include information about the device ID, the presentation means 22 outputs answer information so that the value of device_id becomes a variable corresponding to the device ID corresponding to the camera with the number 0, and presents it to the control device 10. After that, the control means 154 executes the get_pointcloud function, so that the control means 154 acquires point cloud data captured by the camera corresponding to the device ID with the number 0.
[0122] 21 is a diagram showing an example of a data structure used in a command received by a sensor that is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 21, the function name, which is identification information for identifying the function, is "name": "get_force". That is, the function shown in FIG. 21 is defined as the get_force function. The function of the get_force function shown in FIG. 21 is "description": "Get force data from force sensor of selected device id." That is, the get_force function shown in FIG. 21 is a function that obtains reaction force data obtained from a force sensor or the like corresponding to a selected device ID. The arguments of the get_force function shown in FIG. 21 include, for example, device_id.
[0123] 21 is an argument for acquiring a device ID corresponding to a force sensor or the like that outputs reaction force data. device_id is of number type and requires a device ID variable. The presentation means 22 of the language model 20 outputs the use of the get_force function based on the received prompt. Furthermore, the presentation means 22 outputs that the argument of the get_force function is device_id, based on whether or not the received prompt includes an instruction to specify a device ID, and outputs the device ID as the value of device_id. The control means 154 executes the get_force function based on the response information thus output, thereby acquiring reaction force data from a force sensor or the like corresponding to the selected device ID.
[0124] The above-mentioned process using device_id shown in Fig. 21 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "obtain reaction force with force sensor No. 1", the presentation means 22 outputs answer information so that the value of device_id becomes a variable corresponding to the device ID corresponding to force sensor No. 1, and presents it to the control device 10. Thereafter, the control means 154 executes the get_force function, whereby the control means 154 obtains the reaction force data obtained by the force sensor corresponding to device ID No. 1.
[0125] In addition, as shown in FIG. 21, in "description": "Force sensor's device ID. default value is zero," the initial value of the device ID is 0. If the user's prompt does not include information regarding the device ID, the presentation means 22 outputs answer information so that the value of device_id becomes a variable equivalent to the device ID corresponding to the force sensor etc. with the number 0, and presents it to the control device 10. Thereafter, the control means 154 executes the get_force function, so that the control means 154 acquires the reaction force data obtained by the force sensor etc. corresponding to the device ID with the number 0.
[0126] 22 is a diagram showing an example of a data structure used in a command received by a sensor that is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 22, the function name, which is identification information for identifying the function, is "name": "get_work_pos_from_image". That is, the function shown in FIG. 22 is defined as the get_work_pos_from_image function. The function of the get_work_pos_from_image function shown in FIG. 22 is "description": "Get robot's work position from selected device id's camera's image". That is, the get_work_pos_from_image function shown in FIG. 22 is a function that identifies the position of the robot's work from image data captured by the camera corresponding to the selected device ID. The arguments of the get_work_pos_from_image function shown in FIG. 22 include, for example, device_id.
[0127] The device_id shown in Fig. 22 is an argument for acquiring the device ID corresponding to the camera that acquires image data. The device_id shown in Fig. 22 is the same as the device_id shown in Fig. 19, and therefore a description thereof will be omitted. The process using device_id shown in Fig. 22 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "identify the work position from the image of camera No. 1", the presentation means 22 outputs answer information so that the value of device_id becomes a variable corresponding to the device ID corresponding to camera No. 1, and presents it to the control device 10. Thereafter, the control means 154 executes the get_work_pos_from_image function, whereby the control means 154 identifies the position of the work of the robot from the image data captured by the camera corresponding to device ID No. 1.
[0128] As with the device_id shown in FIG. 19, the initial value of the device ID in the device_id shown in FIG. 22 is 0, as indicated by "description": "Camera's device ID. default value is zero." If the user's prompt does not include information regarding the device ID, the presentation means 22 outputs answer information so that the value of device_id becomes a variable equivalent to the device ID corresponding to camera number 0, and presents this to the control device 10. Thereafter, the control means 154 executes the get_work_pos_from_image function, whereby the control means 154 identifies the position of the robot's workpiece from image data captured by the camera corresponding to device ID number 0.
[0129] 23 is a diagram showing an example of a data structure used in a command received by a sensor that is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 23, the function name, which is identification information for identifying the function, is "name": "get_work_surface_positions_and_normals". That is, the function shown in FIG. 23 is defined as the get_work_surface_positions_and_normals function. The function of the get_work_surface_positions_and_normals function shown in FIG. 23 is "description": "Get robot's work surface's positions and normal vectors". That is, the get_work_surface_positions_and_normals function shown in FIG. 23 is a function that identifies (acquires) the position of the surface of the robot's work and the direction of the normal vector from image data captured by a camera corresponding to a selected device ID. The arguments of the get_work_surface_positions_and_normals function shown in FIG. 23 include, for example, work_id.
[0130] 23 is an argument for acquiring a work ID corresponding to a target work for which the surface position and the normal vector direction are to be specified. work_id is of number type and requires a variable for the work ID. The presentation means 22 of the language model 20 outputs the use of the get_work_surface_positions_and_normals function based on the received prompt. The presentation means 22 also outputs that the argument of the get_work_surface_positions_and_normals function is work_id, based on whether or not the received prompt includes an instruction to specify a work ID, and outputs the work ID as the value of work_id. The control means 154 executes the get_work_surface_positions_and_normals function based on the answer information thus output, thereby identifying the position of the surface of the work and the direction of the normal vector corresponding to the selected work ID.
[0131] The above-mentioned process using work_id shown in Fig. 23 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "identify the position of the surface and the direction of the normal vector of work No. 1", the presentation means 22 outputs answer information so that the value of work_id becomes a variable corresponding to the work ID corresponding to work No. 1, and presents it to the control device 10. Thereafter, the control means 154 executes the get_work_surface_positions_and_normals function, whereby the control means 154 identifies the position of the surface of the work corresponding to work No. 1 and the direction of the normal vector.
[0132] In addition, as shown in FIG. 23, in "description": "Work's ID. default value is zero," the initial value of the work ID is 0. If the user's prompt does not include information regarding the work ID, the presentation means 22 outputs answer information so that the value of work_id becomes a variable equivalent to the work ID corresponding to the work number 0, and presents it to the control device 10. Thereafter, the control means 154 executes the get_work_surface_positions_and_normals function, whereby the control means 154 identifies the position of the surface of the work corresponding to the work number 0 and the direction of the normal vector.
[0133] 24 is a diagram showing an example of a data structure used in a command received by a sensor that is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 24, the function name, which is identification information for identifying the function, is "name": "gen_trajectory_on_work_surface". That is, the function shown in FIG. 24 is defined as the gen_trajectory_on_work_surface function. The function of the gen_trajectory_on_work_surface function shown in FIG. 24 is "description": "Generate robot's positions trajectory on selected work's surface". That is, the gen_trajectory_on_work_surface function shown in FIG. 24 is a function that generates a robot movement trajectory on the surface of a selected work. The robot movement trajectory generated by the gen_trajectory_on_work_surface function is used, for example, to polish the surface of a selected work. The arguments of the gen_trajectory_on_work_surface function shown in FIG. 24 include, for example, work_id.
[0134] The work_id shown in Fig. 24 is an argument for acquiring a work ID corresponding to a work for which a movement trajectory of a robot on a surface is to be generated. The work_id shown in Fig. 24 is the same as the work_id shown in Fig. 23, and therefore a description thereof will be omitted. The process using work_id shown in Fig. 24 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "generate a trajectory for polishing workpiece No. 1", the presentation means 22 outputs answer information so that the value of work_id becomes a variable corresponding to the workpiece ID corresponding to workpiece No. 1, and presents it to the control device 10. Thereafter, the control means 154 executes the gen_trajectory_on_work_surface function, whereby the control means 154 generates a movement trajectory of the robot on the surface of the workpiece corresponding to workpiece ID No. 1.
[0135] In addition, as shown in FIG. 24, in "description": "Work's ID. default value is zero," the initial value of the work ID is 0. If the user's prompt does not include information regarding the work ID, the presentation means 22 outputs answer information so that the value of work_id becomes a variable equivalent to the work ID corresponding to the work number 0, and presents it to the control device 10. Thereafter, the control means 154 executes the gen_trajectory_on_work_surface function, whereby the control means 154 generates a movement trajectory of the robot on the surface of the work corresponding to the work number 0.
[0136] (When the controlled object is a plant) When the controlled object 2 is a plant, the function for controlling the plant, which is the controlled object 2, may include, for example, a function for controlling the operation, starting, and stopping of plant equipment such as a boiler, and a function for obtaining a value indicating the status of the plant equipment. The type of the argument of the function that controls the plant, which is the controlled object 2, may be a type that corresponds to a numeric value (e.g., number type) or a type that does not correspond to a numeric value (e.g., Boolean type). The type of the argument of the function may be a type that corresponds to a character string (e.g., string type) or a type that corresponds to multiple enumerations (e.g., enum type). The argument of the function that controls the plant, which is the controlled object 2, may correspond to the operation, starting, and stopping of plant equipment such as a boiler, and the acquisition of status information indicating the status of the plant equipment.
[0137] 25 is a diagram showing an example of a data structure used in a command received by a plant that is the controlled object 2. The metadata shown in FIG. In the example shown in Fig. 25, the function name, which is identification information for identifying the function, is "name": "get_plant_param". That is, the function shown in Fig. 25 is defined as the get_plant_param function. The function of the get_plant_param function shown in Fig. 25 is "description": "Get plant parameter of maximum pressure or maximum temperature or maximum flow rate". That is, the get_plant_param function shown in Fig. 25 is a function that acquires the maximum pressure or maximum temperature parameter of the plant. The arguments of the get_plant_param function shown in FIG. 25 include, for example, parameter.
[0138] The parameter shown in FIG. 25 is an argument for obtaining a character string corresponding to the parameter to be obtained. The parameter is of string type, and requires a character string corresponding to the parameter. The character strings corresponding to the parameter are "maximum_pressure", "maximum_temperature", or "maximum_flow_rate". These character strings are registered as enumerators.
[0139] The presentation means 22 of the language model 20 outputs the use of the get_plant_param function based on the received prompt. Also, based on an instruction included in the received prompt as to which parameter, maximum pressure or maximum temperature, to acquire, the presentation means 22 outputs that the argument of the get_plant_param function is parameter, and that the value of parameter is either "maximum_pressure", "maximum_temperature", or "maximum_flow_rate". The control means 154 executes the get_plant_param function based on the answer information thus output, thereby acquiring the parameters of the maximum pressure, maximum temperature, or maximum flow rate of the plant.
[0140] The above-mentioned process using the parameter shown in Fig. 25 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "obtain maximum pressure of boiler", the presentation means 22 outputs answer information so that the value of the parameter becomes an enumerator of "maximum_pressure" and presents it to the control device 10. Thereafter, the control means 154 executes the get_plant_param function, thereby obtaining the maximum pressure of the plant equipment (boiler). The same applies to "maximum_temperature" and "maximum_flow_rate".
[0141] Here, for example, a prompt such as "get the boiler status" may be input by the user. Such a prompt is sufficient for the presentation means 22 to select the get_plant_param function, but is insufficient for determining the value of the parameter. In such a case, it is preferable for the inquiry means 23 to inquire as to whether "the maximum pressure or the maximum temperature should be acquired."
[0142] 26 is a diagram showing an example of a data structure used in a command received by a plant that is the controlled object 2. The metadata shown in FIG. In the example shown in Fig. 26, the function name, which is identification information for identifying the function, is "name": "set_plant_param". That is, the function shown in Fig. 26 is defined as the set_plant_param function. The function of the set_plant_param function shown in Fig. 26 is "description": "Set plant parameter of maximum pressure or maximum temperature or maximum flow rate". That is, the set_plant_param function shown in Fig. 26 is a function that sets the maximum pressure or maximum temperature parameter of the plant. The arguments of the set_plant_param function shown in FIG. 26 include, for example, parameter and value.
[0143] The parameter shown in FIG. 26 is an argument for obtaining a character string corresponding to the parameter to be set. The parameter is of string type, and requires a character string corresponding to the parameter. The character strings corresponding to the parameter are "maximum_pressure", "maximum_temperature", or "maximum_flow_rate". These character strings are registered as enumerators.
[0144] The presentation means 22 of the language model 20 outputs the use of the set_plant_param function based on the received prompt. Also, based on an instruction included in the received prompt as to which parameter, maximum pressure or maximum temperature, to set, the presentation means 22 outputs that the argument of the set_plant_param function is parameter, and that the value of parameter is either "maximum_pressure", "maximum_temperature", or "maximum_flow_rate". The control means 154 executes the set_plant_param function based on the answer information thus output, thereby grasping which parameter, maximum pressure or maximum temperature, of the plant is to be set.
[0145] 26 is an argument for acquiring a numerical value required for setting the maximum pressure or maximum temperature parameter of the plant. Value is of number type and requires a variable of the numerical value of the temperature or pressure.
[0146] The presentation means 22 of the language model 20 outputs the use of the set_plant_param function based on the received prompt. The presentation means 22 also outputs that the argument of the set_plant_param function is value based on the information on the numerical value included in the received prompt, and outputs the numerical value of the maximum pressure or maximum temperature to be set as the value of value. The control means 154 executes the set_plant_param function based on the answer information thus output, thereby setting the parameter of the maximum pressure or maximum temperature of the plant.
[0147] The above-mentioned process using the parameter and value shown in Fig. 26 is performed, for example, as follows. That is, for example, when the user inputs a prompt in a natural language such as "set the maximum pressure of the boiler to 25 Pa", the presentation means 22 outputs answer information so that the value of parameter becomes an enumerator of "maximum_pressure" and the value of value becomes a numerical value of 25 Pa, and presents it to the control device 10. Thereafter, the control means 154 executes the set_plant_param function, so that the control means 154 sets the maximum pressure of the plant equipment (boiler) to 25 Pa. The same applies to "maximum_temperature" and "maximum_flow_rate".
[0148] Here, for example, a prompt such as "set the boiler pressure" may be input by the user. Such a prompt is sufficient for the presentation means 22 to select the set_plant_param function and for the value of parameter to become an enumerator of "maximum_pressure", but is insufficient to determine the value of value. In such a case, it is preferable for the query means 23 to query the content such as "what should the boiler pressure be set to?"
[0149] 27 is a diagram showing an example of a data structure used in a command received by a plant that is the controlled object 2. The metadata shown in FIG. In the example shown in Fig. 27, the function name, which is identification information for identifying the function, is "name":"control_motor". That is, the function shown in Fig. 27 is defined as the control_motor function. The function of the control_motor function shown in Fig. 27 is "description: Control motor of plant. motor_id or angular_velocity or motor_torque". That is, the control_motor function shown in Fig. 27 is a function that sets a parameter of the angular velocity or torque of the motor of the plant. The arguments of the control_motor function shown in FIG. 27 include, for example, parameter and value.
[0150] The parameter shown in FIG. 27 is an argument for obtaining a character string corresponding to the parameter to be set. The parameter is of string type and requires a character string corresponding to the parameter. The character string corresponding to the parameter is "motor_id", "angular_velocity", or "motor_torque". These character strings are registered as enumerators.
[0151] The presentation means 22 of the language model 20 outputs the use of the control_motor function based on the received prompt. Also, based on an instruction included in the received prompt as to which parameter of the angular velocity or torque of the motor specified by the id is to be set, the presentation means 22 outputs that the argument of the control_motor function is parameter, and that the value of parameter is either "motor_id", "angular_velocity", or "motor_torque". The control means 154 executes the control_motor function based on the answer information thus output, thereby grasping which motor's angular velocity or torque parameter of the plant is to be set.
[0152] 27 is an argument for acquiring a numerical value required for setting the angular velocity or torque parameter of the motor of the plant. Value is of number type, and requires variables of the motor ID and the angular velocity or torque numerical value.
[0153] The presentation means 22 of the language model 20 outputs the use of the control_motor function based on the received prompt. The presentation means 22 also outputs that the argument of the control_motor function is value based on the information on the numerical value included in the received prompt, and outputs the ID, angular velocity or torque numerical value of the motor to be set as the value of value. The control means 154 executes the control_motor function based on the answer information thus output, thereby setting the angular velocity or torque parameter of the motor specified by the ID of the plant.
[0154] The above-mentioned processing using the parameter and value shown in Fig. 27 is performed, for example, as follows. That is, for example, when the user inputs a prompt in a natural language such as "set the angular velocity of motor X to Y", the presentation means 22 outputs answer information so that the value of parameter is an enumerator of "angular_velocity" and the value of value is a numerical value corresponding to Y, and presents it to the control device 10. Thereafter, the control means 154 executes the control_motor function, whereby the control means 154 sets the angular velocity of the plant equipment (motor X) to Y. The same applies to "motor_torque".
[0155] Here, for example, the user may input a prompt such as "set the angular velocity of motor X". Such a prompt is sufficient for the presentation means 22 to select the control_motor function and for the value of parameter to become an enumerator of "angular_velocity", but is insufficient to determine the value of value. In such a case, it is preferable for the query means 23 to query the content such as "what should the angular velocity of motor X be set to?" The same applies to "motor_id" and "motor_torque".
[0156] 28 is a diagram showing an example of a data structure used in a command received by a plant that is the controlled object 2. The metadata shown in FIG. In the example shown in Fig. 28, the function name, which is identification information for identifying the function, is "name:control_valve". That is, the function shown in Fig. 28 is defined as the control_valve function. The function of the control_valve function shown in Fig. 28 is "description":"Control valve of plant." That is, the control_valve function shown in Fig. 28 is a function that sets a parameter for operating or stopping the valve of the plant. The arguments of the control_valve function shown in FIG. 28 include, for example, valve_id and activate.
[0157] 28 is an argument for specifying a valve ID indicating a valve of a plant that is a control target. Valve_id is of number type and requires a variable of the valve ID. 28 is an argument for putting the valve into either an operating state or a stopped state. Activate is a Boolean type and does not require variables such as quantity.
[0158] The presentation means 22 of the language model 20 outputs the use of the control_valve function based on the received prompt. Also, based on an instruction included in the received prompt as to whether the valve specified by valve_id is to be set to an operating state or a stopped state, the presentation means 22 outputs that the argument of the control_valve function is valve_id and that the value of activate is either "true" (e.g., operating state) or "false" (e.g., stopped state). The control means 154 executes the control_valve function based on the response information thus output, thereby grasping which valve of the plant is to be set to an operating state or a stopped state.
[0159] The above-mentioned process using valve_id and activate shown in Fig. 28 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "set valve X to an operating state", the presentation means 22 outputs answer information so that the value of valve_id becomes X and the value of activate becomes true, and presents it to the control device 10. Thereafter, the control means 154 executes the control_valve function, whereby the control means 154 sets the plant equipment (valve X) to an operating state.
[0160] Here, for example, a prompt such as "set valve to operating state" may be input by the user. Such a prompt is sufficient for the presentation means 22 to select the control_valve function and for the value of activate to become "true", but is insufficient to determine the value of valve_id. In such a case, it is preferable for the query means 23 to query content such as "which valve number should be set to operating state".
[0161] (When the controlled object is a database) When the controlled object 2 is a database, the function for controlling the database that is the controlled object 2 may include, for example, a function for controlling storage by the database and a function for acquiring information from the database. In this embodiment, the database may be, for example, the storage unit 14 of the control device 10, or may be a cloud or the like. Information from a robot, a sensor, or a plant may be stored in the database. When information from a robot is stored in the database, the database may function as a part of the robot. When information from a sensor is stored in the database, the database may function as a part of the sensor. When information from a plant is stored in the database, the database may function as a part of the plant. The type of the argument of the function that controls the database, which is the controlled object 2, may be a type that corresponds to a numeric value (for example, number type) or a type that does not correspond to a numeric value (for example, Boolean type).
[0162] 29 is a diagram showing an example of a data structure used in a command received by a database that is the controlled object 2. The metadata shown in FIG. In the example shown in Fig. 29, the function name, which is identification information for identifying the function, is "name": "activate_recording_data". That is, the function shown in Fig. 29 is defined as the activate_recording_data function. The function of the activate_recording_data function shown in Fig. 29 is "description": "Activate / Deactivate recording to database". That is, the activate_recording_data function shown in Fig. 29 is a function that sets parameters for starting or stopping recording to a database. The arguments of the activate_recording_data function shown in FIG. 29 include, for example, activate_flag.
[0163] The activate_flag shown in Fig. 29 is an argument for setting the state of the database to either record start or record stop (OFF). The activate_flag is of Boolean type and does not require variables such as quantity.
[0164] The presentation means 22 of the language model 20 outputs the use of the activate_recording_data function based on the received prompt. Also, the presentation means 22 outputs whether the value of activate_flag is "true" (e.g., recording start state) or "false" (e.g., recording stop state) based on an instruction included in the received prompt as to whether the state of the database should be set to a recording start state or a recording stop state. The control means 154 executes the activate_recording_data function based on the answer information thus output, thereby grasping whether the state of the database should be set to a recording start state or a recording stop state.
[0165] The above-mentioned process by activate_flag shown in Fig. 29 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "Start recording to the database", the presentation means 22 outputs answer information so that the value of activate_flag becomes true, and presents it to the control device 10. Thereafter, the control means 154 executes the activate_recording_data function, whereby the control means 154 sets the recording to the database to the start state.
[0166] 30 is a diagram showing an example of a data structure used for a command received by a database that records video, audio, and the like, which is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 30, the function name, which is identification information for identifying the function, is "name": "get_recording_param". That is, the function shown in FIG. 30 is defined as the get_recording_param function. The function of the get_recording_param function shown in FIG. 30 is "description": "Get recording parameter. sampling_time means sampling time. time_out means time out seconds. status means database's status of recording". That is, the get_recording_param function shown in FIG. 30 is a function that acquires the parameters of the sampling time, timeout, or status of the database. The arguments of the get_recording_param function shown in FIG. 30 include, for example, parameter.
[0167] The parameter shown in FIG. 30 is an argument for obtaining a character string corresponding to the parameter to be set. The parameter is a string type, and requires a character string corresponding to the parameter. The character string corresponding to the parameter is "sampling_time" (sampling time), "time_out" (timeout time), or "status" (recording start status, recording stop status). These character strings are registered as enumerators.
[0168] The presentation means 22 of the language model 20 outputs the use of the get_recording_param function based on the received prompt. Also, based on an instruction included in the received prompt as to which parameter of the database sampling time, timeout time, or status to acquire, the presentation means 22 outputs that the argument of the get_recording_param function is parameter, and that the value of parameter is either "sampling_time", "time_out", or "status". The control means 154 executes the get_recording_param function based on the answer information thus output, thereby grasping whether to acquire the parameter of the database sampling time, timeout time, or status.
[0169] The above-mentioned process using the parameter shown in Fig. 30 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "obtain the sampling time of the database", the presentation means 22 outputs answer information so that the value of the parameter becomes an enumerator of "sampling_time" and presents it to the control device 10. Thereafter, the control means 154 executes the get_recording_param function, thereby obtaining the sampling time of the database. The same applies to "time_out" and "status".
[0170] Here, for example, the user may input a prompt such as "Get database information." Such a prompt is sufficient for the presentation means 22 to select the get_recording_param function, but is insufficient for determining the value of the parameter. In such a case, it is preferable for the inquiry means 23 to inquire as to whether "database sampling time, timeout time, or status information should be acquired."
[0171] 31 is a diagram showing an example of a data structure used for a command received by a database that records video, audio, and the like, which is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 31, the function name, which is identification information for identifying the function, is "name": "set_recording_param". That is, the function shown in FIG. 31 is defined as the set_recording_param function. The function of the set_recording_param function shown in FIG. 31 is "description": "Set recording parameter. sampling_time means sampling time. time_out means time out seconds." That is, the set_recording_param function shown in FIG. 31 is a function that sets the sampling time or timeout parameters of the database. The arguments of the set_recording_param function shown in FIG. 31 include, for example, parameter.
[0172] The parameter shown in Fig. 31 is an argument for obtaining a character string corresponding to the parameter to be set. The parameter is of string type and requires a character string corresponding to the parameter. The character string corresponding to the parameter is "sampling_time" (sampling time) or "time_out" (timeout time). These character strings are registered as enumerators.
[0173] The presentation means 22 of the language model 20 outputs the use of the set_recording_param function based on the received prompt. Also, based on an instruction included in the received prompt as to which parameter, the sampling time or the timeout time of the database, is to be acquired, the presentation means 22 outputs that the argument of the set_recording_param function is parameter, and that the value of parameter is either "sampling_time" or "time_out". The control means 154 executes the set_recording_param function based on the answer information thus output, thereby grasping whether to set the parameter, the sampling time or the timeout time of the database.
[0174] The above-mentioned process using the parameter shown in Fig. 31 is performed, for example, as follows. That is, when the user inputs a prompt in natural language such as "set the sampling time of the database", the presentation means 22 outputs answer information so that the value of the parameter becomes an enumerator of "sampling_time" and presents it to the control device 10. After that, the control means 154 executes the set_recording_param function, whereby the control means 154 sets the sampling time of the database. The same applies to "time_out".
[0175] Here, for example, the user may input a prompt such as "set database information." Such a prompt is sufficient for the presentation means 22 to select the set_recording_param function, but is insufficient for determining the value of parameter. In such a case, it is preferable for the inquiry means 23 to inquire as to whether "the information to be set is the database sampling time or the timeout time."
[0176] 32 is a diagram showing an example of a data structure used in a command received by a database that is the controlled object 2. The metadata shown in FIG. In the example shown in FIG. 32, the function name, which is identification information for identifying the function, is "name": "get_timeseries_recording_data". That is, the function shown in FIG. 32 is defined as the get_timeseries_recording_data function. The function of the get_timeseries_recording_data function shown in FIG. 32 is "description": "Get timeseries data from database. robot_pos means robot's position(xyzabc). force means force sensor's values". That is, the get_timeseries_recording_data function shown in FIG. 32 is a function for acquiring data along a time series from a database (including position and posture information indicating the position and posture of the robot, reaction force data obtained by a force sensor, etc.). The position data of the robot along a time series acquired by executing the get_timeseries_recording_data function is used, for example, to reproduce a trajectory that the robot has moved in the past. The database may be stored, for example, in the storage unit 14 of the control device 10, or may be stored in a cloud or the like. The arguments of the get_timeseries_recording_data function shown in FIG. 32 include, for example, start_time, end_time, and parameter.
[0177] The start_time shown in Figure 32 is an argument for acquiring the start time when acquiring data along a time series. The end_time is an argument for acquiring the end time when acquiring data along a time series. start_time and end_time are string type and require a time variable. The presentation means 22 of the language model 20 outputs the use of the get_timeseries_recording_data function based on the received prompt. The presentation means 22 also outputs that the argument of the get_timeseries_recording_data function is start_time or end_time based on whether the received prompt includes an instruction to specify the start time and end time, and outputs the start time and end time as the values of start_time and end_time, respectively. The control means 154 executes the get_timeseries_recording_data function based on the answer information thus output, thereby acquiring data in time series from the database between the specified start time and end time.
[0178] The parameter shown in Figure 32 is an argument for obtaining a character string corresponding to the parameter to be set. The parameter is a string type, and requires a character string corresponding to the parameter. The character string corresponding to the parameter is "robot_pos" (robot position and posture) or "force" (reaction force). These character strings are registered as enumerators.
[0179] The presentation means 22 of the language model 20 outputs the use of the get_timeseries_recording_data function based on the received prompt. The presentation means 22 also outputs that the argument of the get_timeseries_recording_data function is parameter based on information regarding the numerical value included in the received prompt, and outputs a value indicating the robot position / posture or reaction force to be set as the value of parameter. The control means 154 executes the get_timeseries_recording_data function based on the answer information thus output, thereby acquiring parameters of the position / posture information indicating the robot's position / posture or the reaction force information indicating the reaction force.
[0180] The above-mentioned process using start_time, end_time, and parameter shown in FIG. 32 is performed, for example, as follows. That is, for example, when the user inputs a prompt in natural language such as "obtain the robot's trajectory from 9:00 to 10:00 from the database", the presentation means 22 outputs answer information so that the value of start_time is a variable corresponding to the time of 9:00, the value of end_time is a variable corresponding to the time of 10:00, and the value of parameter is an enumerator of "robot_pos", and presents it to the control device 10. Thereafter, the control means 154 executes the get_timeseries_recording_data function, whereby the control means 154 obtains a numerical value corresponding to the position and orientation information of the robot, which is the position and orientation information along a time series. The same applies to "force". It can be said that the get_timeseries_recording_data function shown in FIG. 32 includes the function of the get_robot_timeseries_pos function shown in FIG. 5.
[0181] Here, for example, the user may input a prompt such as "Get the robot's trajectory from the database from 9:00." Such a prompt is sufficient for the presentation means 22 to select the get_timeseries_recording_data function and to determine the value of start_time, but is insufficient to determine the value of end_time. In such a case, it is preferable for the query means 23 to query content such as "What is the end time?" The same applies to "force."
[0182] In this embodiment, the controlled object 2 is controlled by any one of the above functions.
[0183] (Control method for control system) Next, a control method for the control system 1 according to this embodiment will be described. FIG. 33 is a control flow of the control system 1 according to the embodiment. As shown in FIG. 33, the control flow of this embodiment includes a sending step S1, a notification step S2, a determination step S3, a presentation step S4, an inquiry step S5, a discrimination step S6, and a control step S7.
[0184] The transmission step S1 is a step in which the transmission means 151 transmits metadata of a function for controlling the controlled object 2 from the control device 10 to the language model 20. In the transmission step S1, the transmission means 151 may, for example, read out metadata that is predefined and stored in the metadata storage unit 141 and transmit it to the language model 20. Alternatively, in the transmission step S1, the transmission means 151 may, for example, accept information on metadata input by a user and transmit it to the language model 20. Also, in the transmission step S1, the transmission means 151 may transmit all of the above-mentioned multiple pieces of metadata to the language model 20, or may transmit any combination of parts of the above-mentioned multiple pieces of metadata to the language model 20.
[0185] At this time, the language model 20 may determine, based on the received information, the actions that the controlled object 2 can and cannot perform. At this time, for example, the control device 10 may transmit information about operations that the controlled object 2 cannot perform to the language model 20 along with the metadata, and the language model 20 may determine the operations that the controlled object 2 can and cannot perform based on the information transmitted along with the metadata. Furthermore, for example, if the language model 20 has previously learned the actions that can be generally performed by the controlled object 2, it may first determine the actions that can be performed based on the received metadata, and then determine the actions that cannot be performed by the controlled object 2 based on the difference between the actions that can be generally performed and the actions that can be performed. The information on the operations (processes) that the controlled target 2 cannot execute may be included in the metadata transmitted by the control device 10. The information on the operations that the controlled target 2 can execute may be included in the metadata transmitted by the control device 10. Here, information on the operations that the controlled target 2 cannot execute is defined in each of the above metadata. Also, information on the operations that the controlled target 2 cannot execute may be defined for each argument of the above metadata. Similarly, information on the operations that the controlled target 2 can execute is defined in each of the above metadata. Also, information on the operations that the controlled target 2 can execute may be defined for each argument of the above metadata. As an example, in the case of the set_robot_param function shown in FIG. 7, information indicating that the argument "force_range" cannot be set may be defined in the metadata.
[0186] The notification step S2 is a step in which the control device 10 notifies the language model 20 of a prompt for controlling the controlled object 2 by the notification means 152. The prompt notified in the notification step S2 is used in the determination step S3. In the determination step S3, the notification means 152 may, for example, accept information on metadata input by the user and notify the language model 20 of the same. Alternatively, in the determination step S3, the notification means 152 may, for example, read information on past prompts from the prompt storage unit 142 and transmit the information to the language model 20.
[0187] The determination step S3 is a step in which the language model 20 determines whether or not to respond to the prompt using a function, based on the metadata transmitted in the transmission step S1 and the prompt notified in the notification step S2. In the determination step S3, the determination means 21 determines whether or not to respond to the prompt using a function, based on the above-mentioned aspect. In the determination step S3, if the determination means 21 determines that the prompt is to be answered using a function (step S3: YES), the flow proceeds to a presentation step S4. In the determination step S3, if the determination means 21 determines that the prompt is not to be answered using a function (step S3: NO), the flow proceeds to an inquiry step S5.
[0188] The presentation step S4 is a step in which, if it is determined in the determination step S3 that a function is used to answer the prompt, the language model 20 presents answer information including identification information for identifying the function to the control device 10. In the presentation step S4, the presentation means 22 generates answer information for executing the above-mentioned function.
[0189] Inquiry step S5 is a step in which the inquiry means 23 inquires of the control device 10 about the content of the prompt notified by the notification means 152. In inquiry step S5, based on the command transmitted from the inquiry means 23, the control device 10 may, for example, search for information about past prompts stored in the prompt storage unit 142, or may accept a prompt again from the user. After the inquiry step S5 is completed, the flow moves to perform the decision step S3 again.
[0190] The determination step S6 is a step in which the determination means 153 determines whether or not to execute a function identified by the identification information, based on the prompt notified by the notification means 152 and the answer information presented by the presentation means 22. In the determination step S6, the determination means 153 determines whether or not to execute a function identified by the identification information, based on the above-mentioned aspect. In the determination step S6, if the determination means 153 determines that the function identified by the identification information is to be executed (step S6: YES), the flow proceeds to control step S7. In the determination step S6, if the determination means 153 determines that the function identified by the identification information is not executed (step S6: YES), the flow proceeds to the inquiry step S5.
[0191] The control step S7 is a step in which the control device 10 controls the controlled object 2 using the answer information presented in the presentation step S4. In the control step S7, the control device 10 controls the controlled object 2 by the control means 154 by executing a function. The control system 1 according to this embodiment is controlled by the above-mentioned flows.
[0192] FIG. 34 is a diagram showing an outline of a hardware configuration example of an information processing device 90 applied to an embodiment. The information processing device 90 includes a processor 91, a main storage device 92, a communication interface 93, an auxiliary storage device 94, an input / output interface 95, and an internal bus 96. The processor 91, the main storage device 92, the communication interface 93, the auxiliary storage device 94, and the input / output interface 95 are communicably connected to each other via the internal bus 96. The information processing device 90 may be applied to, for example, a control device 10. In this case, for example, the communication unit 11 may be configured using the communication interface 93. For example, the storage unit 14 may be configured using the auxiliary storage device 94. In addition, the control unit 15 may be configured using the processor 91 and the main storage device 92.
[0193] As described above, the control system 1 according to the present embodiment includes the control device 10 that controls the controlled object 2 and the language model 20. The control device 10 transmits metadata of a function for controlling the controlled object 2 to the language model 20 by the transmission means 151. The control device 10 also notifies the language model 20 of a prompt for controlling the controlled object 2 by the notification means 152. The language model 20 determines, by the determination means 21, whether or not to respond to the prompt using a function, based on the metadata transmitted by the transmission means 151 and the prompt notified by the notification means 152. When the determination means 21 determines that the prompt is to be responded to using a function, the language model 20 presents, by the presentation means 22, answer information including identification information for identifying the function to the control device 10. Then, the control device 10 uses the answer information presented by the presentation means 22 by the control means 154 to control the controlled object 2. In this way, the determination means 21 determines whether or not to respond to the prompt using a function, so that the function for controlling the controlled object 2 can be appropriately used according to the prompt. This allows the language model 20 to control the controlled object 2 more reliably. The controlled object 2 includes any one of a robot, a sensor, and a plant. This allows any one of these to be automatically controlled by the control device 10 and the language model 20.
[0194] The metadata also includes content information indicating the content of the operation of the controlled target 2. This allows the determination means 21 to determine whether or not to use a function to respond to a prompt, based on the content of the operation of the controlled target 2. This allows the response information presented by the language model 20 to be more accurate, for example.
[0195] Moreover, the answer information presented by the presentation means 22 of the language model 20 further includes argument information indicating arguments of the function and the values of the arguments. This allows the control device 10 to control the controlled object 2 more accurately, for example.
[0196] Furthermore, the metadata of the function that the sending means 151 sends to the language model 20 includes argument specification information indicating the specification of the arguments. This allows the determination means 21 to determine whether or not to use a function to answer a prompt based on the specification of the arguments. This allows, for example, the arguments and their values included in the answer information presented by the presentation means 22 to be more accurate.
[0197] Moreover, the prompt includes quantity information indicating the quantity corresponding to the action. This allows, for example, the value included in the answer information presented by the presentation means 22 of the language model 20 to be more accurate. Therefore, for example, the control device 10 can control the controlled object 2 more accurately.
[0198] The prompt includes directional information indicating a direction corresponding to the action. This allows, for example, the argument or its value included in the answer information presented by the presentation means 22 of the language model 20 to be more accurate. Therefore, for example, the control device 10 can control the controlled object 2 more accurately.
[0199] Furthermore, when the determination means 21 determines that the prompt is not to be answered using a function, the language model 20 inquires of the control device 10, by the inquiry means 23, about the contents of the prompt notified by the notification means 152. This makes it possible, for example, to make the answer information presented by the presentation means 22 of the language model 20 more accurate. Therefore, for example, the control device 10 can control the controlled object 2 more accurately.
[0200] Furthermore, the control device 10 determines, by the determination means 153, whether or not to execute a function identified by the identification information, in accordance with the prompt notified by the notification means 152 and the answer information presented by the presentation means 22. This makes it possible to determine, for example, whether or not the answer information presented by the presentation means 22 of the language model 20 is appropriate in accordance with the prompt notified by the notification means 152. Therefore, for example, the control device 10 can more accurately control the controlled object 2.
[0201] The technical scope of the present disclosure is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present disclosure. For example, the controlled object 2 may be a database as described above. In this case, the function for controlling the database, which is the controlled object 2, may include, for example, a function for updating data included in the database, and may include each function as shown in Figures 29 to 32. Furthermore, the metadata of the function for controlling the controlled object 2 may include any other information in addition to the various types of information described above. Furthermore, the prompt for controlling the controlled object 2 may include any other information in addition to the various information described above. Furthermore, the answer information presented by the presentation means 22 to the control device 10 may include any other information in addition to the various types of information described above. Furthermore, the language model 20 is not limited to the large-scale language model described above, and any language model 20 may be used as appropriate.
[0202] In addition, within the scope of the present disclosure, the components in the above-described embodiments may be replaced with well-known components as appropriate, and the above-described modified examples may be combined as appropriate.
[0203] (Additional Note) The control system, the control method, and the program according to the embodiment can be understood, for example, as follows.
[0204] <1> A control system according to one embodiment of the present disclosure is a control system comprising a control device that controls a controlled object and a language model, wherein the control device comprises a transmission means that transmits metadata of a function for controlling the controlled object to the language model, and a notification means that notifies the language model of a prompt for controlling the controlled object, and the language model comprises a determination means that determines whether to respond to the prompt using the function based on the metadata transmitted by the transmission means and the prompt notified by the notification means, and a presentation means that presents answer information to the control device including identification information that identifies the function when the determination means determines that the prompt will be answered using the function, and the control device further comprises a control means that controls the controlled object using the answer information presented by the presentation means, and the controlled object includes any one of a robot, a sensor, and a plant.
[0205] The above control system includes a control device that controls a controlled object, and a language model. The control device transmits metadata of a function for controlling the controlled object to the language model by a transmission means. The control device also notifies the language model of a prompt for controlling the controlled object by a notification means. The language model determines, by a determination means, whether or not to respond to the prompt using a function, based on the metadata transmitted by the transmission means and the prompt notified by the notification means. When the determination means determines that the prompt is answered using a function, the language model presents answer information including identification information for identifying the function to the control device by a presentation means. Then, the control device controls the controlled object by using the answer information presented by the presentation means, by the control means. In this way, the determination means determines whether or not to answer the prompt using a function, so that the function for controlling the controlled object can be appropriately used in accordance with the prompt. This makes it possible to more reliably control the controlled object by the language model. The controlled object includes any one of a robot, a sensor, and a plant. This allows any one of these to be automatically controlled by a control device and a language model.
[0206] <2> the above <1> In the control system according to the above, a configuration may be adopted in which the metadata includes content information indicating content of the operation of the controlled object.
[0207] The metadata also includes content information indicating the content of the action of the controlled object. This allows the determination unit to determine whether to use a function to respond to the prompt based on the content of the action of the controlled object. This allows the response information presented by the language model to be more accurate, for example.
[0208] <3> the above <1> or <2> In the control system according to the above, a configuration may be adopted in which the answer information further includes argument information indicating an argument of the function, and a value of the argument.
[0209] In addition, the answer information presented by the presentation means of the language model further includes argument information indicating arguments of the function and values of the arguments. This allows, for example, the control device to more accurately control the controlled object.
[0210] <4> the above <1> from <3> In the control system according to any one of the above aspects, a configuration may be adopted in which the metadata includes argument specification information that indicates a specification of the argument.
[0211] Furthermore, the metadata of the function transmitted to the language model by the transmitting means includes argument specification information indicating the specification of the arguments. This allows the determining means to determine whether to use the function to answer the prompt based on the specification of the arguments. Thus, for example, the arguments and their values included in the answer information presented by the presenting means can be made more accurate.
[0212] <5> the above <1> from <4> In the control system according to any one of the above aspects, a configuration may be adopted in which the prompt includes amount information indicating an amount corresponding to the action.
[0213] The prompt also includes quantity information indicating the quantity corresponding to the action. This allows, for example, the value included in the answer information presented by the presentation means of the language model to be more accurate. Thus, for example, the control device can more accurately control the controlled object.
[0214] <6> the above <1> from <5> In the control system according to any one of the above aspects, a configuration may be adopted in which the prompt includes directional information indicating a direction corresponding to the action.
[0215] The prompt includes directional information indicating a direction corresponding to the action. This allows, for example, the argument or its value included in the answer information presented by the presentation means of the language model to be more accurate. Thus, for example, the control device can more accurately control the controlled object.
[0216] <7> the above <1> from <6> In the control system according to any one of the above aspects, the language model may further include a query means for querying the control device regarding the content of the prompt notified by the notification means when the determination means determines that the prompt will not be answered using the function.
[0217] Furthermore, when the determining means determines that the prompt is not to be answered using a function, the language model inquires of the control device by the inquiring means as to the content of the prompt notified by the notifying means. This makes it possible, for example, to make the answer information presented by the presenting means of the language model more accurate. Thus, for example, the control device can more accurately control the controlled object.
[0218] <8> the above <1> from <6> In the control system relating to any one of the above aspects, the control device may be configured to further include a determination means for determining whether or not to execute the function identified by the identification information in response to the prompt notified by the notification means and the answer information presented by the presentation means.
[0219] Furthermore, the control device determines whether or not to execute the function identified by the identification information, based on the prompt notified by the notification means and the answer information presented by the presentation means, by the determination means. This makes it possible to determine, for example, whether or not the answer information presented by the presentation means of the language model is appropriate for the prompt notified by the notification means. Thus, for example, the control device can more accurately control the controlled object.
[0220] <9> A control method according to one aspect of the present disclosure is a control method for a control system including a control device that controls a controlled object and a language model, the control method including the steps of: transmitting metadata of a function for controlling the controlled object from the control device to the language model; notifying the control device of a prompt for controlling the controlled object to the language model; a determination step in which the language model determines whether to respond to the prompt using the function based on the metadata transmitted by the transmission step and the prompt notified by the notification step; a presentation step in which the language model presents answer information including identification information for identifying the function to the control device when it is determined in the determination step that the prompt will be answered using the function; and a control step in which the control device controls the controlled object using the answer information presented in the presentation step, the control device being characterized in that the controlled object includes any one of a robot, a sensor, and a plant.
[0221] <10> A program according to one embodiment of the present disclosure includes: <1> from <8> The present invention is characterized in that the control system functions as a control system according to any one of the above aspects. [Explanation of symbols]
[0222] 1. Control System 2. Controlled Objects 10 Control device 151 Transmission means 152 Means of Notification 153 Discrimination means 154 Control Means 20 Language Models 21 Judgment means 22 Presentation means 23 Contact methods S1 Sending step S2 Notification Step S3 Judgment step S4 Presentation step S5 Step S6 Discrimination step S7 Control Step
Claims
1. A control system including a control device that controls a controlled object and a language model, The control device includes: A transmitting means for transmitting metadata of a function for controlling the controlled object to the language model; a notification means for notifying the language model of a prompt for controlling the controlled object; Equipped with The language model is a determination means for determining whether or not to use the function to answer the prompt based on the metadata transmitted by the transmission means and the prompt notified by the notification means; a presentation means for presenting answer information to the control device, the answer information including identification information for identifying the function, when the determination means determines that the function is used to answer the prompt; Equipped with The control device includes a control means for controlling the controlled object using the answer information presented by the presentation means; Further comprising: The controlled object includes one of a robot, a sensor, and a plant. A control system comprising:
2. The metadata includes content information indicating the content of the operation of the controlled object.
2. The control system of claim 1.
3. The answer information further includes argument information indicating an argument of the function and a value of the argument.
3. The control system of claim 2.
4. The metadata includes argument specification information indicating a specification of the argument.
4. The control system of claim 3.
5. the prompt includes quantity information indicating an amount corresponding to the action.
5. The control system of claim 4.
6. the prompt includes directional information indicating a direction corresponding to the action; 6. The control system of claim 5.
7. The language model is an inquiry means for inquiring of the control device as to the content of the prompt notified by the notification means when the determination means determines that the function is not used to answer the prompt; 7. The control system of claim 1, further comprising:
8. The control device includes: a determination means for determining whether or not to execute the function identified by the identification information in response to the prompt notified by the notification means and the answer information presented by the presentation means; 7. The control system of claim 1, further comprising:
9. A control method for a control system including a control device that controls a controlled object and a language model, comprising: a transmission step of transmitting metadata of a function for controlling the controlled object from the control device to the language model; a notification step of notifying the language model of a prompt for controlling the controlled object from the control device; a determining step of determining whether the language model uses the function to answer the prompt based on the metadata transmitted in the transmitting step and the prompt notified in the notifying step; a presentation step in which, when it is determined in the determination step that the function is used to answer the prompt, the language model presents answer information to the control device, the answer information including identification information for identifying the function; a control step of the control device controlling the controlled object using the answer information presented in the presentation step; Equipped with The controlled object includes one of a robot, a sensor, and a plant. A control method comprising:
10. A computer is caused to function as the control system according to claim 1. A program characterized by:
Citation Information
Patent Citations
Robot movement control method and device and readable storage medium
CN117148838A
Control system, driving device, input device and control program
JP2023003602A
JPP7441366B
Cited By
Organization value improvement support apparatus
JP2026091224A
Organization value improvement support apparatus
JP2026091243A
Organization value improvement support system
JP2026091293A
Organizational Value Improvement Support Device
JP7773753B1
Organizational Value Improvement Support System
JP7824593B1
