Medical prompt generation device and method
The medical prompt generation device processes AI model outputs into interpretable and user-specific prompts, addressing the challenge of conveying complex medical analysis results by integrating numerical values, user information, and environmental settings to enhance clinical utility.
Patent Information
- Application Number
- PCT/KR2024/095427
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-02-19
- Filing Date
- 2024-02-20
- Publication Date
- 2024-08-29
AI Technical Summary
Current medical artificial intelligence systems struggle to effectively interpret and convey numerical analysis results to users, as these results are often difficult to understand without specialized knowledge, lack contextual interpretation, and are not tailored to the user's specific needs or purposes.
A device and method for generating medical prompts that include processing numerical values from AI models into sub-prompts, combining user-provided information, and setting environment parameters to create customized, interpretable medical prompts that can be input into language models for clear and actionable clinical insights.
Enables users to easily understand medical diagnosis results, provides segmented interpretation of numerical sections, and customizes results to the user's context, effectively utilizing AI outputs in clinical practice.
Smart Images

Figure KR2024095427_29082024_PF_FP_ABST
Abstract
Description
Medical prompt generation device and method
[0001] The disclosed embodiments relate to a medical prompt generation device and method. More specifically, the disclosed embodiments relate to a technique for generating improved prompts for easily analyzing medical analysis results output based on an artificial intelligence model.
[0002] [Cross-reference to related applications]
[0003] This application claims priority to Republic of Korea Provisional Patent Application No. 10-2023-0022426, filed February 20, 2023, and Republic of Korea Patent Application No. 10-2024-0023701, filed February 19, 2024, the entire contents of which are incorporated herein by reference.
[0004] Recent healthcare technologies are advancing through integration with medical artificial intelligence. In particular, AI has the ability to output multiple numerical values that assess an individual's health from various aspects, enabling more detailed and accurate assessments of a patient's condition.
[0005] However, these numerical analysis results can be difficult to interpret and utilize. First, one or more numerical values can be difficult for users without specialized knowledge. Second, findings produced by AI models must be interpreted within a clinical context, but considering this contextual information can be challenging. Finally, providing these interpretations in a way that suits the user's specific needs is also challenging. For example, a specific user might want to know what treatment to administer immediately, rather than assessing a patient's condition.
[0006] In other words, to maximize the utility of medical AI, the results derived from AI models must be conveyed meaningfully to users. However, current research focuses solely on improving model accuracy, failing to consider the user perspective.
[0007] Recent advances in large-scale language models have enabled language models to provide useful answers by providing appropriate information and instructions (prompts). Language models can also be useful in clinical practice in the medical field, but providing appropriate prompts is crucial. However, no method has been proposed for providing optimal prompts when used in conjunction with medical AI.
[0008] The disclosed embodiments are techniques for generating medical prompts. Specifically, the disclosed embodiments are techniques for generating medical prompts for effectively utilizing the numerical output of an artificial intelligence model performing medical analysis in clinical settings.
[0009] A medical prompt generation device according to one embodiment comprises: one or more processors; and one or more memories storing instructions executed by the one or more processors, wherein the one or more processors: generate a first sub-prompt based on a numerical value output by an artificial intelligence model.
[0010] The one or more processors may: input the first sub-prompt into a language model to generate a medical prompt.
[0011] The one or more processors may be configured to: generate a second sub-prompt based on user-provided information, generate a third sub-prompt based on a preset setting environment for setting a style of the medical prompt, and generate the medical prompt based on at least some of the second sub-prompt and the third sub-prompt and the first sub-prompt.
[0012] The one or more processors may generate the first sub-prompt based on a vector-format numerical value including at least one of a disease type and a disease prediction probability expressed in numerical form as an element.
[0013] The one or more processors may generate a second sub-prompt based on user-provided information including at least one of: age, gender, symptoms, medical history, underlying disease, social history, differential diagnosis request, emergency treatment request, questionnaire request, physical examination request, medication request, and treatment request.
[0014] The one or more processors may generate the third sub-prompt based on a setting environment including at least one of a persona of the medical prompt, a context of the persona, and a setting of the persona.
[0015] The above numerical value can be output by inputting the user-provided information into the above artificial intelligence model.
[0016] The one or more processors may: separate the numerical values into categorical values by single numerical partitioning or multi-numerical partitioning and interpret the partitions to generate the first sub-prompt.
[0017] The one or more processors may: generate the first sub-prompt if the vector or elements of the vector corresponding to the numerical value satisfy a predefined condition function.
[0018] The one or more processors may input at least some of the second sub-prompt and the third sub-prompt and the first sub-prompt into a language model to generate a medical prompt of one sentence.
[0019] A method for generating a medical prompt according to one embodiment is a method performed by a medical prompt generating device having one or more processors and one or more memories for storing instructions executed by the one or more processors, the method including a step of generating a first sub-prompt based on a numerical value output by an artificial intelligence model.
[0020] The method may further include a step of inputting the first sub-prompt into a language model to generate a medical prompt.
[0021] The method further includes the steps of generating a second sub-prompt based on user-provided information; and generating a third sub-prompt based on a preset setting environment for setting a style of the medical prompt, wherein the step of generating the medical prompt may include the step of generating the medical prompt based on at least some of the second sub-prompt and the third sub-prompt and the first sub-prompt.
[0022] The step of generating the first sub-prompt may include the step of generating the first sub-prompt based on a vector-type numerical value including at least one of a disease type and a disease prediction probability expressed in numerical form as an element.
[0023] The step of generating the second sub-prompt may include a step of generating the second sub-prompt based on user-provided information including at least one of age, gender, symptoms, medical history, underlying disease, social history, differential diagnosis request, emergency treatment request, questionnaire request, physical examination request, medication request, and treatment request.
[0024] The step of generating the third sub-prompt may include the step of generating the third sub-prompt based on a setting environment including at least one of a persona of the medical prompt, a context of the persona, and a setting of the persona.
[0025] The above numerical value can be output by inputting the user-provided information into the above artificial intelligence model.
[0026] The step of generating the first sub-prompt may include a step of processing the numerical value into a single numerical partition or a multiple numerical partition to separate the numerical value into category values and interpreting the partitions to generate the first sub-prompt.
[0027] The step of generating the first sub-prompt may include the step of generating the first sub-prompt when the vector or the element of the vector corresponding to the numerical value satisfies a predefined conditional function.
[0028] The step of generating the medical prompt may include a step of inputting at least some of the second sub-prompt and the third sub-prompt and the first sub-prompt into a language model to generate a medical prompt of one sentence.
[0029] In one aspect, the disclosed embodiments can improve prompts including medical diagnosis results to help users easily understand the medical diagnosis results.
[0030] In another aspect, the disclosed embodiments are improved to incorporate segment interpretation into prompts containing medical diagnosis results, thereby highlighting the meaning of numerical intervals.
[0031] In another aspect, the disclosed embodiments can provide medical diagnosis results that are customized to the user and the environment in which the user is located by setting the persona of the prompt.
[0032] In another aspect, the disclosed embodiments can provide optimal prompts in situations where medical artificial intelligence is used together.
[0033] FIG. 1 is a block diagram illustrating a medical prompt generation device according to one embodiment.
[0034] Figure 2 is a block diagram illustrating a software unit of a processor according to an example.
[0035] FIG. 3 is a block diagram illustrating a software unit of a processor according to an additional example.
[0036] FIG. 4 is a flowchart illustrating a method for generating a medical prompt according to one embodiment.
[0037] FIG. 5 is a flowchart illustrating a method for generating a medical prompt according to an additional embodiment.
[0038] The foregoing description is provided to facilitate a comprehensive understanding of the methods, devices, and / or systems described herein. However, these are merely examples and the present invention is not limited thereto.
[0039] In describing embodiments, if it is determined that a detailed description of a known technology related to the present invention may unnecessarily obscure the gist of an embodiment, the detailed description will be omitted.
[0040] The terms described below are defined based on their functions in the present invention, and may vary depending on the intent or custom of the user or operator. Therefore, their definitions should be based on the overall content of this specification. The terminology used in this detailed description is intended solely to describe specific embodiments and should not be construed as limiting.
[0041] Unless explicitly stated otherwise, singular expressions include the meaning of the plural. It should be noted that terms such as "first," "second," etc., are used only to distinguish between various components and are not limited by the terminology.
[0042] Meanwhile, the device of the present invention may be entirely hardware, or may have aspects that are partially hardware and partially software. For example, a unit may collectively refer to a device for transmitting and receiving data of a specific format and content via electronic communication, and software related thereto. In this specification, terms such as "unit," "module," "server," "system," "device," or "terminal" are intended to refer to a combination of hardware and software driven by the hardware. For example, the hardware herein may be a data processing device including a CPU or other processor. In addition, software driven by the hardware may refer to a running process, object, executable, thread of execution, program, etc.
[0043] FIG. 1 is a block diagram illustrating a medical prompt generation device (100) according to one embodiment.
[0044] Referring to FIG. 1, the medical prompt generation device (100) includes a processor (110) and a memory (120).
[0045] The processor (110) generates a first sub-prompt based on the numerical value output by the artificial intelligence model.
[0046] The processor (110) can generate a first sub-prompt based on a vector that includes as elements numerical results for disease types and / or predicted probabilities.
[0047] For example, the processor (110) may generate a first sub-prompt by applying a corresponding transformation to a numerical value output by the artificial intelligence model. The processor (110) may generate the first sub-prompt by mapping the disease type and / or predicted probability output by the artificial intelligence model into a specific expression in a natural language format.
[0048] As a specific example, when the numerical value output by the artificial intelligence model is 70, the processor (110) can generate a first sub-prompt that says, “The risk of myocardial infarction (disease) is 70% (predicted probability).”
[0049] At this time, the numerical value may be a result in numerical format that is output when information acquired by the processor (110) (e.g., user-provided information described below) is input into the artificial intelligence model.
[0050] Meanwhile, the numerical values output by the artificial intelligence model can be expressed in various forms, such as numerical data as a diagnostic result or categorical data, such as logical values or classes corresponding to intervals.
[0051] Meanwhile, the target value of the sub-prompt was described as being generated based on the output results of an artificial intelligence-based model, but this is an example and can be generated based on medical results directly input by the user, so it is not limited to the example described above.
[0052] Additionally, the artificial intelligence model may be of any type or number and may include at least one of a simple conditional expression, a regression model, a machine learning model, and a neural network model.
[0053] As another example, the processor (110) may generate the first sub-prompt by applying a piecewise transformation to a number in vector format.
[0054] The processor (110) can generate a first sub-prompt by separating the numerical values into category values and interpreting the segments by processing the numerical values into single numerical segments or multiple numerical segments.
[0055] For example, the processor (110) may generate a first sub-prompt, “The risk of myocardial infarction (disease) is very low (compartment analysis),” in response to the vector-format numerical value of the example described above.
[0056] That is, the processor (110) can generate a first sub-prompt that allows the user to clinically interpret the meaning of the interval by interpreting the numerical result.
[0057] Meanwhile, the processor (110) may omit generation of the corresponding first sub-prompt in a section where the categorical separation of the numerical result has little clinical significance or low confidence.
[0058] The processor (110) can generate a first sub-prompt when a vector itself having a numerical value as an element or an element of the vector satisfies a predefined conditional function. In other words, the processor (110) can initiate generation of the first sub-prompt when the vector or an element of the vector satisfies a predefined conditional function.
[0059] Meanwhile, the processor (110) determines whether the condition function is satisfied in response to the vector, but the processor (110) may also initiate generation of the first sub-prompt depending on whether data with additional configurations other than the vector satisfies the condition function.
[0060] At this time, the conditional function can vary depending on the purpose of use of the medical prompt, and can include everything from simple conditional expressions to artificial intelligence models based on machine learning and deep learning.
[0061] Meanwhile, additional configuration may further include user-provided information, setting environments, etc., as described below.
[0062] The processor (110) can generate a medical prompt by inputting the first sub-prompt into the language model.
[0063] The processor (110) can generate a medical prompt by inputting a first sub-prompt and a request for the first sub-prompt into a language model.
[0064] That is, the processor (110) can use the language model to generate a medical prompt that is more sophisticated than the preceding first sub-prompt.
[0065] For example, the processor (110) may generate a medical prompt by inputting instructions to the language model requesting at least one of a summary, summary, first aid, and additional necessary tests for the first sub-prompt.
[0066] The processor (110) can generate a second sub-prompt based on the acquired user-provided information.
[0067] At this time, the user-provided information may include at least one of age, gender, symptoms, medical history, underlying disease, social history, differential diagnosis request, emergency treatment request, questionnaire request, physical examination request, medication request, and treatment request.
[0068] User-provided information is information provided in real time by user input, and in particular, can be generated based on user-provided information expressed in a natural language-based format input from the user's terminal.
[0069] At this time, user-provided information can be generated by converting user input in text format, as well as user voice, uploaded images, etc. into text.
[0070] The processor (110) can generate a second sub-prompt by extracting only preset items from user-provided information.
[0071] The processor (110) can convert some or all of the user-provided information into structured data to generate a second sub-prompt.
[0072] For example, if the user-provided information is “A 45-year-old male patient came to the emergency room by ambulance because of chest pain for the past two days,” the corresponding structured data could be “Age: 45; Gender: Male; Main symptom: Chest pain; Time of onset: 48 hours ago.”
[0073] The processor (110) can refine user-provided information to generate a second sub-prompt.
[0074] The processor (110) can refine the user-provided information of the example described above into “A 45-year-old male visited the hospital complaining of chest pain that occurred 48 hours ago.” and generate a second sub-prompt.
[0075] That is, the processor (110) can generate a second sub-prompt by replacing user-provided information entered from a predefined word list with refined words.
[0076] Meanwhile, the processor (110) has been described as generating the second sub-prompt by extracting only some items from the user-provided information, but the second sub-prompt may be generated based on some or all of the information.
[0077] The processor (110) can generate a third sub-prompt based on a preset setting environment for setting the style of the medical prompt.
[0078] At this time, the setting environment may include at least one of the persona of the medical prompt, the context of the persona, and the settings of the persona. In other words, the setting environment may be an optional item determined in advance based on the user's preference.
[0079] As a concrete example, a persona could be based on any one of the following characters: a doctor, a caregiver, a patient, and a paramedic.
[0080] The context of a persona is about the environment of use, and can be set to at least one of the following: emergency room, outpatient clinic, hospital room, emergency room, or intensive care unit.
[0081] A persona's settings may include at least one of the following: whether the request is a basic request (e.g., differential diagnosis, first aid, additional questioning, additional physical examination, additional tests, medications, and treatments), response style (e.g., language, use of medical terminology, level of detail in explanation), and treatment guidelines.
[0082] Specifically, the processor (110) can generate a third sub-prompt that expresses a request regarding an item included in the setup environment in natural language.
[0083] As a specific example, if the setting environment is set to “(4, 1)”, the processor (110) can generate a third sub-prompt such as “Please tell me briefly (at a detail level) from the perspective of a paramedic (persona).”
[0084] The processor (110) can generate a medical prompt by using at least some of the first sub-prompt, the second sub-prompt, and the third sub-prompt.
[0085] That is, the processor (110) can generate a medical prompt by listing at least some of the second sub-prompt and the third sub-prompt and the first sub-prompt.
[0086] For example, based on the three sentences corresponding to the first to third sub-prompts, such as “The electrocardiogram shows a very high possibility of myocardial infarction,” “Please tell me the emergency treatment for this 45-year-old male patient who reported with chest pain,” and “Please tell me briefly from the perspective of a paramedic,” the processor (110) can generate a medical prompt such as “The electrocardiogram shows a very high possibility of myocardial infarction. Please tell me the emergency treatment for this 45-year-old male patient who reported with chest pain. Please tell me briefly from the perspective of a paramedic.”
[0087] The processor (110) can generate a medical prompt by combining the first sub-prompt with at least some of the second sub-prompt and the third sub-prompt.
[0088] The processor (110) can input at least some of the second sub-prompt and the third sub-prompt and the first sub-prompt into a language model to generate a medical prompt of one sentence.
[0089] The processor (110) can generate a medical prompt such as “Please briefly explain the emergency treatment that paramedics should consider when a 45-year-old male patient reported with chest pain has a very high possibility of myocardial infarction.” based on the first to third sub-prompts of the above-described examples.
[0090] At this time, the processor (110) may request additional organization by inputting the first to third sub-prompts into the language model in stages. For example, the processor (110) may input the first to third sub-prompts into the language model to request a summarized sub-prompt as a medical prompt.
[0091] At this time, the language model is a large model that can be preconditioned through fine tuning and prompt engineering to provide users with expert interpretations when processing medical prompts.
[0092] The processor (110) can input the summarized sub-prompt into a language model to generate additional medical prompts requesting additional instructions for the summarized sub-prompt.
[0093] For example, the processor (110) may generate additional medical prompts based on the medical prompts of the examples described above, requesting guidance and / or explanation of differential diagnosis, additional testing, and emergency treatment for the patient.
[0094] Meanwhile, it is desirable that additional medical prompts be generated by a language model different from the language model that generated the previously generated medical prompts.
[0095] The memory (120) stores one or more instructions to be executed by the processor (110).
[0096] The memory (120) can store various data used by the processor (110). For example, the memory (120) can include software (e.g., input data or output data for a program executed by the processor (110) and / or instructions related to the program).
[0097] The memory (120) may include volatile memory or non-volatile memory.
[0098] Figure 2 is a block diagram illustrating a software unit of a processor (110) according to an example.
[0099] Referring to FIG. 2, the processor (110) may include a processing unit (210), a generation unit (220), an analysis unit (230), and an output unit (240).
[0100] In Fig. 2, the processing unit (210), the generation unit (220), the analysis unit (230), and the output unit (240) may not be clearly distinguished in specific operations, unlike the illustrated example.
[0101] The processing unit (210) can generate a first sub-prompt based on the numerical value output by the artificial intelligence model.
[0102] For example, if the processing unit (210) determines that the numerical value output by the artificial intelligence model has clinical meaning in itself, it may apply a corresponding transformation to the numerical value to generate the first sub-prompt.
[0103] At this time, if the numerical value output by the artificial intelligence model is an estimated value for the measurement indicator, the processing unit (210) may determine that the numerical value itself has clinical significance and apply a corresponding transformation to the numerical value.
[0104] As a specific example, the processing unit (210) can generate a first sub-prompt that includes a numerical value output by an artificial intelligence model that predicts the left ventricular ejection fraction.
[0105] As another example, if the processing unit (210) determines that the interval to which the numerical value output by the artificial intelligence model belongs has clinical significance, it may apply a segmental transformation to the numerical value to generate the first sub-prompt.
[0106] At this time, the processing unit (210) can apply a segmental transformation to the numerical value when the numerical value output by the artificial intelligence model is scored based on a predefined evaluation scale.
[0107] As a specific example, the processing unit (210) can categorize the numerical value output by the artificial intelligence model that predicts the risk of cardiac function and generate a first sub-prompt based on the reinterpreted value.
[0108] The generation unit (220) can generate a medical prompt based on the first sub-prompt.
[0109] The generation unit (220) can generate a medical prompt including instructions requesting information on a specific topic or a task to be performed by the language model for the first sub-prompt.
[0110] At this time, the language model may include a generative-based artificial intelligence model.
[0111] The interpretation unit (230) can input a medical prompt into a language model and provide a corresponding output sentence.
[0112] At this time, the language model used by the interpretation unit (230) may be a model trained to interpret clinical findings based on the numerical values output by the artificial intelligence model. For example, the language model of the interpretation unit (230) may be a model trained to interpret the numerical values output by the artificial intelligence model through medical expertise.
[0113] At this time, the language model used by the interpretation unit (230) may be a model that has learned the user's environment and preferences, which have been analyzed based on the numerical values output by the artificial intelligence model. For example, the language model of the interpretation unit (230) may be a model that has learned information about the user's lifestyle habits (e.g., smoking, drinking) that have been input.
[0114] That is, the language model can be preconditioned through fine-tuning and prompt engineering to provide users with expert interpretations that reflect their personal circumstances when processing medical prompts.
[0115] Meanwhile, the language model of the interpretation unit (230) may be a model of the same or different type as the language model used in the generation unit (220).
[0116] The output unit (240) can provide the output of the interpretation unit (230). The output unit (240) can be connected to a user's terminal that operates an artificial intelligence model and display the output of the interpretation unit (230) on a screen. The output unit (240) can provide the output of the interpretation unit (230) as a means of conveying information to the user regardless of the format, such as text or voice.
[0117] The output unit (240) can be linked to an external electronic medical record to transmit the numerical values of the artificial intelligence model and / or the interpretation of the numerical values to the user.
[0118] FIG. 3 is a block diagram illustrating a software unit of a processor (110) according to an additional example.
[0119] Referring to FIG. 3, the processor (110) may include a processing unit (310), a generation unit (320), an analysis unit (330), and an output unit (340). At this time, the processing unit (310) may include a first processing unit (311), a second processing unit (312), and a third processing unit (313).
[0120] Meanwhile, the analysis unit (330) and output unit (340) of FIG. 3 are components that perform the same functions as the analysis unit (230) and output unit (240) of FIG. 2, and thus, any duplicate description will be omitted.
[0121] The first processing unit (311) can generate a first sub-prompt based on the numerical value output by the artificial intelligence model. The first processing unit (311) can generate a first sub-prompt that expresses a clinical opinion without distortion of the numerical value output by the artificial intelligence.
[0122] The second processing unit (312) can generate a second sub-prompt based on user-provided information. The second processing unit (312) can generate a second sub-prompt that provides supplementary information to the user other than analytical figures through the user-provided information.
[0123] The third processing unit (313) can generate a third sub-prompt based on a preset setting environment. The third processing unit (313) can generate a third sub-prompt that provides the user's environment and user preference information.
[0124] Here, the preset settings environment may mean a set of options that can adjust the style of the medical prompt according to user definition.
[0125] Meanwhile, it is preferable that the numerical value used in the first processing unit (311) is a numerical result for the same user as the user of the second processing unit (312) and the third processing unit (313).
[0126] The generation unit (320) can generate a medical prompt based on a sub-prompt generated in at least one of the first processing unit (311) to the third processing unit (313).
[0127] That is, the generation unit (320) can generate a medical prompt based on at least one of the first to third sub-prompts.
[0128] Preferably, the generation unit (320) can generate a medical prompt from a set of sub-prompts that necessarily include a first sub-prompt, but additionally include a second sub-prompt and / or a third sub-prompt.
[0129] For example, the generation unit (320) may generate a medical prompt based on the first sub-prompt and the second sub-prompt. As another example, the generation unit (320) may generate a medical prompt based on the first sub-prompt and the third sub-prompt. As another example, the generation unit (320) may generate a medical prompt based on the first sub-prompt, the second sub-prompt, and the third sub-prompt.
[0130] The generation unit (320) can generate a medical prompt by listing the acquired sub-prompts. At this time, the listing order may be irrelevant.
[0131] The generation unit (320) can input the acquired sub-prompts into a language model to generate a single-sentence medical prompt. At this time, the order in which the prompts appear in the sentence may be irrelevant.
[0132] FIG. 4 is a flowchart illustrating a method for generating a medical prompt according to one embodiment.
[0133] Referring to FIG. 4, the method of FIG. 4 can be performed by the processor (110) of FIG. 2.
[0134] First, the processor (110) generates (410) a first sub-prompt based on the numerical value output by the artificial intelligence model.
[0135] Thereafter, the processor (110) inputs the first sub-prompt into the language model to generate a medical prompt (420).
[0136] FIG. 5 is a flowchart illustrating a method for generating a medical prompt according to one embodiment.
[0137] Referring to FIG. 5, the method of FIG. 5 can be performed by the processor (110) of FIG. 3.
[0138] First, the processor (110) generates (510) a first sub-prompt based on the numerical value output by the artificial intelligence model.
[0139] Thereafter, the processor (110) generates a second sub-prompt (520) based on the acquired user-provided information.
[0140] Thereafter, the processor (110) generates (530) a third sub-prompt based on a preset setting environment for setting the style of the medical prompt.
[0141] Thereafter, the processor (110) generates (540) a medical prompt based on at least some of the second sub-prompt and the third sub-prompt and the first sub-prompt.
[0142] Meanwhile, although FIGS. 4 and 5 describe the method by dividing it into multiple steps, at least some of the steps may be performed in a different order, combined with other steps and performed together, omitted, divided into detailed steps and performed, or one or more steps not shown may be added and performed.
[0143] While representative embodiments of the present invention have been described in detail above, those skilled in the art will appreciate that various modifications to the above-described embodiments are possible without departing from the scope of the present invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined not only by the claims set forth below but also by equivalents thereof.
[0144] A medical prompt generation device and method according to one embodiment generates a medical prompt for easily interpreting numerical values of medical results output by an artificial intelligence model, and thus can be used in the digital medical industry.
Claims
1. One or more processors; and A medical prompt generation device having one or more memories for storing instructions to be executed by one or more processors, One or more of the above processors: A medical prompt generation device that generates a first sub-prompt based on a numerical value output by an artificial intelligence model.
2. In paragraph 1, One or more of the above processors: A medical prompt generation device that generates a medical prompt by inputting the above first sub-prompt into a language model.
3. In paragraph 1, One or more of the above processors: Generate a second sub-prompt based on user-provided information, Generate a third sub-prompt based on a preset setting environment for setting the style of the above medical prompt, A medical prompt generating device that generates the medical prompt based on at least some of the second sub-prompt and the third sub-prompt and the first sub-prompt.
4. In paragraph 1, One or more of the above processors: A medical prompt generation device that generates the first sub-prompt based on a vector-format numerical value that includes at least one of a disease type and a disease prediction probability expressed in numerical form as an element.
5. In paragraph 3, One or more of the above processors: A medical prompt generation device that generates a second sub-prompt based on user-provided information including at least one of age, gender, symptoms, medical history, underlying disease, social history, differential diagnosis request, emergency treatment request, questionnaire request, physical examination request, medication request, and treatment request.
6. In paragraph 3, One or more of the above processors: A medical prompt generation device that generates the third sub-prompt based on a setting environment including at least one of the persona of the medical prompt, the context of the persona, and the setting of the persona.
7. In paragraph 3, The above figure is a medical prompt generation device that is output when the user-provided information is input into the artificial intelligence model.
8. In paragraph 1, One or more of the above processors: A medical prompt generation device that generates a first sub-prompt by separating the above numerical values into category values by single numerical partitioning or multi-numerical partitioning and interpreting the partitions.
9. In paragraph 1, One or more of the above processors: A medical prompt generation device that generates the first sub-prompt when a vector or an element of a vector corresponding to the above numerical value satisfies a predefined condition function.
10. In paragraph 3, One or more of the above processors: A medical prompt generation device that generates a medical prompt of one sentence by inputting at least some of the second sub-prompt and the third sub-prompt and the first sub-prompt into a language model.
11. One or more processors; and A method performed by a medical prompt generation device having one or more memories storing instructions to be executed by one or more processors, A method for generating a medical prompt, comprising the step of generating a first sub-prompt based on a numerical value output by an artificial intelligence model.
12. In paragraph 11, A method for generating a medical prompt, wherein the method further comprises a step of inputting the first sub-prompt into a language model to generate a medical prompt.
13. In paragraph 11, The above method, generating a second sub-prompt based on user-provided information; and Further comprising a step of generating a third sub-prompt based on a preset setting environment for setting the style of the above medical prompt, The steps to create the above medical prompt are: A method for generating a medical prompt, comprising the step of generating the medical prompt based on at least some of the second sub-prompt and the third sub-prompt and the first sub-prompt.
14. In paragraph 11, The step of generating the above first sub-prompt is: A method for generating a medical prompt, comprising the step of generating the first sub-prompt based on a vector-type numerical value including at least one of a disease type and a disease prediction probability expressed in numerical form as an element.
15. In paragraph 13, The step of generating the second sub-prompt is: A method for generating a medical prompt, comprising the step of generating a second sub-prompt based on user-provided information including at least one of age, gender, symptoms, medical history, underlying disease, social history, differential diagnosis request, emergency treatment request, questionnaire request, physical examination request, medication request, and treatment request.
16. In paragraph 13, The step of generating the third sub-prompt is: A method for generating a medical prompt, comprising the step of generating the third sub-prompt based on a setting environment including at least one of a persona of the medical prompt, a context of the persona, and a setting of the persona.
17. In paragraph 13, The above figure is a method for generating a medical prompt that is output when the user-provided information is input into the artificial intelligence model.
18. In paragraph 11, The step of generating the above first sub-prompt is: A method for generating a medical prompt, comprising the step of separating the above numerical values into categorical values by single numerical partitioning or multi-numerical partitioning and interpreting the partitions to generate a first sub-prompt.
19. In paragraph 11, The step of generating the above first sub-prompt is: A method for generating a medical prompt, comprising the step of generating the first sub-prompt when a vector or an element of a vector corresponding to the above numerical value satisfies a predefined condition function.
20. In paragraph 13, The steps to create the above medical prompt are: A method for generating a medical prompt, comprising the step of inputting at least some of the second sub-prompt and the third sub-prompt and the first sub-prompt into a language model to generate a medical prompt of one sentence.
Citation Information
Patent Citations
Transistor, liquid crystal display device, and manufacturing method thereof
KR1020220098328A
Methods for generating natural language processing systems
US20210150130A1
Report generating system and methods for use therewith
US20220051771A1
Systems and methods of guided information intake
US20220189623A1
