A computer-based method for structuring content used to train artificial intelligence models.

By receiving medical device documents, converting them into a data exchange format, extracting and validating key terms and phrases, building dialogues, and training AI models, the tedious problem of converting unstructured documents into structured documents has been solved, resulting in an automated, accurate, and regulatory-approved AI system.

CN115812204BActive Publication Date: 2026-11-10KONINKLIJKE PHILIPS NV
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202180043239.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-06-18
Filing Date
2021-06-16
Publication Date
2026-11-10
Estimated Expiration
2041-06-16

AI Technical Summary

Technical Problem

Existing technologies for converting unstructured documents into structured documents that AI systems can process are cumbersome and time-consuming, especially in the medical and healthcare fields, where manual operations are difficult to meet regulatory requirements.

Method used

By receiving medical device documents, converting them into a data exchange format, extracting key terms and phrases, constructing dialogues after verification by a supervisor, and performing preprocessing and expansion, the final AI model is trained to support multilingual processing.

Benefits of technology

The automated document structuring process ensures that the generated dialogues are self-contained and regulatory-approved, improving the accuracy and efficiency of the AI ​​system, reducing the number of user interactions, and meeting regulatory requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115812204B_ABST
    Figure CN115812204B_ABST
Patent Text Reader

Abstract

According to one aspect, a computer-implemented method is provided for structuring content for training an artificial intelligence model, the method comprising: receiving (S11) input content associated with a medical device document; converting (S12) the input content into a data exchange format; extracting (S13) a plurality of key terms from the converted input content; extracting (S14) a plurality of key phrases from the converted input content; receiving (S15) verification of the key terms and the key phrases from a supervisor; and constructing (S16) a dialogue for training the artificial intelligence model based on at least some of the verified key terms and verified key phrases, wherein the dialogue comprises a series of statements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to structuring content used to train artificial intelligence models. The content can be associated with documents applicable to the medical and healthcare fields. Background Technology

[0002] Technical documentation can be provided to offer diagnostics, usage instructions, explanations of functional characteristics, and explanations. These are compiled by technical writers into User's Instructions (IFU) manuals, service manuals, and knowledge bases regarding system functionality. Such documentation can be provided in the medical or healthcare field and can be, for example, instruction manuals for diagnostic machines. End users, such as clinicians, hospital technicians, and service engineers, use these documents to operate the system according to the instructions contained therein.

[0003] Chatbot and AI-based question-answering systems can provide end-users with relevant explanations for specific topics / questions. If documents are structured so that chatbots / AI can process them, relevant explanations can be retrieved from these technical documents. Currently, converting unstructured documents into "structures ready for AI systems to process" (i.e., structured documents that can be processed by AI systems) is a very manual, tedious, and time-consuming process.

[0004] Therefore, the goal is to transform content such as documents into a structure that can be processed by AI systems. Summary of the Invention

[0005] According to an embodiment of the first aspect, a method for structuring content for training an artificial intelligence model is provided, the method comprising: receiving input content associated with a medical device document; converting the input content into a data exchange format; extracting a plurality of key terms from the converted input content; extracting a plurality of key phrases from the converted input content; receiving verification of the key terms and the key phrases from a supervisor; and constructing a dialogue for training the artificial intelligence model based on at least some of the verified key terms and verified key phrases, wherein the dialogue comprises a series of statements.

[0006] Therefore, dialogues for training artificial intelligence (AI) models can be constructed from input content. In other words, input content (such as unstructured documents) can be provided in a format suitable for training AI models (such as chatbots or question-answering (QA) systems). Thus, unstructured documents can be taken and provided in a format and structure that the AI ​​system can process. Furthermore, the processing of the input content is verified by a supervisor to ensure that appropriate terms and phrases are extracted from the content, thereby improving the accuracy of the dialogue and the resulting AI system.

[0007] The dialogue includes some or all of the key terms and key phrases identified and extracted from the input content and verified by the user. Key phrases can be a series of terms comprising three to five terms. The method may include storing the extracted key terms and key phrases. The extracted terms and phrases may be presented to a supervisor, allowing the supervisor to verify the terms and phrases. Therefore, the method involves interaction with an individual and allows the user to evaluate the validity of the dialogue, thereby altering the user's behavior. As a result of embodiments of various aspects of the invention, the behavior of a computer on which the method is implemented is also altered. For example, when the input content (e.g., in PDF format) can no longer be used to train an AI model in other ways, this may change due to the input of a vocabulary for verifying the dialogue received from a supervisor and through the resulting dialogue that can be used to train the AI ​​model. Therefore, the computer's processing and performance can also be improved.

[0008] The constructed dialogue can be self-contained, and is regulatory-approved for specific queries from the medical device corresponding to the input content. Specific queries can be received from the user of the AI ​​system. That is, a key element of the dialogue (or parts thereof) constructed from various embodiments is that they can include a message that is self-contained for a specific query from the medical device. The extracted information is precisely what is needed for the query from the user and is regulatory-approved. This can be ensured through verification by a supervisor.

[0009] Embodiments of various aspects of this invention can be particularly advantageous when applied in the medical or healthcare fields, as instructions for using the devices and diagnostic machines are crucial in these areas. Such instructions can also be the subject of regulations, and therefore any AI system providing user instructions may need to comply with relevant regulations. These regulations can be met by constructing dialogues for inputs associated with medical device documentation.

[0010] The method may include: preprocessing the dialogue. The preprocessing may include one or more of the following: cleaning the dialogue; annotating the dialogue; and standardizing the dialogue. Therefore, the dialogue can be preprocessed to more accurately reflect the input and be provided in a more appropriate manner for subsequent processing, for example, by removing redundant terms. For a specific query of the medical device corresponding to the input, the preprocessed dialogue can still be self-contained and regulatory-approved. For example, the dialogue can be annotated and / or standardized based on regulatory approval.

[0011] Cleaning up the dialogue may include one or more of the following: stop word removal and capitalization. Annotating the dialogue may include one or more of the following: part-of-speech tagging and tokenization. Standardizing the dialogue may include one or more of the following: stemming and lexicalization.

[0012] The method may include: expanding the dialogue. The expansion may include one or more of the following: identifying and extracting terms from a general text corpus associated with one or more of the extracted key terms (and / or terms of the extracted key phrases); identifying and extracting phrases from a general text corpus associated with one or more of the extracted key phrases (and / or terms of the extracted key phrases); identifying and extracting out-of-vocabulary terms associated with the input content; identifying and extracting domain-related terms associated with the input content; and adding out-of-vocabulary terms by providing domain-specific equivalent key terms. Therefore, additional key terms and phrases related to the input content can be added to the dialogue to improve the dialogue by making it more accurately reflect the input content, and alternative terms and / or phrases that may not be included in the content but may be related to it can be added. The additional terms / phrases may be synonyms of the extracted key terms / phrases. Domain-related terms associated with the input content and / or multiple out-of-vocabulary terms associated with the input content may be predetermined and, for example, input by a supervisor.

[0013] Off-the-book terms can be added by providing domain-specific keywords and domain information. For example, some terms used in device documentation may be specific to a particular manufacturer, while another manufacturer might use alternative terms. These alternatives can be provided as synonyms for technical terms that cannot be found otherwise in the domain keyword list.

[0014] The method may include: using the dialogue to train the artificial intelligence model. The training may include: for each of a plurality of statements in the dialogue, splitting the statement into a plurality of individual words; determining a word embedding vector for each of the plurality of individual words in the statement; determining a term frequency-inverse document frequency score for each of the plurality of individual words in the statement; for each of the plurality of individual words, multiplying the word embedding vector and the corresponding term frequency-inverse document frequency score to obtain a weighted word vector for each of the plurality of individual words in the statement; averaging the plurality of weighted word vectors to obtain a statement vector corresponding to the statement in the dialogue; and aggregating the plurality of statement vectors corresponding to the plurality of statements in the dialogue to provide a trained artificial intelligence model. Therefore, the dialogue can be used to train an AI model.

[0015] The dialogue used to train the model can be a dialogue at any stage of processing, according to various embodiments. For example, the dialogue can be one initially constructed from input content, a pre-processed dialogue, or an expanded dialogue. A model trained on a pre-processed and expanded dialogue can be more accurate than a model trained on an initially constructed dialogue. Therefore, the multiple statements of the dialogue used to train the model may, for example, have already undergone tokenization and stop word removal processing. Statement vectors can be determined for the multiple statements of the dialogue, and the resulting multiple statement vectors can be aggregated to provide a trained model. The multiple statements can include all or most (e.g., 90%) of the statements in the dialogue.

[0016] As a supplement or alternative to the TF-IDF scores determined for each word in a plurality of statements, another weight can be determined and used to determine the weighted word vector, such as part-of-speech weights (POS tags). Any method based on inverse frequency, including, for example, entropy detection, can be used to implement domain-specific information systems.

[0017] The artificial intelligence model can be trained using a predetermined number of languages. The language of the AI ​​model can correspond to the language of the dialogue used to train the AI ​​model. That is, the model can be trained in any of a plurality of predetermined languages, and the language used to train the model can be determined by the language of the dialogue. For example, if the dialogue is provided in English, the model can be trained in English.

[0018] The method may include: receiving a query from a user; preprocessing the query; determining a query vector for the query; identifying the intent of the query by comparing the query vector with a statement vector of a trained artificial intelligence model; and determining a response to the query based on the determined intent. Therefore, queries can be received from users of an AI system (e.g., a chatbot or QA system), can be processed in a conversational manner, and the processed query can be used with a trained model to determine an appropriate response to the query. Thus, data can be provided from input content in response to a user query via an AI system. The user may be a customer or operator of a medical device.

[0019] Identifying the intent may include calculating the cosine distance between the query vector and each of a plurality of statement vectors in a trained AI model. Determining the response may include selecting the statement in the dialogue that is closest to the statement corresponding to the statement vector that matches the query vector. In other words, the processed query can be passed to a matching method that uses a distance metric (cosine similarity) to identify the closest (shortest distance) response present in the trained model. Therefore, the closest response can be the statement in the dialogue that corresponds to the statement vector with the shortest distance to the query vector. Thus, an appropriate response to the user query can be provided.

[0020] The query can be received in a predetermined number of languages; and the response can be determined using an artificial intelligence model corresponding to the language. In other words, the model can be trained in multiple languages ​​to obtain multiple different language models. The response can be determined using a language model corresponding to the language of the query, so that the response can be determined and provided to the user in the same language as the user's response.

[0021] Different language models can be trained on dialogues in the corresponding language. This can be obtained by determining the dialogue from input content corresponding to that language, or it can be obtained by translating the dialogue from another language into the desired language. For example, English input content can be used to determine an English dialogue, which can then be used to train an English language model. Alternatively, the English dialogue can be translated into Dutch to train a Dutch language model, which can be used to determine responses to queries received in Dutch. This translation can be performed by a bilingual / multilingual supervisor, or it can be machine translation. Machine translation can be verified by a bilingual / multilingual supervisor to ensure that the translation is correct. The user can be an expert in the domain of the input content and can verify the translated dialogue to ensure that the translated dialogue complies with regulatory laws. Multiple different language models can be trained from the same dialogue using translation and verification.

[0022] The input content can have a structure comprising multiple sections. Key terms can be extracted from one or more sections. Key phrases can be extracted from one or more sections. Key terms and key phrases for a given section can be stored based on the identifier of that given section. Therefore, the input content can be provided with sections and section identifiers, which can be used to store the extracted key terms and key phrases, such that the dialogue has sections and section identifiers corresponding to the input content. Thus, any structure of the input content can be maintained in the extracted and transformed content and transmitted to the dialogue. The section identifier can be a section title and / or a label associated with the section.

[0023] The input content can have a structure comprising multiple sections. Each section can include a section identifier. Key terms can be extracted from one or more sections relative to the section identifier. Key phrases can be extracted from one or more sections relative to the section identifier. Therefore, section identifiers can be used to extract key terms and / or key phrases corresponding to the section identifier.

[0024] The verification may include one or more of the following: receiving approval for extracted key terms; receiving modification for extracted key terms; receiving rejection for extracted key terms; receiving additions to extracted key terms; receiving additional key terms; receiving approval for extracted key phrases; receiving modification for extracted key phrases; receiving rejection for extracted key phrases; receiving additions to extracted key phrases; and receiving additional key phrases. Therefore, the supervisor can edit, add, or remove extracted key terms and / or phrases to enhance the dialogue and ensure it accurately reflects the input. This, in turn, can make AI models trained using the dialogue more accurate and provide users with more accurate information to answer user queries.

[0025] The method may include: in response to receiving a request from the supervisor, translating the input content and one or more parts of the dialogue into a language from a predetermined number of languages. Therefore, the dialogue can be translated into multiple different languages. The dialogue can be translated at any stage of processing, such as before preprocessing, allowing preprocessing of the dialogue to be performed in any predetermined language. The translation can be performed by a third-party machine translation service and can be verified by a bilingual / multilingual user. Additionally, the input content and one or more parts of the dialogue can be provided in any language from the predetermined number of languages.

[0026] The conversion may include: converting the input content into a markup language; and further converting the markup language into a data exchange format. The markup language may be Extensible Markup Language (XML). The data exchange format may be JavaScript Object Notation (JSON).

[0027] The method includes identifying key terms for extraction by determining the term frequency of terms in the input content and determining the inverse document frequency of terms in the input content. The method also includes identifying key phrases for extraction by: splitting the input content into multiple phrases using a predetermined list of stop words; scoring each of the multiple phrases based on the term frequency and importance of the key phrases; and extracting the phrase in response to a score exceeding a predetermined threshold.

[0028] The method may include displaying extracted key terms and key phrases on a user interface. Verification can be received from a supervisor via the user interface. The user interface may be software provided on a display. The software may be a virtual communicator framework. Therefore, the extracted key terms and phrases can be presented to the verifier (supervisor) on the display, and verification can be performed using an input device (e.g., a touchscreen, computer mouse, and keyboard). The extracted terms, phrases, and dialogue may be displayed on a JSON viewer (e.g., a content creation suite or JSON Lint) to visually present the dialogue to the supervisor.

[0029] Input content can be one or more of the following: user manuals; service manuals; instruction manuals; and knowledge bases. Supervisors can be one or more of the following: clinicians; healthcare professionals; hospital technicians; and service engineers. Input content can be provided in file formats such as PDF, Word, and HTML. Input content can include text; tables; images; or any combination thereof. Medical device documentation can be documentation used in devices used in the medical / clinical / healthcare field or documentation associated with devices used in the medical / clinical / healthcare field.

[0030] The extracted key terms and phrases can correspond to the topics of the input content and can be identified as relevant to the content. Key terms can be extracted using a term frequency-inverse document frequency algorithm. Key phrases can be extracted using a Fast Automatic Keyword Extraction (RAKE) algorithm. The dialogue can also be referred to as a vocabulary.

[0031] According to an embodiment of the second aspect, an apparatus is provided configured to structure content for training an artificial intelligence model, the apparatus including one or more processors and a memory, the one or more processors being configured to: receive input content associated with a medical device document; convert the input content into a data exchange format; extract a plurality of key terms from the converted input content; extract a plurality of key phrases from the converted input content; receive verification of the key terms and the key phrases from a supervisor; and construct a dialogue for training the artificial intelligence model based on at least some of the verified key terms and verified key phrases, wherein the dialogue includes a series of statements.

[0032] According to an embodiment of the third aspect, a computer program is provided that, when run, executes a computer-implemented method for structuring content used to train an artificial intelligence model, the method comprising: receiving input content associated with a medical device document; converting the input content into a data exchange format; extracting a plurality of key terms from the converted input content; extracting a plurality of key phrases from the converted input content; receiving verification of the key terms and key phrases from a supervisor; and constructing a dialogue for training the artificial intelligence model based on at least some of the verified key terms and verified key phrases, wherein the dialogue comprises a series of statements.

[0033] Features and sub-features in terms of methods and computer programs can be applied to the apparatus, and vice versa.

[0034] According to an embodiment of a fourth aspect of the present invention, a non-transient computer-readable medium storing a computer program as described above is provided.

[0035] An apparatus or computer program according to a preferred embodiment of the invention may include any combination of methodological aspects. Methods or computer programs according to other embodiments may be described as computer-implemented because they require processing and memory capabilities.

[0036] The apparatus according to a preferred embodiment is described as being configured or arranged to, or simply "for," perform certain functions. Such configuration or arrangement can be achieved using hardware, middleware, or any other suitable system. In a preferred embodiment, the configuration or arrangement is software-based.

[0037] Therefore, according to one aspect, a program is provided that, when loaded onto at least one computer, configures the computer as an apparatus as defined by any of the foregoing means or any combination thereof.

[0038] According to another aspect, a program is provided that, when loaded onto the at least one computer, configures the at least one computer to perform method steps as defined by any of the foregoing means or any combination thereof.

[0039] Typically, a computer may include elements listed as being configured or arranged to provide defined functions. For example, the computer may include memory, processing, and network interfaces.

[0040] This invention can be implemented in digital electronic circuits, or in computer hardware, firmware, software, or a combination thereof. This invention can be implemented as a computer program or computer program product, i.e., a computer program tangibly embodied in a non-transient information carrier (e.g., in a machine-readable storage device or in a propagating signal) for use by one or more hardware modules to execute or control the operation of one or more hardware modules.

[0041] A computer program can be a standalone program, a part of a computer program, or more than one computer program, and can be written in any programming language (including compiled or interpreted languages), and can be deployed in any form (including as a standalone program or as a module, component, subroutine, or other unit suitable for use in a data processing environment). A computer program can be deployed to execute on a single module, at a single location, or distributed across multiple locations and interconnected by a communication network.

[0042] The method steps of this invention can be executed by one or more programmable processors running a computer program to perform the functions of this invention by manipulating input data and generating output. The apparatus of this invention can be implemented as programmable hardware or special-purpose logic circuitry, including, for example, FPGAs (Field-Programmable Gate Arrays) or ASICs (Application-Specific Integrated Circuits).

[0043] As an example, processors suitable for running computer programs include both general-purpose microprocessors and special-purpose microprocessors, as well as any one or more processors in any kind of digital computer. Typically, a processor receives instructions and data from read-only memory or random access memory, or both. The fundamental element of a computer is a processor coupled to one or more memory devices for storing instructions and data, used for executing those instructions.

[0044] The invention has been described with reference to specific embodiments. Other embodiments are within the scope of the following claims. For example, the steps of the invention can be performed in a different order and still achieve the desired results.

[0045] The elements of this invention have been described using the terms "memory," "processor," etc. Those skilled in the art will understand that these terms and their equivalents can refer to parts of a system that are spatially separated but combined to serve the defined functions. Similarly, the same physical parts of the system can provide two or more of the defined functions.

[0046] For example, the same memory and / or processor can be used to implement separately defined modules where appropriate. Attached Figure Description

[0047] Exemplary embodiments will now be described by way of example only with reference to the following figures, wherein:

[0048] Figure 1 This is a flowchart of a method according to a general embodiment of an aspect of the present invention;

[0049] Figure 2 This is a block diagram of the main system components according to a general embodiment of an aspect of the present invention;

[0050] Figure 3 This is a block diagram of a knowledge management approach according to an embodiment of an aspect of the present invention;

[0051] Figure 4 This is a workflow of stages in a knowledge management process according to an embodiment of an aspect of the present invention;

[0052] Figure 5 This is an example view of an ultrasound user manual in PDF format;

[0053] Figure 6 This is an exemplary view of the dialogue flow within the content creation suite of the Virtual Communicator framework;

[0054] Figure 7 This is another exemplary view of the dialogue flow in the content creation suite of the Virtual Communicator framework;

[0055] Figure 8 This is an exemplary view of ultrasound user manual data shown in the content creation suite of the Virtual Communicator Framework;

[0056] Figure 9 This is a block diagram of a training model according to an embodiment of an aspect of the present invention;

[0057] Figure 10 This is a block diagram of the training phase for a multilingual route for Dutch, according to an embodiment of an aspect of the present invention.

[0058] Figure 11 This is an exemplary view of a model trained on expanded and validated ultrasound user manual data for answering user questions, according to an embodiment of an aspect of the present invention.

[0059] Figure 12 This is a block diagram of the deployment phase of a multilingual route according to an embodiment of an aspect of the present invention;

[0060] Figure 13 This is a flowchart of a process for creating a language model according to an embodiment of an aspect of the present invention; and

[0061] Figure 14 This is a hardware schematic diagram illustrating hardware used to implement embodiments of the present invention. Detailed Implementation

[0062] Embodiments in various aspects can provide methods, apparatus, computer programs, and systems for automating the structuring process of documents (input content). The structured document includes verification performed by an individual with appropriate knowledge and / or qualifications related to the input content. The structured document can be further processed to generate artificial intelligence (AI) knowledge models. Any structure of the original document (e.g., sections, chapters, etc.) can be preserved such that responses provided by the AI ​​system are similar to those used to maintain regulatory approval. Furthermore, interconnection between chatbots and these AI knowledge models can be provided, enabling the AI ​​knowledge models to be invoked for specific topics / questions based on context.

[0063] The literature mentions systems that allow documents (such as Word documents) to be converted into markup languages ​​(such as Extensible Markup Language (XML) format). This allows users to edit XML markup and document management solutions to manage version control. However, these systems lack domain expert input at critical stages. They also cannot handle tables, complex images, or detailed descriptions in a step-by-step manner, or control the text scope of answers in QA systems, or link disjoint paragraphs (partial answer extraction, dependencies), etc.

[0064] Embodiments in various aspects may also provide methods, apparatus, computer programs, and systems for using word embeddings and language models for processing text in the corresponding local language. This method can be used in Philips chatbots. Philips has several medical, consumer, and personal health products on the market that involve patient / customer engagement / customer service. Chatbots can deliver many of these interactions.

[0065] Multilingual capabilities in conversational chatbots can be highly beneficial, as they allow for the creation and deployment of chatbots for applications in different countries and markets to cater to new customer segments and their diverse language needs. Offering multiple language options in chatbots provides opportunities to redesign the user experience in a specific market and engage with different regions in different ways. This focus on targeting allows chatbot designers to create bots that are more engaging and therefore more effective for specific cultures or regions.

[0066] More effective chatbots mean they can answer user queries more accurately and efficiently. This reduces the number of interactions required between the user and the chatbot, thereby reducing the communication needed to and from the chatbot and improving computer performance. Furthermore, users can quickly receive answers to their queries and continue operating devices, such as medical equipment, and thus, improved chatbot systems can alter user behavior.

[0067] Furthermore, current methods for handling multilingual natural language processing (NLP) involve translating back and forth between English text and the native language using translation algorithms. This is because the NLP approach for English is more mature than for other languages. To process the native language text, it is first translated into English using any translation service, and then processing is performed on the English text. This can be problematic because it introduces a dependency on the translation service, and the context of the native language may be lost during translation, thus leading to errors in the processing.

[0068] Embodiments in various aspects may provide one or more of the following:

[0069] It can convert unstructured and regulated unstructured documents for processing by AI systems such as chatbots and QA systems.

[0070] It can provide processes for handling tables, descriptions, and images in mixed-modal / multimodal formats.

[0071] The QA system can provide answers within a regulatory-approved document structure.

[0072] Automated routes can also allow human domain experts to input and review the processing, thereby ensuring the effectiveness of the processing.

[0073] It can provide knowledge models that can be dynamically inserted into chatbots for specific contexts.

[0074] Multilingual bots can be fundamentally created, where routes can be created and trained in specific languages ​​to reduce reliance on translation functions for every query provided by the user.

[0075] The robot can also act as a multilingual agent, seamlessly switching between languages ​​in an intermediate conversation.

[0076] Figure 1 A flowchart illustrating a computer-implemented method for structuring content for training an artificial intelligence model, representing a general embodiment of an aspect of the invention, is shown. First, in step S11, input content associated with a medical device document is received. For example, the content may be received via a network from a remote device such as a server, or from a storage medium connected to a computer. Then, in step S12, the input content is converted to a data exchange format. Next, in step S13, a plurality of key terms are extracted from the converted input content, and in S14, a plurality of key phrases are also extracted from the converted input content. In step S15, verification of the key terms and key phrases is received from a supervisor. Finally, in step S16, a dialogue for training the artificial intelligence model is constructed based on at least some of the verified key terms and verified key phrases. The dialogue comprises a series of statements.

[0077] Figure 2 A block diagram illustrating the information flow of the main system components in access device 20 is shown. Input content is received by processor 21 and converted into a data exchange format to produce converted input content. The converted input content is processed by processor 22 (which may be the same processor as processor 21) to extract multiple key terms and key phrases. Validation of the extracted key terms and phrases is received from a supervisor, and a dialogue is constructed based on some or all of the validated key terms and key phrases, wherein this processing is performed by processor 23 (which may be the same as processor 21 and / or 22).

[0078] Therefore, embodiments of various aspects can provide a method for converting any unstructured document into a structured document so that it can be provided as a dialogue flow or used to build a model to be used in a question-answering (QA) system. The computer receives input instructions from an individual acting as a supervisor to verify the dialogue flow and ensure the legitimacy of the extracted terms constituting the dialogue. The method includes different blocks that can be combined for: 1) topic extraction; 2) phrase extraction; 3) visual methods that allow for augmentation of the topic model; and 4) models including knowledge management routes that allow for data submission for training the QA system.

[0079] Figure 3 The main blocks of a process according to one embodiment are shown. These blocks are: user manual data 31; topic extraction 32; phrase extraction 33; a visual method 34 allowing for the augmentation of the topic model; and a model 35 allowing for the submission of data for training the QA system. These blocks can be combined in a knowledge management roadmap. The knowledge ingestion roadmap can transform unstructured documents into structured and augmented user manual data, which can be used to build a knowledge model (AI model) for the QA system.

[0080] Figure 3 The user manual data 31 shown corresponds to input content associated with medical device documentation. That is, medical device documentation can be a user manual for the medical device or similar related documents in the medical / healthcare field. Software / system documentation written as user and service manuals is typically in PDF / text format and is usually unstructured or semi-structured. For chatbots that interact with users or answer queries, the information needs to be in a structured format, as a dialogue flow or question-and-answer pair. The complete workflow for the knowledge management roadmap is organized into the various stages detailed below. Figure 4 The document provides an overview of the different stages of the workflow.

[0081] In the first stage of the route, input content is received. At box 411, the input content can be a PDF version of a user manual document, which is then converted into text XML format along with images at box 412. At box 413, this XML document is converted into an equivalent JSON format via a knowledge ingestion block. Data from the PDF version is converted into a hierarchical structure of topics, subtopics, and content, maintaining the same order as in the original format. In addition to PDF files, any structured data format, such as HTML pages and Word documents, is also supported.

[0082] In the second stage, topic enhancement is performed at box 421 by extracting key terms and key phrases, and then the dialogue flow is created at box 422 using the key terms and key phrases. The dialogue flow can be viewed in a JSON viewer such as a knowledge authoring suite, allowing the supervisor to easily review the dialogue. In the third stage, the supervisor (knowledge author) edits and validates the content of the dialogue at box 431 and can expand / supplement the dialogue using a structured knowledge base 432. Finally, in the fourth stage, the validated dialogue is used to build a model at box 441. The main blocks of this invention comprise the stages of this workflow, which are described in detail below.

[0083] The illustrations of all the different blocks according to an embodiment of an aspect of the invention are shown using examples from an ultrasound user manual. Figure 5 This is an example view of an ultrasound user manual in PDF format. Figure 5 The ultrasound user manual PDF shown was converted to XML and then to JSON, in which the topics, subtopics, and content hierarchy were maintained.

[0084] In the topic extraction block, JSON-formatted data is used as input. The content of each paragraph is used for keyword (key topic) extraction. This stage is used to capture topic keywords that are not yet captured in the titles but are relevant to the content. These keywords / key topics are then appended to the topic titles available in the user manual. In this stage, algorithms such as TF-IDF can be used to derive keywords or key topics from the content. Compared to other topic extraction algorithms, algorithms such as TF-IDF offer advantages in simplicity, speed, and efficiency.

[0085] The TF-IDF algorithm can be used with paragraphs from a given portion of the input content, as well as paragraphs from the rest of the document (input content), to identify relatively important words within the current content under a given topic. The algorithm uses the term frequency and inverse document frequency of a word to determine its importance. TF-IDF values ​​are calculated for all words, and these scores are used as weights. Higher numerical weight values ​​indicate rarer terms, while lower weight values ​​indicate more common terms.

[0086] As mentioned above, tags (key terms and key phrases) can be extracted from the content under sections of the input, such as chapters or subsections. These tags are added along with section titles (identifiers) to expand them. However, extraction can also be performed on input that has not been broken down into sections and for which no section titles have been provided. Without titles, tag extraction can be performed at any granularity (sentence level, paragraph level, document level, etc.).

[0087] Next, in the phrase extraction block, phrases are extracted from each paragraph of the input content. This block extracts key phrases of 3 to 5 words in length used in the content. This helps in identifying content using key phrases. When users / customers query the system using these phrases or any of the semantically similar phrases, the content with the answer can be easily identified. The key phrases extracted in this stage are also added to the title and topic keywords extracted in the previous stage.

[0088] Key phrases can be extracted using the Fast Automatic Keyword Extraction (RAKE) algorithm. The RAKE algorithm uses a list of standard stop words and some custom stop words to break sentences down into keyword phrases. Content under a topic or subtopic is broken down into keyword phrases using the stop word list. These keyword phrases are then scored based on word frequency and importance. The calculated scores of the keyword phrases are used to rank the phrases. Finally, only phrases with scores exceeding a threshold (such as 4.0) are selected.

[0089] Therefore, keywords (terms) and key phrases are extracted from the content using TF-IDF and RAKE algorithms and added to topic nodes. These nodes can be provided based on the section titles of the input content.

[0090] The next block is the visual representation block. In this block, the user manual data, augmented with topic keywords and phrases, is visually represented in the format of topics, subtopics, and content nodes. This allows knowledge authors (supervisors) to easily view the content and validate the augmented user manual data. Knowledge authors are users who understand the input content and are able to verify that the extracted terms and phrases correspond to topics. For example, if the input content is a user manual for a medical diagnostic machine, the knowledge author (supervisor) could be a qualified technician operating the machine, or a medical professional who understands the machine's diagnostic methods and the potential physiological considerations associated with those methods. Knowledge authors can further augment the data by adding or editing individual topic or content nodes, or by removing topic keywords that may be unsuitable and / or unnecessary for model training. The output of this stage is augmented and validated data.

[0091] A Virtual Communicator Framework (VCF) has been developed, comprising building blocks that, when combined, enable the creation of highly engaged and dynamic multimodal dialogue flows for chatbot deployment in different languages. The VCF building blocks are a content creation suite and a knowledge ingestion route, both of which offer multilingual support.

[0092] Figure 6 and Figure 7 The content creation suite block of the Virtual Communicator framework shown allows users to create, visualize, test, and manage dialogue flow scripts for chatbot deployment. The tool features a highly user-friendly tree-based visualization of the dialogue flow scripts, conforming to the Philips User Interface Guidelines. This allows content writers to focus more effectively on the dialogue content. The dialogue can be best viewed and edited using the VCF content creation suite, but can also be viewed and edited using any general-purpose JSON viewer such as JSON Lint.

[0093] The knowledge ingestion block of the virtual communicator framework allows unstructured documents to be ingested into the framework and transformed into a structured knowledge model that can be used in question-answering systems. The approach follows a structured methodology to make the process as general as possible, enabling it to be applied to as many document types as possible.

[0094] The multilingual feature of the NLP route in the VCF framework ensures that dialogue flow scripts created in one of the supported languages ​​are available and executable in all supported languages ​​without any data loss. One embodiment provides a system and method for implementing this multilingual feature within the VCF framework. Languages ​​supported using the Natural Language Processing (NLP) route may include English, Dutch, German, French, Spanish, Russian, Chinese, Arabic, Hindi, Portuguese, and Danish.

[0095] The Virtual Communicator Framework (VCF) enables the creation of highly engaged and dynamic multimodal dialogue flows for chatbot deployments in different languages. The two main building blocks of VCF are the content creation suite and the knowledge ingestion route, both of which support multiple languages.

[0096] The framework (VCF) follows a flexible architecture that allows services and features to be added / used based on different use cases. Figure 6 The VCF content creation suite blocks shown allow users to create, visualize, test, and manage conversational flows that can be used for chatbot deployment. The tool provides a highly user-friendly, tree-based visualization of conversations. This allows content writers to focus more effectively on the conversational content. The framework can be used to link to QA and knowledge systems via, for example, REST services.

[0097] The user manual is converted to a content creation suite-compatible format and is accessible to knowledge authors (supervisors) for adding, removing, or expanding any topic or content node. In other words, supervisors can validate and expand the content by adding domain terms / phrases or target terms / phrases to sections. Therefore, the knowledge author's input ensures the validity of the extracted terms and phrases and improves the resulting dialogue.

[0098] Figure 8 This shows an exemplary view of the Ultrasonic User Manual represented in the Content Authoring Suite. All the main topic headings of the user manual can be viewed in the left panel. Here, the main topic "Using the System" is selected and being viewed. The subtopic headings "Monitor Adjustment" and "Positioning the Monitor" are displayed, with the corresponding content nodes below them. The right panel shows the selected node "Positioning the Monitor," which has been enhanced using the terms "Adjusting the Monitor's Position" and "Tilt the Monitor" using topic enhancement and phrase enhancement blocks.

[0099] The next block is vocabulary building for model training. In this final block of the workflow, the vocabulary (dialogues) is built upon the validated data from the user manual. As mentioned above, supervisors can validate and augment the dialogue flow within the content creation suite. For example, supervisors can add synonyms and / or edit the dialogue. The dialogue can be provided as a dialogue flow comprising a series of statements and can then be further used to train the model. Conversely, the dialogue flow can also be used to create chatbots that may not require training.

[0100] The content can then be submitted for training. Here, the algorithm can be used for preprocessing, which includes sub-processes such as tokenization, stop word removal, lexicalization, and punctuation removal. Figure 9 A flowchart illustrating the process of training a dialogue-based model is shown. Figure 9 This includes receiving the dialogue script at box 91, performing NLP processing at box 92, training the language model at box 93, and deploying the model for user queries at box 94.

[0101] The dialogue can be preprocessed first and further expanded by supplementing it with additional relevant terminology. Preprocessing can be performed in every language supported by the NLP route, and the preprocessing block includes sub-blocks for cleaning, annotating, and standardizing the dialogue script. This is followed by a thesaurus block in the route, which is used to augment the training corpus with alternative texts for the chat text in the dialogue flow script.

[0102] General text corpora (such as Text8 and Brown's General Corpus) can also be used to supplement the vocabulary after preprocessing the input content. Additionally, some keywords or domain-specific terms that may be used in the user manual (input content) but are not available as parts of the vector embeddings are classified as out-of-vocabulary (OOV) or domain-related terms. Instead of ignoring or excluding these domain terms (which would result in loss of information and semantics), vocabulary building blocks can generate vector embeddings for these OOV or domain-related terms. The OOV and domain-related terms for a given document (input document) can be predetermined and provided with information about the document.

[0103] During the training phase, the constructed dialogues are preprocessed, and language models corresponding to the dialogues are created. A dialogue consists of a series of statements. A dialogue can be referred to as a dialogue flow script, which is a set of statements in a script used to guide the user through a dialogue with the chatbot to resolve a specific problem or a set of questions.

[0104] Figure 10 The training phase block in the illustrated route is for the Dutch language, and similar routes have been created for all languages ​​supported by the NLP route. Figure 10 In the process, Dutch text is received in box 101, cleaned, annotated, and normalized in preprocessing box 102, the vocabulary is enhanced in box 103, and the model is built in box 104. The content creation suite enables content authors to create detailed dialogue flow scripts. Each statement (single / multiple sentences) within this flow represents the user's intent.

[0105] The initial blocks in the training phase (which reside within the content creation suite) facilitate the creation of dialogue flow scripts in any supported language, or the translation of dialogues from one language to another using third-party translation services. As mentioned above, the dialogue flow scripts can be visualized within the content creation suite. This allows bilingual or multilingual authors to validate their content before initiating the training process, ensuring its effectiveness complies with regulatory standards.

[0106] Once the vocabulary has been built and preprocessed, training of the Word2Vec model can begin. Language models are built for the dialogue flow of each supported language using word vector embeddings. Building a language model (AI model) can include the following steps:

[0107] Each sentence (statement) in the text content (dialogue) is broken down into words.

[0108] For each word, multiply the corresponding word embedding vector in the target language by its corresponding TF-IDF score.

[0109] Then, these vectors are averaged to obtain sentence-level vectors (statement vectors).

[0110] All these sentence-level vectors constitute the target language model for the text content.

[0111] Build and store such models for each language required, and use the same models to respond to user queries during the deployment phase.

[0112] Table 1 below shows the vocabulary size of the word embeddings in each language. The large vocabulary size provides sufficient coverage of word embeddings in these languages.

[0113]

[0114]

[0115] Table 1: Vocabulary Sizes for Embedding in Various Languages

[0116] A neural network (model) with a single hidden layer is trained on a vocabulary to predict the current word based on context. The goal is to learn the weights of the hidden layer. These weights are essentially word vectors we are trying to learn. The resulting learned vectors are embeddings—features describing the target word. These embeddings are stored as the trained model. This trained model is ready for any question-answering system.

[0117] A Word2Vec vector embedding model is trained on a vocabulary created from the user manual content, and the trained model is used to answer user queries. Figure 11 An example is shown using a model trained on expanded and validated ultrasound user manual data to answer customer questions. Users can interact with the model built on the user manual data to obtain answers to any product-related queries. This can be referred to as the deployment phase.

[0118] exist Figure 12 The diagram illustrates the deployment phase blocks of the route. Deploying a route accepts user queries in any of the supported languages. At box 121, these user queries in the specific language are preprocessed using the corresponding language route. At box 122, the intent engine uses the model built at box 123 to determine the intent of the query. Finally, the response to the query is retrieved based on the intent at box 124 and served to the user.

[0119] Figure 13An example of language model creation for a dialogue in a script containing the Dutch text "My device has a problem" is shown. A query is received at step S131, and preprocessing is performed at steps S132 and S133. Specifically, tokenization and stop word removal are performed on the query. The preprocessed terms are then converted to a vector space at step S134, and the sentence vector for the query is obtained at step S135 by averaging the individual word vectors.

[0120] Therefore, during the deployment phase, queries are received and their intent is determined, enabling an appropriate response to be identified and provided to the user. The intent engine:

[0121] Use an appropriate language model to transform the preprocessed user query into sentence vectors in the same way described in the training phase.

[0122] The cosine distance score between the user query vector and the trained dialogue level vector (the statement vectors of the trained model) is then calculated to identify the user's intent. The chatbot responds with the next statement based on the identified intent in the dialogue flow script.

[0123] Therefore, the preprocessed query is passed to the matching method. This method then uses a distance metric (cosine similarity) to identify the closest response present in the trained model.

[0124] Therefore, documents unstructured for AI processing can be structured to define a dialogue flow, and the dialogue can then be used to train a model to determine responses to user queries. The constructed dialogue can be self-contained and regulatory-approved for specific queries from the medical device corresponding to the input content. Thus, documents can be utilized by AI chatbot / QA systems without requiring manual processing of the input documents. The definition of the dialogue is automatic and can be enhanced by input from the user (supervisor) to validate and expand the dialogue. This processing can be performed in any supported language without relying on external translation, such as machine translation.

[0125] Dialogue can then be used to develop language models (AI models) in any supported language that can be deployed in chatbot / QA systems. Users can provide queries to the AI ​​model, and the queries can be preprocessed using the same preprocessing methods used to train the model. The model and the preprocessed queries can then be used to determine the response to the query from the input. The query and response process can also be performed in any supported language.

[0126] Therefore, the system allows for individual verification and enhancement of the dialogue, while also allowing users to receive accurate responses to queries in an effective manner. The dialogue and response are derived from the input content.

[0127] Figure 14 This is a block diagram of a computing device that can implement the present invention, such as a server containing resources suitable for language and AI processing, and the computing device can be used to implement methods for structuring content for training artificial intelligence models. The computing device includes a processor 993 and a memory 994. Optionally, the computing device also includes a network interface 997 for communicating with other computing devices (e.g., other computing devices according to embodiments of the present invention).

[0128] For example, embodiments may consist of a network of such computing devices. Optionally, the computing device may also include one or more input mechanisms (such as a keyboard and mouse 996) and display units (such as one or more monitors 995) for user input, such as verification / editing of key terms or key phrases. The display unit may show a representation of data stored by the computing device, such as a dialogue flow, a trained model, a chatbot, or a QA system or VCF content creation suite. The display unit 995 may also display a cursor, dialog boxes, and a screen, enabling interaction between the user and programs and data stored on the computing device. The input mechanisms 996 allow the user to input data and instructions into the computing device. Components may be connected to each other via a bus 992.

[0129] Memory 994 may include a computer-readable medium, which can refer to a single or multiple media (e.g., a centralized or distributed database and / or associated caches and servers) configured to carry computer-executable instructions or have data structures stored thereon. Computer-executable instructions may include, for example, instructions and data accessible by a general-purpose computer, a special-purpose computer, or a special-purpose processing device (e.g., one or more processors) and causing the general-purpose computer, special-purpose computer, or special-purpose processing device (e.g., one or more processors) to perform one or more functions or operations. Therefore, the term "computer-readable storage medium" may also include any medium capable of storing, encoding, or carrying a set of instructions for machine execution and causing the machine to perform any one or more methods of this disclosure. Thus, the term "computer-readable storage medium" can be considered to include, but is not limited to, solid-state memory, optical media, and magnetic media. By way of example and not limitation, such a computer-readable medium may include non-transient computer-readable storage media, including random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), optical disc read-only memory (CD-ROM) or other optical disc storage, disk storage or other magnetic storage devices, and flash memory devices (e.g., solid-state memory devices).

[0130] The processor 993 is configured to control a computing device and perform processing operations, such as executing code stored in memory to implement various functions described herein and in the claims. Such processing operations include receiving input content that can be associated with a medical device document; converting the input content into a data exchange format; extracting a plurality of key terms from the converted input content; extracting a plurality of key phrases from the converted input content; receiving verification of the key terms and key phrases from a supervisor; and constructing a dialogue for training an artificial intelligence model based on at least some of the verified key terms and verified key phrases.

[0131] Memory 994 stores data read and written by processor 993, such as input (e.g., input content), intermediate results (e.g., extracted key terms and phrases, and sentence vectors), and the results of the aforementioned processes (e.g., dialogue and training models). As described herein, the processor may include one or more general-purpose processing devices, such as microprocessors, central processing units, etc. The processor may include complex instruction set computing (CISC) microprocessors, reduced instruction set computing (RISC) microprocessors, very long instruction word (VLIW) microprocessors, or processors implementing other instruction sets or combinations of instruction sets. The processor may also include one or more special-purpose processing devices, such as application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), network processors, etc. In one or more embodiments, the processor is configured to execute instructions for performing the operations and steps discussed herein.

[0132] The network interface (Network I / F) 997 can connect to a network such as the Internet and can connect to other such computing devices via the network. The Network I / F 997 can control data input from / output to other devices via the network. Other peripheral devices such as microphones, speakers, printers, power supply units, fans, enclosures, scanners, trackballs, etc., can be included in the computing device.

[0133] The method embodying the present invention can be used in, for example... Figure 14 It executes on the computing device shown. Such a computing device does not need to have Figure 14 Each component is shown, and may be composed of a subset of these components. The method embodying the invention can be performed by a single computing device communicating with one or more data storage servers via a network. The computing device may be the data storage device itself that stores input content before and after processing and thus stores, for example, dialogues and / or training models.

[0134] The methods embodying this invention can be performed by multiple computing devices operating collaboratively with each other. One or more of these computing devices may be data storage servers storing at least a portion of the AI ​​model. Alternatively, other hardware arrangements, such as laptops, iPads, and tablet PCs, may be provided. The software used to perform the methods of embodiments of this invention, along with input content and any other required files, can be downloaded, for example, via a network such as the Internet or using removable media. Any dialogue or training model can be stored, written to removable media, or downloaded via a network.

[0135] The embodiments of this invention can be applied to any field that requires the construction of content for AI processing. The embodiments of this invention are preferably applied to the medical and healthcare fields.

[0136] Artificial neural networks are widely used in so-called "machine learning" to perform pattern matching and diagnostic processes. A typical artificial neural network has a three-layer structure with an input layer, hidden or processing layers, and an output layer. At the input layer, observations are fed into the network; at the hidden or processing layers, further processing operations are performed on the information received from the input layer; and at the output layer, an output signal is generated based on the information received from the processing layer. The precise structure of an artificial neural network is unrestricted, as is the specific function of its layers.

[0137] A suitable neural network system may include a training processor that uses test data and annotation data to generate a training model for the AI ​​system, which can be accessed by the AI ​​system. A similarity value calculation processor performs the detection.

[0138] Such systems include hardware architectures that can be used to train models using dialogue, such as Figure 14 The hardware architecture is shown (described above). Specifically, processor 993 can execute processing instructions for training the model, determining the intent of a user query, and providing responses and associated processing. One or more storage units (memory) 994 store the processing instructions, the trained model query response, and the dialogue.

[0139] Those skilled in the art, through studying the accompanying drawings, disclosure, and claims, will be able to understand and implement variations of the disclosed embodiments in practice with respect to the principles and techniques described herein. In the claims, the word "comprising" does not exclude other elements or steps, and the words "a" or "an" do not exclude a plurality. A single processor or other unit may implement the functions of several items recited in the claims. Although certain measures are recited in dissimilar dependent claims, this does not imply that combinations of these measures cannot be advantageously used. Computer programs may be stored or distributed on suitable media, such as optical storage media or solid-state media supplied together with or as part of other hardware, but may also be distributed in other forms, such as via the Internet or other wired or wireless telecommunications systems. No reference numerals in the claims should be construed as limiting the scope.

Claims

1. A computer-implemented method for structuring content used to train an artificial intelligence model as a chatbot or question-answering system, the method comprising: Receive (S11) input content associated with a medical device document, wherein the input content has a structure comprising multiple sections, wherein each section includes a title and content; The input content is converted (S12) into a data exchange format; Extract multiple key terms from the transformed input (S13); Extract multiple key phrases from the transformed input (S14); Based on the input content as a representation of the topic node corresponding to the title of the section and the content node corresponding to the content of the section, the supervisor receives (S15) the verification of the key terms and the key phrases; and A dialogue for training the artificial intelligence model is constructed (S16) based on at least some of verified key terms and verified key phrases, wherein the dialogue includes a series of statements, wherein Key terms for extraction of the section are identified by determining the term frequency of terms in the content of the section and the inverse document frequency of terms in the input content; and Key phrases for extraction of the section are identified by: breaking down the content of the section into multiple phrases using a predetermined list of stop words; scoring each of the multiple phrases based on the word frequency and importance of the key phrases; and extracting the phrase in response to a score exceeding a predetermined threshold. Add the key terms and key phrases for the subsection to the topic node to expand the corresponding title.

2. The method according to claim 1, comprising: Preprocess the dialogue, wherein, The preprocessing includes one or more of the following: Clean up the conversation; Comment on the dialogue; and The dialogue is standardized.

3. The method according to claim 2, wherein, Cleaning up the dialogue includes one or more of the following: stop word removal and case sensitivity adjustment; Annotating the dialogue includes one or more of the following: part-of-speech tagging and tokenization; and Standardizing the dialogue includes one or more of the following: stemming and lexicalization.

4. The method according to any one of claims 1-3, comprising: Expanding the dialogue, in which, The expansion includes one or more of the following: Identify and extract terms from a general text corpus associated with one or more of the extracted key terms; Identify and extract phrases from a general text corpus associated with one or more of the extracted key phrases; Identify and extract off-lexicon terms associated with the input content; Identify and extract domain-related terms associated with the input content; and Add off-lexicon terms by providing domain-specific equivalent keywords.

5. The method according to any one of claims 1-3, comprising: The dialogue is used to train the artificial intelligence model, wherein... The training includes: For each of the multiple statements in the dialogue, the statement is broken down into multiple individual words; Determine the word embedding vector for each of the plurality of individual words in the statement; Determine the term frequency-inverse document frequency score for each of the plurality of individual words in the statement; For each of the plurality of individual words, the word embedding vector is multiplied by the corresponding term frequency-inverse document frequency score to obtain a weighted word vector for each of the plurality of individual words for the statement; The average of the weighted word vectors is calculated to obtain the statement vector corresponding to the statement in the dialogue; and Multiple statement vectors corresponding to the multiple statements in the dialogue are aggregated to provide a trained artificial intelligence model.

6. The method according to claim 5, wherein, The artificial intelligence model is trained using a predetermined number of languages; and The language corresponds to the language of the dialogue used to train the artificial intelligence model.

7. The method according to claim 5, further comprising: Receive queries from users; Preprocess the query; Determine the query vector for the query; The intent of the query is identified by comparing the query vector with the statement vector of a trained artificial intelligence model. and The response to the query is determined based on the identified intent.

8. The method according to claim 7, wherein, Identifying the intent includes calculating the cosine distance between the query vector and each of the plurality of statement vectors in the trained artificial intelligence model; and Determining the response includes selecting the statement of the dialogue that is closest to the statement corresponding to the statement vector that matches the query vector.

9. The method according to claim 7, wherein, The query will be received in a predetermined number of languages; and The response is determined using an artificial intelligence model corresponding to the language.

10. The method according to any one of claims 1-3, wherein, The verification includes one or more of the following: Receive approval for the extracted key terms; Receive modifications to the extracted key terms; Accept rejections of extracted key terms; Receive supplementary information on the extracted key terms; Receive additional key terms; Receive approval for the extracted key phrases; Receive modifications to the extracted key phrases; Accept rejections of extracted key phrases; Receive supplementary information on the extracted key phrases; as well as Receive additional key phrases.

11. The method according to any one of claims 1-3, comprising: In response to a request received from the supervisor, the input content and one or more of the dialogue are translated into a predetermined number of languages.

12. An apparatus (20) configured to structure content for training an artificial intelligence model as a chatbot or question-answering system, the apparatus comprising one or more processors (21, 22, 23) and a memory, the one or more processors being configured to: Receive input content associated with medical device documentation, wherein, The input content has a structure comprising multiple sections, wherein each section includes a title and content; Convert the input content into a data exchange format; Extract multiple key terms from the transformed input; Extract multiple key phrases from the transformed input content; Based on the input content as a representation of the topic node corresponding to the title of the section and the content node corresponding to the content of the section, the supervisor receives verification of the key terms and key phrases; and A dialogue for training the artificial intelligence model is constructed based on at least some of verified key terms and verified key phrases, wherein the dialogue comprises a series of statements, wherein... Key terms for extraction of the section are identified by determining the term frequency of terms in the content of the section and the inverse document frequency of terms in the input content; and Key phrases for extraction of the section are identified by: breaking down the content of the section into multiple phrases using a predetermined list of stop words; scoring each of the multiple phrases based on the word frequency and importance of the key phrases; and extracting the phrase in response to a score exceeding a predetermined threshold. Add the key terms and key phrases for the subsection to the topic node to expand the corresponding title.

13. A computer program product comprising a computer program that, when run, performs a computer-implemented method for structuring content for training an artificial intelligence model according to any one of claims 1-11.

14. A non-transient computer-readable medium storing a computer program, which, when run, performs a computer-implemented method for structuring content for training an artificial intelligence model according to any one of claims 1-11.

Citation Information

Patent Citations

  • Systems and methods for chatbot generation

    US20190182382A1