KR102436549B1 - Method and apparatus for automatically generating training dataset for faq and chatbot based on natural language processing using deep learning - Google Patents

Method and apparatus for automatically generating training dataset for faq and chatbot based on natural language processing using deep learning Download PDF

Info

Publication number
KR102436549B1
KR102436549B1 KR1020220089394A KR20220089394A KR102436549B1 KR 102436549 B1 KR102436549 B1 KR 102436549B1 KR 1020220089394 A KR1020220089394 A KR 1020220089394A KR 20220089394 A KR20220089394 A KR 20220089394A KR 102436549 B1 KR102436549 B1 KR 102436549B1
Authority
KR
South Korea
Prior art keywords
data
generating
document data
text
question
Prior art date
Application number
KR1020220089394A
Other languages
Korean (ko)
Inventor
서규현
Original Assignee
(주) 유비커스
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by (주) 유비커스 filed Critical (주) 유비커스
Priority to KR1020220089394A priority Critical patent/KR102436549B1/en
Priority to KR1020220105075A priority patent/KR20240012245A/en
Application granted granted Critical
Publication of KR102436549B1 publication Critical patent/KR102436549B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/338Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/34Browsing; Visualisation therefor
    • G06F16/345Summarisation for human users
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/284Lexical analysis, e.g. tokenisation or collocates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Mathematical Physics (AREA)
  • Databases & Information Systems (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Evolutionary Computation (AREA)
  • Computing Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Molecular Biology (AREA)
  • Machine Translation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Informatics (AREA)

Abstract

In the present specification, a method, in which a Question and Answer (Q&A) generating device generates learning data for frequently asked questions (FAQ) and a chatbot, may include the steps of: collecting and preprocessing document data for automatically generating Q&A data, wherein the document data includes text files related to business regulations; automatically generating, based on the preprocessed document data, the Q&A data by using an artificial intelligence model based on natural language processing, wherein the preprocessed document data includes contents for automatically generating the Q&A data, and the Q&A data includes questions and answers in pairs; and based on the Q&A data, generating learning data for 1) the FAQ and 2) the chatbot. According to the present invention, key answers are automatically extracted and corresponding questions are automatically created.

Description

딥러닝을 이용한 자연어처리 기반의 FAQ 및 챗봇을 위한 학습데이터를 자동으로 생성하기 위한 방법 및 이를 위한 장치 { METHOD AND APPARATUS FOR AUTOMATICALLY GENERATING TRAINING DATASET FOR FAQ AND CHATBOT BASED ON NATURAL LANGUAGE PROCESSING USING DEEP LEARNING }Method and device for automatically generating learning data for FAQ and chatbot based on natural language processing using deep learning

본 명세서는 딥러닝을 이용하여 자연어처리 기반으로 FAQ(Frequently asked questions)와 챗봇(Chatbot)을 위한 학습데이터를 자동으로 생성하기 위한 인공지능 모델의 파이프 라인 및 서비스를 구현하는 방법 및 이를 위한 장치에 관한 것이다.This specification provides a method for implementing a pipeline and service of an artificial intelligence model for automatically generating learning data for frequently asked questions (FAQs) and chatbots based on natural language processing using deep learning and a device for the same it's about

서비스 제공자가 머신러닝 및 딥러닝 기반의 FAQ 작성 및 갱신, 또는 챗봇 및 챗봇빌더 (Chatbot builder) 서비스를 제공하기 위해서는, 사용자가 입력한 자연어 텍스트 데이터를 이해하기 위해 수많은 양의 라벨링(Labeling)된 양질의 학습데이터를 필요로 한다. 예를 들어, 로컬 또는 클라우드 데이터베이스에 축적된 데이터를 통해, 사람이 직접 수작업으로 양질의 학습데이터를 구축하기 위한 과정이 요구된다. In order for service providers to create and update machine learning and deep learning-based FAQs, or to provide chatbot and chatbot builder services, a large amount of labeling is done to understand the natural language text data entered by the user. of learning data. For example, through data accumulated in a local or cloud database, a process for constructing high-quality learning data manually by a person is required.

이러한 학습데이터를 라벨링하는 작업은 서비스 제공자가 주석팀(annotation team)을 보유하고 있지 않는 이상, 쉬운 작업이 아니다. 특히, 데이터베이스의 로우(raw) 데이터, 또는 자사의 업무 규정집 등을 기반으로 챗봇 학습데이터를 구축하는 과정은, annotator가 챗봇 사용자의 예상 질문과 그에 상응하는 답을 수작업으로 입력해야 하기 때문에 시간, 비용, 인력 투입 측면에서 효율적이지 못하다.Labeling such learning data is not an easy task unless the service provider has an annotation team. In particular, the process of building chatbot learning data based on raw data from the database or the company's work rulebook is time-consuming and costly because the annotator must manually input the chatbot user's expected questions and corresponding answers. However, it is not efficient in terms of manpower input.

본 명세서의 목적은 서비스 제공자가 서버에 업로드한 업무 규정집, FAQ 등 기존에 작성된 문서로부터, 자동으로 핵심답변을 추출하고 그에 상응하는 질문을 자동 생성하기 위한 방법 및 이를 위한 장치를 제공하는 것이다.An object of the present specification is to provide a method and an apparatus for automatically extracting key answers from previously prepared documents such as business rules and FAQs uploaded to a server by a service provider and automatically generating a corresponding question.

본 명세서가 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 이하의 명세서의 상세한 설명으로부터 본 명세서가 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problems to be achieved by the present specification are not limited to the technical problems mentioned above, and other technical problems not mentioned are clear to those of ordinary skill in the art to which this specification belongs from the detailed description of the following specification will be able to be understood

본 명세서의 일 양상은, Q&A(Question and Answer) 자동생성 장치가 FAQ(Frequently asked questions) 및 챗봇(Chatbot)을 위한 학습데이터를 생성하는 방법에 있어서, Q&A 데이터를 자동생성하기 위한 문서 데이터를 수집하고, 전처리하는 단계;로서, 상기 문서 데이터는 업무규정과 관련된 텍스트(text) 파일을 포함함; 상기 전처리된 문서 데이터에 근거하여, 자연어처리 기반의 인공지능 모델을 이용하여, 상기 Q&A 데이터를 자동생성하는 단계;로서, 상기 전처리된 문서 데이터는 상기 Q&A 데이터를 자동생성하기 위한 콘텐츠(Contents)를 포함하고, 상기 Q&A 데이터는 질문과 답을 쌍으로 포함함; 상기 Q&A 데이터에 근거하여, 1) 상기 FAQ 및 2) 상기 챗봇을 위한 학습데이터를 생성하는 단계; 를 포함할 수 있다.An aspect of the present specification is a method for automatically generating Q & A (Question and Answer) device to generate learning data for frequently asked questions (FAQ) and chatbot, document data for automatically generating Q & A data is collected and pre-processing; wherein the document data includes a text file related to business rules; Based on the pre-processed document data, automatically generating the Q&A data using a natural language processing-based artificial intelligence model; wherein the pre-processed document data includes content for automatically generating the Q&A data. wherein the Q&A data includes a question and an answer in pairs; Based on the Q&A data, 1) generating the FAQ and 2) learning data for the chatbot; may include.

또한, 상기 Q&A 데이터가 편집되는 경우, 상기 편집된 Q&A 데이터를 이용하여 상기 인공지능 모델을 재학습시키는 단계; 를 더 포함할 수 있다.In addition, when the Q&A data is edited, re-learning the AI model using the edited Q&A data; may further include.

또한, 상기 문서 데이터를 수집하고, 전처리하는 단계는 상기 문서 데이터의 파일 확장자를 분류하는 단계; 상기 파일 확장자에 근거하여, 상기 문서 데이터의 텍스트를 파싱(parsing)하는 단계; 및 상기 텍스트를 문장 단위로 처리하는 단계; 를 포함할 수 있다.In addition, the collecting and pre-processing of the document data may include: classifying a file extension of the document data; parsing the text of the document data based on the file extension; and processing the text in units of sentences. may include.

또한, 상기 Q&A 데이터를 자동생성하는 단계는 상기 전처리된 문서 데이터를 토큰화하는 단계; 상기 토큰화된 문서 데이터로부터, 요약 문장을 추출하는 단계; 상기 요약 문장에 근거하여, 상기 질문을 생성하는 단계; 및 상기 요약 문장을 상기 답으로하여, 상기 Q&A 데이터를 생성하는 단계;를 포함할 수 있다.In addition, the step of automatically generating the Q&A data may include tokenizing the pre-processed document data; extracting a summary sentence from the tokenized document data; generating the question based on the summary sentence; and generating the Q&A data by using the summary sentence as the answer.

또한, 상기 요약 문장을 추출하는 단계는 하나 이상의 윈도우(window)를 이용할 수 있다.Also, extracting the summary sentence may use one or more windows.

또한, 상기 요약 문장은 상기 전처리된 문서 데이터로부터 핵심이되는 문장 또는 단어를 추출하여, 조합하고, 요약하는 추출 요약(extractive text summarization) 기법에 근거할 수 있다.Also, the summary sentence may be based on an extractive text summarization technique of extracting, combining, and summarizing key sentences or words from the preprocessed document data.

본 명세서의 또 다른 일 양상은 FAQ(Frequently asked questions) 및 챗봇(Chatbot)을 위한 학습데이터를 생성하기 위한 Q&A(Question and Answer) 자동생성 장치에 있어서, 자연어처리 기반의 인공지능 모델이 포함된 메모리; 외부 전자기기와 통신하기 위한 통신부; 및 상기 메모리 및 상기 통신부를 기능적으로 제어하기 위한 프로세서; 를 포함하고, 상기 프로세서는 Q&A 데이터를 자동생성하기 위한 문서 데이터를 수집하고, 전처리하며, 상기 문서 데이터는 업무규정과 관련된 텍스트(text) 파일을 포함하고, 상기 전처리된 문서 데이터에 근거하여, 상기 인공지능 모델을 이용하여, 상기 Q&A 데이터를 자동생성하며, 상기 전처리된 문서 데이터는 상기 Q&A 데이터를 자동생성하기 위한 콘텐츠(Contents)를 포함하고, 상기 Q&A 데이터는 질문과 답을 쌍으로 포함하며, 상기 Q&A 데이터에 근거하여, 1) 상기 FAQ 및 2) 상기 챗봇을 위한 학습데이터를 생성할 수 있다.Another aspect of the present specification is a memory containing a natural language processing-based artificial intelligence model in an automatic Q & A (Question and Answer) generation device for generating learning data for FAQ (Frequently asked questions) and chatbot ; a communication unit for communicating with an external electronic device; and a processor for functionally controlling the memory and the communication unit. Including, the processor collects and pre-processes document data for automatically generating Q&A data, the document data includes a text file related to business rules, and based on the pre-processed document data, the Using an artificial intelligence model, the Q&A data is automatically generated, the pre-processed document data includes contents for automatically generating the Q&A data, and the Q&A data includes a question and an answer in pairs, Based on the Q&A data, 1) the FAQ and 2) learning data for the chatbot may be generated.

본 명세서의 실시예에 따르면, 서비스 제공자가 서버에 업로드한 업무 규정집, FAQ 등 기존에 작성된 문서로부터, 자동으로 핵심답변을 추출하고 그에 상응하는 질문을 자동 생성함으로써, 학습데이터를 구축하는 시간, 비용, 인력 투입 측면에서 생산성과 업무 효율성을 증대시킬 수 있다.According to the embodiment of the present specification, the time and cost of building learning data by automatically extracting key answers from existing documents such as work rules and FAQs uploaded by the service provider to the server and automatically generating corresponding questions , it can increase productivity and work efficiency in terms of manpower input.

본 명세서에서 얻을 수 있는 효과는 이상에서 언급한 효과로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 명세서가 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The effects obtainable in the present specification are not limited to the above-mentioned effects, and other effects not mentioned will be clearly understood by those of ordinary skill in the art to which this specification belongs from the description below. .

도 1은 본 명세서와 관련된 전자 기기를 설명하기 위한 블록도이다.
도 2는 본 명세서의 일 실시예에 따른 AI 장치의 블록도이다.
도 3은 본 명세서에 적용될 수 있는 text-to-text 프레임워크의 예시이다.
도 4는 본 명세서에 적용될 수 있는 Q&A 자동생성 장치의 일 실시예이다.
도 5 및 도 6은 본 명세서에 적용될 수 있는 문서 데이터의 수집 및 전처리의 예시이다.
도 7은 본 명세서가 적용될 수 있는 Q&A 데이터 자동생성의 예시이다.
도 8은 본 명세서가 적용될 수 있는 Q&A 데이터의 수정 및/또는 추가의 예시이다.
도 9는 본명세서가 적용될 수 있는 인공지능 모델 재학습의 예시이다.
도 10은 본 명세서가 적용될 수 있는 FAQ 데이터 및/또는 챗봇의 학습데이터의 예시이다.
본 명세서에 관한 이해를 돕기 위해 상세한 설명의 일부로 포함되는, 첨부 도면은 본 명세서에 대한 실시예를 제공하고, 상세한 설명과 함께 본 명세서의 기술적 특징을 설명한다.
1 is a block diagram illustrating an electronic device related to the present specification.
2 is a block diagram of an AI device according to an embodiment of the present specification.
3 is an example of a text-to-text framework applicable to the present specification.
4 is an embodiment of an automatic Q&A generating apparatus that can be applied to the present specification.
5 and 6 are examples of collection and pre-processing of document data applicable to the present specification.
7 is an example of automatic generation of Q&A data to which this specification can be applied.
8 is an example of modification and/or addition of Q&A data to which this specification may be applied.
9 is an example of artificial intelligence model re-learning to which this specification can be applied.
10 is an example of FAQ data and/or chatbot learning data to which this specification can be applied.
BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are included as a part of the detailed description to help the understanding of the present specification, provide embodiments of the present specification, and together with the detailed description, explain the technical features of the present specification.

이하, 첨부된 도면을 참조하여 본 명세서에 개시된 실시예를 상세히 설명하되, 도면 부호에 관계없이 동일하거나 유사한 구성요소는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 이하의 설명에서 사용되는 구성요소에 대한 접미사 "모듈" 및 "부"는 명세서 작성의 용이함만이 고려되어 부여되거나 혼용되는 것으로서, 그 자체로 서로 구별되는 의미 또는 역할을 갖는 것은 아니다. 또한, 본 명세서에 개시된 실시예를 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 명세서에 개시된 실시예의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 첨부된 도면은 본 명세서에 개시된 실시예를 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 명세서에 개시된 기술적 사상이 제한되지 않으며, 본 명세서의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. Hereinafter, the embodiments disclosed in the present specification will be described in detail with reference to the accompanying drawings, but the same or similar components are assigned the same reference numbers regardless of reference numerals, and redundant description thereof will be omitted. The suffixes "module" and "part" for components used in the following description are given or mixed in consideration of only the ease of writing the specification, and do not have distinct meanings or roles by themselves. In addition, in describing the embodiments disclosed in the present specification, if it is determined that detailed descriptions of related known technologies may obscure the gist of the embodiments disclosed in the present specification, the detailed description thereof will be omitted. In addition, the accompanying drawings are only for easy understanding of the embodiments disclosed in the present specification, and the technical spirit disclosed in this specification is not limited by the accompanying drawings, and all changes included in the spirit and scope of the present specification , should be understood to include equivalents or substitutes.

제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되지는 않는다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다.Terms including ordinal numbers such as first, second, etc. may be used to describe various elements, but the elements are not limited by the terms. The above terms are used only for the purpose of distinguishing one component from another.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.When a component is referred to as being “connected” or “connected” to another component, it may be directly connected or connected to the other component, but it is understood that other components may exist in between. it should be On the other hand, when it is said that a certain element is "directly connected" or "directly connected" to another element, it should be understood that the other element does not exist in the middle.

단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다.The singular expression includes the plural expression unless the context clearly dictates otherwise.

본 출원에서, "포함한다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.In the present application, terms such as “comprises” or “have” are intended to designate that a feature, number, step, operation, component, part, or combination thereof described in the specification exists, but one or more other features It is to be understood that this does not preclude the possibility of the presence or addition of numbers, steps, operations, components, parts, or combinations thereof.

도 1은 본 명세서와 관련된 전자 기기를 설명하기 위한 블록도이다.1 is a block diagram illustrating an electronic device related to the present specification.

상기 전자 기기(100)는 무선 통신부(110), 입력부(120), 센싱부(140), 출력부(150), 인터페이스부(160), 메모리(170), 제어부(180) 및 전원 공급부(190) 등을 포함할 수 있다. 도 1에 도시된 구성요소들은 전자 기기를 구현하는데 있어서 필수적인 것은 아니어서, 본 명세서 상에서 설명되는 전자 기기는 위에서 열거된 구성요소들 보다 많거나, 또는 적은 구성요소들을 가질 수 있다. The electronic device 100 includes a wireless communication unit 110 , an input unit 120 , a sensing unit 140 , an output unit 150 , an interface unit 160 , a memory 170 , a control unit 180 , and a power supply unit 190 . ) and the like. The components shown in FIG. 1 are not essential for implementing the electronic device, and thus the electronic device described herein may have more or fewer components than those listed above.

보다 구체적으로, 상기 구성요소들 중 무선 통신부(110)는, 전자 기기(100)와 무선 통신 시스템 사이, 전자 기기(100)와 다른 전자 기기(100) 사이, 또는 전자 기기(100)와 외부서버 사이의 무선 통신을 가능하게 하는 하나 이상의 모듈을 포함할 수 있다. 또한, 상기 무선 통신부(110)는, 전자 기기(100)를 하나 이상의 네트워크에 연결하는 하나 이상의 모듈을 포함할 수 있다.More specifically, the wireless communication unit 110 among the components, between the electronic device 100 and the wireless communication system, between the electronic device 100 and another electronic device 100, or the electronic device 100 and an external server It may include one or more modules that enable wireless communication between them. Also, the wireless communication unit 110 may include one or more modules for connecting the electronic device 100 to one or more networks.

이러한 무선 통신부(110)는, 방송 수신 모듈(111), 이동통신 모듈(112), 무선 인터넷 모듈(113), 근거리 통신 모듈(114), 위치정보 모듈(115) 중 적어도 하나를 포함할 수 있다.The wireless communication unit 110 may include at least one of a broadcast reception module 111 , a mobile communication module 112 , a wireless Internet module 113 , a short-range communication module 114 , and a location information module 115 . .

입력부(120)는, 영상 신호 입력을 위한 카메라(121) 또는 영상 입력부, 오디오 신호 입력을 위한 마이크로폰(microphone, 122), 또는 오디오 입력부, 사용자로부터 정보를 입력받기 위한 사용자 입력부(123, 예를 들어, 터치키(touch key), 푸시키(mechanical key) 등)를 포함할 수 있다. 입력부(120)에서 수집한 음성 데이터나 이미지 데이터는 분석되어 사용자의 제어명령으로 처리될 수 있다.The input unit 120 includes a camera 121 or an image input unit for inputting an image signal, a microphone 122 or an audio input unit for inputting an audio signal, and a user input unit 123 for receiving information from a user, for example, , a touch key, a push key, etc.). The voice data or image data collected by the input unit 120 may be analyzed and processed as a user's control command.

센싱부(140)는 전자 기기 내 정보, 전자 기기를 둘러싼 주변 환경 정보 및 사용자 정보 중 적어도 하나를 센싱하기 위한 하나 이상의 센서를 포함할 수 있다. 예를 들어, 센싱부(140)는 근접센서(141, proximity sensor), 조도 센서(142, illumination sensor), 터치 센서(touch sensor), 가속도 센서(acceleration sensor), 자기 센서(magnetic sensor), 중력 센서(G-sensor), 자이로스코프 센서(gyroscope sensor), 모션 센서(motion sensor), RGB 센서, 적외선 센서(IR 센서: infrared sensor), 지문인식 센서(finger scan sensor), 초음파 센서(ultrasonic sensor), 광 센서(optical sensor, 예를 들어, 카메라(121 참조)), 마이크로폰(microphone, 122 참조), 배터리 게이지(battery gauge), 환경 센서(예를 들어, 기압계, 습도계, 온도계, 방사능 감지 센서, 열 감지 센서, 가스 감지 센서 등), 화학 센서(예를 들어, 전자 코, 헬스케어 센서, 생체 인식 센서 등) 중 적어도 하나를 포함할 수 있다. 한편, 본 명세서에 개시된 전자 기기는, 이러한 센서들 중 적어도 둘 이상의 센서에서 센싱되는 정보들을 조합하여 활용할 수 있다.The sensing unit 140 may include one or more sensors for sensing at least one of information within the electronic device, surrounding environment information surrounding the electronic device, and user information. For example, the sensing unit 140 may include a proximity sensor 141, an illumination sensor 142, an illumination sensor, a touch sensor, an acceleration sensor, a magnetic sensor, and gravity. Sensor (G-sensor), gyroscope sensor, motion sensor, RGB sensor, infrared sensor (IR sensor: infrared sensor), fingerprint sensor (finger scan sensor), ultrasonic sensor , optical sensors (eg, cameras (see 121)), microphones (see 122), battery gauges, environmental sensors (eg, barometers, hygrometers, thermometers, radiation sensors, It may include at least one of a thermal sensor, a gas sensor, etc.) and a chemical sensor (eg, an electronic nose, a healthcare sensor, a biometric sensor, etc.). Meanwhile, the electronic device disclosed in the present specification may combine and utilize information sensed by at least two or more of these sensors.

출력부(150)는 시각, 청각 또는 촉각 등과 관련된 출력을 발생시키기 위한 것으로, 디스플레이부(151), 음향 출력부(152), 햅팁 모듈(153), 광 출력부(154) 중 적어도 하나를 포함할 수 있다. 디스플레이부(151)는 터치 센서와 상호 레이어 구조를 이루거나 일체형으로 형성됨으로써, 터치 스크린을 구현할 수 있다. 이러한 터치 스크린은, 전자 기기(100)와 사용자 사이의 입력 인터페이스를 제공하는 사용자 입력부(123)로써 기능함과 동시에, 전자 기기(100)와 사용자 사이의 출력 인터페이스를 제공할 수 있다.The output unit 150 is for generating an output related to visual, auditory or tactile sense, and includes at least one of a display unit 151 , a sound output unit 152 , a haptip module 153 , and an optical output unit 154 . can do. The display unit 151 may implement a touch screen by forming a layer structure with the touch sensor or being formed integrally with the touch sensor. Such a touch screen may function as the user input unit 123 providing an input interface between the electronic device 100 and the user, and may provide an output interface between the electronic device 100 and the user.

인터페이스부(160)는 전자 기기(100)에 연결되는 다양한 종류의 외부 기기와의 통로 역할을 수행한다. 이러한 인터페이스부(160)는, 유/무선 헤드셋 포트(port), 외부 충전기 포트(port), 유/무선 데이터 포트(port), 메모리 카드(memory card) 포트, 식별 모듈이 구비된 장치를 연결하는 포트(port), 오디오 I/O(Input/Output) 포트(port), 비디오 I/O(Input/Output) 포트(port), 이어폰 포트(port) 중 적어도 하나를 포함할 수 있다. 전자 기기(100)에서는, 상기 인터페이스부(160)에 외부 기기가 연결되는 것에 대응하여, 연결된 외부 기기와 관련된 적절할 제어를 수행할 수 있다.The interface unit 160 serves as a passage with various types of external devices connected to the electronic device 100 . Such an interface unit 160, a wired / wireless headset port (port), an external charger port (port), a wired / wireless data port (port), a memory card (memory card) port, for connecting a device equipped with an identification module It may include at least one of a port, an audio I/O (Input/Output) port, a video I/O (Input/Output) port, and an earphone port. In response to the connection of the external device to the interface unit 160 , the electronic device 100 may perform appropriate control related to the connected external device.

또한, 메모리(170)는 전자 기기(100)의 다양한 기능을 지원하는 데이터를 저장한다. 메모리(170)는 전자 기기(100)에서 구동되는 다수의 응용 프로그램(application program 또는 애플리케이션(application)), 전자 기기(100)의 동작을 위한 데이터들, 명령어들을 저장할 수 있다. 이러한 응용 프로그램 중 적어도 일부는, 무선 통신을 통해 외부 서버로부터 다운로드 될 수 있다. 또한 이러한 응용 프로그램 중 적어도 일부는, 전자 기기(100)의 기본적인 기능(예를 들어, 전화 착신, 발신 기능, 메시지 수신, 발신 기능)을 위하여 출고 당시부터 전자 기기(100)상에 존재할 수 있다. 한편, 응용 프로그램은, 메모리(170)에 저장되고, 전자 기기(100) 상에 설치되어, 제어부(180)에 의하여 상기 전자 기기의 동작(또는 기능)을 수행하도록 구동될 수 있다.In addition, the memory 170 stores data supporting various functions of the electronic device 100 . The memory 170 may store a plurality of application programs (or applications) driven in the electronic device 100 , data for operation of the electronic device 100 , and commands. At least some of these application programs may be downloaded from an external server through wireless communication. In addition, at least some of these application programs may exist on the electronic device 100 from the time of shipment for basic functions (eg, incoming calls, outgoing functions, message reception, and outgoing functions) of the electronic device 100 . Meanwhile, the application program may be stored in the memory 170 , installed on the electronic device 100 , and driven to perform an operation (or function) of the electronic device by the controller 180 .

제어부(180)는 상기 응용 프로그램과 관련된 동작 외에도, 통상적으로 전자 기기(100)의 전반적인 동작을 제어한다. 제어부(180)는 위에서 살펴본 구성요소들을 통해 입력 또는 출력되는 신호, 데이터, 정보 등을 처리하거나 메모리(170)에 저장된 응용 프로그램을 구동함으로써, 사용자에게 적절한 정보 또는 기능을 제공 또는 처리할 수 있다.In addition to the operation related to the application program, the controller 180 generally controls the overall operation of the electronic device 100 . The controller 180 may provide or process appropriate information or functions to the user by processing signals, data, information, etc. input or output through the above-described components or by driving an application program stored in the memory 170 .

또한, 제어부(180)는 메모리(170)에 저장된 응용 프로그램을 구동하기 위하여, 도 1과 함께 살펴본 구성요소들 중 적어도 일부를 제어할 수 있다. 나아가, 제어부(180)는 상기 응용 프로그램의 구동을 위하여, 전자 기기(100)에 포함된 구성요소들 중 적어도 둘 이상을 서로 조합하여 동작시킬 수 있다.Also, the controller 180 may control at least some of the components discussed with reference to FIG. 1 in order to drive an application program stored in the memory 170 . Furthermore, in order to drive the application program, the controller 180 may operate at least two or more of the components included in the electronic device 100 in combination with each other.

전원공급부(190)는 제어부(180)의 제어 하에서, 외부의 전원, 내부의 전원을 인가받아 전자 기기(100)에 포함된 각 구성요소들에 전원을 공급한다. 이러한 전원공급부(190)는 배터리를 포함하며, 상기 배터리는 내장형 배터리 또는 교체가능한 형태의 배터리가 될 수 있다.The power supply unit 190 receives external power and internal power under the control of the control unit 180 to supply power to each component included in the electronic device 100 . The power supply unit 190 includes a battery, and the battery may be a built-in battery or a replaceable battery.

상기 각 구성요소들 중 적어도 일부는, 이하에서 설명되는 다양한 실시 예들에 따른 전자 기기의 동작, 제어, 또는 제어방법을 구현하기 위하여 서로 협력하여 동작할 수 있다. 또한, 상기 전자 기기의 동작, 제어, 또는 제어방법은 상기 메모리(170)에 저장된 적어도 하나의 응용 프로그램의 구동에 의하여 전자 기기 상에서 구현될 수 있다. At least some of the respective components may operate cooperatively to implement an operation, control, or control method of an electronic device according to various embodiments described below. In addition, the operation, control, or control method of the electronic device may be implemented on the electronic device by driving at least one application program stored in the memory 170 .

본 명세서에서 Q&A 자동생성 장치 및 단말은 전자기기(100)를 포함할 수 있다.In the present specification, the apparatus and terminal for automatically generating Q&A may include the electronic device 100 .

도 2는 본 명세서의 일 실시예에 따른 AI 장치의 블록도이다.2 is a block diagram of an AI device according to an embodiment of the present specification.

상기 AI 장치(20)는 AI 프로세싱을 수행할 수 있는 AI 모듈을 포함하는 전자 기기 또는 상기 AI 모듈을 포함하는 서버 등을 포함할 수 있다. 또한, 상기 AI 장치(20)는 도 1에 도시된 전자기기(100)의 적어도 일부의 구성으로 포함되어 AI 프로세싱 중 적어도 일부를 함께 수행하도록 구비될 수도 있다.The AI device 20 may include an electronic device including an AI module capable of performing AI processing, or a server including the AI module. Also, the AI device 20 may be included as a component of at least a part of the electronic device 100 shown in FIG. 1 to perform at least a part of AI processing together.

상기 AI 장치(20)는 AI 프로세서(21), 메모리(25) 및/또는 통신부(27)를 포함할 수 있다.The AI device 20 may include an AI processor 21 , a memory 25 and/or a communication unit 27 .

상기 AI 장치(20)는 신경망을 학습할 수 있는 컴퓨팅 장치로서, 서버, 데스크탑 PC, 노트북 PC, 태블릿 PC 등과 같은 다양한 전자 장치로 구현될 수 있다.The AI device 20 is a computing device capable of learning a neural network, and may be implemented in various electronic devices such as a server, a desktop PC, a notebook PC, and a tablet PC.

AI 프로세서(21)는 메모리(25)에 저장된 프로그램을 이용하여 신경망을 학습할 수 있다. 특히, AI 프로세서(21)는 자연어처리를 위한 인공지능 모델을 메모리(25) 상에 생성할 수 있고, Q&A 자동생성 장치에서 수집될 수 있는 데이터를 이용하여, 이러한 인공지능 모델을 학습시킬 수 있다.The AI processor 21 may learn the neural network using a program stored in the memory 25 . In particular, the AI processor 21 may generate an artificial intelligence model for natural language processing on the memory 25, and use the data that may be collected from the automatic Q&A generation device to train the artificial intelligence model. .

이러한 인공지능 모델은 “Text-to-Text Transfer Transformer" 형태의 T5 모델을 포함할 수 있다.Such an AI model may include a T5 model in the form of a “Text-to-Text Transfer Transformer”.

도 3은 본 명세서에 적용될 수 있는 text-to-text 프레임워크의 예시이다.3 is an example of a text-to-text framework applicable to the present specification.

도 3을 참조하면, 인공지능 모델(예를 들어, T5 모델)을 포함하는 text-to-text 프레임워크의 다이어그램을 예시한다. Q&A 자동생성 장치는 인공지능 모델에 번역, 질문, 답변 및 분류를 포함하여, 고려될 수 있는 작업들을 인공지능 모델에 텍스트로 입력하고, 인공지능 모델은 입력된 텍스트들에 근거하여 타켓 텍스트를 생성하도록 훈련될 수 있다.Referring to FIG. 3 , a diagram of a text-to-text framework including an artificial intelligence model (eg, a T5 model) is illustrated. The Q&A automatic generation device inputs tasks that can be considered, including translation, question, answer, and classification, into the AI model as text, and the AI model generates a target text based on the inputted texts. can be trained to

인공지능 모델은 T5 모델뿐 만이 아니라, 텍스트를 생성할 수 있는 Transformer의 디코더를 활용하거나 Autoregressive 한 특성을 갖는 다른 모델(예를 들어, BART, GPT-2 등)이 포함될 수 있다. The AI model may include not only the T5 model, but also other models (eg, BART, GPT-2, etc.) that utilize a decoder of Transformer that can generate text or have autoregressive characteristics.

다시 도 2를 참조하면, 전술한 바와 같은 기능을 수행하는 AI 프로세서(21)는 범용 프로세서(예를 들어, CPU)일 수 있으나, 인공지능 학습을 위한 AI 전용 프로세서(예를 들어, GPU, graphics processing unit)일 수 있다.Referring back to FIG. 2 , the AI processor 21 performing the function as described above may be a general-purpose processor (eg, CPU), but an AI-only processor (eg, GPU, graphics for artificial intelligence learning) processing unit).

메모리(25)는 AI 장치(20)의 동작에 필요한 각종 프로그램 및 데이터를 저장할 수 있다. 메모리(25)는 비 휘발성 메모리, 휘발성 메모리, 플래시 메모리(flash-memory), 하드디스크 드라이브(HDD) 또는 솔리드 스테이트 드라이브(SDD) 등으로 구현할 수 있다. 메모리(25)는 AI 프로세서(21)에 의해 액세스되며, AI 프로세서(21)에 의한 데이터의 독취/기록/수정/삭제/갱신 등이 수행될 수 있다. 또한, 메모리(25)는 본 명세서의 일 실시예에 따른 데이터 분류/인식을 위한 학습 알고리즘을 통해 생성된 신경망 모델(예를 들어, 딥 러닝 모델)을 저장할 수 있다.The memory 25 may store various programs and data necessary for the operation of the AI device 20 . The memory 25 may be implemented as a non-volatile memory, a volatile memory, a flash-memory, a hard disk drive (HDD), or a solid state drive (SDD). The memory 25 is accessed by the AI processor 21 , and reading/writing/modification/deletion/update of data by the AI processor 21 may be performed. Also, the memory 25 may store a neural network model (eg, a deep learning model) generated through a learning algorithm for data classification/recognition according to an embodiment of the present specification.

한편, AI 프로세서(21)는 데이터 분류/인식을 위한 신경망을 학습하는 데이터 학습부를 포함할 수 있다. 예를 들어, 데이터 학습부는 학습에 이용될 학습 데이터를 획득하고, 획득된 학습데이터를 딥러닝 모델에 적용함으로써, 딥러닝 모델을 학습할 수 있다. Meanwhile, the AI processor 21 may include a data learning unit that learns a neural network for data classification/recognition. For example, the data learning unit may learn the deep learning model by acquiring learning data to be used for learning, and applying the acquired learning data to the deep learning model.

통신부(27)는 AI 프로세서(21)에 의한 AI 프로세싱 결과를 외부 전자 기기로 전송할 수 있다.The communication unit 27 may transmit the AI processing result by the AI processor 21 to an external electronic device.

여기서 외부 전자 기기는 다른 단말, 서버를 포함할 수 있다.Here, the external electronic device may include other terminals and servers.

한편, 도 2에 도시된 AI 장치(20)는 AI 프로세서(21)와 메모리(25), 통신부(27) 등으로 기능적으로 구분하여 설명하였지만, 전술한 구성요소들이 하나의 모듈로 통합되어 AI 모듈 또는 인공지능(AI) 모델로 호칭될 수도 있다.On the other hand, although the AI device 20 shown in FIG. 2 has been functionally divided into the AI processor 21, the memory 25, the communication unit 27, and the like, the above-described components are integrated into one module and the AI module Alternatively, it may be called an artificial intelligence (AI) model.

도 4는 본 명세서에 적용될 수 있는 Q&A 자동생성 장치의 일 실시예이다.4 is an embodiment of an automatic Q&A generating apparatus that can be applied to the present specification.

도 4를 참조하면, Q&A 자동생성 장치는 Q&A 데이터를 자동생성하고, FAQ 데이터 및 챗봇을 위한 학습데이터를 생성할 수 있다.Referring to FIG. 4 , the automatic Q&A generating apparatus may automatically generate Q&A data, and generate FAQ data and learning data for the chatbot.

S4010 : Q&A 자동생성 장치는 Q&A 자동생성을 위한 문서 데이터를 수집하고 전처리한다. S4010: Q&A automatic generation device collects and pre-processes document data for automatic Q&A generation.

도 5 및 도 6은 본 명세서에 적용될 수 있는 문서 데이터의 수집 및 전처리의 예시이다.5 and 6 are examples of collection and pre-processing of document data applicable to the present specification.

도 5를 참조하면, Q&A 자동생성 장치는 Q&A 자동생성을 위한 문서 데이터를 서버에 업로드한다(S5010). 예를 들어, Q&A 자동생성을 위한 문서 데이터는 서비스 제공자와 관련된 업무규정 텍스트 파일, 상담 지식문서 텍스트 파일, FAQ 텍스트 파일을 포함할 수 있다. Q&A 자동생성 장치는 Q&A 데이터 자동생성을 위한 문서 데이터를 문서 데이터를 관리하기 위한 서버에 업로드 할 수 있다. Referring to FIG. 5 , the automatic Q&A generation apparatus uploads document data for automatic Q&A generation to the server (S5010). For example, the document data for automatic Q&A generation may include a service provider-related business regulation text file, a consultation knowledge document text file, and a FAQ text file. The automatic Q&A generation device can upload document data for automatic Q&A data generation to a server for managing document data.

도 6을 참조하면, Q&A 자동생성 장치는 단말을 통해, 사용자에게 문서 데이터 업로드를 위한 안내 화면을 표시할 수 있다. 사용자는 안내 화면을 통해, 업로드 대상이 되는 문서 데이터 리스트를 확인하고, 문서 데이터를 선택할 수 있으며, 문서 업로드 버튼(610)을 입력함으로써, 문서 데이터를 서버에 업로드할 수 있다.Referring to FIG. 6 , the apparatus for automatically generating Q&A may display a guide screen for uploading document data to the user through the terminal. The user may check a list of document data to be uploaded through the guide screen, select document data, and may upload document data to the server by inputting the document upload button 610 .

서버는 로컬 및/또는 클라우드 데이터베이스를 이용하여, 업로드된 문서 데이터를 관리할 수 있다. 예를 들어, 문서 데이터에는 고유 ID가 생성될 수 있다.The server may manage the uploaded document data using a local and/or cloud database. For example, a unique ID may be generated for document data.

다시 도 5를 참조하면, Q&A 자동생성 장치는 문서 데이터의 파일 확장자를 분류한다(S5020). 예를 들어, Q&A 자동생성 장치는 문서 데이터의 파일 확장자(예를 들어, docx, hwp, pdf, txt)에 따라, Q&A 데이터의 자동생성을 위한 문서 데이터를 선택할 수 있다.Referring back to FIG. 5 , the automatic Q&A generating apparatus classifies file extensions of document data ( S5020 ). For example, the apparatus for automatically generating Q&A may select document data for automatic generation of Q&A data according to a file extension (eg, docx, hwp, pdf, txt) of the document data.

도 6을 참조하면, Q&A 자동생성 장치는 단말을 통해, 사용자로부터 Q&A 자동생성을 위한 토글 버튼(620)을 입력받아, 문서 데이터의 파일 확장자를 분류할 수 있다.Referring to FIG. 6 , the apparatus for automatically generating Q&A may receive a toggle button 620 for automatically generating Q&A from a user through a terminal, and classify file extensions of document data.

다시 도 5를 참조하면, Q&A 자동생성 장치는 파일 확장자에 근거하여, 문서 데이터의 텍스트를 파싱(parsing)한다(S5030). 예를 들어, Q&A 자동생성 장치는 인공지능 모델을 이용하여, 문서 데이터의 텍스트를 파싱하여, Q&A 자동생성에 필요한 콘텐츠를 나타내는 텍스트를 추출할 수 있다. 또는, Q&A 자동생성 장치는 기설정된 룰(Rule)에 따라, 문서 데이터의 텍스트를 파싱하여, Q&A 데이터 자동생성에 필요한 콘텐츠를 나타내는 텍스트를 추출할 수 있다.Referring back to FIG. 5 , the automatic Q&A generating apparatus parses the text of the document data based on the file extension ( S5030 ). For example, the apparatus for automatically generating Q&A may use an artificial intelligence model to parse text of document data to extract text representing content required for automatic generation of Q&A. Alternatively, the apparatus for automatically generating Q&A may parse the text of the document data according to a preset rule to extract text representing content required for automatic generation of the Q&A data.

Q&A 자동생성 장치는 텍스트를 문장 단위로 전처리한다(S5040). 예를 들어, Q&A 자동생성 장치는 정규표현식을 통해, 텍스트를 문장 단위로 나눈 후, key-value 쌍의 형태를 갖는 JSON 형식으로 변환할 수 있다.The automatic Q&A generating apparatus pre-processes the text in units of sentences (S5040). For example, the automatic Q&A generator may divide text into sentence units through regular expressions, and then convert it into JSON format having the form of a key-value pair.

Q&A 자동생성 장치는 전처리된 문서 데이터를 저장한다(S5050). 예를 들어, Q&A 자동생성 장치는 메모리에 포함된 데이터베이스에 JSON 데이터를 저장할 수 있다. 보다 자세하게, Q&A 자동생성 장치는 해당 문서의 고유 ID를 key로 하여 저장할 수 있다.The automatic Q&A generation device stores the pre-processed document data (S5050). For example, a Q&A auto-generator may store JSON data in a database contained in memory. In more detail, the automatic Q&A generator may store the document's unique ID as a key.

다음의 표 1은 JSON 데이터의 예시이다.Table 1 below is an example of JSON data.

{{
document_id: unique_hash_value, document_id: unique_hash_value,
document_name: 업로드 문서명, document_name: Upload document name,
content: 문서로부터 추출한 텍스트 content: text extracted from the document
}}

S4020 : 다시 도 4를 참조하면, Q&A 자동생성 장치는 전처리된 문서 데이터에 근거하여, 인공지능 모델을 이용하여 Q&A 데이터를 자동생성한다.도 7은 본 명세서가 적용될 수 있는 Q&A 데이터 자동생성의 예시이다. S4020: Referring back to FIG. 4 , the automatic Q&A generation apparatus automatically generates Q&A data using an artificial intelligence model based on the pre-processed document data. 7 is an example of automatic generation of Q&A data to which this specification can be applied.

도 7을 참조하면, Q&A 자동생성 장치는 인공지능 모델(700)을 이용하여, 전처리된 문서 데이터를 입력값으로 하고, Q&A 데이터를 자동생성할 수 있다.Referring to FIG. 7 , the apparatus for automatically generating Q&A may use the artificial intelligence model 700 to automatically generate Q&A data using pre-processed document data as an input value.

1. Q&A 자동생성 장치는 인공지능 모델(700)에 전처리된 문서 데이터를 입력한다. 예를 들어, 전처리된 문서 데이터의 콘텐츠는 BERT(Bidirectional Encoder Representations from Transformers) 토크나이저(Tokenizer)를 통해 토큰화 될 수 있다. 자연어처리 분야에서 토큰화란 주어진 텍스트를 문자단위 혹은 의미있는 문자열로 쪼개는 것을 의미할 수 있다.1. The automatic Q&A generation device inputs preprocessed document data into the artificial intelligence model 700 . For example, the content of the preprocessed document data may be tokenized through a BERT (Bidirectional Encoder Representations from Transformers) tokenizer. In the field of natural language processing, tokenization may mean breaking a given text into character units or meaningful strings.

2. Q&A 자동생성 장치는 토큰화된 벡터를 n개의 윈도우를 이용하여, 순서대로 n개의 그룹으로 나눌 수 있다. 여기서 사용될 수 있는 윈도잉(windowing) 테크닉이란, 인풋 벡터(vector)를 윈도우의 크기대로 n개로 분할하는 것을 의미할 수 있다. 예를 들어, Q&A 자동생성 장치는 전처리된 문서 데이터로부터, m개의 요약문장을 추출할 수 있다. 윈도잉 테크닉을 이용하면, Q&A 자동생성 장치는 길이가 긴 문서에서 m개의 문장을 추출하는 대신에 각각의 윈도우에서 m개의 문장을 추출할 수 있다. 이를 통해, Q&A 자동생성 장치는 총 m*n개의 요약문장을 추출할 수 있으므로, 전처리된 문서 데이터로부터 더 많은 정보를 추출할 수 있다.2. The automatic Q&A generator can divide the tokenized vector into n groups in order using n windows. A windowing technique that can be used here may mean dividing an input vector into n pieces according to the size of the window. For example, the automatic Q&A generating apparatus may extract m summary sentences from the pre-processed document data. Using the windowing technique, the automatic Q&A generator may extract m sentences from each window instead of extracting m sentences from a long document. Through this, since the automatic Q&A generation apparatus can extract a total of m*n summary sentences, more information can be extracted from the preprocessed document data.

3. Q&A 자동생성 장치는 윈도우로부터 각각 m개의 요약 문장을 추출할 수 있다. 예를 들어, 요약 문장의 추출은 문서를 요약하는 방식에 따라 추출 요약(extractive text summarization)과 생성 요약(abstractive text summarization)으로 나뉠 수 있다. 보다 자세하게, 추출 요약은 문서로부터 핵심 문장 또는 단어를 추출한 후, 조합하여 요약하는 방식이고, 생성 요약은 핵심문맥을 반영하여 새로운 문장을 생성하여 원문을 요약하는 방식이다. 본 명세서에서는 요약문장이 후에 생성될 질문에 대한 답이 될 것이므로 추출 요약이 사용될 수 있다. 예를 들어, 추출 요약에 사용되는 인공지능 모델(700)은 Transformer 기반의 BERT를 추출요약 task에 맞게 변형시킨 BertSumExt가 포함될 수 있다. 하지만 위의 BertSumExt 이외에도 추출요약에 사용될 수 있는 다른 인공지능 모델이 사용될 수 있음은 물론이다.3. The automatic Q&A generation apparatus can extract m summary sentences from each window. For example, extraction of summary sentences may be divided into extractive text summarization and abstract text summarization according to a document summary method. In more detail, the extraction summary is a method of extracting key sentences or words from a document and combining them to summarize, and the generation summary is a method of summarizing the original text by generating a new sentence by reflecting the core context. Extractive summaries may be used in this specification, as abstract sentences will answer questions to be generated later. For example, the artificial intelligence model 700 used for the extraction summary may include BertSumExt, which transforms the Transformer-based BERT to fit the extraction summary task. However, it goes without saying that other artificial intelligence models that can be used for extraction summarization can be used in addition to the BertSumExt above.

4. Q&A 자동생성 장치는 질문 생성 네트워크를 이용하여, 요약 문장으로부터 질문을 생성할 수 있다. 예를 들어, T5 모델은 트랜스포머의 인코더와 디코더를 모두 사용하기 때문에, 트랜스포머의 인코더만을 사용하는 BERT보다 텍스트 생성(Text Generation) 문제를 해결하는데 더 적합하다. 또한 T5 모델은 모든 자연어처리(NLP)태스크를 통합하여 Text-to-Text 형식으로 해결하고자 고안되었기 때문에, 기계번역, 질의응답, 생성요약 등의 downstream task에도 미세조정(fine-tuning)을 거쳐 동일하게 사용될 수 있다. 따라서, 본 명세서에서의 인공지능 모델에도 미세조정이 적용될 수 있다. 또한, Bert와 T5 모두 대규모의 말뭉치로 사전학습(pre-trained)을 진행하였기 때문에 적은 양의 데이터로 파인튜닝(fine-tuning)을 진행하더라도 훌륭한 성능을 발휘할 수 있다. 예를 들어, Q&A 자동생성 장치는 T5 모델의 토크나이저를 사용하여 요약 문장들을 토큰화한 뒤, 질문 생성 네트워크에 입력하고, string 형태의 출력값으로 반환할 수 있다. 이때 반환된 return value는 해당 요약 문장을 정답으로 한 질문형식의 문장일 수 있다. 본 명세서에서는 이를 위해, T5를 사용하였지만, 문장을 생성할 수 있는 Transformer의 디코더를 활용하거나 Autoregressive 한 특성을 갖는 다른 모델이 사용될 수 있다(예를 들어, BART, GPT-2 등).4. The automatic Q&A generation apparatus may generate a question from the summary sentence by using the question generation network. For example, since the T5 model uses both the encoder and the decoder of the transformer, it is more suitable for solving the text generation problem than the BERT using only the encoder of the transformer. In addition, since the T5 model was designed to solve all natural language processing (NLP) tasks in a text-to-text format by integrating them, it is also the same for downstream tasks such as machine translation, Q&A, and generation summary through fine-tuning. can be used Accordingly, fine-tuning can also be applied to the AI model in the present specification. In addition, since both Bert and T5 are pre-trained with a large corpus, excellent performance can be achieved even when fine-tuning is performed with a small amount of data. For example, the automatic Q&A generation apparatus may tokenize summary sentences using the tokenizer of the T5 model, input them to the question generation network, and return them as output values in the form of strings. In this case, the returned value may be a question-type sentence with the corresponding summary sentence as the correct answer. In the present specification, T5 is used for this purpose, but other models with autoregressive characteristics or utilizing a decoder of Transformer capable of generating sentences may be used (eg, BART, GPT-2, etc.).

5. Q&A 자동생성 장치는 생성된 질문-답 pair 데이터를 데이터베이스에 저장할 수 있다. 예를 들어, 이러한 질문-답 pair 데이터는 이를 식별하기 위한 고유한 아이디가 부여될 수 있다.5. The Q&A automatic generation device can store the generated question-answer pair data in a database. For example, this question-answer pair data may be given a unique ID for identifying it.

6. Q&A 자동생성 장치는 질문-답 pair 데이터를 Q&A 데이터로 출력할 수 있다.6. Q&A automatic generation device can output question-answer pair data as Q&A data.

S4030 : 다시 도 4를 참조하면, Q&A 자동생성 장치는 자동생성된 Q&A 데이터를 수정 및/또는 추가한다. 예를 들어, Q&A 자동생성 장치는 단말과 연결되어, Q&A 데이터를 수정 및/또는 추가하기 위한 어플리케이션을 통해, 사용자에게 Q&A 데이터를 표시할 수 있고, 사용자로부터 Q&A 데이터를 수정 및/또는 추가하기 위한 텍스트를 입력받을 수 있다. S4030: Referring back to FIG. 4 , the automatically generated Q&A device modifies and/or adds automatically generated Q&A data. For example, the Q&A automatic generation device may be connected to the terminal and display Q&A data to the user through an application for modifying and/or adding Q&A data, and for modifying and/or adding Q&A data from the user You can input text.

도 8은 본 명세서가 적용될 수 있는 Q&A 데이터의 수정 및/또는 추가의 예시이다.8 is an example of modification and/or addition of Q&A data to which this specification may be applied.

도 8을 참조하면, Q&A 자동생성 장치는 단말을 통해, Q&A 데이터를 수정 및/또는 추가하기 위한 화면을 표시할 수 있다. Q&A 데이터를 수정 및/또는 추가하기 위한 화면은 질문 검색 패널(810), 답 표시 패널(820), 및 편집 패널(830)을 포함할 수 있다.Referring to FIG. 8 , the apparatus for automatically generating Q&A may display a screen for correcting and/or adding Q&A data through the terminal. A screen for modifying and/or adding Q&A data may include a question search panel 810 , an answer display panel 820 , and an editing panel 830 .

질문 검색 패널(810)은 Q&A 데이터의 질문 정보를 표시한다. 예를 들어, 사용자는 데이터베이스 내의 Q&A 데이터로부터 질문을 검색할 수 있다. 사용자가 질문 검색 패널(810)에 표시된 질문 리스트에서 특정 질문을 선택하면, 해당 질문은 하이라이트로 표시될 수 있다. 만일, 사용자가 원하는 질문이 검색되지 않는다면, 사용자는 질문을 추가할 수 있고, 편집 패널(830)을 통해, 대응되는 답변을 추가할 수 있다.The question search panel 810 displays question information of Q&A data. For example, a user may retrieve a question from Q&A data in a database. When the user selects a specific question from the question list displayed on the question search panel 810 , the corresponding question may be highlighted. If the user's desired question is not found, the user may add a question and, through the editing panel 830 , may add a corresponding answer.

답 표시 패널(820)은 선택된 특정 질문에 대응되는 Q&A 데이터의 답 정보를 표시한다. Q&A 자동생성 장치는 단말을 통해, 선택된 특정 질문에 대응되는 답 문장을 답 표시 패널(820)에 표시할 수 있다. 대응되는 질문-답을 나타내는 문장은 하이라이트로 표시될 수 있다.The answer display panel 820 displays answer information of Q&A data corresponding to the selected specific question. The apparatus for automatically generating Q&A may display an answer sentence corresponding to the selected specific question on the answer display panel 820 through the terminal. Sentences representing the corresponding question-answer may be highlighted.

편집 패널(830)은 답 표시 패널(820)에 표시된 답 문장이 사용자로부터 선택되는 경우, 답 문장에 대응하는 질문을 표시한다. 또한, 편집 패널(830)은 질문과 관련된 ID 및 답을 표시할 수 있고. 사용자는 답 문장을 확인하고, 이를 수정할 수 있다.When the answer sentence displayed on the answer display panel 820 is selected by the user, the editing panel 830 displays a question corresponding to the answer sentence. Edit panel 830 may also display IDs and answers associated with the question. The user can check the answer sentence and edit it.

S4040 : 다시 도 4를 참조하면, Q&A 자동생성 장치는 수정 및/또는 추가된 Q&A 데이터를 이용하여, 인공지능 모델을 재학습시킨다. S4040: Referring back to FIG. 4 , the automatic Q&A generation apparatus retrains the artificial intelligence model by using the corrected and/or added Q&A data.

도 9는 본명세서가 적용될 수 있는 인공지능 모델 재학습의 예시이다.9 is an example of artificial intelligence model re-learning to which this specification can be applied.

도 9를 참조하면, Q&A 자동생성 장치는 단말을 통해, 인공지능 모델의 재학습을 위한 화면을 사용자에게 표시할 수 있다. 예를 들어, 사용자는 인공지능 모델의 재학습을 위해 사용될 수 있는 Q&A 데이터를 선택하고, 모델 학습 버튼을 입력하여, 인공지능 모델의 재학습을 명령할 수 있다.Referring to FIG. 9 , the apparatus for automatically generating Q&A may display a screen for re-learning of the artificial intelligence model to the user through the terminal. For example, the user may select Q&A data that can be used for re-learning of the AI model, input a model learning button, and instruct the re-learning of the AI model.

S4050 : 다시, 도 4를 참조하면, Q&A 자동생성 장치는 FAQ 데이터 및/또는 사용자의 질문에 답하기 위한 챗봇의 학습데이터를 생성한다. Q&A 자동생성 장치는 수정 및/또는 추가가 완료된 Q&A 데이터를 이용하여, FAQ 데이터 및/또는 챗봇의 학습데이터를 생성할 수 있다. S4050: Again, referring to FIG. 4 , the automatic Q&A generating device generates FAQ data and/or learning data of the chatbot for answering the user's question. The automatic Q&A generation device may generate FAQ data and/or chatbot learning data using the corrected and/or added Q&A data.

도 10은 본 명세서가 적용될 수 있는 FAQ 데이터 및/또는 챗봇의 학습데이터의 예시이다.10 is an example of FAQ data and/or chatbot learning data to which this specification can be applied.

도 10을 참조하면, Q&A 자동생성 장치는 단말을 통해, 사용자에게 Q&A 데이터를 표시할 수 있다. 사용자는 질문/응답 메뉴를 통해, 질문을 검색할 수 있고 Q&A 데이터를 삭제할 수 있다. 이를 통해, Q&A 자동생성 장치는 최적화된 FAQ 데이터 및/또는 챗봇의 학습데이터를 생성할 수 있다.Referring to FIG. 10 , the apparatus for automatically generating Q&A may display Q&A data to the user through the terminal. Users can search for questions and delete Q&A data through the Q&A menu. Through this, the automatic Q&A generation device may generate optimized FAQ data and/or chatbot learning data.

일반적인 머신러닝 및 딥러닝 기반 FAQ 구축 및 갱신 또는 챗봇 및 챗봇빌더 서비스를 제공함에 있어서, 인공지능 모델은 Labeling된 양질의 학습데이터를 입력 받아야 한다. 그러기 위해서는 사용자가 수작업으로 직접 입력을 해야 되기 때문에 업무 생산성 및 효율성이 저하되지만, 본 명세서에서의 Q&A 자동생성 장치는 사용자 업무 생산성 및 효율성을 향상시킬 수 있다.In building and updating general machine learning and deep learning-based FAQs or providing chatbot and chatbot builder services, the artificial intelligence model must receive labeled high-quality learning data. For this, work productivity and efficiency are reduced because the user has to manually input the information.

또한, 학습데이터 Labeling 수작업을 위한 인력이 투입됨에 따라 인건비 부담이 크지만, 본 명세서의 Q&A 자동생성 장치는 인건비를 절감할 수 있다. In addition, the labor cost burden is high as manpower is input for the manual labeling of the learning data, but the automatic Q&A generation apparatus of the present specification can reduce the labor cost.

전술한 본 명세서는, 프로그램이 기록된 매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 매체는, 컴퓨터 시스템에 의하여 읽혀 질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 매체의 예로는, HDD(Hard Disk Drive), SSD(Solid State Disk), SDD(Silicon Disk Drive), ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광 데이터 저장 장치 등이 있으며, 또한 캐리어 웨이브(예를 들어, 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 따라서, 상기의 상세한 설명은 모든 면에서 제한적으로 해석되어서는 아니되고 예시적인 것으로 고려되어야 한다. 본 명세서의 범위는 첨부된 청구항의 합리적 해석에 의해 결정되어야 하고, 본 명세서의 등가적 범위 내에서의 모든 변경은 본 명세서의 범위에 포함된다.The above-described specification can be implemented as computer-readable code on a medium in which a program is recorded. The computer-readable medium includes all types of recording devices in which data readable by a computer system is stored. Examples of computer-readable media include Hard Disk Drive (HDD), Solid State Disk (SSD), Silicon Disk Drive (SDD), ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc. There is also a carrier wave (eg, transmission over the Internet) that includes implementation in the form of. Accordingly, the above detailed description should not be construed as restrictive in all respects but as exemplary. The scope of this specification should be determined by a reasonable interpretation of the appended claims, and all modifications within the equivalent scope of this specification are included in the scope of this specification.

또한, 이상에서 서비스 및 실시 예들을 중심으로 설명하였으나 이는 단지 예시일 뿐 본 명세서를 한정하는 것이 아니며, 본 명세서가 속하는 분야의 통상의 지식을 가진 자라면 본 서비스 및 실시 예의 본질적인 특성을 벗어나지 않는 범위에서 이상에 예시되지 않은 여러 가지의 변형과 응용이 가능함을 알 수 있을 것이다. 예를 들어, 실시 예들에 구체적으로 나타난 각 구성 요소는 변형하여 실시할 수 있는 것이다. 그리고 이러한 변형과 응용에 관계된 차이점들은 첨부한 청구 범위에서 규정하는 본 명세서의 범위에 포함되는 것으로 해석되어야 할 것이다.In addition, although the above description has been focused on services and embodiments, these are merely examples and do not limit the present specification, and those of ordinary skill in the art to which this specification pertains will not deviate from the essential characteristics of the present service and embodiments. It can be seen that various modifications and applications not exemplified above are possible. For example, each component specifically shown in the embodiments may be implemented by modification. And differences related to such modifications and applications should be construed as being included in the scope of the present specification defined in the appended claims.

Claims (7)

Q&A(Question and Answer) 자동생성 장치가 FAQ(Frequently asked questions) 및 챗봇(Chatbot)을 위한 학습데이터를 생성하는 방법에 있어서,
Q&A 데이터를 자동생성하기 위한 문서 데이터를 수집하고, 전처리하는 단계;
상기 문서 데이터는 업무규정과 관련된 텍스트(text) 파일을 포함함;
상기 전처리된 문서 데이터에 근거하여, 자연어처리 기반의 인공지능 모델을 이용하여, 상기 Q&A 데이터를 자동생성하는 단계;
상기 전처리된 문서 데이터는 상기 Q&A 데이터를 자동생성하기 위한 콘텐츠(Contents)를 포함하고,
상기 Q&A 데이터는 질문과 답을 쌍으로 포함함;
상기 Q&A 데이터에 근거하여, 1) 상기 FAQ 및 2) 상기 챗봇을 위한 학습데이터를 생성하는 단계;
를 포함하고,
상기 문서 데이터를 수집하고, 전처리하는 단계는
상기 문서 데이터의 파일 확장자를 분류하는 단계;
상기 파일 확장자에 근거하여, 상기 문서 데이터의 텍스트를 파싱(parsing)하는 단계; 및
상기 텍스트를 문장 단위로 처리하는 단계;
를 포함하며,
상기 Q&A 데이터를 자동생성하는 단계는
상기 전처리된 문서 데이터를 토큰화하는 단계;
상기 토큰화된 문서 데이터로부터, 요약 문장을 추출하는 단계;
상기 요약 문장에 근거하여, 상기 질문을 생성하는 단계; 및
상기 요약 문장을 상기 답으로 하여, 상기 Q&A 데이터를 생성하는 단계;
를 포함하는, 생성방법.
In a method for generating learning data for a Q&A (Question and Answer) automatic generation device for frequently asked questions (FAQ) and chatbots,
collecting and pre-processing document data for automatically generating Q&A data;
the document data includes a text file related to business rules;
automatically generating the Q&A data using an artificial intelligence model based on natural language processing based on the pre-processed document data;
The pre-processed document data includes content for automatically generating the Q&A data,
the Q&A data includes questions and answers in pairs;
Based on the Q&A data, 1) generating the FAQ and 2) learning data for the chatbot;
including,
The step of collecting and pre-processing the document data is
classifying a file extension of the document data;
parsing the text of the document data based on the file extension; and
processing the text in units of sentences;
includes,
The step of automatically generating the Q&A data is
tokenizing the preprocessed document data;
extracting a summary sentence from the tokenized document data;
generating the question based on the summary sentence; and
generating the Q&A data using the summary sentence as the answer;
Containing, a production method.
제1항에 있어서,
상기 Q&A 데이터가 편집되는 경우, 상기 편집된 Q&A 데이터를 이용하여 상기 인공지능 모델을 재학습시키는 단계;
를 더 포함하는, 생성방법.
According to claim 1,
re-learning the AI model using the edited Q&A data when the Q&A data is edited;
Further comprising a, generating method.
삭제delete 삭제delete 제1항에 있어서,
상기 요약 문장을 추출하는 단계는
하나 이상의 윈도우(window)를 이용하는, 생성방법.
According to claim 1,
The step of extracting the summary sentence is
A method of generating, using one or more windows.
제5항에 있어서,
상기 요약 문장은
상기 전처리된 문서 데이터로부터 핵심이되는 문장 또는 단어를 추출하여, 조합하고, 요약하는 추출 요약(extractive text summarization) 기법에 근거하는, 생성방법.
6. The method of claim 5,
The summary sentence is
A method for generating, based on an extractive text summarization technique of extracting, combining, and summarizing key sentences or words from the preprocessed document data.
FAQ(Frequently asked questions) 및 챗봇(Chatbot)을 위한 학습데이터를 생성하기 위한 Q&A(Question and Answer) 자동생성 장치에 있어서,
자연어처리 기반의 인공지능 모델이 포함된 메모리;
외부 전자기기와 통신하기 위한 통신부; 및
상기 메모리 및 상기 통신부를 기능적으로 제어하기 위한 프로세서;
를 포함하고,
상기 프로세서는
Q&A 데이터를 자동생성하기 위한 문서 데이터를 수집하고, 전처리하기 위해, 상기 문서 데이터의 파일 확장자를 분류하고, 상기 파일 확장자에 근거하여, 상기 문서 데이터의 텍스트를 파싱(parsing)하며, 상기 텍스트를 문장 단위로 처리하고,
상기 문서 데이터는 업무규정과 관련된 텍스트(text) 파일을 포함하고,
상기 전처리된 문서 데이터에 근거하여, 상기 인공지능 모델을 이용하여, 상기 Q&A 데이터를 자동생성하기 위해, 상기 전처리된 문서 데이터를 토큰화하고, 상기 토큰화된 문서 데이터로부터, 요약 문장을 추출하고, 상기 요약 문장에 근거하여, 질문을 생성하며, 상기 요약 문장을 답으로 하여, 상기 Q&A 데이터를 생성하고,
상기 전처리된 문서 데이터는 상기 Q&A 데이터를 자동생성하기 위한 콘텐츠(Contents)를 포함하고,
상기 Q&A 데이터는 상기 질문과 상기 답을 쌍으로 포함하며,
상기 Q&A 데이터에 근거하여, 1) 상기 FAQ 및 2) 상기 챗봇을 위한 학습데이터를 생성하는, Q&A 자동생성 장치.

In the Q&A (Question and Answer) automatic generation device for generating learning data for FAQ (Frequently asked questions) and chatbot,
memory containing artificial intelligence models based on natural language processing;
a communication unit for communicating with an external electronic device; and
a processor for functionally controlling the memory and the communication unit;
including,
the processor
To collect and pre-process document data for automatically generating Q&A data, classify a file extension of the document data, parse the text of the document data based on the file extension, and convert the text into a sentence processed as a unit,
The document data includes a text file related to business regulations,
To automatically generate the Q&A data based on the pre-processed document data, using the artificial intelligence model, tokenize the pre-processed document data, and extract a summary sentence from the tokenized document data; generating a question based on the summary sentence, and generating the Q&A data by using the summary sentence as an answer;
The pre-processed document data includes content for automatically generating the Q&A data,
the Q&A data includes the question and the answer in pairs,
Based on the Q&A data, 1) the FAQ and 2) the Q&A automatic generating device for generating learning data for the chatbot.

KR1020220089394A 2022-07-20 2022-07-20 Method and apparatus for automatically generating training dataset for faq and chatbot based on natural language processing using deep learning KR102436549B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020220089394A KR102436549B1 (en) 2022-07-20 2022-07-20 Method and apparatus for automatically generating training dataset for faq and chatbot based on natural language processing using deep learning
KR1020220105075A KR20240012245A (en) 2022-07-20 2022-08-22 Method and apparatus for automatically generating faq using an artificial intelligence model based on natural language processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220089394A KR102436549B1 (en) 2022-07-20 2022-07-20 Method and apparatus for automatically generating training dataset for faq and chatbot based on natural language processing using deep learning

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020220105075A Division KR20240012245A (en) 2022-07-20 2022-08-22 Method and apparatus for automatically generating faq using an artificial intelligence model based on natural language processing

Publications (1)

Publication Number Publication Date
KR102436549B1 true KR102436549B1 (en) 2022-08-25

Family

ID=83111591

Family Applications (2)

Application Number Title Priority Date Filing Date
KR1020220089394A KR102436549B1 (en) 2022-07-20 2022-07-20 Method and apparatus for automatically generating training dataset for faq and chatbot based on natural language processing using deep learning
KR1020220105075A KR20240012245A (en) 2022-07-20 2022-08-22 Method and apparatus for automatically generating faq using an artificial intelligence model based on natural language processing

Family Applications After (1)

Application Number Title Priority Date Filing Date
KR1020220105075A KR20240012245A (en) 2022-07-20 2022-08-22 Method and apparatus for automatically generating faq using an artificial intelligence model based on natural language processing

Country Status (1)

Country Link
KR (2) KR102436549B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102604242B1 (en) * 2023-05-15 2023-11-21 (주)페르소나에이아이 K-gpt solution based electronic apparatus including generative artificial intelligence linked with external model, and system
JP7440143B1 (en) 2023-04-18 2024-02-28 チャットプラス株式会社 Information processing method, program, and information processing device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190056184A (en) * 2017-11-16 2019-05-24 주식회사 마인즈랩 System for generating question-answer data for maching learning based on maching reading comprehension
JP2021180003A (en) * 2017-07-07 2021-11-18 株式会社野村総合研究所 Learning data generation method and device
US20220092436A1 (en) * 2016-07-15 2022-03-24 Intuit Inc. System and method for automatic learning of functions
KR20220043505A (en) * 2020-09-29 2022-04-05 창원대학교 산학협력단 Document summary device and method thereof
KR20220064948A (en) * 2020-02-25 2022-05-19 휴멜로 주식회사 Apparatus for generating text and method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220092436A1 (en) * 2016-07-15 2022-03-24 Intuit Inc. System and method for automatic learning of functions
JP2021180003A (en) * 2017-07-07 2021-11-18 株式会社野村総合研究所 Learning data generation method and device
KR20190056184A (en) * 2017-11-16 2019-05-24 주식회사 마인즈랩 System for generating question-answer data for maching learning based on maching reading comprehension
KR20220064948A (en) * 2020-02-25 2022-05-19 휴멜로 주식회사 Apparatus for generating text and method thereof
KR20220043505A (en) * 2020-09-29 2022-04-05 창원대학교 산학협력단 Document summary device and method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7440143B1 (en) 2023-04-18 2024-02-28 チャットプラス株式会社 Information processing method, program, and information processing device
KR102604242B1 (en) * 2023-05-15 2023-11-21 (주)페르소나에이아이 K-gpt solution based electronic apparatus including generative artificial intelligence linked with external model, and system

Also Published As

Publication number Publication date
KR20240012245A (en) 2024-01-29

Similar Documents

Publication Publication Date Title
US11983210B2 (en) Methods and systems for generating summaries given documents with questions and answers
US20240078386A1 (en) Methods and systems for language-agnostic machine learning in natural language processing using feature extraction
KR102436549B1 (en) Method and apparatus for automatically generating training dataset for faq and chatbot based on natural language processing using deep learning
US11573954B1 (en) Systems and methods for processing natural language queries for healthcare data
US20200293616A1 (en) Generating a meeting review document that includes links to the one or more documents reviewed
US20200293606A1 (en) Generating document edit requests for electronic documents managed by a third-party document management service using artificial intelligence
US20150024351A1 (en) System and Method for the Relevance-Based Categorizing and Near-Time Learning of Words
US20220405484A1 (en) Methods for Reinforcement Document Transformer for Multimodal Conversations and Devices Thereof
US20220414463A1 (en) Automated troubleshooter
Dawson et al. A usability framework for speech recognition technologies in clinical handover: A pre-implementation study
JP2009140466A (en) Method and system for providing conversation dictionary services based on user created dialog data
WO2022108671A1 (en) Automatic document sketching
US11262978B1 (en) Voice-adapted reformulation of web-based answers
Rademaker et al. A linked open data architecture for the historical archives of the Getulio Vargas Foundation
CN108615529A (en) A kind of control method, device and domestic robot based on semantics recognition
US10691900B2 (en) Adaptable text analytics platform
KR102570471B1 (en) Sentence making service method and sentence making service method based on user using text mining
US20220406210A1 (en) Automatic generation of lectures derived from generic, educational or scientific contents, fitting specified parameters
US20220406217A1 (en) Deep learning-based pedagogical word recommendation system for predicting and improving vocabulary skills of foreign language learners
Trivedi Fundamentals of Natural Language Processing
KR20230092675A (en) System and method for providing communication service through language pattern analysis based on artificial intelligence
US20210216886A1 (en) Information providing system and data structure
KR102549971B1 (en) Method of improving the performance of mathematics-related artificial intelligence models and expanding the ease of search using mathematical reading technology
KR102681147B1 (en) Method and apparatus for generating appropriate responses based on the user intent in an ai chatbot through retrieval-augmented generation
KR102610681B1 (en) Methods and devices for generating metadata for the content of questions contained in the reference book

Legal Events

Date Code Title Description
A107 Divisional application of patent
GRNT Written decision to grant