Information processing device, information processing method and program
The information processing apparatus addresses the challenge of providing appropriate prompts for generative AI by using a template management system to determine the class of inquiry information, thereby enhancing the relevance and quality of generated text.
Patent Information
- Application Number
- JP2023200683
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-11-28
- Publication Date
- 2025-06-09
- Estimated Expiration
- 2043-11-28
AI Technical Summary
Existing systems face challenges in providing appropriate prompts for generative AI, particularly in determining the correct class of inquiry information to generate relevant text.
An information processing apparatus that includes a template management unit for storing prompt templates associated with class conditions, and units for receiving user input, acquiring inquiry information, creating prompts, and interacting with generative AI to produce output information.
Enables the effective use of generative AI with appropriate prompts based on the class of inquiry information, improving the relevance and quality of generated text.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to an information processing device that acquires and outputs information using a generation AI. [Background technology]
[0002] Recently, generative AI has become popular (see Patent Document 1). [Prior art documents] [Non-patent literature]
[0003] [Non-Patent Document 1] “ChatGPT”, [online], [Retrieved November 19, 2023], Internet [URL: https: / / openai.com / chatgpt] Summary of the Invention [Problem to be solved by the invention]
[0004] However, in the prior art, it was not easy to provide appropriate prompts to the generation AI. More specifically, it was not easy to use the generation AI with appropriate prompts according to the class of inquiry information. Note that the generation AI in this case is an AI that generates text. [Means for solving the problem]
[0005] The information processing device of the first invention is an information processing device comprising: a template management unit in which prompt template information is stored in correspondence with one or more class conditions, which are conditions related to a class of strings; a reception unit for receiving reception information from a user; a query acquisition unit for acquiring query information, which is information contained in the reception information and is information used to query a generation AI; a template acquisition unit for acquiring prompt template information from the template management unit corresponding to the class conditions satisfied by the class of the query information acquired by the query acquisition unit; a prompt creation unit for creating a prompt using the prompt template information acquired by the template acquisition unit and the query information acquired by the query acquisition unit; an answer acquisition unit for passing the prompt created by the prompt creation unit to the generation AI and acquiring an answer from the generation AI; an output acquisition unit for acquiring output information using the answer acquired by the answer acquisition unit; and an output unit for outputting the output information.
[0006] This configuration allows the generation AI to be used with appropriate prompts depending on the class of query information.
[0007] In addition, the information processing device of the second invention is an information processing device in which, compared to the first invention, the received information is information related to the invention and the output information is information constituting a patent specification, claims, or abstract.
[0008] This configuration allows the use of generative AI to assist in the creation of patent documents with appropriate prompts depending on the class of invention information.
[0009] Furthermore, the information processing device of the third invention is an information processing device in which, compared to the first or second invention, the inquiry acquisition unit acquires at least two pieces of inquiry information from the reception information, and the prompt creation unit creates a prompt using each of the two pieces of inquiry information.
[0010] This configuration allows the generation AI to be used with appropriate prompts depending on the class of query information.
[0011] Furthermore, the information processing device of the fourth invention is an information processing device in which, compared to any one of the first to third inventions, the output acquisition unit places part or all of the answer in output template information, which is a template for constructing output information, and acquires the output information.
[0012] With this configuration, it is possible to use a generation AI and obtain appropriate output information using an appropriate prompt according to the class of inquiry information.
[0013] Furthermore, an information processing device according to a fifth aspect of the present invention is an information processing device according to any one of the first to fourth aspects of the present invention, wherein the class is a linguistic characteristic of the query information.
[0014] This configuration allows the appropriate class of query information to be determined, and the generation AI can be used with appropriate prompts according to that class.
[0015] Furthermore, the information processing device of the sixth invention is an information processing device in which, compared to the fifth invention, the class can be "question", the template acquisition unit does not acquire prompt template information when the class determined by the class determination unit is "question", and the prompt creation unit creates a prompt using the query information acquired by the query acquisition unit.
[0016] This configuration allows the appropriate class of query information to be determined, and the generation AI can be used with appropriate prompts according to that class.
[0017] Furthermore, an information processing device according to a seventh aspect of the present invention is the information processing device according to any one of the first to sixth aspects of the present invention, wherein the class is a tag included in the reception information and the inquiry information is a corresponding tag.
[0018] This configuration allows the appropriate class of query information to be determined, and the generation AI can be used with appropriate prompts according to that class.
[0019] An information processing device according to an eighth aspect of the present invention is the information processing device according to any one of the first to seventh aspects of the present invention, wherein the received information is a document and the class is a document type.
[0020] This configuration allows the appropriate class of query information to be determined, and the generation AI can be used with appropriate prompts according to that class.
[0021] In addition, the information processing device of the ninth invention is an information processing device according to any one of the first to eighth inventions, further comprising a generation AI determination unit that determines a generation AI from two or more generation AIs according to the prompt template information acquired by the template acquisition unit, and the answer acquisition unit passes the prompt created by the prompt creation unit to the generation AI determined by the generation AI determination unit and acquires an answer from the generation AI, as described in any one of claims 1 to 8.
[0022] This configuration makes it possible to provide a generative AI control engine that makes the most of generative AI. [Effects of the Invention]
[0023] According to the information processing device of the present invention, the generation AI can be utilized by using an appropriate prompt according to the class of the inquiry information. [Brief explanation of the drawings]
[0024] [Figure 1] Conceptual diagram of information system A in embodiment 1 [Figure 2] Block diagram of Information System A [Figure 3] A flowchart illustrating an example of the operation of the information processing device 1. [Figure 4] A flowchart illustrating an example of the reception information processing [Figure 5] Flowchart illustrating an example of same-class condition processing [Figure 6] Flowchart illustrating an example of the output acquisition process [Figure 7] Figure showing the template management table [Figure 8] A diagram showing an example of the reception information [Figure 9] A diagram showing an example of the same answer [Figure 10] A diagram showing an example of the reception information [Figure 11] A diagram showing an example of the same answer [Figure 12] A diagram showing an example of the reception information [Figure 13] A diagram showing an example of the same answer [Figure 14] Overview of the computer system [Figure 15] Block diagram of the computer system DETAILED DESCRIPTION OF THE INVENTION
[0025] Hereinafter, embodiments of an information processing device and the like will be described with reference to the drawings. Note that components with the same reference numerals in the embodiments perform similar operations, and therefore repeated description may be omitted.
[0026] (Embodiment 1) In this embodiment, an information processing device is described that determines the class of inquiry information, obtains prompt template information corresponding to the class, creates a prompt using the prompt template information, provides the prompt to a generation AI, obtains an answer, and outputs output information using the answer. In particular, an information processing device is described that uses inquiry information related to an invention to output a portion of a patent document. The class is, for example, information based on the linguistic characteristics of a string, a tag corresponding to the string, or the type of document accepted. Note that a prompt is a question provided to the generation AI.
[0027] In this embodiment, an information processing device will be described that acquires two or more pieces of inquiry information from the reception information and creates a prompt using each of the two or more pieces of inquiry information.
[0028] In this embodiment, an information processing device that provides an answer acquired from the generation AI to output template information and acquires output information will be described.
[0029] Furthermore, in this embodiment, an information processing device will be described that determines a generation AI according to a class and acquires output information using a response from the generation AI.
[0030] In this specification, information X being associated with information Y means that information Y can be obtained from information X, or information X can be obtained from information Y, and the method of association is not important. Information X and information Y may be linked, may exist in the same buffer, information X may be included in information Y, or information Y may be included in information X, etc.
[0031] Furthermore, in this specification, selecting or determining information Z means obtaining information Z, obtaining a pointer to information Z, obtaining the ID of information Z, setting a flag on information Z, etc., and it is sufficient if information Z can be accessed.
[0032] 1 is a conceptual diagram of an information system A according to this embodiment. The information system A comprises an information processing device 1, one or more terminal devices 2, and one or more generation AI devices 3.
[0033] The information processing device 1 is a device that receives reception information, obtains an answer using a generation AI, and outputs output information using the answer. The information processing device 1 is, for example, a cloud server or an ASP server, but the type is not important. The information processing device 1 may also be a terminal. If the information processing device 1 is a terminal, it can be considered that the terminal device 2 is not necessary in the information system A, or that the information processing device 1 also serves as the terminal device 2. The information processing device 1 may include a generation AI.
[0034] The terminal device 2 is a terminal used by a user to input reception information. The terminal device 2 may be, for example, a personal computer, a smartphone, or a tablet terminal, but the type is not important.
[0035] The AI generation device 3 is a device that has an AI generation device that receives a prompt and outputs an answer. If the information processing device 1 includes an AI generation device, the AI generation device 3 may be omitted.
[0036] 2 is a block diagram of an information system A according to this embodiment. The information processing device 1 includes a storage unit 11, a reception unit 12, a processing unit 13, and an output unit 14. The storage unit 11 includes a template management unit 111. The processing unit 13 includes a query acquisition unit 131, a class determination unit 132, a generation AI determination unit 133, a template acquisition unit 134, a prompt creation unit 135, an answer acquisition unit 136, and an output acquisition unit 137.
[0037] The terminal device 2 includes a terminal storage unit 21, a terminal reception unit 22, a terminal processing unit 23, a terminal transmission unit 24, a terminal reception unit 25, and a terminal output unit 26.
[0038] Various types of information are stored in the storage unit 11 that constitutes the information processing device 1. The various types of information are, for example, prompt template information, which will be described later.
[0039] Two or more pieces of prompt template information are stored in the template management unit 111. Each of the two or more pieces of prompt template information is associated with a class condition.
[0040] Prompt template information is information that serves as a template for creating a prompt. Prompt template information is usually a character string. Prompt template information has one or more variables. The variables are variables into which query information, which will be described later, is substituted. Prompt template information, for example, has a character string that specifies a question and one or more variables. Note that, for example, query information is placed in the variable portion of the prompt template information, and a prompt is created.
[0041] The template management unit 111 may store output template information. Output template information is information that serves as a template for creating output information. Output template information is usually a character string. The output template information has one or more variables. The variables are variables into which part or all of the answers described below are substituted. For example, the answer or part of the answer is placed in the place of the variable in the output template information, and output information is created.
[0042] A class condition is a condition related to a class, which will be described later. A class condition is a condition related to one or more classes. A class is related to character strings. A class can also be called a classification or type.
[0043] The reception unit 12 receives reception information. The reception unit 12 normally receives reception information from a user. The reception information from a user is reception information provided by the user. The reception unit 12 normally receives the reception information from the terminal device 2.
[0044] Here, acceptance typically refers to the reception of information transmitted via a wired or wireless communication line, but may also be a concept that includes the reception of information input from an input device such as a keyboard, mouse, or touch panel, or the reception of information read from a recording medium such as an optical disk, magnetic disk, or semiconductor memory.
[0045] Received information is typically information entered by a user. However, received information may also be information obtained from a file or database. Received information is, for example, information related to an invention. Received information is, for example, information that identifies an invention. Received information is, for example, claims, a specification, or an abstract. Received information is, for example, a document. Received information is, for example, a file. Received information is, for example, a sentence, one or more sentences, or a character string.
[0046] The processing unit 13 performs various types of processing, such as processing performed by a query acquisition unit 131, a class determination unit 132, a generation AI determination unit 133, a template acquisition unit 134, a prompt creation unit 135, an answer acquisition unit 136, or an output acquisition unit 137.
[0047] The query acquisition unit 131 acquires query information from the reception information received by the reception unit 12. The query information is information used to query the generation AI. The query information is information included in the reception information. The query information may be reception information. The query information is a character string. The query information is, for example, one or more sentences, words, or words of a specific part of speech (for example, a noun).
[0048] The inquiry acquisition unit 131 acquires, for example, at least two pieces of inquiry information from the reception information received by the reception unit 12.
[0049] The one or more pieces of inquiry information that the inquiry acquisition unit 131 acquires from the reception information are usually predetermined.
[0050] The inquiry acquisition unit 131 acquires, for example, one or more pieces of inquiry information classified into a class that matches the class condition from the received information.
[0051] The class determination unit 132 determines the class of the inquiry information. The class determination unit 132 may determine the class of the received information. For example, the class determination unit 132 determines the class of each of the one or more pieces of inquiry information acquired by the inquiry acquisition unit 131.
[0052] The class may also be referred to as a type, a classification, etc. The class is, for example, information based on linguistic characteristics, information based on a tag to which the query information corresponds, or information based on the type of document containing the query information.
[0053] Linguistic characteristics may be referred to as linguistic attribute values for character strings. A class based on linguistic characteristics is, for example, "question" or "non-question." A class based on linguistic characteristics is, for example, "sentence" or "word." A class based on linguistic characteristics is, for example, "sentence," "paragraph," or "word." A class based on linguistic characteristics is, for example, the part of speech of a word. A class based on linguistic characteristics is, for example, "component" or "technical term" that identifies the invention. "Technical term" may also be "technical term."
[0054] The tags to which the query information corresponds are, for example, tags in the specification, tags of the scope of the claims, and tags in the abstract. Classes based on tags are, for example, "Problem to be solved by the invention," "Means for solving the problem," "Effects of the invention," "Form for carrying out the invention," "Explanation of symbols," and "Claim 1." The tags to which the query information corresponds are, for example, HTML tags or XML tags.
[0055] A class based on a document type is a class based on the type of reception information, which is a file. Examples of classes based on a document type include "specification," "claims," "abstract," and "invention list."
[0056] The class determination unit 132, for example, acquires linguistic characteristics of the inquiry information and determines a class corresponding to the linguistic characteristics.
[0057] The class determination unit 132 acquires, from the reception information, a tag that is included in the reception information and to which the inquiry information corresponds, and determines a class that corresponds to the tag.
[0058] The class determination unit 132 acquires, for example, the type of document that is the reception information, and determines the class corresponding to that type.
[0059] The generation AI determination unit 133 determines a generation AI according to a class from, for example, two or more generation AIs. In such a case, each of the two or more generation AIs is associated with a class condition. The generation AI determination unit 133 determines, for example, a generation AI that pairs with a class condition. Determining a generation AI involves, for example, obtaining an API for using the generation AI. In such a case, the class condition is associated with, for example, an API for passing a prompt to the generation AI. Determining a generation AI involves, for example, obtaining an identifier (for example, an IP address) of the generation AI device 3 that stores the generation AI. In such a case, the identifier of the generation AI device 3 is associated with the class condition.
[0060] The template acquisition unit 134 acquires prompt template information corresponding to a class from the template management unit 111. The template acquisition unit 134 acquires prompt template information corresponding to a class condition from the template management unit 111, for example.
[0061] It is preferable that the template acquisition unit 134 does not acquire prompt template information when the class of the received reception information is "question."
[0062] The prompt creation unit 135 creates a prompt using the prompt template information acquired by the template acquisition unit 134 and the query information acquired by the query acquisition unit 131. The prompt creation unit 135 normally places the acquired query information in the variable portion of the prompt template information acquired by the template acquisition unit 134 to create a prompt.
[0063] The prompt generator 135 may generate a prompt using each of the two pieces of inquiry information. The number of prompts generated here may be one or two.
[0064] If the class of the inquiry information acquired by the inquiry acquisition unit 131 is a "question," the prompt creation unit 135 creates a prompt that includes the inquiry information. The prompt may be the inquiry information.
[0065] The answer acquisition unit 136 passes the prompt created by the prompt creation unit 135 to the generation AI and acquires the answer from the generation AI. Passing to the generation AI means, for example, passing to the generation AI device 3, but it may also be passing to the generation AI possessed by the information processing device 1.
[0066] The answer acquisition unit 136 passes the prompt created by the prompt creation unit 135 to the creation AI, for example, using the API of the creation AI.
[0067] It is preferable that the answer acquisition unit 136 passes the prompt created by the prompt creation unit 135 to the generation AI determined by the generation AI determination unit 133 and acquires an answer from the generation AI.
[0068] The output acquisition unit 137 acquires output information using the answer acquired by the answer acquisition unit 136. The output acquisition unit 137 acquires output information using, for example, the reception information and the answer acquired by the answer acquisition unit 136. For example, the output acquisition unit 137 places the answer in the reception information and acquires the output information. For example, the output acquisition unit 137 replaces part or all of the reception information with the answer and acquires the output information.
[0069] It is preferable that the output acquisition unit 137 acquires the output information by arranging part or all of the answer in the variable portion of the output template information.
[0070] The output information is, for example, information that constitutes a patent specification, claims, or abstract.
[0071] The output unit 14 outputs the output information acquired by the output acquisition unit 137. The output unit 14 transmits the output information to the terminal device 2, for example.
[0072] Here, output usually means transmission to terminal device 2, but it may also be a concept that includes display on a display, projection using a projector, printing on a printer, sound output, transmission to other external devices, storage on a recording medium, and handing over processing results to other processing devices or other programs.
[0073] Various types of information are stored in the terminal storage unit 21 included in the terminal device 2. The various types of information include, for example, reception information and a user identifier.
[0074] The terminal reception unit 22 receives various types of information, instructions, etc. The various types of information, instructions, etc. are, for example, reception information.
[0075] The means for inputting various information and instructions may be any means, such as a touch panel, keyboard, mouse, or menu screen.
[0076] The terminal processing unit 23 performs various types of processing. For example, the various types of processing are processing to convert received information, instructions, etc. into information, instructions, etc. with a structure to be transmitted. For example, the various types of processing are processing to convert received information into information with a structure to be output.
[0077] The terminal transmitting unit 24 transmits various types of information, instructions, etc. to the information processing device 1. The various types of information, instructions, etc. are, for example, reception information.
[0078] The terminal receiving unit 25 receives various types of information from the information processing device 1. The various types of information are, for example, output information.
[0079] The terminal output unit 26 outputs various types of information, such as output information.
[0080] The storage unit 11, template management unit 111, and terminal storage unit 21 are preferably non-volatile recording media, but may also be realized as volatile recording media.
[0081] There is no restriction on the process by which information is stored in the storage unit 11 etc. For example, information may be stored in the storage unit 11 etc. via a recording medium, information transmitted via a communication line etc. may be stored in the storage unit 11 etc., or information input via an input device may be stored in the storage unit 11 etc.
[0082] The reception unit 12 is preferably realized by a wireless or wired communication means, but may also be realized by a means for receiving broadcasts, a device driver for an input means such as a touch panel or keyboard, or control software for a menu screen.
[0083] The processing unit 13, query acquisition unit 131, class determination unit 132, generation AI determination unit 133, template acquisition unit 134, prompt creation unit 135, answer acquisition unit 136, output acquisition unit 137, and device processing unit 23 can typically be realized by a processor, memory, etc. The processing procedures of the processing unit 13, etc. are typically realized by software, and the software is recorded on a recording medium such as a ROM. However, they may also be realized by hardware (dedicated circuit). The processor may be a CPU, MPU, GPU, etc., and the type is not important.
[0084] The output unit 14 is usually realized by a wireless or wired communication means, but may also be realized by a broadcasting means. The output unit 14 may also be realized by driver software for an output device such as a display or speaker, or by a combination of driver software for an output device and the output device.
[0085] The terminal reception unit 22 can be realized by a device driver for an input means such as a touch panel or a keyboard, or control software for a menu screen.
[0086] The terminal transmitting unit 24 is usually realized by a wireless or wired communication means, but may also be realized by a broadcasting means.
[0087] The terminal receiving unit 25 is usually realized by a wireless or wired communication means, but may also be realized by a means for receiving broadcasts.
[0088] The terminal output unit 26 may or may not be considered to include an output device such as a display, a speaker, etc. The terminal output unit 26 may be realized by driver software for an output device, or a combination of driver software for an output device and the output device, etc.
[0089] Next, an example of the operation of the information processing device 1 will be described with reference to the flowchart of FIG.
[0090] (Step S301) The reception unit 12 determines whether or not reception information from the user has been received. If reception information has been received, the process proceeds to step S302, and if reception information has not been received, the process returns to step S301. Here, the reception unit 12 determines whether or not reception information has been received from the terminal device 2, for example.
[0091] (Step S302) The inquiry acquisition unit 131 determines whether the class of the reception information received in step S301 is a "question" or a "non-question." If it is a "question," the process proceeds to step S303; if it is not a "question," the process proceeds to step S308. Note that the entire reception information is a "question" when it consists of a predetermined character string, such as "Is it...?" or "Is it...?". Furthermore, whether a character string is a "question" or a "non-question" can be determined by machine learning prediction processing (publicly known technology).
[0092] (Step S303) Prompt generator 135 composes a prompt including the reception information received in step S301. Note that the prompt is, for example, reception information.
[0093] (Step S304) The answer acquisition unit 136 passes the prompt constructed in step S303 to the generation AI. Here, the answer acquisition unit 136, for example, substitutes the prompt into an argument of the API of the generation AI and executes the API.
[0094] (Step S305) The answer acquisition unit 136 determines whether or not an answer has been acquired from the generation AI. If an answer has been acquired, the process proceeds to step S306, and if an answer has not been acquired, the process returns to step S305. Here, the answer acquisition unit 136 acquires the answer, which is, for example, the return value of the executed API.
[0095] (Step S306) The output acquisition unit 137 composes output information including all or part of the answer acquired in step S305. When the output acquisition unit 137 acquires part of the answer, for example, it manages information for determining the part to acquire (for example, "information specifying the part of the text") and acquires part of the answer using such information.
[0096] (Step S307) The output unit 14 outputs the output information constructed in step S306. The process returns to step S301.
[0097] (Step S308) The inquiry acquisition unit 131 etc. processes the reception information received in step S301 and outputs output information. Return to step S301. An example of such reception information processing will be described with reference to the flowchart in FIG.
[0098] In the flowchart of FIG. 3, the process ends when the power is turned off or an interrupt occurs to end the process.
[0099] Next, an example of the reception information processing in step S308 will be described with reference to the flowchart of FIG.
[0100] (Step S401) The class determination unit 132 acquires the document type, which is the reception information. Note that here, the class determination unit 132 may not be able to acquire the document type. The document type may be a "class." The class determination unit 132 determines the document type, for example, from the file name of the reception information. The class determination unit 132 determines the document type, for example, from a character string corresponding to a specific tag (for example, [document name]) in the reception information.
[0101] The class determination unit 132, for example, provides the reception information and the learning model to a machine learning prediction module, executes the prediction module, and acquires the document type. The learning model is information configured by machine learning learning processing and is information used in machine learning prediction processing. The learning model may also be called a learner, a classifier, a classification model, etc. In this specification, the machine learning algorithm may be deep learning, random forest, decision tree, SVM, etc. Furthermore, for machine learning, various machine learning functions such as the TensorFlow (registered trademark) library, the random forest module of the R language, fastText, TinySVM, etc., or various existing libraries may be used.
[0102] (Step S402) The class determination unit 132 obtains one or more class conditions that match the type obtained in step S401 from the template management unit 111. If the document type cannot be obtained in step S401, the class determination unit 132 obtains one or more class conditions that do not correspond to any document type from the template management unit 111.
[0103] (Step S403) The class determination unit 132 assigns 1 to a counter i.
[0104] (Step S404) The class determination unit 132 determines whether or not the i-th class condition exists among the class conditions acquired in step S402. If the i-th class condition exists, the process proceeds to step S405; if not, the process returns to the upper level process.
[0105] (Step S405) The processing unit 13 performs processing on the reception information using the i-th class condition. An example of such class condition processing will be described with reference to the flowchart of FIG.
[0106] (Step S406) The class determination unit 132 increments the counter i by 1. The process returns to step S404.
[0107] Next, an example of the class condition processing in step S405 will be described with reference to the flowchart in FIG.
[0108] (Step S501) The template acquisition unit 134 acquires, from the template management unit 111, prompt template information paired with the i-th class condition of step S404.
[0109] (Step S502) The query acquisition unit 131 determines whether or not a tag exists in the i-th class condition. If the tag exists, the process proceeds to step S503, and if not, the process proceeds to step S505. Note that the presence of a tag in a class condition means that the tag is a condition.
[0110] (Step S503) The query acquiring unit 131 acquires a tag in the i-th class condition.
[0111] (Step S504) The inquiry acquiring unit 131 acquires, from the received information, tag content, which is information corresponding to the tag acquired in step S503. The tag content is usually a character string corresponding to the tag.
[0112] (Step S505) The query acquisition unit 131 determines whether or not a linguistic feature is present in the i-th class condition. If a linguistic feature is present, the process proceeds to step S504; if not, the process proceeds to step S508. Note that the presence of a linguistic feature in a class condition means that the linguistic feature is a condition.
[0113] (Step S506) The query acquiring unit 131 acquires the linguistic characteristics of the i-th class condition.
[0114] (Step S507) If the query acquisition unit 131 acquires a tag in the i-th class condition, it acquires one or more pieces of query information that are information in the tag content acquired in step S504 and match the linguistic characteristics acquired in step S506. If the query acquisition unit 131 does not acquire a tag in the i-th class condition, it acquires one or more pieces of query information that are information in the received reception information and match the linguistic characteristics acquired in step S506. Proceed to step S509.
[0115] (Step S508) If a tag exists in the i-th class condition, the query acquisition unit 131 acquires the tag content acquired in step S504 as query information. If a tag does not exist in the i-th class condition, the query acquisition unit 131 acquires the accepted reception information as query information.
[0116] (Step S509) Prompt generator 135 assigns 1 to counter i.
[0117] (Step S510) The prompt generator 135 determines whether the i-th query information exists among the queries acquired in step S507 or step S508. If the i-th query information exists, the process proceeds to step S510; if not, the process returns to the upper level process.
[0118] (Step S511) The prompt creation unit 135 acquires the i-th inquiry information from the inquiry information acquired in step S507 or step S508. The prompt creation unit 135 places the i-th inquiry information in the variable portion of the prompt template information acquired in step S501, and creates a prompt.
[0119] (Step S512) The answer acquisition unit 136 passes the prompt created in step S511 to the generation AI.
[0120] (Step S513) The answer acquisition unit 136 determines whether an answer has been acquired from the generation AI. If an answer has been acquired, the process proceeds to step S514; if an answer has not been acquired, the process returns to step S513.
[0121] (Step S514) The output acquisition unit 137 acquires the output information. An example of such output acquisition processing will be described with reference to the flowchart of FIG.
[0122] (Step S515) Prompt generator 135 increments counter i by 1. The process returns to step S510.
[0123] Next, an example of the output acquisition process in step S514 will be described with reference to the flowchart in FIG.
[0124] (Step S601) The output acquisition unit 137 acquires, from the template management unit 111, a process type paired with a class condition.
[0125] (Step S602) The output acquisition unit 137 determines whether the processing type acquired in step S601 is “addition.” If it is “addition,” the process proceeds to step S603, and if it is not “addition,” the process proceeds to step S604.
[0126] (Step S603) The output acquisition unit 137 places the acquired answer or part of the answer in a predetermined position for the inquiry information, and returns to the upper-level processing.
[0127] (Step S604) The output acquisition unit 137 determines whether the processing type acquired in step S601 is “change.” If it is “change,” the process proceeds to step S605, and if it is not “change,” the process proceeds to step S606.
[0128] (Step S605) The output acquisition unit 137 updates the inquiry information to the answer or part of the answer, and returns to the upper-level processing.
[0129] (Step S606) The output acquisition unit 137 determines whether the processing type acquired in step S601 is "check." If it is "check," the process proceeds to step S607, and if it is not "check," the process returns to the upper processing. Note that "check" may also be called "inspection."
[0130] (Step S607) The output acquisition unit 137 associates the answer or a part of the answer with the inquiry information, and returns to the upper-level processing.
[0131] A specific example of the operation of the information system A in this embodiment will be described below.
[0132] Currently, the template management table shown in Figure 7 is stored in the template management unit 111 of the information processing device 1. The template management table has an "ID," "class condition," "prompt template information," and "processing type." The "class condition" has a "tag" and "linguistic characteristics." Note that an identifier of the generation AI device 3 is associated with the "prompt template information," and an answer may be obtained using the generation AI device 3 that is paired with the prompt template information to be used.
[0133] In FIG. 7, "ID" is information that identifies a record. "Tag" is a tag that can be included in the reception information. An example of a tag included in the invention list is [Invention 1]. An example of a tag included in the specification is [Form for implementing the invention]. "Linguistic characteristics" are, for example, "sentence," "paragraph," "component," and "technical term." In the "prompt template information," <inquiry information> is a variable, and <inquiry information> is replaced with the inquiry information acquired by the inquiry acquisition unit 131.
[0134] "Processing type" is information indicating the type of processing when adding an answer. Here, "processing type" is information indicating the type of processing when adding an answer to received information. Here, "processing type" is "add," "check," or "change." Also, here, the attribute values of the character string of the output answer differ depending on the "processing type." The attribute values of the character string are, for example, font, color, size, whether or not to underline, etc.
[0135] In FIG. 7, when the processing type is "add", it indicates that the output acquisition unit 137 adds an answer to the received information. When the processing type is "add", it indicates that the output acquisition unit 137 adds an answer immediately after a sentence having inquiry information (including a sentence that is inquiry information). Also, when the processing type is "check", it indicates that the output acquisition unit 137 adds an answer to the received information in association with the inquiry information to be checked. When the processing type is "change", it indicates that the output acquisition unit 137 replaces the inquiry information in the received information with an answer.
[0136] In the above situation, three specific examples will be explained. Example 1 is when the document is an invention list. Example 2 is when the document is a specification. Example 3 is when the document is an abstract.
[0137] (Example 1) It is assumed that the user inputs into the information processing device 1 a file "Invention List 20231125.docx" that stores the character string shown in FIG.
[0138] Next, the reception unit 12 of the information processing device 1 receives reception information "Invention list 20231125.docx" from the user. Next, the inquiry acquisition unit 131 opens the file "Invention list 20231125.docx", acquires its contents, detects that it does not end with "?", and determines that the received reception information is not a "question" (is a "non-question").
[0139] Next, the inquiry acquisition unit 131 etc. processes the received reception information as follows, and outputs output information.
[0140] First, the class determination unit 132 acquires the document type "invention list" from the file name of the reception information "invention list 20231125.docx".
[0141] Next, the class determination unit 132 acquires the class conditions for "ID=1" and "ID=4" that match the type "invention list." Note that the document type "*" for "ID=4" indicates that it matches any document type.
[0142] Next, the class determination unit 132 acquires the class condition "<tag> invention 1 <linguistic property>-" of "ID=1" from the template management table (FIG. 7).
[0143] Furthermore, the template acquisition unit 134 acquires the prompt template information "Tell me the subconcept of the following invention! Invention "<Inquiry information>"" that is paired with the class condition of "ID=1" from the template management table (FIG. 7).
[0144] Next, the query acquisition unit 131 acquires the tag "Invention 1" in the class condition from the template management table (Figure 7). Next, the query acquisition unit 131 acquires the tag content "electrical device that detects the presence of a person and changes the advertisement output", which is information corresponding to the acquired tag "Invention 1", from the reception information (Figure 8). Next, the query acquisition unit 131 determines that no linguistic characteristics exist in the class condition. Next, the query acquisition unit 131 sets the acquired tag content "electrical device that detects the presence of a person and changes the advertisement output" as query information.
[0145] Next, the prompt creation unit 135 replaces the variable <inquiry information> of the acquired prompt template information with "an electrical device that detects the presence of a person and changes the output of an advertisement" and acquires the prompt "Please tell me the sub-concept of the following invention! Invention "an electrical device that detects the presence of a person and changes the output of an advertisement"".
[0146] Next, the answer acquisition unit 136 passes the created prompt to the generation AI. Then, the answer acquisition unit 136 acquires the answer from the generation AI. It is assumed that the answer is, for example, the sentence 901 in FIG. 9.
[0147] Next, the output acquisition unit 137 acquires output information as follows: That is, the output acquisition unit 137 acquires the process type "add" paired with the class condition of "ID=1" from the template management table.
[0148] Next, the output acquisition unit 137 places the acquired response to the inquiry information at a predetermined position (here, immediately after the tag sentence (inquiry information) of invention 1) to obtain the information of FIG.
[0149] Next, the class determination unit 132 acquires the class condition "<tag>-<linguistic property> sentence" of "ID=4" from the template management table (FIG. 7). Then, the information processing device 1 performs the same process as above for the class condition of "ID=4", but here, the output acquisition unit 137 does not acquire output information.
[0150] (Example 2) It is assumed that the user inputs into the information processing device 1 a file "specification20231125.docx" that stores the character string shown in FIG.
[0151] Next, the reception unit 12 of the information processing device 1 receives reception information "specification20231125.docx" from the user. Next, the inquiry acquisition unit 131 determines that the reception information is not a "question" from the contents of the received file "specification20231125.docx."
[0152] Next, the inquiry acquisition unit 131 etc. processes the received reception information as follows, and outputs output information.
[0153] First, the class determination unit 132 obtains the character string "specification" paired with the tag [document name] in the file of reception information "specification20231125.docx", and obtains the document type "specification" from the character string.
[0154] Next, the class determination unit 132 acquires the class conditions for "ID=2" and "ID=4" that match the type "specification".
[0155] Next, the class determination unit 132 acquires the class conditions "<tag>-<linguistic characteristic> sentence," "<tag>-<linguistic characteristic> paragraph," "<tag> mode for carrying out the invention <linguistic characteristic> component," and "<tag> mode for carrying out the invention <linguistic characteristic> technical term" for "ID=2" from the template management table (FIG. 7). The class determination unit 132 also acquires the class condition "<tag>-<linguistic characteristic> sentence" for "ID=4" from the template management table (FIG. 7).
[0156] Furthermore, the template acquisition unit 134 acquires prompt template information paired with each class condition of "ID=2" from the template management table (FIG. 7) in association with each class condition.
[0157] Next, the query acquisition unit 131 sequentially acquires sentences from the file “specification20231125.docx” based on the class condition “<tag>-<linguistic property> sentence” of “ID=2.” Each sentence is query information.
[0158] Next, the prompt creation unit 135 places each sentence in the <inquiry information> section of the prompt template information "Please tell us, YES / NO, whether the following sentence has a subject or not. Sentence "<inquiry information>". As a result, the prompt creation unit 135 creates, for example, a prompt "Please tell us, YES / NO, whether the following sentence has a subject or not. Sentence "The inquiry acquisition unit 131 acquires inquiry information, which is information contained in the reception information and is information used to query the generation AI."" and a prompt "Please tell us, YES / NO, whether the following sentence has a subject or not. Sentence "At least two pieces of inquiry information are acquired from the reception information."
[0159] Next, the answer acquisition unit 136 passes each created prompt to the generation AI. Then, the answer acquisition unit 136 acquires an answer ("YES" or "NO") from the generation AI for each prompt. Note that the answer to the inquiry information "Acquire inquiry information that is information included in the reception information and is information to be used to inquire to the generation AI" was "YES", and the answer to the inquiry information "Acquire at least two pieces of inquiry information from the reception information" was "NO".
[0160] Furthermore, the query acquisition unit 131 sequentially acquires all of the sentences in the paragraphs corresponding to each paragraph number from the file "Specification20231125.docx" based on the class condition "<tag>-<linguistic property>paragraph" of "ID=2." All of the sentences in the paragraphs are query information.
[0161] Next, for each paragraph, the prompt creation unit 135 places all of the sentences in the paragraph in the <inquiry information> of the prompt template information paired with the class condition: "Please tell me, YES / NO, whether the number of characters in the following sentence group is 500 characters or less. Sentence group "<inquiry information>"", and creates a prompt. For example, the prompt creation unit 135 creates the following: "Please tell me, YES / NO, whether the number of characters in the following sentence group is 500 characters or less. Sentence group "The information processing device of the first invention is an information processing device comprising... With this configuration, it is possible to use a generation AI by using an appropriate prompt according to the class of the inquiry information. Furthermore, the information processing device of the second invention is an information processing device that is... with respect to the first invention. With this configuration, it is possible to use a generation AI by using an appropriate prompt according to the class of the information of the invention to support the creation of patent documents."
[0162] Next, the answer acquisition unit 136 passes each created prompt to the generation AI. Then, the answer acquisition unit 136 acquires an answer ("YES" or "NO") from the generation AI for each prompt. Note that the answer to the inquiry information "The information processing device of the first invention is an information processing device comprising... With such a configuration, the generation AI can be used by using an appropriate prompt according to the class of the inquiry information. Furthermore, the information processing device of the second invention is an information processing device that is... compared to the first invention. With such a configuration, the generation AI can be used by using an appropriate prompt according to the class of the information of the invention to assist in the preparation of patent documents." was "NO."
[0163] Furthermore, the query acquisition unit 131 acquires components from a sentence corresponding to the tag [Mode for carrying out the invention] in the file "Specification20231125.docx" based on the class condition "<tag>Mode for carrying out the invention <linguistic characteristics>Component" of "ID=2." Here, the query acquisition unit 131 acquires, as components, noun phrases (reception unit, query acquisition unit, terminal storage unit, etc.) immediately followed by a code (numeric string).
[0164] Next, the prompt creation unit 135 creates a prompt by placing each component in the <inquiry information> of the prompt template information that pairs with the class condition, "Please list terms that are subordinate to the <inquiry information>!" For example, the prompt creation unit 135 creates "Please list terms that are subordinate to the reception section!"
[0165] Next, the answer acquisition unit 136 passes each created prompt to the generation AI. Then, the answer acquisition unit 136 acquires an answer from the generation AI for each prompt. It should be noted that the answer to the inquiry information "reception department" is "provide information about the subconcept of the general 'reception department'. The subconcept of the reception department may include the following functions and elements: reception desk, information counter, guest management, visitor registration, appointment adjustment, security check-in, telephone answering, and information service."
[0166] Furthermore, the query acquisition unit 131 acquires technical terms from a sentence corresponding to the tag [Mode for Carrying Out the Invention] in the file "Specification20231125.docx" based on the class condition "<tag>Mode for Carrying Out the Invention <Linguistic Characteristics>Technical Terms" of "ID=2." Note that the technology for acquiring technical terms from a sentence can be realized by publicly known technology such as "termextract" (URL: http: / / gensen.dl.itc.u-tokyo.ac.jp / pytermextract / ), for example. Here, the inquiry acquisition unit 131 acquires the technical term "generation AI" from, for example, the sentence "The inquiry acquisition unit 131 acquires inquiry information, which is information contained in the reception information and is information used to make inquiries to the generation AI," in the tag [Form for implementing the invention].
[0167] Next, the prompt creation unit 135 creates a prompt by placing each technical term in the <inquiry information> of the prompt template information paired with the class condition, "Please tell me the definition and specific example of <inquiry information>!" For example, the prompt creation unit 135 creates "Please tell me the definition and specific example of generation AI!"
[0168] Next, the answer acquisition unit 136 passes each created prompt to the generation AI. Then, the answer acquisition unit 136 acquires an answer from the generation AI for each prompt. The answer to the inquiry information "generation AI" is "Generation AI" is a type of artificial intelligence that refers to a system that generates new content based on input data. Specific examples include: Text generation: AIs such as the GPT series can create stories or articles from given prompts. Image generation: DALL-E and this AI system can... Music generation: AIs such as AIVA can... Speech synthesis: Can..."
[0169] Furthermore, the query acquisition unit 131 sequentially acquires sentences from the file "Specification20231125.docx" based on the class condition "<tag>-<linguistic property> sentence" of "ID=4." Each sentence is query information.
[0170] Next, the prompt creation unit 135 places each sentence in the <inquiry information> section of the prompt template information: "If the following sentence is a compound sentence, change it into a multiple simple sentence with a subject! Sentence "<inquiry information>"". As a result, the prompt creation unit 135 creates, for example, a prompt: "If the following sentence is a compound sentence, change it into a multiple simple sentence with a subject! Sentence "The terminal storage unit 21 is preferably a non-volatile recording medium, but can also be realized with a volatile recording medium, and the process by which information is stored in the terminal storage unit 21 does not matter."
[0171] Next, the answer acquisition unit 136 passes each created prompt to the generation AI. Then, the answer acquisition unit 136 acquires an answer from the generation AI for each prompt. Note that the answer to the inquiry information "The terminal storage unit 21 is preferably a non-volatile recording medium, but can also be realized as a volatile recording medium, and the process by which information is stored in the terminal storage unit 21 does not matter" was "The terminal storage unit 21 is preferably a non-volatile recording medium, but can also be realized as a volatile recording medium. The process by which information is stored in the terminal storage unit 21 does not matter."
[0172] Next, the output acquiring unit 137 acquires output information as follows: That is, the output acquiring unit 137 acquires, from the template management table, the process types paired with the class conditions of "ID=2" and "ID=4" in the template management table.
[0173] Next, the output acquisition unit 137 adds the answer corresponding to the processing type "check" to the received information "specification 20231125.docx" as a comment to the inquiry information. If the answer to the prompt template information "Please tell us YES / NO whether the following sentence has a subject or not." sentence "<inquiry information>" is "NO", the output acquisition unit 137 adds "This sentence does not have a subject" as a comment to the inquiry information (sentence). An example of such a comment is 1101 in FIG. 11.
[0174] Furthermore, if the answer to the prompt template information "Please tell us with YES / NO whether the number of characters in the following sentence group is 500 characters or less. Sentence group "<Inquiry information>"" is "NO", the output acquisition unit 137 adds "This paragraph is longer than 500 characters" as a comment to the inquiry information (paragraph). An example of such a comment is 1102 in FIG. 11.
[0175] Furthermore, the output acquiring unit 137 places the answer corresponding to the processing type "add" immediately after the sentence that is the query information, the paragraph that is the query information, or the sentence that includes the query information. For example, the answer to the query information "reception unit" is placed immediately after the sentence that includes the query information "reception unit": "The reception unit 12 receives reception information from the user." Such an answer is 1103 in FIG. 11.
[0176] Furthermore, the output acquisition unit 137 places, for example, a response to the inquiry information "generation AI" immediately after a sentence including the generation AI: "The inquiry acquisition unit 131 acquires inquiry information, which is information included in the reception information and is information used to inquire to the generation AI." Such a response is 1104 in FIG.
[0177] Furthermore, the output acquisition unit 137 replaces the reply corresponding to the processing type "change" with the reply to the inquiry information. For example, the output acquisition unit 137 replaces the query information, which is a complex sentence, "The terminal storage unit 21 is preferably a non-volatile recording medium, but can also be realized as a volatile recording medium, and the process by which information is stored in the terminal storage unit 21 does not matter," with the reply to the inquiry information, "The terminal storage unit 21 is preferably a non-volatile recording medium, but can also be realized as a volatile recording medium. The process by which information is stored in the terminal storage unit 21 does not matter."
[0178] Next, the output unit 14 outputs the revised "Specification 20231125.docx" using the answer of the generation AI. An example of such output is shown in FIG.
[0179] (Example 3) It is assumed that the user inputs into the information processing device 1 a file "abstract20231125.docx" that stores the character string shown in FIG.
[0180] Next, the reception unit 12 of the information processing device 1 receives the reception information "Abstract20231125.docx" from the user. Next, the inquiry acquisition unit 131 determines that the reception information is not a "question" based on the contents of the received file "Abstract20231125.docx."
[0181] Next, the inquiry acquisition unit 131 etc. processes the received reception information as follows, and outputs output information.
[0182] First, the class determination unit 132 obtains the character string "abstract" that pairs with the tag [document name] in the file of reception information "abstract20231125.docx", and obtains the document type "abstract" from the character string.
[0183] Next, the class determination unit 132 acquires the class conditions for "ID=3" and "ID=4" that match the type "abstract." For convenience of explanation, the following description will be given for the case where only the class condition for "ID=3" is applied.
[0184] Next, the class determination unit 132 obtains the class condition "<tag>-<linguistic property>-" of "ID=3" from the template management table (FIG. 7). Also, the class determination unit 132 obtains the class condition "<tag>-<linguistic property> sentence" of "ID=4" from the template management table (FIG. 7).
[0185] Furthermore, the template acquisition unit 134 acquires prompt template information paired with the class condition of "ID=3" from the template management table (FIG. 7) in association with each class condition.
[0186] Next, the inquiry acquisition unit 131 acquires the reception information (the entire abstract in FIG. 12) as inquiry information from the class condition "<tag>-<linguistic characteristic>-".
[0187] Next, the prompt creation unit 135 creates a prompt by replacing the <inquiry information> in the prompt template information "If the following document is longer than 400 characters, summarize it in 400 characters or less!" with the entire abstract (Figure 12).
[0188] Next, the answer acquisition unit 136 passes each created prompt to the generation AI, and the answer acquisition unit 136 then obtains a summary of up to 400 characters.
[0189] Next, the output acquisition unit 137 acquires output information as follows: That is, the output acquisition unit 137 acquires the process type "change" that pairs with the class condition of "ID=3" in the template management table from the template management table.
[0190] Furthermore, for a response corresponding to the processing type "change," the output acquisition unit 137 replaces the inquiry information with the response. That is, the output acquisition unit 137 acquires the acquired response as a summary.
[0191] Next, the output unit 14 outputs the abstract obtained using the answer of the generating AI. An example of such output is shown in FIG.
[0192] As described above, according to this embodiment, an appropriate prompt is created according to the class of inquiry information, and the generation AI can be used using the prompt.
[0193] Furthermore, according to this embodiment, an appropriate prompt can be created according to the class of information of the invention, and the prompt can be used to utilize a generation AI to assist in the creation of patent documents.
[0194] Furthermore, according to this embodiment, it is possible to provide a generative AI control engine that makes the most of generative AI.
[0195] The processing in this embodiment may be realized by software. This software may be distributed by software download or the like. This software may also be recorded on a recording medium such as a CD-ROM and distributed. This also applies to the other embodiments in this specification. The software that realizes information system A in this embodiment is the following program. In other words, this program is a program for causing a computer that can access a template management unit in which prompt template information is stored in correspondence with one or more class conditions, which are conditions related to the class of a string, to function as: a reception unit that receives reception information from a user; a query acquisition unit that acquires query information, which is information contained in the reception information and is information to be used to query a generation AI; a template acquisition unit that acquires from the template management unit prompt template information corresponding to the class conditions satisfied by the class of the query information acquired by the query acquisition unit; a prompt creation unit that creates a prompt using the prompt template information acquired by the template acquisition unit and the query information acquired by the query acquisition unit; an answer acquisition unit that passes the prompt created by the prompt creation unit to the generation AI and acquires an answer from the generation AI; an output acquisition unit that acquires output information using the answer acquired by the answer acquisition unit; and an output unit that outputs the output information.
[0196] 14 shows the appearance of a computer that executes the programs described herein to realize the information processing device 1 and the like according to the various embodiments described above. The above-described embodiments can be realized by computer hardware and a computer program executed thereon. FIG. 14 is an overview of this computer system 300, and FIG. 15 is a block diagram of the system 300.
[0197] In FIG. 14, a computer system 300 includes a computer 301 including a CD-ROM drive, a keyboard 302, a mouse 303, and a monitor 304.
[0198] 15, computer 301 includes, in addition to CD-ROM drive 3012, MPU 3013, bus 3014 connected to CD-ROM drive 3012 etc., ROM 3015 for storing programs such as a boot-up program, RAM 3016 connected to MPU 3013 for temporarily storing instructions of application programs and providing temporary storage space, and hard disk 3017 for storing application programs, system programs, and data. Although not shown here, computer 301 may further include a network card for providing connection to a LAN.
[0199] A program that causes computer system 300 to execute the functions of information processing device 1 and the like of the above-described embodiment may be stored on CD-ROM 3101, inserted into CD-ROM drive 3012, and then transferred to hard disk 3017. Alternatively, the program may be transmitted to computer 301 via a network (not shown) and stored on hard disk 3017. The program is loaded into RAM 3016 when executed. The program may also be loaded directly from CD-ROM 3101 or the network.
[0200] The program does not necessarily include an operating system (OS) or a third-party program that causes the computer 301 to execute the functions of the information processing device 1 of the above-described embodiment. The program only needs to include instructions that call appropriate functions (modules) in a controlled manner and achieve desired results. How the computer system 300 operates is well known, and a detailed description thereof will be omitted.
[0201] In addition, in the above program, the steps of transmitting information and receiving information do not include processing performed by hardware, such as processing performed by a modem or interface card in the transmission step (processing that can only be performed by hardware).
[0202] The computer that executes the program may be a single computer or a plurality of computers, that is, it may perform centralized processing or distributed processing.
[0203] Furthermore, in each of the above embodiments, it goes without saying that two or more communication means present in one device may be physically realized by one medium.
[0204] Furthermore, in each of the above embodiments, each process may be realized by centralized processing in a single device, or may be realized by distributed processing in a plurality of devices.
[0205] The present invention is not limited to the above-described embodiment, and various modifications are possible, and it goes without saying that these modifications are also included within the scope of the present invention. [Industrial Applicability]
[0206] As described above, the information processing device 1 of the present invention has the effect of being able to utilize a generation AI using an appropriate prompt according to the class of inquiry information, and is useful as a specification creation support device, a document creation support device, etc. [Explanation of symbols]
[0207] 1. Information processing equipment 2. Terminal Device 3 Generation AI device 11 Storage area 12 Reception 13 Processing section 14 Output section 21 Terminal storage section 22 Terminal Reception 23 Terminal processing section 24 Terminal transmitter 25 Terminal receiving section 26 Terminal Output Unit 111 Template Management Department 131 Inquiry Acquisition Department 132 Class Determination Division 133 Generation AI decision unit 134 Template acquisition part 135 Prompt Creation Department 136 Answer acquisition part 137 Output Acquisition Unit
Claims
1. A template management unit that stores prompt template information in association with one or more class conditions, which are conditions related to a class of character strings; A reception unit that receives reception information; An inquiry acquisition unit that acquires inquiry information, which is information included in the reception information and used for an inquiry to a generation AI; A template acquisition unit that acquires, from the template management unit, prompt template information corresponding to a class condition satisfied by the class of the inquiry information acquired by the inquiry acquisition unit; A prompt creation unit that creates a prompt using the prompt template information acquired by the template acquisition unit and the inquiry information acquired by the inquiry acquisition unit; A response acquisition unit that passes the prompt created by the prompt creation unit to a generation AI and acquires a response from the generation AI; An output acquisition unit that acquires output information using the response acquired by the response acquisition unit; An information processing apparatus comprising an output unit that outputs the output information.
2. The reception information is information related to an invention, The information processing apparatus according to claim 1, wherein the output information is information constituting a patent specification, a claim, or an abstract.
3. The inquiry acquisition unit, acquires at least two pieces of the inquiry information from the reception information, The prompt creation unit, creates a prompt using each of the two pieces of inquiry information. The information processing apparatus according to claim 1.
4. The output acquisition unit, places part or all of the response in output template information, which is a template for constituting output information, and acquires the output information. The information processing apparatus according to claim 1.
5. The class is a linguistic characteristic of the inquiry information. The information processing apparatus according to claim 1.
6. The class can take "question", The template acquisition unit, does not acquire the prompt template information when the class determined by the class determination unit is "question", The prompt creation unit, creates a prompt using the inquiry information acquired by the inquiry acquisition unit. The information processing apparatus according to claim 5.
7. The class is a tag included in the reception information and is a tag to which the inquiry information corresponds. The information processing apparatus according to claim 1.
8. The reception information is a document, The class is a type of the document. The information processing apparatus according to claim 1.
9. further comprises a generation AI determination unit that determines a generation AI corresponding to the prompt template information acquired by the template acquisition unit from two or more generation AIs. The response acquisition unit The information processing apparatus according to claim 1, wherein the response acquisition unit passes the prompt created by the prompt creation unit to the generation AI determined by the generation AI determination unit, and acquires a response from the generation AI. **Claim 10** An information processing method implemented by a template management unit that stores prompt template information in association with one or more class conditions that are conditions related to classes of character strings, a reception unit, an inquiry acquisition unit, a template acquisition unit, a prompt creation unit, a response acquisition unit, an output acquisition unit, and an output unit, a reception step in which the reception unit receives reception information; an inquiry acquisition step in which the inquiry acquisition unit acquires inquiry information that is information included in the reception information and is used for an inquiry to a generation AI; a template acquisition step in which the template acquisition unit acquires, from the template management unit, prompt template information corresponding to a class condition satisfied by the class of the inquiry information acquired by the inquiry acquisition unit; a prompt creation step in which the prompt creation unit creates a prompt using the prompt template information acquired by the template acquisition unit and the inquiry information acquired by the inquiry acquisition unit; a response acquisition step in which the response acquisition unit passes the prompt created by the prompt creation unit to a generation AI and acquires a response from the generation AI; an output information acquisition step in which the output acquisition unit acquires output information using the response acquired by the response acquisition unit; an information processing method including an output step in which the output unit outputs the output information. **Claim 11** A computer capable of accessing a template management unit that stores prompt template information in association with one or more class conditions that are conditions related to classes of character strings, a reception unit that receives reception information, an inquiry acquisition unit that acquires inquiry information that is information included in the reception information and is used for an inquiry to a generation AI, a template acquisition unit that acquires, from the template management unit, prompt template information corresponding to a class condition satisfied by the class of the inquiry information acquired by the inquiry acquisition unit, a prompt creation unit that creates a prompt using the prompt template information acquired by the template acquisition unit and the inquiry information acquired by the inquiry acquisition unit, a response acquisition unit that passes the prompt created by the prompt creation unit to a generation AI and acquires a response from the generation AI, an output acquisition unit that acquires output information using the response acquired by the response acquisition unit, A program for causing a device to function as an output unit that outputs the output information.
Citation Information
Patent Citations
Manuscript generation method and device, equipment and storage medium
CN116741178A
Guide rail structure of hydraulic drilling rig and multifunctional full-hydraulic drilling rig thereof
CN116856855A
Language model-based image report generation method and system
CN116884559A
Information processing device, information processing method, and program
JP7370118B1
Cited By
Document creation support device, document creation support method, and document creation support program
JP7780064B1