KR20230076012A - Method and system for creating persona conversation data using hyperscale language model - Google Patents

Method and system for creating persona conversation data using hyperscale language model Download PDF

Info

Publication number
KR20230076012A
KR20230076012A KR1020210162810A KR20210162810A KR20230076012A KR 20230076012 A KR20230076012 A KR 20230076012A KR 1020210162810 A KR1020210162810 A KR 1020210162810A KR 20210162810 A KR20210162810 A KR 20210162810A KR 20230076012 A KR20230076012 A KR 20230076012A
Authority
KR
South Korea
Prior art keywords
conversation
dialogue
session
character
database
Prior art date
Application number
KR1020210162810A
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 KR1020210162810A priority Critical patent/KR20230076012A/en
Publication of KR20230076012A publication Critical patent/KR20230076012A/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/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures
    • G06F16/316Indexing structures
    • 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/3331Query processing
    • G06F16/334Query execution
    • G06F16/3344Query execution using natural language analysis
    • 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/335Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • G06F40/35Discourse or dialogue representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning

Landscapes

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

Abstract

The present disclosure relates to a conversation database construction method using a language model, which is performed by at least one processor. The conversation database construction method using a language model includes the steps of: receiving a plurality of predefined conversation purpose-conversation type pairs; generating a plurality of conversation situations related to each conversation purpose using a language model; and constructing an initial conversation database by generating a plurality of seed conversation sessions corresponding to a plurality of conversation purpose-conversation type-conversation situation triple pairs using the language model. Each seed conversation session includes at least one user utterance and at least one character utterance.

Description

초대형 언어 모델을 이용한 페르소나 대화 데이터 생성 방법 및 시스템{METHOD AND SYSTEM FOR CREATING PERSONA CONVERSATION DATA USING HYPERSCALE LANGUAGE MODEL}Method and system for creating persona conversation data using super-large language model

본 개시는 초대형 언어 모델을 이용한 페르소나 대화 데이터 생성 방법 및 시스템에 관한 것으로, 구체적으로 캐릭터 챗봇의 대화의 흐름을 세밀하게 제어할 수 있는 페르소나 대화 데이터 생성 방법 및 시스템에 관한 것이다.The present disclosure relates to a method and system for generating persona conversation data using a super-large language model, and more specifically, to a method and system for generating persona conversation data capable of finely controlling the conversation flow of a character chatbot.

특정 서비스와 연관된 정보를 제공받기를 원하는 경우, 사용자는 전문 상담사를 통해 질문과 답변을 주고받으면서 원하는 정보를 얻을 수 있다. 하지만 최근 인건비 상승 및 상담 대기 시간 단축 니즈 등의 이유로, 전문 상담사의 역할을 대신하여 사용자의 질문에 대한 답변을 제공하는 인공 지능 챗봇(chatbot) 서비스가 늘어나고 있다. 한편, 기계가 아닌 사람과 대화하는 것과 같은 경험을 제공하기 위하여, 페르소나 챗봇 서비스를 개발하기 위한 노력이 계속되고 있다.If a user wants to be provided with information related to a specific service, the user can obtain the desired information by exchanging questions and answers through a professional counselor. However, due to the recent rise in labor costs and the need to reduce waiting time for counseling, artificial intelligence chatbot services that provide answers to user's questions in place of the role of professional counselors are increasing. Meanwhile, in order to provide the same experience as having a conversation with a person rather than a machine, efforts are being made to develop a Persona chatbot service.

상기와 같은 문제를 해결하기 위하여, 본 개시의 다양한 실시예들은 대화 데이터베이스 구축 방법, 기록매체에 저장된 컴퓨터 프로그램 및 장치(시스템)를 제공한다.In order to solve the above problem, various embodiments of the present disclosure provide a method for constructing a conversation database, a computer program stored in a recording medium, and an apparatus (system).

본 개시는 방법, 장치(시스템) 또는 판독 가능 저장 매체에 저장된 컴퓨터 프로그램을 포함한 다양한 방식으로 구현될 수 있다.The present disclosure may be implemented in a variety of ways, including a method, apparatus (system) or computer program stored on a readable storage medium.

본 개시의 일 실시예에 따르면, 적어도 하나의 프로세서에 의해 수행되는, 언어 모델을 이용한 대화 데이터베이스 구축 방법이 제공된다. 대화 데이터베이스 구축 방법은 미리 정의된 복수의 대화 목적-대화 유형 쌍을 수신하는 단계, 언어 모델을 이용하여 각 대화 목적과 연관된 복수의 대화 상황을 생성하는 단계 및 언어 모델을 이용하여 복수의 대화 목적-대화 유형-대화 상황 삼중쌍에 대응하는 복수의 시드 대화 세션을 생성하여 초기 대화 데이터베이스를 구축하는 단계를 포함하고, 각 시드 대화 세션은 적어도 하나의 사용자 발화 및 적어도 하나의 캐릭터 발화를 포함한다.According to an embodiment of the present disclosure, a method for constructing a conversation database using a language model, performed by at least one processor, is provided. A method for constructing a conversation database includes the steps of receiving a plurality of predefined conversation purpose-conversation type pairs, generating a plurality of conversation situations associated with each conversation purpose by using a language model, and using a language model to create a plurality of conversation purpose-conversation type pairs. and constructing an initial dialogue database by creating a plurality of seed dialogue sessions corresponding to the dialogue type-dialogue situation triplets, each seed dialogue session including at least one user utterance and at least one character utterance.

본 개시의 일 실시예에 따르면, 대화 데이터베이스 구축 방법을 컴퓨터에서 실행하기 위해 컴퓨터 판독 가능한 기록 매체에 저장된 컴퓨터 프로그램이 제공된다.According to one embodiment of the present disclosure, a computer program stored in a computer-readable recording medium is provided to execute a conversation database construction method on a computer.

본 개시의 일 실시예에 따르면, 대화 데이터베이스 구축 시스템이 제공된다. 대화 데이터베이스 구축 시스템은 통신 모듈, 메모리 및 메모리와 연결되고, 메모리에 포함된 컴퓨터 판독 가능한 적어도 하나의 프로그램을 실행하도록 구성된 적어도 하나의 프로세서를 포함하고, 적어도 하나의 프로그램은, 미리 정의된 복수의 대화 목적-대화 유형 쌍을 수신하고, 언어 모델을 이용하여 각 대화 목적과 연관된 복수의 대화 상황을 생성하고, 언어 모델을 이용하여 복수의 대화 목적-대화 유형-대화 상황 삼중쌍에 대응하는 복수의 시드 대화 세션을 생성하여 초기 대화 데이터베이스를 구축하기 위한 명령어들을 포함하고, 각 시드 대화 세션은 적어도 하나의 사용자 발화 및 적어도 하나의 캐릭터 발화를 포함한다.According to one embodiment of the present disclosure, a dialogue database building system is provided. A dialogue database construction system includes a communication module, a memory, and at least one processor connected to the memory and configured to execute at least one computer-readable program included in the memory, wherein the at least one program includes a plurality of predefined conversations. A plurality of seeds corresponding to the plurality of conversation purpose-conversation type-conversation situation triplets are received using the purpose-conversation type pair, and a plurality of conversation situations associated with each conversation purpose are generated using the language model. and instructions for creating a chat session to build an initial dialogue database, each seed chat session including at least one user utterance and at least one character utterance.

본 개시의 다양한 실시예에 따르면, 대화 목적 및 대화 목적에 대응하는 대화 유형을 이용하여 페르소나 대화 데이터를 생성함으로써, 캐릭터 챗봇의 언어적 특징을 유지하면서 대화의 흐름을 세밀하게 제어할 수 있으므로, 사용자에게 캐릭터의 성격이 잘 드러나는 캐릭터 챗봇을 제공할 수 있다.According to various embodiments of the present disclosure, by generating persona conversation data using a conversation purpose and a conversation type corresponding to the conversation purpose, the flow of conversation can be controlled in detail while maintaining the linguistic characteristics of the character chatbot. You can provide a character chatbot that reveals the character's personality well.

본 개시의 다양한 실시예에 따르면, 대화 상황을 이용하여 페르소나 대화 데이터를 생성함으로써, 다양한 상황에서의 사용자 발화에 대응하여 알맞은 캐릭터 챗봇의 발화를 제공함으로써 자연스러운 대화를 이어갈 수 있다.According to various embodiments of the present disclosure, by generating persona conversation data using a conversation situation, a natural conversation can be continued by providing appropriate speech of a character chatbot in response to user speech in various situations.

본 개시의 다양한 실시예에 따르면, 초대형 언어 모델을 이용하여, 하나의 시드 대화 세션을 기초로 복수의 증강 대화 세션을 생성함으로써, 캐릭터 챗봇 생성을 위한 방대한 양의 페르소나 대화 데이터를 쉽고 빠르게 생성할 수 있다.According to various embodiments of the present disclosure, a large amount of persona conversation data for generating a character chatbot can be easily and quickly generated by generating a plurality of augmented conversation sessions based on one seed conversation session using a super-large language model. there is.

본 개시의 다양한 실시예에 따르면, 캐릭터 페르소나 탐지기를 이용하여, 생성된 페르소나 대화 데이터를 자동으로 검수함으로써 과도한 사람의 노력의 투입 없이 양질의 캐릭터 대화 데이터베이스를 구축할 수 있다.According to various embodiments of the present disclosure, a high-quality character conversation database can be constructed without excessive human efforts by automatically inspecting generated persona conversation data using a character persona detector.

본 개시의 효과는 이상에서 언급한 효과로 제한되지 않으며, 언급되지 않은 다른 효과들은 청구범위의 기재로부터 본 개시가 속하는 기술분야에서 통상의 지식을 가진 자("통상의 기술자"라 함)에게 명확하게 이해될 수 있을 것이다.The effects of the present disclosure are not limited to the effects mentioned above, and other effects not mentioned are clear to those skilled in the art (referred to as "ordinary technicians") from the description of the claims. will be understandable.

도 1은 본 개시의 일 실시예에 따라 언어 모델을 이용하여 캐릭터 대화가 포함된 최종 대화 데이터베이스를 구축하는 예시를 나타내는 도면이다.
도 2는 본 개시의 일 실시예에 따른 캐릭터 챗봇 서비스를 제공하기 위하여, 정보 처리 시스템이 복수의 사용자 단말과 통신 가능하도록 연결된 구성을 나타내는 개요도이다.
도 3은 본 개시의 일 실시예에 따른 사용자 단말 및 정보 처리 시스템의 내부 구성과 초대형 언어 모델을 나타내는 블록도이다.
도 4는 일 실시예에 따라, 복수의 대화 목적-대화 유형 쌍을 생성하는 예시를 나타내는 도면이다.
도 5는 일 실시예에 따라, 개략적인 대화 상황을 생성하는 예시를 나타내는 도면이다.
도 6은 일 실시예에 따라, 구체적인 대화 상황을 생성하는 예시를 나타내는 도면이다.
도 7은 일 실시예에 따른, 시드 대화 세션을 생성하기 위한 프롬프트의 예시를 나타내는 도면이다.
도 8은 본 개시의 일 실시예에 따라, 초대형 언어 모델을 이용하여 시드 대화 세션에 대응하는 증강 대화 세션을 생성하는 예시를 나타내는 도면이다.
도 9는 본 개시의 일 실시예에 따른 미리 정의된 캐릭터 성격 맵의 예시를 나타내는 도면이다.
도 10은 본 개시의 일 실시예에 따라 캐릭터 페르소나 탐지기를 이용하여 최종 대화 데이터베이스를 생성하는 예시를 나타내는 도면이다.
도 11은 본 개시의 일 실시예에 따라 성격 필터를 이용하여 대화 세션을 필터링하는 예시를 나타내는 도면이다.
도 12는 본 개시의 일 실시예에 따라 세계관 필터를 이용하여 증강 대화 세션을 필터링하는 예시를 나타내는 도면이다.
도 13은 본 개시의 일 실시예에 따라 대화체 필터 및 대화체 변환기를 이용하여 캐릭터 대화체와 일치하지 않는 캐릭터 발화를 캐릭터 대화체로 변환하는 예시를 나타내는 도면이다.
도 14는 본 개시의 일 실시예에 따라, 언어 모델을 이용한 대화 데이터베이스 구축 방법을 나타내는 흐름도이다.
1 is a diagram illustrating an example of constructing a final dialogue database including character dialogues using a language model according to an embodiment of the present disclosure.
2 is a schematic diagram showing a configuration in which an information processing system is communicatively connected with a plurality of user terminals in order to provide a character chatbot service according to an embodiment of the present disclosure.
3 is a block diagram illustrating an internal configuration and a very large language model of a user terminal and an information processing system according to an embodiment of the present disclosure.
4 is a diagram illustrating an example of generating a plurality of conversation purpose-conversation type pairs, according to one embodiment.
5 is a diagram illustrating an example of generating a schematic conversation situation, according to an exemplary embodiment.
6 is a diagram illustrating an example of generating a specific conversation situation according to an exemplary embodiment.
7 is a diagram illustrating an example of a prompt for creating a seed conversation session, according to one embodiment.
8 is a diagram illustrating an example of generating an augmented conversation session corresponding to a seed conversation session using a super-large language model according to an embodiment of the present disclosure.
9 is a diagram illustrating an example of a predefined character personality map according to an embodiment of the present disclosure.
10 is a diagram illustrating an example of generating a final conversation database using a character persona detector according to an embodiment of the present disclosure.
11 is a diagram illustrating an example of filtering a conversation session using a personality filter according to an embodiment of the present disclosure.
12 is a diagram illustrating an example of filtering an augmented conversation session using a world view filter according to an embodiment of the present disclosure.
13 is a diagram illustrating an example of converting a character utterance that does not match a character dialogue into a character dialogue using a dialogue filter and a dialogue converter according to an embodiment of the present disclosure.
14 is a flowchart illustrating a method of constructing a dialogue database using a language model according to an embodiment of the present disclosure.

이하, 본 개시의 실시를 위한 구체적인 내용을 첨부된 도면을 참조하여 상세히 설명한다. 다만, 이하의 설명에서는 본 개시의 요지를 불필요하게 흐릴 우려가 있는 경우, 널리 알려진 기능이나 구성에 관한 구체적 설명은 생략하기로 한다.Hereinafter, specific details for the implementation of the present disclosure will be described in detail with reference to the accompanying drawings. However, in the following description, if there is a risk of unnecessarily obscuring the gist of the present disclosure, detailed descriptions of well-known functions or configurations will be omitted.

첨부된 도면에서, 동일하거나 대응하는 구성요소에는 동일한 참조부호가 부여되어 있다. 또한, 이하의 실시예들의 설명에 있어서, 동일하거나 대응되는 구성요소를 중복하여 기술하는 것이 생략될 수 있다. 그러나, 구성요소에 관한 기술이 생략되어도, 그러한 구성요소가 어떤 실시예에 포함되지 않는 것으로 의도되지는 않는다.In the accompanying drawings, identical or corresponding elements are given the same reference numerals. In addition, in the description of the following embodiments, overlapping descriptions of the same or corresponding components may be omitted. However, omission of a description of a component does not intend that such a component is not included in an embodiment.

개시된 실시예의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나, 본 개시는 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 개시가 완전하도록 하고, 본 개시가 통상의 기술자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것일 뿐이다.Advantages and features of the disclosed embodiments, and methods of achieving them, will become apparent with reference to the following embodiments in conjunction with the accompanying drawings. However, the present disclosure is not limited to the embodiments disclosed below and may be implemented in various different forms, but only the present embodiments make the present disclosure complete, and the present disclosure does not extend the scope of the invention to those skilled in the art. It is provided only for complete information.

본 명세서에서 사용되는 용어에 대해 간략히 설명하고, 개시된 실시예에 대해 구체적으로 설명하기로 한다. 본 명세서에서 사용되는 용어는 본 개시에서의 기능을 고려하면서 가능한 현재 널리 사용되는 일반적인 용어들을 선택하였으나, 이는 관련 분야에 종사하는 기술자의 의도 또는 판례, 새로운 기술의 출현 등에 따라 달라질 수 있다. 또한, 특정한 경우는 출원인이 임의로 선정한 용어도 있으며, 이 경우 해당되는 발명의 설명 부분에서 상세히 그 의미를 기재할 것이다. 따라서, 본 개시에서 사용되는 용어는 단순한 용어의 명칭이 아닌, 그 용어가 가지는 의미와 본 개시의 전반에 걸친 내용을 토대로 정의되어야 한다.Terms used in this specification will be briefly described, and the disclosed embodiments will be described in detail. The terms used in this specification have been selected from general terms that are currently widely used as much as possible while considering the functions in the present disclosure, but they may vary according to the intention of a person skilled in the related field, a precedent, or the emergence of new technology. In addition, in a specific case, there is also a term arbitrarily selected by the applicant, and in this case, the meaning will be described in detail in the description of the invention. Therefore, the terms used in the present disclosure should be defined based on the meaning of the terms and the general content of the present disclosure, not simply the names of the terms.

본 명세서에서의 단수의 표현은 문맥상 명백하게 단수인 것으로 특정하지 않는 한, 복수의 표현을 포함한다. 또한, 복수의 표현은 문맥상 명백하게 복수인 것으로 특정하지 않는 한, 단수의 표현을 포함한다. 명세서 전체에서 어떤 부분이 어떤 구성요소를 포함한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있음을 의미한다.Expressions in the singular number in this specification include plural expressions unless the context clearly dictates that they are singular. Also, plural expressions include singular expressions unless the context clearly specifies that they are plural. When it is said that a certain part includes a certain component in the entire specification, this means that it may further include other components without excluding other components unless otherwise stated.

또한, 명세서에서 사용되는 '모듈' 또는 '부'라는 용어는 소프트웨어 또는 하드웨어 구성요소를 의미하며, '모듈' 또는 '부'는 어떤 역할들을 수행한다. 그렇지만, '모듈' 또는 '부'는 소프트웨어 또는 하드웨어에 한정되는 의미는 아니다. '모듈' 또는 '부'는 어드레싱할 수 있는 저장 매체에 있도록 구성될 수도 있고 하나 또는 그 이상의 프로세서들을 재생시키도록 구성될 수도 있다. 따라서, 일 예로서, '모듈' 또는 '부'는 소프트웨어 구성요소들, 객체지향 소프트웨어 구성요소들, 클래스 구성요소들 및 태스크 구성요소들과 같은 구성요소들과, 프로세스들, 함수들, 속성들, 프로시저들, 서브루틴들, 프로그램 코드의 세그먼트들, 드라이버들, 펌웨어, 마이크로 코드, 회로, 데이터, 데이터베이스, 데이터 구조들, 테이블들, 어레이들 또는 변수들 중 적어도 하나를 포함할 수 있다. 구성요소들과 '모듈' 또는 '부'들은 안에서 제공되는 기능은 더 작은 수의 구성요소들 및 '모듈' 또는 '부'들로 결합되거나 추가적인 구성요소들과 '모듈' 또는 '부'들로 더 분리될 수 있다.Also, the term 'module' or 'unit' used in the specification means a software or hardware component, and the 'module' or 'unit' performs certain roles. However, 'module' or 'unit' is not meant to be limited to software or hardware. A 'module' or 'unit' may be configured to reside in an addressable storage medium and may be configured to reproduce one or more processors. Thus, as an example, a 'module' or 'unit' includes components such as software components, object-oriented software components, class components, and task components, processes, functions, and attributes. , procedures, subroutines, segments of program code, drivers, firmware, microcode, circuitry, data, databases, data structures, tables, arrays, or variables. Functions provided within components and 'modules' or 'units' may be combined into a smaller number of components and 'modules' or 'units', or further components and 'modules' or 'units'. can be further separated.

본 개시의 일 실시예에 따르면, '모듈' 또는 '부'는 프로세서 및 메모리로 구현될 수 있다. '프로세서'는 범용 프로세서, 중앙 처리 장치(CPU), 마이크로프로세서, 디지털 신호 프로세서(DSP), 제어기, 마이크로제어기, 상태 머신 등을 포함하도록 넓게 해석되어야 한다. 몇몇 환경에서, '프로세서'는 주문형 반도체(ASIC), 프로그램가능 로직 디바이스(PLD), 필드 프로그램가능 게이트 어레이(FPGA) 등을 지칭할 수도 있다. '프로세서'는, 예를 들어, DSP와 마이크로프로세서의 조합, 복수의 마이크로프로세서들의 조합, DSP 코어와 결합한 하나 이상의 마이크로프로세서들의 조합, 또는 임의의 다른 그러한 구성들의 조합과 같은 처리 디바이스들의 조합을 지칭할 수도 있다. 또한, '메모리'는 전자 정보를 저장 가능한 임의의 전자 컴포넌트를 포함하도록 넓게 해석되어야 한다. '메모리'는 임의 액세스 메모리(RAM), 판독-전용 메모리(ROM), 비-휘발성 임의 액세스 메모리(NVRAM), 프로그램가능 판독-전용 메모리(PROM), 소거-프로그램가능 판독 전용 메모리(EPROM), 전기적으로 소거가능 PROM(EEPROM), 플래쉬 메모리, 자기 또는 광학 데이터 저장장치, 레지스터들 등과 같은 프로세서-판독가능 매체의 다양한 유형들을 지칭할 수도 있다. 프로세서가 메모리로부터 정보를 판독하고/하거나 메모리에 정보를 기록할 수 있다면 메모리는 프로세서와 전자 통신 상태에 있다고 불린다. 프로세서에 집적된 메모리는 프로세서와 전자 통신 상태에 있다.According to one embodiment of the present disclosure, a 'module' or 'unit' may be implemented with a processor and a memory. 'Processor' should be interpreted broadly to include general-purpose processors, central processing units (CPUs), microprocessors, digital signal processors (DSPs), controllers, microcontrollers, state machines, and the like. In some circumstances, 'processor' may refer to an application specific integrated circuit (ASIC), programmable logic device (PLD), field programmable gate array (FPGA), or the like. 'Processor' refers to a combination of processing devices, such as, for example, a combination of a DSP and a microprocessor, a combination of a plurality of microprocessors, a combination of one or more microprocessors in conjunction with a DSP core, or a combination of any other such configurations. You may. Also, 'memory' should be interpreted broadly to include any electronic component capable of storing electronic information. 'Memory' includes random access memory (RAM), read-only memory (ROM), non-volatile random access memory (NVRAM), programmable read-only memory (PROM), erasable-programmable read-only memory (EPROM), It may also refer to various types of processor-readable media, such as electrically erasable PROM (EEPROM), flash memory, magnetic or optical data storage, registers, and the like. A memory is said to be in electronic communication with the processor if the processor can read information from and/or write information to the memory. Memory integrated with the processor is in electronic communication with the processor.

본 개시에서, '초대형 언어 모델(hyperscale language model)'은 퓨샷 러닝(few-shot learning) 등과 같은 방식을 이용하여 파인 튜닝(fine-tuning) 없이 추론이 가능한 언어 모델을 지칭할 수 있으며, 기존의 일반 언어 모델에 비해 10배 이상 많은 매개 변수(예를 들어, 1000억 개 이상의 매개 변수 등)를 가질 수 있다. 예를 들어, 초대형 언어 모델은 하이퍼클로바(HyperCLOVA), GPT 3(Generative Pretrained Transformer 3)일 수 있다. 본 개시에서 초대형 언어 모델은 언어 모델로 지칭될 수 있다.In the present disclosure, a 'hyperscale language model' may refer to a language model capable of inference without fine-tuning using a method such as a few-shot learning, and It can have more than 10 times as many parameters as regular language models (e.g., more than 100 billion parameters, etc.). For example, the super large language model may be HyperCLOVA or Generative Pretrained Transformer 3 (GPT 3). In the present disclosure, a very large language model may be referred to as a language model.

본 개시에서, '페르소나(persona)'는 특정 성격, 특정 세계관, 그리고 특정 대화체로 인해 고유의 언어적인 특징이 발현되어 다른 캐릭터 또는 인물과 구별되는 특징을 가진 캐릭터를 지칭할 수 있다.In the present disclosure, a 'persona' may refer to a character that is distinguished from other characters or people by expressing unique linguistic characteristics due to a specific personality, a specific worldview, and a specific conversational style.

본 개시에서, '챗봇'은, 특정 서비스와 연관된 정보를 제공하거나, 사용자의 발화에 포함된 질문에 대응하는 답변을 제공하는 인공지능(Artificial Intelligence, AI) 기반의 커뮤니케이션 소프트웨어를 지칭할 수 있다. 특정 캐릭터 페르소나를 가지는 챗봇은 캐릭터 챗봇이라고 지칭할 수 있다.In the present disclosure, 'chatbot' may refer to artificial intelligence (AI)-based communication software that provides information related to a specific service or provides answers corresponding to questions included in a user's speech. A chatbot with a specific character persona may be referred to as a character chatbot.

본 개시에서, '발화'는 소리를 내어 말을 하는 언어 행위 또는 해당 언어 행위를 문자 형태로 기술한 것(예를 들어, 텍스트)을 지칭할 수 있다.In the present disclosure, 'speech' may refer to a verbal act of speaking out loud or a description of the corresponding verbal act in a text form (eg, text).

본 개시에서, '대화 세션'은 두 명(또는 두 명 이상)의 대화자가 참여하여, 복수의 발화를 포함하는 대화 장면을 지칭할 수 있다. 예를 들어, 대화 세션은 사용자와 캐릭터 챗봇 사이의 대화일 수 있으며, 이 경우, 사용자 발화와 캐릭터 발화를 포함할 수 있다.In the present disclosure, a 'conversation session' may refer to a conversation scene including a plurality of utterances in which two (or more than two) conversations participate. For example, a conversation session may be a conversation between a user and a character chatbot, and in this case, may include user speech and character speech.

도 1은 본 개시의 일 실시예에 따라 언어 모델을 이용하여 캐릭터 대화가 포함된 최종 대화 데이터베이스(160)를 구축하는 예시를 나타내는 도면이다. 캐릭터 챗봇은 사용자의 발화에 대응하여 특정 캐릭터 페르소나를 유지한 캐릭터 발화를 제공할 수 있다. 이러한 캐릭터 챗봇을 생성하기 위해서는 캐릭터의 대화체, 세계관 및 성격을 설정할 필요가 있다. 여기서, 캐릭터의 대화체는 캐릭터의 말투를 지칭할 수 있다. 말투는 발화의 의미와 독립적으로 표현되는 문장의 구조적인 정보를 지칭할 수 있다. 또한, 캐릭터의 세계관은 캐릭터가 보유한 고유의 이야기를 지칭할 수 있다. 즉, 캐릭터 챗봇은 캐릭터의 배경을 구성하는 이야기의 맥락을 유지하는 캐릭터 발화를 제공할 수 있다. 또한, 캐릭터의 성격은 특정 상황에서의 일관된 캐릭터의 대화 패턴을 지칭할 수 있다.1 is a diagram illustrating an example of constructing a final conversation database 160 including character conversations using a language model according to an embodiment of the present disclosure. The character chatbot may provide character speech maintaining a specific character persona in response to the user's speech. In order to create such a character chatbot, it is necessary to set the conversation style, world view, and personality of the character. Here, the dialogue style of the character may refer to the character's tone of voice. The tone of speech may refer to structural information of a sentence expressed independently of the meaning of an utterance. In addition, the character's view of the world may refer to a unique story possessed by the character. That is, the character chatbot may provide character utterances that maintain the context of the story constituting the background of the character. Also, the personality of a character may refer to a consistent conversation pattern of a character in a specific situation.

이와 같은, 캐릭터의 대화체, 세계관 및 성격을 포함한 캐릭터 챗봇을 생성하기 위해서는 방대한 캐릭터 대화 데이터베이스가 필요하다. 하지만, 개인 정보의 유출 등의 문제로 SNS의 대화 데이터를 사용할 수 없어 대화 데이터베이스를 구축하는데 어려움이 있고, 초대형 언어 모델을 이용하여 생성된 대화 데이터베이스는 입력된 샘플 대화와 유사한 구조의 대화를 주로 생성하는 문제가 있다. 또한, 생성된 대화 데이터 가운데 캐릭터 대화체, 세계관 및 성격에 맞지 않는 대화 데이터를 검수하는데 많은 비용과 노력이 투입되는 어려움이 있다.In order to create such a character chatbot including the dialogue style, world view, and personality of the character, a vast character dialogue database is required. However, it is difficult to build a conversation database because conversation data from SNS cannot be used due to problems such as leakage of personal information. A conversation database created using a super-large language model mainly creates conversations with a similar structure to the input sample conversations. There is a problem with In addition, there is a difficulty in that a lot of cost and effort are invested in inspecting the dialogue data that does not fit the character dialogue style, world view, and personality among the generated dialogue data.

이와 같은 문제를 해결하기 위해, 복수의 대화 목적(purpose), 대화 유형(action) 및 대화 상황(situation)을 기초로 초대형 언어 모델을 이용하여, 대화 데이터베이스를 생성함으로써, 다양한 구조의 캐릭터 대화 데이터를 생성할 수 있다. 또한, 캐릭터 페르소나 탐지기(150)를 이용하여, 캐릭터의 대화체, 세계관 및 성격과 일치하지 않는 대화 데이터를 필터링함으로써, 효율적인 캐릭터 대화 데이터베이스를 구축할 수 있다.In order to solve this problem, a dialogue database is created using a very large language model based on a plurality of dialogue purposes, dialogue types (actions), and dialogue situations, so that character dialogue data of various structures is stored. can create In addition, an efficient character conversation database can be constructed by filtering conversation data that does not match the dialogue style, world view, and personality of the character using the character persona detector 150 .

일 실시예에 따르면, 대화 데이터베이스 구축 시스템은 복수의 대화 목적-대화 유형 쌍(110) 및 각 대화 목적과 연관된 구체적인 대화 상황 리스트(120)를 언어 모델에 입력하여 초기 대화 데이터베이스(130)를 구축할 수 있다. 예를 들어, 대화 데이터베이스 구축 시스템은 복수의 대화 목적-대화 유형-구체적인 대화 상황 삼중쌍(triplet)을 초대형 언어 모델에 입력하여, 복수의 시드 대화 세션을 생성함으로써 초기 대화 데이터베이스(130)를 구축할 수 있다.According to an embodiment, the dialogue database construction system constructs an initial dialogue database 130 by inputting a plurality of dialogue purpose-conversation type pairs 110 and a specific dialogue situation list 120 associated with each conversation purpose into a language model. can For example, the dialogue database building system constructs the initial dialogue database 130 by generating a plurality of seed dialogue sessions by inputting a plurality of dialogue purpose-conversation type-specific dialogue situation triplets into a very large language model. can

그리고 나서, 대화 데이터베이스 구축 시스템은 초기 대화 데이터베이스(130) 내의 각 시드 대화 세션을 초대형 언어 모델에 입력하여 적어도 하나의 증강 대화 세션을 생성함으로써 증강 대화 데이터베이스(140)를 구축할 수 있다. 예를 들어, 대화 데이터베이스 구축 시스템은 초대형 언어 모델을 이용하여 초기 대화 데이터베이스(130) 내의 각 시드 대화 세션에 포함된 발화들을 페러프레이징(paraphrasing)하여, 증강 대화 세션을 생성함으로써, 증강 대화 데이터베이스(140)를 구축할 수 있다. 여기서, 초기 대화 데이터베이스(130)와 증강 대화 데이터베이스(140)는 동일한 대화 데이터베이스를 지칭할 수 있다. 이 경우, 증강 대화 데이터베이스(140)는 시드 대화 세션을 생성함으로써 구축된 초기 대화 데이터베이스(130)에 증강 대화 세션이 추가된 대화 데이터베이스를 지칭할 수 있다.Then, the dialog database building system may build the augmented dialog database 140 by inputting each seed dialog session in the initial dialog database 130 into the super-large language model to generate at least one augmented dialog session. For example, the dialogue database construction system creates an augmented dialogue session by paraphrasing utterances included in each seed dialogue session in the initial dialogue database 130 using a very large language model, thereby generating the augmented dialogue database 140. ) can be built. Here, the initial dialogue database 130 and the augmented dialogue database 140 may refer to the same dialogue database. In this case, the augmented dialog database 140 may refer to a dialog database in which an enhanced dialog session is added to the initial dialog database 130 built by creating a seed dialog session.

그 후, 대화 데이터베이스 구축 시스템은 증강 대화 데이터베이스(140)에 포함된 복수의 시드 대화 세션 및 복수의 증강 대화 세션을 캐릭터 페르소나 탐지기(150)에 입력하여 캐릭터 페르소나와 일치하지 않는 대화 세션을 필터링할 수 있다. 예를 들어, 캐릭터 페르소나 탐지기(150)는 특정 대화 세션이 캐릭터 챗봇의 성격과 일치하지 않는 것으로 판정하는 경우, 해당 대화 세션을 제거할 수 있다. 또한, 캐릭터 페르소나 탐지기(150)는 특정 증강 대화 세션을 허위로 판정하는 경우, 해당 대화 세션을 제거할 수 있다. 또한, 캐릭터 페르소나 탐지기(150)는 특정 대화 세션 내의 캐릭터 발화가 캐릭터 대화체와 일치하지 않는 경우, 이를 캐릭터 대화체로 변환할 수 있다. 대화 데이터베이스 구축 시스템은 필터링된 대화 세션으로 최종 대화 데이터베이스(160)를 생성할 수 있다.After that, the dialogue database construction system inputs the plurality of seed dialogue sessions and the plurality of augmented dialogue sessions included in the augmented dialogue database 140 to the character persona detector 150 to filter dialogue sessions that do not match the character persona. there is. For example, when the character persona detector 150 determines that a specific chat session does not match the character of the character chatbot, the corresponding chat session may be removed. Also, when the character persona detector 150 determines that a specific augmented chat session is false, the corresponding chat session may be removed. In addition, the character persona detector 150 may convert character utterances in a specific conversation session into character conversations if they do not match the character conversations. The conversation database building system may create the final conversation database 160 with the filtered conversation sessions.

이와 같은 구성을 통해, SNS의 대화 데이터를 수집하지 않더라도, 초대형 언어 모델을 이용하여 캐릭터 챗봇 생성을 위한 방대한 양의 캐릭터 대화 데이터베이스를 쉽고 빠르게 생성할 수 있다. 또한, 과도한 사람의 노력없이 생성된 대화 데이터베이스를 자동으로 검수하여 양질의 캐릭터 대화 데이터베이스를 구축할 수 있다.Through this configuration, even without collecting SNS conversation data, it is possible to easily and quickly create a vast amount of character conversation database for character chatbot creation using a super-large language model. In addition, it is possible to build a high-quality character conversation database by automatically inspecting the created conversation database without excessive human effort.

도 2는 본 개시의 일 실시예에 따른 캐릭터 챗봇 서비스를 제공하기 위하여, 정보 처리 시스템(230)이 복수의 사용자 단말(210_1, 210_2, 210_3)과 통신 가능하도록 연결된 구성을 나타내는 개요도이다. 정보 처리 시스템(230)은 캐릭터 챗봇 서비스를 제공할 수 있는 시스템을 포함할 수 있다. 일 실시예에서, 정보 처리 시스템(230)은 캐릭터 챗봇 서비스와 관련된 컴퓨터 실행 가능한 프로그램(예를 들어, 다운로드 가능한 애플리케이션) 및 데이터를 저장, 제공 및 실행할 수 있는 하나 이상의 서버 장치 및/또는 데이터베이스, 또는 클라우드 컴퓨팅 서비스 기반의 하나 이상의 분산 컴퓨팅 장치 및/또는 분산 데이터베이스를 포함할 수 있다. 예를 들어, 정보 처리 시스템(230)은 캐릭터 챗봇 서비스를 위한 별도의 시스템(예를 들어, 서버)들을 포함할 수 있다. 정보 처리 시스템(230)에 의해 제공되는 캐릭터 챗봇 서비스 등은, 복수의 사용자 단말(210_1, 210_2, 210_3)의 각각에 설치된 인스턴트 메시징 애플리케이션, 인공지능 기반 커뮤니케이션 소프트웨어, 웹 브라우저 등을 통해 사용자에게 제공될 수 있다. 일 실시예에서, 정보 처리 시스템(230)은 초대형 언어 모델(240)을 이용하여 사용자 단말에 캐릭터 챗봇 서비스를 제공할 수 있다. 또한, 정보 처리 시스템(230)은 초대형 언어 모델(240)을 이용하여 캐릭터 챗봇을 생성하기 위한 대화 데이터베이스를 구축할 수 있다.2 is a schematic diagram illustrating a configuration in which an information processing system 230 is connected to communicate with a plurality of user terminals 210_1, 210_2, and 210_3 in order to provide a character chatbot service according to an embodiment of the present disclosure. The information processing system 230 may include a system capable of providing a character chatbot service. In one embodiment, the information processing system 230 includes one or more server devices and/or databases capable of storing, providing, and executing computer-executable programs (eg, downloadable applications) and data related to the character chatbot service, or It may include one or more distributed computing devices and/or distributed databases based on cloud computing services. For example, the information processing system 230 may include separate systems (eg, servers) for character chatbot services. The character chatbot service provided by the information processing system 230 is provided to users through instant messaging applications, artificial intelligence-based communication software, web browsers, etc. installed in each of the plurality of user terminals 210_1, 210_2, and 210_3. can In one embodiment, the information processing system 230 may provide a character chatbot service to a user terminal using the super large language model 240 . Also, the information processing system 230 may build a conversation database for generating a character chatbot using the super large language model 240 .

복수의 사용자 단말(210_1, 210_2, 210_3)은 네트워크(220)를 통해 정보 처리 시스템(230)과 통신할 수 있다. 네트워크(220)는 복수의 사용자 단말(210_1, 210_2, 210_3)과 정보 처리 시스템(230) 사이의 통신이 가능하도록 구성될 수 있다. 네트워크(220)는 설치 환경에 따라, 예를 들어, 이더넷(Ethernet), 유선 홈 네트워크(Power Line Communication), 전화선 통신 장치 및 RS-serial 통신 등의 유선 네트워크, 이동통신망, WLAN(Wireless LAN), Wi-Fi, Bluetooth 및 ZigBee 등과 같은 무선 네트워크 또는 그 조합으로 구성될 수 있다. 통신 방식은 제한되지 않으며, 네트워크(220)가 포함할 수 있는 통신망(일례로, 이동통신망, 유선 인터넷, 무선 인터넷, 방송망, 위성망 등)을 활용하는 통신 방식뿐 아니라 사용자 단말(210_1, 210_2, 210_3) 사이의 근거리 무선 통신 역시 포함될 수 있다.A plurality of user terminals 210_1 , 210_2 , and 210_3 may communicate with the information processing system 230 through the network 220 . The network 220 may be configured to enable communication between the plurality of user terminals 210_1, 210_2, and 210_3 and the information processing system 230. Depending on the installation environment, the network 220 may be, for example, a wired network such as Ethernet, a wired home network (Power Line Communication), a telephone line communication device and RS-serial communication, a mobile communication network, a wireless LAN (WLAN), It may consist of a wireless network such as Wi-Fi, Bluetooth, and ZigBee, or a combination thereof. The communication method is not limited, and the user terminals (210_1, 210_2, 210_3) as well as a communication method utilizing a communication network (eg, mobile communication network, wired Internet, wireless Internet, broadcasting network, satellite network, etc.) that the network 220 may include ), short-range wireless communication between them may also be included.

도 2에서 휴대폰 단말(210_1), 태블릿 단말(210_2) 및 PC 단말(210_3)이 사용자 단말의 예로서 도시되었으나, 이에 한정되지 않으며, 사용자 단말(210_1, 210_2, 210_3)은 유선 및/또는 무선 통신이 가능한 임의의 컴퓨팅 장치일 수 있다. 예를 들어, 사용자 단말은, 스마트폰, 휴대폰, 내비게이션, 컴퓨터, 노트북, 디지털방송용 단말, PDA(Personal Digital Assistants), PMP(Portable Multimedia Player), 태블릿 PC, 게임 콘솔(game console), 웨어러블 디바이스(wearable device), IoT(internet of things) 디바이스, VR(virtual reality) 디바이스, AR(augmented reality) 디바이스 등을 포함할 수 있다. 또한, 도 2에는 3개의 사용자 단말(210_1, 210_2, 210_3)이 네트워크(220)를 통해 정보 처리 시스템(230)과 통신하는 것으로 도시되어 있으나, 이에 한정되지 않으며, 상이한 수의 사용자 단말이 네트워크(220)를 통해 정보 처리 시스템(230)과 통신하도록 구성될 수도 있다.In FIG. 2, a mobile phone terminal 210_1, a tablet terminal 210_2, and a PC terminal 210_3 are illustrated as examples of user terminals, but are not limited thereto, and the user terminals 210_1, 210_2, and 210_3 may perform wired and/or wireless communication. It can be any computing device capable of this. For example, the user terminal includes a smartphone, a mobile phone, a navigation device, a computer, a laptop computer, a digital broadcasting terminal, a personal digital assistant (PDA), a portable multimedia player (PMP), a tablet PC, a game console, and a wearable device ( wearable device), internet of things (IoT) device, virtual reality (VR) device, augmented reality (AR) device, and the like. In addition, although three user terminals 210_1, 210_2, and 210_3 are shown in FIG. 2 to communicate with the information processing system 230 through the network 220, it is not limited thereto, and a different number of user terminals may be connected to the network ( 220) to communicate with the information processing system 230.

일 실시예에서, 정보 처리 시스템(230)은 사용자 단말(210_1, 210_2, 210_3)로부터 사용자 발화(예를 들어, 텍스트, 음성 등)를 수신할 수 있다. 이 경우, 정보 처리 시스템(230)은 수신된 사용자 발화 정보에 응답하는 캐릭터 챗봇의 페르소나가 유지된 캐릭터 발화를 제공할 수 있다. 도 2에서 초대형 언어 모델(240)이 정보 처리 시스템(230) 외부에 존재하는 것으로 도시되었으나, 이에 한정되지 않으며, 정보 처리 시스템(230) 내부에 초대형 언어 모델(240)이 저장되어 사용될 수 있다.In one embodiment, the information processing system 230 may receive user speech (eg, text, voice, etc.) from the user terminals 210_1, 210_2, and 210_3. In this case, the information processing system 230 may provide character speech maintaining the persona of the character chatbot responding to the received user speech information. Although the very large language model 240 is shown to exist outside the information processing system 230 in FIG. 2, it is not limited thereto, and the very large language model 240 may be stored and used inside the information processing system 230.

도 3은 본 개시의 일 실시예에 따른 사용자 단말(210) 및 정보 처리 시스템(230)의 내부 구성과 초대형 언어 모델(240)을 나타내는 블록도이다. 사용자 단말(210)은 인스턴트 메시징 애플리케이션, 인공지능 기반 커뮤니케이션 소프트웨어, 웹 브라우저 등이 실행 가능하고 유/무선 통신이 가능한 임의의 컴퓨팅 장치를 지칭할 수 있으며, 예를 들어, 도 2의 휴대폰 단말(210_1), 태블릿 단말(210_2), PC 단말(210_3) 등을 포함할 수 있다. 도시된 바와 같이, 사용자 단말(210)은 메모리(312), 프로세서(314), 통신 모듈(316) 및 입출력 인터페이스(318)를 포함할 수 있다. 이와 유사하게, 정보 처리 시스템(230)은 메모리(332), 프로세서(334), 통신 모듈(336) 및 입출력 인터페이스(338)를 포함할 수 있다. 도 3에 도시된 바와 같이, 사용자 단말(210) 및 정보 처리 시스템(230)은 각각의 통신 모듈(316, 336)을 이용하여 네트워크(220)를 통해 정보 및/또는 데이터를 통신할 수 있도록 구성될 수 있다. 또한, 입출력 장치(320)는 입출력 인터페이스(318)를 통해 사용자 단말(210)에 정보 및/또는 데이터를 입력하거나 사용자 단말(210)로부터 생성된 정보 및/또는 데이터를 출력하도록 구성될 수 있다.3 is a block diagram illustrating the internal configuration of the user terminal 210 and the information processing system 230 and the super large language model 240 according to an embodiment of the present disclosure. The user terminal 210 may refer to any computing device capable of executing an instant messaging application, artificial intelligence-based communication software, a web browser, etc. and capable of wired/wireless communication. For example, the mobile phone terminal 210_1 of FIG. 2 ), a tablet terminal 210_2, a PC terminal 210_3, and the like. As shown, the user terminal 210 may include a memory 312 , a processor 314 , a communication module 316 and an input/output interface 318 . Similarly, the information processing system 230 may include a memory 332 , a processor 334 , a communication module 336 and an input/output interface 338 . As shown in FIG. 3, the user terminal 210 and the information processing system 230 are configured to communicate information and/or data through the network 220 using respective communication modules 316 and 336. It can be. In addition, the input/output device 320 may be configured to input information and/or data to the user terminal 210 through the input/output interface 318 or output information and/or data generated from the user terminal 210.

메모리(312, 332)는 비-일시적인 임의의 컴퓨터 판독 가능한 기록매체를 포함할 수 있다. 일 실시예에 따르면, 메모리(312, 332)는 RAM(random access memory), ROM(read only memory), 디스크 드라이브, SSD(solid state drive), 플래시 메모리(flash memory) 등과 같은 비소멸성 대용량 저장 장치(permanent mass storage device)를 포함할 수 있다. 다른 예로서, ROM, SSD, 플래시 메모리, 디스크 드라이브 등과 같은 비소멸성 대용량 저장 장치는 메모리와는 구분되는 별도의 영구 저장 장치로서 사용자 단말(210) 또는 정보 처리 시스템(230)에 포함될 수 있다. 또한, 메모리(312, 332)에는 운영체제와 적어도 하나의 프로그램 코드가 저장될 수 있다.The memories 312 and 332 may include any non-transitory computer readable media. According to one embodiment, the memories 312 and 332 are non-perishable mass storage devices such as random access memory (RAM), read only memory (ROM), disk drives, solid state drives (SSDs), flash memory, and the like. (permanent mass storage device) may be included. As another example, a non-perishable mass storage device such as a ROM, SSD, flash memory, or disk drive may be included in the user terminal 210 or the information processing system 230 as a separate permanent storage device separate from memory. Also, an operating system and at least one program code may be stored in the memories 312 and 332 .

이러한 소프트웨어 구성요소들은 메모리(312, 332)와는 별도의 컴퓨터에서 판독 가능한 기록매체로부터 로딩될 수 있다. 이러한 별도의 컴퓨터에서 판독가능한 기록매체는 이러한 사용자 단말(210) 및 정보 처리 시스템(230)에 직접 연결가능한 기록 매체를 포함할 수 있는데, 예를 들어, 플로피 드라이브, 디스크, 테이프, DVD/CD-ROM 드라이브, 메모리 카드 등의 컴퓨터에서 판독 가능한 기록매체를 포함할 수 있다. 다른 예로서, 소프트웨어 구성요소들은 컴퓨터에서 판독 가능한 기록매체가 아닌 통신 모듈(316, 336)을 통해 메모리(312, 332)에 로딩될 수도 있다. 예를 들어, 적어도 하나의 프로그램은 개발자들 또는 애플리케이션의 설치 파일을 배포하는 파일 배포 시스템이 네트워크(220)를 통해 제공하는 파일들에 의해 설치되는 컴퓨터 프로그램에 기반하여 메모리(312, 332)에 로딩될 수 있다.These software components may be loaded from a computer readable recording medium separate from the memories 312 and 332 . A recording medium readable by such a separate computer may include a recording medium directly connectable to the user terminal 210 and the information processing system 230, for example, a floppy drive, a disk, a tape, a DVD/CD- It may include a computer-readable recording medium such as a ROM drive and a memory card. As another example, software components may be loaded into the memories 312 and 332 through the communication modules 316 and 336 rather than computer-readable recording media. For example, at least one program is loaded into the memories 312 and 332 based on a computer program installed by files provided by developers or a file distribution system that distributes application installation files through the network 220 . It can be.

프로세서(314, 334)는 기본적인 산술, 로직 및 입출력 연산을 수행함으로써, 컴퓨터 프로그램의 명령을 처리하도록 구성될 수 있다. 명령은 메모리(312, 332) 또는 통신 모듈(316, 336)에 의해 프로세서(314, 334)로 제공될 수 있다. 예를 들어, 프로세서(314, 334)는 메모리(312, 332)와 같은 기록 장치에 저장된 프로그램 코드에 따라 수신되는 명령을 실행하도록 구성될 수 있다.The processors 314 and 334 may be configured to process instructions of a computer program by performing basic arithmetic, logic, and input/output operations. Instructions may be provided to processors 314 and 334 by memories 312 and 332 or communication modules 316 and 336 . For example, processors 314 and 334 may be configured to execute instructions received according to program codes stored in a recording device such as memory 312 and 332 .

통신 모듈(316, 336)은 네트워크(220)를 통해 사용자 단말(210)과 정보 처리 시스템(230)이 서로 통신하기 위한 구성 또는 기능을 제공할 수 있으며, 사용자 단말(210) 및/또는 정보 처리 시스템(230)이 다른 사용자 단말 또는 다른 시스템(일례로 별도의 클라우드 시스템 등)과 통신하기 위한 구성 또는 기능을 제공할 수 있다. 일례로, 사용자 단말(210)의 프로세서(314)가 메모리(312) 등과 같은 기록 장치에 저장된 프로그램 코드에 따라 생성한 요청 또는 데이터(예를 들어, 텍스트 또는 음성 등 사용자 발화가 포함된 데이터 등)는 통신 모듈(316)의 제어에 따라 네트워크(220)를 통해 정보 처리 시스템(230)으로 전달될 수 있다. 역으로, 정보 처리 시스템(230)의 프로세서(334)의 제어에 따라 제공되는 제어 신호나 명령이 통신 모듈(336)과 네트워크(220)를 거쳐 사용자 단말(210)의 통신 모듈(316)을 통해 사용자 단말(210)에 수신될 수 있다. 예를 들어, 사용자 단말(210)은 정보 처리 시스템(230)으로부터 사용자 발화에 응답하는 캐릭터 발화를 수신할 수 있다.The communication modules 316 and 336 may provide configurations or functions for the user terminal 210 and the information processing system 230 to communicate with each other through the network 220, and the user terminal 210 and/or information processing. System 230 may provide configurations or functions for communicating with other user terminals or other systems (eg, separate cloud systems, etc.). For example, a request or data generated by the processor 314 of the user terminal 210 according to a program code stored in a recording device such as the memory 312 (eg, data including user speech such as text or voice) may be delivered to the information processing system 230 through the network 220 under the control of the communication module 316. Conversely, a control signal or command provided under the control of the processor 334 of the information processing system 230 passes through the communication module 336 and the network 220 and through the communication module 316 of the user terminal 210. It may be received by the user terminal 210 . For example, the user terminal 210 may receive character speech in response to user speech from the information processing system 230 .

입출력 인터페이스(318)는 입출력 장치(320)와의 인터페이스를 위한 수단일 수 있다. 일 예로서, 입력 장치는 오디오 센서 및/또는 이미지 센서를 포함한 카메라, 키보드, 마이크로폰, 마우스 등의 장치를, 그리고 출력 장치는 디스플레이, 스피커, 햅틱 피드백 디바이스(haptic feedback device) 등과 같은 장치를 포함할 수 있다. 다른 예로, 입출력 인터페이스(318)는 터치스크린 등과 같이 입력과 출력을 수행하기 위한 구성 또는 기능이 하나로 통합된 장치와의 인터페이스를 위한 수단일 수 있다. 도 3에서는 입출력 장치(320)가 사용자 단말(210)에 포함되지 않도록 도시되어 있으나, 이에 한정되지 않으며, 사용자 단말(210)과 하나의 장치로 구성될 수 있다. 또한, 정보 처리 시스템(230)의 입출력 인터페이스(338)는 정보 처리 시스템(230)과 연결되거나 정보 처리 시스템(230)이 포함할 수 있는 입력 또는 출력을 위한 장치(미도시)와의 인터페이스를 위한 수단일 수 있다. 도 3에서는 입출력 인터페이스(318, 338)가 프로세서(314, 334)와 별도로 구성된 요소로서 도시되었으나, 이에 한정되지 않으며, 입출력 인터페이스(318, 338)가 프로세서(314, 334)에 포함되도록 구성될 수 있다.The input/output interface 318 may be a means for interfacing with the input/output device 320 . As an example, the input device may include a device such as a camera, keyboard, microphone, mouse, etc. including an audio sensor and/or image sensor, and the output device may include a device such as a display, speaker, haptic feedback device, or the like. can As another example, the input/output interface 318 may be a means for interface with a device in which a configuration or function for performing input and output is integrated into one, such as a touch screen. Although the input/output device 320 is not included in the user terminal 210 in FIG. 3 , it is not limited thereto, and the user terminal 210 and the user terminal 210 may be configured as one device. In addition, the input/output interface 338 of the information processing system 230 is connected to the information processing system 230 or means for interface with a device (not shown) for input or output that the information processing system 230 may include. can be In FIG. 3, the input/output interfaces 318 and 338 are shown as separate elements from the processors 314 and 334, but are not limited thereto, and the input/output interfaces 318 and 338 may be included in the processors 314 and 334. there is.

사용자 단말(210) 및 정보 처리 시스템(230)은 도 3의 구성요소들보다 더 많은 구성요소들을 포함할 수 있다. 그러나, 대부분의 종래기술적 구성요소들을 명확하게 도시할 필요성은 없다. 일 실시예에서, 사용자 단말(210)은 상술된 입출력 장치(320) 중 적어도 일부를 포함하도록 구현될 수 있다. 또한, 사용자 단말(210)은 트랜시버(transceiver), GPS(Global Positioning system) 모듈, 카메라, 각종 센서, 데이터베이스 등과 같은 다른 구성요소들을 더 포함할 수 있다. 예를 들어, 사용자 단말(210)이 스마트폰인 경우, 일반적으로 스마트폰이 포함하고 있는 구성요소를 포함할 수 있으며, 예를 들어, 가속도 센서, 자이로 센서, 마이크 모듈, 카메라 모듈, 각종 물리적인 버튼, 터치패널을 이용한 버튼, 입출력 포트, 진동을 위한 진동기 등의 다양한 구성요소들이 사용자 단말(210)에 더 포함되도록 구현될 수 있다.The user terminal 210 and the information processing system 230 may include more components than those shown in FIG. 3 . However, there is no need to clearly show most of the prior art components. In one embodiment, the user terminal 210 may be implemented to include at least some of the aforementioned input/output devices 320 . In addition, the user terminal 210 may further include other components such as a transceiver, a global positioning system (GPS) module, a camera, various sensors, and a database. For example, when the user terminal 210 is a smartphone, it may include components that are generally included in a smartphone, for example, an acceleration sensor, a gyro sensor, a microphone module, a camera module, and various physical Various components such as a button, a button using a touch panel, an input/output port, and a vibrator for vibration may be implemented to be further included in the user terminal 210 .

도 4는 일 실시예에 따라, 복수의 대화 목적-대화 유형 쌍(110)을 생성하는 예시를 나타내는 도면이다. 일 실시예에 따르면, 대화 목적-대화 유형 쌍(110)은 사용자 발화에 응답하는 캐릭터 발화의 대화 목적 및 대화 유형을 정의하기 위해 사용될 수 있다. 캐릭터 발화의 대화 목적 및 대화 유형은 캐릭터 챗봇 서비스 제공자에 의해 미리 정의될 수 있다.4 is a diagram illustrating an example of generating a plurality of conversation purpose-conversation type pairs 110 according to an embodiment. According to one embodiment, the dialogue purpose-dialogue type pair 110 may be used to define the dialogue purpose and dialogue type of a character utterance responding to a user utterance. A conversation purpose and conversation type of character speech may be predefined by a character chatbot service provider.

대화 목적은 캐릭터가 사용자와 어떤 자세로 대화에 임하는지를 나타낼 수 있다. 예를 들어, 도시된 바와 같이, 대화 목적은 분노(410), 위로(420) 등과 같이 정의될 수 있다. 즉, 사용자 발화에 대하여, 캐릭터가 이별을 위로해주거나, 대학 합격을 축하해줄 수 있다. 대화 목적은 대화 세션의 흐름을 결정하는 중요한 요소가 될 수 있다. 도 4에는 대화 목적의 예시로 분노(410)와 위로(420)가 도시되어 있으나, 이에 한정되지 않으며, 임의의 수의 대화 목적이 정의되어 생성될 수 있다. The conversation purpose may represent a character's attitude in conversation with the user. For example, as shown, conversational purposes may be defined as anger 410, comfort 420, and the like. That is, with respect to the user's utterance, the character may comfort a farewell or congratulate a college passer. Conversational purpose can be an important factor in determining the flow of a conversational session. Although anger 410 and consolation 420 are shown as examples of conversation purposes in FIG. 4 , it is not limited thereto, and any number of conversation purposes may be defined and created.

대화 유형은 사용자 발화에 응답하는 캐릭터 발화의 패턴을 나타낼 수 있다. 예를 들어, 도시된 바와 같이, 대화 유형은 사용자의 발화에 대하여 캐릭터 챗봇이 공감하는 대화 유형(412, 422), 피드백을 제공하는 대화 유형(414, 424) 및 경험담을 공유하는 대화 유형(416, 426) 등을 포함할 수 있다. 이와 같이 캐릭터가 대화에 참여할 수 있는 여러가지 방식을 다양한 대화 유형으로 정의함으로써 보다 깊은 대화 구조를 구현할 수 있다.The dialogue type may indicate a pattern of character speech in response to user speech. For example, as shown, the conversation type includes a conversation type (412, 422) in which the character chatbot sympathizes with the user's utterance, a conversation type (414, 424) providing feedback, and a conversation type (416) sharing experiences. , 426) and the like. In this way, a deeper conversation structure can be implemented by defining various ways in which characters can participate in conversation as various conversation types.

또한, 대화 목적과 대화 유형은 서로 연관되어 정의될 수 있다. 예를 들어, 도시된 바와 같이, 사용자 발화에 응답하여 캐릭터 챗봇이 분노하는 대화 목적(410)과 연관하여 캐릭터 챗봇이 공감하는 대화 유형(412), 피드백을 제공하는 대화 유형(414) 및 경험담을 공유하는 대화 유형(416)이 정의될 수 있다. 이와 유사하게, 사용자 발화에 응답하여 캐릭터 챗봇이 위로하는 대화 목적(420)과 연관하여 캐릭터 챗봇이 공감하는 대화 유형(422), 피드백을 제공하는 대화 유형(424) 및 경험담을 공유하는 대화 유형(426)이 정의될 수 있다. 일 실시예에서, 대화 목적과 대화 유형의 쌍은 생성하고자 하는 캐릭터의 성격에 따라 정의될 수 있다. 즉, 정해진 대화 목적과 대화 유형으로 캐릭터의 성격을 제어할 수 있다. 즉, 동일한 대화 상황에 있어서, 특정 캐릭터는 분노를 하면서 공감을 해주지만, 다른 캐릭터는 분노를 하면서 경험담을 공유해주게 된다. 또 다른 캐릭터는 동일한 상황에서 분노대신 위로를 하면서 공감을 해줄 수 있다.Also, a conversation purpose and a conversation type may be defined in association with each other. For example, as shown, a conversation type 412 that the character chatbot empathizes with in relation to a conversation purpose 410 in which the character chatbot is angry in response to a user utterance, a conversation type 414 that provides feedback, and experiences A sharing conversation type 416 may be defined. Similarly, a conversation type 422 that the character chatbot empathizes with in connection with the conversation purpose 420 that the character chatbot comforts in response to user utterance, a conversation type that provides feedback 424, and a conversation type that shares experiences ( 426) can be defined. In one embodiment, a pair of conversation purpose and conversation type may be defined according to the personality of the character to be created. That is, it is possible to control the character of the character according to the predetermined conversation purpose and conversation type. That is, in the same conversation situation, a specific character gives sympathy while being angry, but another character shares experiences while being angry. Another character can empathize with comfort instead of anger in the same situation.

도 5는 일 실시예에 따라, 개략적인 대화 상황(520)을 생성하는 예시를 나타내는 도면이다. 일 실시예에 따르면, 대화 데이터베이스 구축 시스템은 초대형 언어 모델(240)을 이용하여 대화 상황(situation) 리스트를 생성할 수 있다. 여기서, 대화 상황은 대화가 이루어지는 맥락 및 상황을 의미하며, 대화 상황 리스트는 복수의 구체적인 대화 상황(예, 도 1의 120)과 복수의 개략적인 대화 상황(520)을 포함할 수 있다. 구체적인 대화 상황(예, 도 1의 120)은 개략적인 대화 상황을 기초로 생성될 수 있다. 일 실시예에서, 개략적인 대화 상황 및 구체적인 대화 상황은 각각 제1 레벨의 대화 상황 및 제2 레벨의 대화 상황으로 지칭될 수 있다. 여기서, 제2 레벨의 대화 상황은 제1 레벨 대화 상황보다 구체적인 대화 상황을 기술하는 하위 레벨의 대화 상황일 수 있다.5 is a diagram illustrating an example of generating a schematic conversation situation 520 according to an exemplary embodiment. According to an embodiment, the dialog database construction system may generate a dialog situation list using the super large language model 240 . Here, the conversation situation means a context and situation in which a conversation occurs, and the conversation situation list may include a plurality of specific conversation situations (eg, 120 in FIG. 1 ) and a plurality of schematic conversation situations 520 . A specific conversation situation (eg, 120 in FIG. 1 ) may be generated based on a general conversation situation. In one embodiment, the general conversation situation and the specific conversation situation may be referred to as a first-level conversation situation and a second-level conversation situation, respectively. Here, the dialogue situation of the second level may be a dialogue situation of a lower level that describes a more specific dialogue situation than the first level dialogue situation.

일 실시예에 따르면, 대화 데이터베이스 구축 시스템은 제1 대화 목적(512), 제1 대화 목적과 연관된 복수의 개략적인 대화 상황 샘플(514) 및 제2 대화 목적(516)을 포함하는 프롬프트(510)를 초대형 언어 모델(240)에 입력하여, 제2 대화 목적과 연관된 복수의 개략적인 대화 상황(520)을 생성할 수 있다. 일 실시예에서, 제1 대화 목적(512) 및 제2 대화 목적(516)은 지시문 형태로 기재될 수 있다. 예를 들어, 제1 대화 목적(512)은 '함께 분노해주는 구체적인 상황들'과 같은 지시문 형태로 프롬프트(510)에 포함될 수 있다. 유사하게, 제2 대화 목적(516)은 '따뜻하게 위로해주는 구체적인 상황들'과 같은 지시문 형태로 프롬프트(510)에 포함될 수 있다. 제1 대화 목적과 연관된 복수의 개략적인 대화 상황 샘플(514)은 서비스 제공자에 의해 미리 정의될 수 있다.According to one embodiment, the conversation database building system provides a prompt 510 including a first conversation objective 512 , a plurality of schematic conversation situation samples 514 associated with the first conversation objective 514 and a second conversation objective 516 . may be input into the super large language model 240 to generate a plurality of schematic conversation situations 520 associated with the second conversation purpose. In one embodiment, the first conversational purpose 512 and the second conversational purpose 516 may be written in the form of directives. For example, the first conversation purpose 512 may be included in the prompt 510 in the form of a directive such as 'specific situations that cause anger together'. Similarly, the second conversation purpose 516 may be included in the prompt 510 in the form of a directive such as 'specific warm comforting situations'. A plurality of schematic conversation situation samples 514 associated with the first conversation purpose may be predefined by a service provider.

대화 데이터베이스 구축 시스템은 제2 대화 목적(516) 대신에 다른 대화 목적(예를 들어, 축하 등)을 포함한 프롬프트를 초대형 언어 모델(240)에 입력함으로써 다른 대화 목적과 연관된 복수의 개략적인 대화 상황을 생성할 수 있다. 대화 데이터베이스를 구축하는데 여러 대화 목적이 사용되는 경우, 대화 데이터베이스 구축 시스템은 상술한 과정을 반복함으로써 각 대화 목적과 연관된 복수의 개략적인 대화 상황을 생성할 수 있다.The dialog database construction system inputs a prompt including another dialog purpose (eg, congratulations, etc.) into the extra large language model 240 instead of the second dialog purpose 516, thereby generating a plurality of schematic conversation situations related to the other conversation purpose. can create When several conversation purposes are used to build a conversation database, the conversation database building system can generate a plurality of schematic conversation situations associated with each conversation purpose by repeating the above process.

도 6은 일 실시예에 따라, 구체적인 대화 상황(630)을 생성하는 예시를 나타내는 도면이다. 일 실시예에 따르면, 대화 데이터베이스 구축 시스템은 초대형 언어 모델(240)을 이용하여 대화 목적과 연관된 다양한 구체적인 대화 상황을 생성할 수 있다. 구체적으로, 대화 데이터베이스 구축 시스템은 제1 대화 목적(612), 제1 대화 목적과 연관된 제1 개략적인 대화 상황(614), 제1 대화 목적과 연관된 구체적인 대화 상황 샘플(616)(또는 제1 개략적인 대화 상황(614)과 연관된 구체적인 대화 상황 샘플), 제2 대화 목적(618), 제2 대화 목적과 연관된 제2 개략적인 대화 상황(620)을 포함하는 프롬프트(610)를 초대형 언어 모델(240)에 입력하여, 제2 대화 목적과 연관된 구체적인 대화 상황(630)(또는 제2 개략적인 대화 상황과 연관된 구체적인 대화 상황)을 생성할 수 있다.6 is a diagram illustrating an example of generating a specific conversation situation 630 according to an embodiment. According to an embodiment, the dialog database construction system may generate various specific dialog situations related to a dialog purpose by using the super-large language model 240 . Specifically, the conversation database building system includes a first conversation purpose 612, a first schematic conversation situation 614 associated with the first conversation purpose, and a specific conversation situation sample 616 associated with the first conversation purpose (or the first schematic conversation situation 614). A prompt 610 including a specific dialogue situation sample associated with the dialogue situation 614), a second dialogue objective 618, and a second schematic dialogue situation 620 associated with the second dialogue objective ) to generate a specific conversation situation 630 associated with the second conversation purpose (or a specific conversation situation associated with the second general conversation situation).

일 실시예에서, 제1 대화 목적(612) 및 제2 대화 목적(618)은 지시문 형태로 기재될 수 있다. 예를 들어, 제1 대화 목적(612) 및 제2 대화 목적(618)은 '위로해줘야하는 내용'과 같은 지시문 형태로 프롬프트(610)에 포함될 수 있다. 제1 대화 목적과 연관된 구체적인 대화 상황 샘플(616)은 서비스 제공자에 의해 미리 정의될 수 있다.In one embodiment, the first conversational purpose 612 and the second conversational purpose 618 may be written in the form of directives. For example, the first conversation purpose 612 and the second conversation purpose 618 may be included in the prompt 610 in the form of directives such as 'contents to be comforted'. A specific conversation situation sample 616 associated with the first conversation purpose may be predefined by a service provider.

대화 데이터베이스 구축 시스템은 제2 개략적인 대화 상황(620) 대신에 다른 개략적인 대화 상황(예를 들어, 도 5의 개략적인 대화 상황(520)에 포함된 '회사에서 혼났어', '부모님께 야단 맞았어' 등)을 포함한 프롬프트를 초대형 언어 모델(240)에 입력함으로써 다른 개략적인 대화 상황과 연관된 복수의 구체적인 대화 상황을 생성할 수 있다. 초대형 언어 모델(240)에 의해 다양한 개략적인 대화 상황이 생성된 경우, 대화 데이터베이스 구축 시스템은 상술한 과정을 반복함으로써 각 개략적인 대화 상황과 연관된 복수의 구체적인 대화 상황을 생성할 수 있다.The dialogue database construction system replaces the second schematic dialogue situation 620 with other schematic dialogue situations (eg, 'I got scolded at work', 'I was scolded by my parents' included in the schematic dialogue situation 520 of FIG. 5 ). A plurality of specific conversation situations related to other general conversation situations may be generated by inputting a prompt including 'uh' into the super-large language model 240 . When various general conversation situations are generated by the super-large language model 240, the conversation database building system may generate a plurality of specific conversation situations related to each general conversation situation by repeating the above-described process.

도 6에는 제1 대화 목적(612)과 제2 대화 목적(618)이 동일한 것으로 도시되었으나, 이에 한정되지 않으며, 제1 대화 목적(612)과 제2 대화 목적(618)이 서로 상이할 수 있다. 도 5와 도 6에 도시된 것과 같이 개략적인 대화 상황을 먼저 생성하여 1차적으로 다양성을 확보하고, 개략적인 대화 상황을 이용하여 구체적인 대화 상황을 생성하여 2차적으로 구체성을 확보할 수 있다. 이와 같은 구성에 의해 대화 상황의 전체적인 상황 커버리지를 넓히면서 각 상황을 촘촘하게 확보하는 것이 가능하다. 이러한 과정은 초대형 언어 모델(240)을 이용하여 자동 수행되는 것이므로, 쉽게 확장 가능하다. 이와 같은 구성을 통해, 사용자와 캐릭터 챗봇 사이의 대화가 특정한 주제를 다루더라도, 사용자 발화에 대응하는 양질의 캐릭터 챗봇의 발화를 제공하여, 사용자와 상황에 맞는 맞춤형 대화를 할 수 있다.Although the first conversation purpose 612 and the second conversation purpose 618 are illustrated in FIG. 6 as the same, it is not limited thereto, and the first conversation purpose 612 and the second conversation purpose 618 may be different from each other. . As shown in FIGS. 5 and 6 , diversity can be secured primarily by generating a schematic dialogue situation first, and concreteness can be secured secondarily by creating a specific dialogue situation using a schematic dialogue situation. With this configuration, it is possible to densely secure each situation while expanding the overall situation coverage of the dialogue situation. Since this process is automatically performed using the super large language model 240, it can be easily extended. Through this configuration, even if the conversation between the user and the character chatbot deals with a specific topic, it is possible to have a customized conversation with the user according to the situation by providing high-quality speech of the character chatbot corresponding to the user's speech.

도 7은 일 실시예에 따른, 시드 대화 세션을 생성하기 위한 프롬프트(700)의 예시를 나타내는 도면이다. 일 실시예에 따르면, 대화 데이터베이스 구축 시스템은 초대형 언어 모델을 이용하여 복수의 대화 목적-대화 유형-구체적인 대화 상황 삼중쌍(triplet)에 대응하는 복수의 시드 대화 세션을 생성하여 초기 대화 데이터베이스를 구축할 수 있다.7 is a diagram illustrating an example of a prompt 700 for creating a seed conversation session, according to one embodiment. According to an embodiment, the dialogue database construction system constructs an initial dialogue database by generating a plurality of seed dialogue sessions corresponding to a plurality of dialogue purpose-conversation type-specific dialogue situation triplets using a super-large language model. can

구체적으로, 대화 데이터베이스 구축 시스템은 복수의 대화 목적-대화 유형 쌍(예, 도 1의 110) 및 각 대화 목적과 연관된 복수의 구체적인 대화 상황(예, 도 1의 120 또는 도 6의 630 가운데 어느 하나의 구체적인 대화 상황)에 기초하여 복수의 대화 목적-대화 유형-구체적인 대화 상황 삼중쌍을 생성할 수 있다. 그리고 나서, 대화 데이터베이스 구축 시스템은 시드 대화 세션을 생성하기 위한 샘플 데이터로서 제1 삼중쌍(710)(예, 제1 대화 목적-대화 유형-구체적인 대화 상황), 제1 삼중쌍에 대응하는 대화 세션 샘플(720) 및 생성할 시드 대화 세션과 연관된 데이터로서 제2 삼중쌍(730)(예, 제2 대화 목적-대화 유형-구체적인 대화 상황)을 포함하는 프롬프트(700)를 초대형 언어 모델에 입력하여, 제2 삼중쌍과 연관된 시드 대화 세션을 생성할 수 있다. 여기서, 제1 삼중쌍에 대응하는 대화 세션 샘플(720)은 적어도 하나의 사용자 발화와 적어도 하나의 캐릭터 발화를 포함하고, 서비스 제공자에 의해 미리 정의될 수 있다. 프롬프트(700)를 초대형 언어 모델에 입력하여 생성되는 시드 대화 세션도 유사하게 적어도 하나의 사용자 발화와 적어도 하나의 캐릭터 발화를 포함할 수 있다.Specifically, the dialogue database construction system includes a plurality of dialogue purpose-conversation type pairs (eg, 110 in FIG. 1 ) and a plurality of specific dialogue situations associated with each conversation purpose (eg, any one of 120 in FIG. 1 or 630 in FIG. 6 ). A plurality of conversation purpose-conversation type-specific conversation situation triple pairs may be generated based on the specific conversation situation). Then, the conversation database building system uses a first triple pair 710 (eg, a first conversation purpose-conversation type-specific conversation situation) as sample data for generating a seed conversation session, and a conversation session corresponding to the first triple pair. A prompt 700 containing a sample 720 and a second triplet 730 (e.g., second conversation purpose-conversation type-specific conversation situation) as data associated with the seed conversation session to be created is input to the extra large language model , may create a seed conversation session associated with the second triplet. Here, the chat session sample 720 corresponding to the first triple pair includes at least one user utterance and at least one character utterance, and may be predefined by a service provider. A seed conversation session created by inputting the prompt 700 into the super-large language model may similarly include at least one user utterance and at least one character utterance.

일 실시예에서, 프롬프트(700)는 제1 삼중쌍(710), 제1 삼중쌍에 대응하는 대화 세션 샘플(720) 및 제2 삼중쌍(730)을 포함할 수 있다. 예를 들어, 도시된 바와 같이, 제1 삼중쌍(710)은 대화 목적(예, '분노'), 대화 유형(예, '자신의 경험담을 공유하며 이입') 및 이와 관련된 구체적인 대화 상황(예, '비 안온대서 우산 안 들고 나왔다가 쫄딱 젖었어')를 포함할 수 있다. 또한, 제1 삼중쌍에 대응하는 대화 세션 샘플(720)은 제1 삼중쌍에 대응하는 캐릭터 챗봇의 발화로서 발화 샘플(예, '저도 지난번에 우산 없어서 비를 쫄딱 맞았어요! ㅠ')을 포함할 수 있다. 제2 삼중쌍(730)은 대화 목적(예, '분노'), 대화 유형(예, '자신의 경험담을 공유하며 이입') 및 생성할 시드 대화 세션과 연관된 구체적 대화 상황을 포함할 수 있다. 또한, 프롬프트(700)는 캐릭터 챗봇 서비스 제공자에 의해 미리 정의될 수 있으며, 미리 정의된 대화 목적-대화 유형 쌍(예, 도 1의 110)의 수만큼 서비스 제공자에 의해 미리 정의될 수 있다. 대화 데이터베이스 구축 시스템은 각 프롬프트(700) 내의 제2 삼중쌍(730) 자리에 해당 대화 목적(예를 들어, '분노')과 연관된 복수의 구체적인 대화 상황을 하나씩 입력하면서, 각 삼중쌍에 해당하는 시드 대화 세션을 생성할 수 있다.In one embodiment, the prompt 700 may include a first triple pair 710 , a conversation session sample 720 corresponding to the first triple pair and a second triple pair 730 . For example, as shown, the first triple pair 710 includes a conversation purpose (eg, 'angry'), a conversation type (eg, 'to share one's own experience') and a specific conversation situation related thereto (eg, 'outrage'). , 'I came out without an umbrella because it wasn't raining and I got wet'). In addition, the conversation session sample 720 corresponding to the first triple pair includes a speech sample as a speech of a character chatbot corresponding to the first triple pair (eg, 'I didn't have an umbrella last time, so I got hit in the rain! ㅠ') can do. The second triplet 730 may include a conversation purpose (eg, 'angry'), a conversation type (eg, 'introducing and sharing experiences'), and a specific conversation context associated with the seed conversation session to be created. In addition, the prompt 700 may be predefined by a character chatbot service provider, and as many as the number of predefined conversation purpose-conversation type pairs (eg, 110 in FIG. 1 ) may be predefined by the service provider. The dialog database construction system inputs a plurality of specific conversation situations related to the corresponding conversation purpose (eg, 'anger') one by one in the second triple pair 730 position in each prompt 700, and You can create seed chat sessions.

도 8은 본 개시의 일 실시예에 따라, 초대형 언어 모델(240)을 이용하여 시드 대화 세션(810)에 대응하는 증강 대화 세션(820)을 생성하는 예시를 나타내는 도면이다. 일 실시예에 따르면, 대화 데이터베이스 구축 시스템은 초대형 언어 모델(240)을 이용하여 초기 대화 데이터베이스 내의 각 시드 대화 세션에 대해 증강 대화 세션(820)을 생성함으로써 증강 대화 데이터베이스를 구축할 수 있다. 예를 들어, 도시된 바와 같이, 대화 데이터베이스 구축 시스템은 사용자 발화 및 캐릭터 발화가 포함된 시드 대화 세션(810)을 초대형 언어 모델(240)에 입력하여, 적어도 하나 이상의 증강 대화 세션(820)을 생성할 수 있다. 증강 대화 세션(820)도 유사하게 사용자 발화 및 캐릭터 발화를 포함할 수 있다. 여기서, 증강 대화 데이터베이스는 초기 대화 데이터베이스에 증강 대화 세션이 추가된 데이터베이스를 지칭할 수 있다.8 is a diagram illustrating an example of generating an augmented chat session 820 corresponding to a seed chat session 810 using a super large language model 240 according to an embodiment of the present disclosure. According to one embodiment, the dialog database building system may build the augmented dialog database by using the super large language model 240 to create an augmented dialog session 820 for each seed dialog session in the initial dialog database. For example, as shown, the dialog database building system generates at least one augmented dialog session 820 by inputting a seed dialog session 810 including user utterances and character utterances into a super large language model 240. can do. The augmented dialog session 820 may similarly include user utterances and character utterances. Here, the augmented dialog database may refer to a database in which an enhanced dialog session is added to an initial dialog database.

일 실시예에서, 대화 데이터베이스 구축 시스템은 초대형 언어 모델(240)을 이용하여, 시드 대화 세션(810) 내의 발화들을 패러프레이징하여 증강 대화 세션(820)을 생성할 수 있다. 도시된 바와 같이, 시드 대화 세션(810) 내의 사용자 발화(예, '요즘 옆집 아저씨가 시도때도 없이 담배를 피워서 죽겠어')는 의미와 맥락은 동일하나, 어휘 등의 표현 방식이 다른 사용자 발화(예, '이웃집 아저씨가 자꾸 담배를 펴대. 그래서 냄새가 계속 우리집으로 들어와')로 패러프레이징될 수 있다. 유사하게, 시드 대화 세션(810) 내의 캐릭터 발화(예, '저런! 완전 민폐네요! 왜 남에게 피해를 주는거죠? 당장 가서 항의하세요!')는 의미와 맥락은 동일하나, 어휘 등의 표현 방식이 다른 캐릭터 발화(예, '아이고, 너무 심하네요! 바로 따지러 가야죠!')로 패러프레이징될 수 있다.In one embodiment, the dialog database building system may paraphrase the utterances within the seed dialog session 810 using the very large language model 240 to create the augmented dialog session 820 . As shown, user utterances in the seed conversation session 810 (e.g., 'The uncle next door is going to die because he smokes without even trying') has the same meaning and context, but has a different expression method such as vocabulary (user utterances) For example, it can be paraphrased as 'My neighbor keeps smoking, so the smell keeps coming into my house'). Similarly, character utterances within the seed conversation session 810 (e.g., 'Oops! That's such a nuisance! Why are you hurting others? Go and protest right away!') have the same meaning and context, but the expression method such as vocabulary This can be paraphrased with other character utterances (e.g., 'Oops, that's too much! I'll go pick it up right away!').

도 8에는 시드 대화 세션(810)에 포함된 사용자 발화 및 캐릭터 발화 모두 패러프레이징되어 증강 대화 세션(820)이 생성되는 것으로 도시되어 있으나, 이에 한정되지 않으며, 사용자 발화만 또는 캐릭터 발화만 패러프레이징되어 증강 대화 세션(820)이 생성될 수 있다. 또한, 도 8은 하나의 시드 대화 세션(810)에 대하여 하나의 증강 대화 세션(820)이 생성된 예시가 도시되어 있으나, 이에 한정되지 않으며, 하나의 시드 대화 세션(810)에 대해 복수의 증강 대화 세션이 생성될 수 있다. 이 경우, 하나의 시드 대화 세션(810)과 연관된 복수의 증간 대화 세션은 서로 의미와 맥락은 동일하나 어휘 등의 표현 방식이 상이할 수 있다.8 shows that both the user utterance and the character utterance included in the seed chat session 810 are paraphrased to create the augmented chat session 820, but it is not limited thereto, and only the user utterance or character utterance is paraphrased. An enhanced conversation session 820 may be created. 8 shows an example in which one augmented chat session 820 is generated for one seed chat session 810, but is not limited thereto, and multiple augmentations are generated for one seed chat session 810. A chat session may be created. In this case, a plurality of intermediary chat sessions associated with one seed chat session 810 may have the same meaning and context, but may have different expressions such as vocabulary.

도 9는 본 개시의 일 실시예에 따른 미리 정의된 캐릭터 성격 맵(910, 920)의 예시를 나타내는 도면이다. 캐릭터 챗봇을 생성하기 위해서는 캐릭터의 성격을 설정할 필요가 있다. 여기서, 캐릭터의 성격은 특정 상황에서의 일관된 캐릭터의 대화 패턴으로 정의될 수 있다. 특정 상황은 대화 목적과 대응되고, 일관된 캐릭터의 대화 패턴은 대화 유형과 대응될 수 있다. 즉, 캐릭터의 성격은 대화 목적-대화 유형 쌍의 집합으로 나타낼 수 있으며, 대화 목적-대화 유형 쌍의 집합은 캐릭터 성격 맵(910, 920)으로 표현될 수 있다.9 is a diagram illustrating examples of predefined character personality maps 910 and 920 according to an embodiment of the present disclosure. To create a character chatbot, it is necessary to set the character's personality. Here, the personality of a character may be defined as a consistent conversation pattern of a character in a specific situation. A specific situation may correspond to a conversation purpose, and a consistent conversation pattern of a character may correspond to a conversation type. That is, the personality of the character can be expressed as a set of conversation purpose-conversation type pairs, and the set of conversation purpose-conversation type pairs can be expressed as character personality maps 910 and 920 .

예를 들어, 도시된 바와 같이, 제1 캐릭터 성격 맵(910)은 '분노'-'경험담 공유', '축하'-'경험담 공유', '분노'-'공감', '축하'-'공감'과 같은 대화 목적-대화 유형 쌍의 집합으로 설정될 수 있다. 이 경우, 해당 캐릭터의 성격은 '분노', '축하'의 상황에서 경험담을 공유하고 공감하는 대화 패턴을 가지므로, 리액션을 잘하고, 자기 얘기를 많이 하는 성격으로 정의될 수 있다. 이와 유사하게, 제2 캐릭터 성격 맵(920)이 '위로'-'피드백', '위로'-'직시'와 같은 대화 목적-대화 유형 쌍의 집합으로 설정될 수 있다. 이 경우, 해당 캐릭터의 성격은 '위로'의 상황에서 즉각적인 피드백을 제공하고 상황을 직시하는 대화 패턴을 가지므로, 다혈질이지만 직설적인 발언을 잘하는 성격으로 정의될 수 있다.For example, as shown, the first character personality map 910 includes 'anger'-'share experience', 'congratulation'-'share experience', 'anger'-'sympathy', and 'congratulation'-'sympathy'. It can be set as a set of conversation purpose-conversation type pairs such as '. In this case, the character of the corresponding character has a conversation pattern of sharing experiences and empathizing in situations of 'anger' and 'congratulation', so it can be defined as a personality that reacts well and talks a lot about oneself. Similarly, the second character personality map 920 may be set as a set of conversation purpose-conversation type pairs such as 'up'-'feedback' or 'up'-'face-to-face'. In this case, the character of the character can be defined as a hot-tempered character who is good at making direct remarks, since he has a conversational pattern of providing immediate feedback and facing the situation in a 'comfort' situation.

도 10은 본 개시의 일 실시예에 따라 캐릭터 페르소나 탐지기(150)를 이용하여 최종 대화 데이터베이스(160)를 생성하는 예시를 나타내는 도면이다. 일 실시예에 따르면, 대화 데이터베이스 구축 시스템은 복수의 대화 목적-대화 유형 쌍 및 각 대화 목적과 연관된 구체적인 대화 상황 리스트를 초대형 언어 모델에 입력하여 초기 대화 데이터베이스(130)를 구축할 수 있다. 여기서, 복수의 대화 목적-대화 유형 쌍은 미리 정의된 캐릭터 성격 맵(1010)을 기초로 정의될 수 있다. 대안적으로, 복수의 대화 목적-대화 유형 쌍은 모든 조합의 대화 목적-대화 유형 쌍을 포함할 수 있다. 그리고 나서, 대화 데이터베이스 구축 시스템은 초기 대화 데이터베이스(130) 내의 각 시드 대화 세션을 초대형 언어 모델에 입력하여 적어도 하나의 증강 대화 세션을 생성함으로써 증강 대화 데이터베이스(140)를 구축할 수 있다.10 is a diagram illustrating an example of generating a final conversation database 160 using a character persona detector 150 according to an embodiment of the present disclosure. According to an embodiment, the dialogue database construction system may construct the initial dialogue database 130 by inputting a plurality of dialogue purpose-conversation type pairs and a detailed dialogue situation list associated with each dialogue purpose to a super-large language model. Here, a plurality of conversation purpose-conversation type pairs may be defined based on a predefined character personality map 1010 . Alternatively, the plurality of conversation purpose-conversation type pairs may include all combinations of conversation purpose-conversation type pairs. Then, the dialog database building system may build the augmented dialog database 140 by inputting each seed dialog session in the initial dialog database 130 into the super-large language model to generate at least one augmented dialog session.

그 후, 대화 데이터베이스 구축 시스템은 증강 대화 데이터베이스(140)에 포함된 복수의 시드 대화 세션 및 복수의 증강 대화 세션을 캐릭터 페르소나 탐지기(150)에 입력하여 캐릭터 페르소나와 일치하지 않는 대화 세션을 필터링하여 최종 대화 데이터베이스(160)를 구축할 수 있다. 도시된 것과 같이, 캐릭터 페르소나 탐지기(150)는 성격 필터(1020), 세계관 필터 (1030), 대화체 필터(1040) 및 대화체 변환기(1050)를 포함할 수 있다. 일 실시예에서, 캐릭터 페르소나 탐지기(150)는 시드 대화 세션 및/또는 증강 대화 세션을 성격 필터(1020)에 입력하여 미리 정의된 캐릭터 성격 맵과 일치하지 않는 증강 대화 세션을 제거할 수 있다. 추가적으로 또는 대안적으로, 캐릭터 페르소나 탐지기(150)는 증강 대화 세션을 성격 필터(1020)에 입력하여 해당 증강 대화 세션의 추정된 대화 목적-대화 유형이 해당 증강 대화 세션과 연관된 시드 대화 세션을 생성할 때 사용된 대화 목적-대화 유형과 일치하지 않는 경우, 해당 증강 대화 세션을 제거할 수 있다.Then, the conversation database building system inputs the plurality of seed conversation sessions and the plurality of augmented conversation sessions included in the augmented conversation database 140 to the character persona detector 150 to filter out conversation sessions that do not match the character persona, and finally Conversation database 160 can be built. As shown, the character persona detector 150 may include a personality filter 1020, a worldview filter 1030, a conversational filter 1040, and a conversational changer 1050. In one embodiment, character persona detector 150 may input seed conversation sessions and/or augmented conversation sessions into personality filter 1020 to remove augmented conversation sessions that do not match a predefined character personality map. Additionally or alternatively, the character persona detector 150 inputs the augmented dialog session into the personality filter 1020 to generate a seed dialog session whose estimated conversation purpose-conversation type is associated with the augmented conversation session. If it does not match the conversation purpose-conversation type used at the time, the corresponding augmented conversation session may be removed.

그 후, 캐릭터 페르소나 탐지기(150)는 세계관 필터(1030)를 이용하여, 증강 대화 세션의 진위 여부를 검증하여 허위로 판정된 증강 대화 세션을 제거할 수 있다. 그리고 나서, 캐릭터 페르소나 탐지기(150)는 대화체 필터(1040)를 이용하여, 시드 대화 세션 및/또는 증강 대화 세션에 포함된 캐릭터 발화 중 캐릭터 대화체와 일치하지 않는 캐릭터 발화를 식별할 수 있다. 캐릭터 대화체와 일치하지 않는 캐릭터 발화가 식별된 경우, 캐릭터 페르소나 탐지기(150)는 대화체 변환기(1050)를 이용하여, 캐릭터 대화체와 일치하지 않는 캐릭터 발화를 캐릭터 대화체로 변환할 수 있다. 대화 데이터베이스 구축 시스템은 필터링된 대화 세션을 이용하여 최종 대화 데이터베이스(160)를 구축하고, 최종 대화 데이터베이스(160)에 포함된 복수의 대화 세션을 이용하여 캐릭터 챗봇(1060)을 학습/생성할 수 있다.Thereafter, the character persona detector 150 may use the worldview filter 1030 to verify authenticity of the augmented chat session and remove the augmented chat session determined to be false. Then, the character persona detector 150 may use the dialog filter 1040 to identify character utterances that do not match the character dialog among character utterances included in the seed conversation session and/or the augmented chat session. If a character utterance that does not match the character dialogue is identified, the character persona detector 150 may use the dialogue converter 1050 to convert the character utterance that does not match the character dialogue into a character dialogue. The dialogue database construction system may build the final dialogue database 160 using the filtered dialogue sessions and learn/create the character chatbot 1060 using a plurality of dialogue sessions included in the final dialogue database 160. .

일 실시예에서, 성격 필터(1020), 세계관 필터(1030), 대화체 필터(1040) 및 대화체 변환기(1050)는 서비스 제공자가 초기 대화 데이터베이스(130) 내의 시드 대화 세션 중 일부를 수동으로 검수한 결과를 이용하여 기계 학습된 모델일 수 있다. 이와 같은 구성을 통해, 페르소나 대화 데이터를 쉽고 빠르게 생성함으로써 사용자에게 캐릭터의 성격이 잘 드러나는 캐릭터 챗봇(1060)을 제공할 수 있다.In one embodiment, personality filter 1020, worldview filter 1030, dialog filter 1040 and dialog converter 1050 are the result of a service provider manually reviewing some of the seed dialog sessions in initial dialog database 130. It may be a machine-learned model using Through this configuration, it is possible to provide the character chatbot 1060 in which the personality of the character is well revealed to the user by easily and quickly generating the persona conversation data.

도 11은 본 개시의 일 실시예에 따라 성격 필터(1020)를 이용하여 대화 세션(1110)을 필터링하는 예시를 나타내는 도면이다. 여기서, 대화 세션(1110)은 증강 대화 데이터베이스 내의 시드 대화 세션 또는 증강 대화 세션일 수 있다. 일 실시예에 따르면, 대화 데이터베이스 시스템은 대화 세션(1110)을 성격 필터(1020)에 입력하여 미리 정의된 캐릭터 성격 맵과 일치하지 않으면 해당 대화 세션을 제거할 수 있다.11 is a diagram illustrating an example of filtering a conversation session 1110 using a personality filter 1020 according to an embodiment of the present disclosure. Here, chat session 1110 may be a seed chat session or an enhanced chat session in an enhanced chat database. According to an embodiment, the conversation database system may input the conversation session 1110 to the personality filter 1020 and remove the conversation session if it does not match a predefined character personality map.

구체적으로, 대화 데이터베이스 시스템은 대화 세션(1110)을 성격 필터(1020)에 입력하여, 대화 세션(1110)의 대화 목적(1120) 및 대화 유형(1130)을 추정할 수 있다. 그 후, 대화 데이터베이스 시스템은 추정된 대화 목적(1120) 및 대화 유형(1130)이 미리 정의된 캐릭터 성격 맵과 일치하는지 여부를 결정할 수 있다. 추정된 대화 목적(1120) 및 대화 유형(1130)이 미리 정의된 캐릭터 성격 맵과 일치하지 않는다고 판정한 경우, 대화 데이터베이스 시스템은 대화 세션(1110)을 제거할 수 있다. 반면, 추정된 대화 목적(1120) 및 대화 유형(1130)이 미리 정의된 캐릭터 성격 맵과 일치한다고 판정한 경우, 대화 데이터베이스 시스템은 대화 세션(1110)을 유지할 수 있다.Specifically, the conversation database system may input the conversation session 1110 to the personality filter 1020 to estimate the conversation purpose 1120 and the conversation type 1130 of the conversation session 1110 . The conversation database system can then determine whether the inferred conversation purpose 1120 and conversation type 1130 match a predefined character personality map. If it determines that the estimated conversation purpose 1120 and conversation type 1130 do not match the predefined character personality map, the conversation database system may remove the conversation session 1110 . On the other hand, if it is determined that the estimated conversation purpose 1120 and conversation type 1130 match the predefined character personality map, the conversation database system may maintain the conversation session 1110 .

도 11에서는 성격 필터(1020)가 미리 정의된 캐릭터 성격 맵과 일치하지 않는 대화 세션을 제거하는 것으로 도시되었으나, 이에 한정되지 않는다. 예를 들어, 성격 필터(1020)가 입력된 증강 대화 세션(1110)의 대화 목적(1120)과 대화 유형(1130)을 추정하고, 추정된 대화 목적(1120)과 대화 유형(1130)이 증강 대화 세션(1110)과 연관된 시드 대화 세션을 생성할 때 사용된 대화 목적 및 대화 유형과 일치하지 않는 경우, 증강 대화 세션(1120)을 제거할 수 있다. 이와 같은 구성에 의해 대화 데이터베이스 시스템은 캐릭터 성격과 일치하지 않는 대화 세션을 제거하여 보다 품질이 좋은 페르소나 대화 데이터베이스를 생성할 수 있다.In FIG. 11 , the personality filter 1020 is illustrated as removing conversation sessions that do not match a predefined character personality map, but is not limited thereto. For example, the conversation purpose 1120 and conversation type 1130 of the augmented conversation session 1110 entered by the personality filter 1020 are estimated, and the estimated conversation purpose 1120 and conversation type 1130 are the augmented conversation Enhanced chat session 1120 may be removed if it does not match the conversation purpose and conversation type used when creating the seed conversation session associated with session 1110 . With this configuration, the conversation database system can create a persona conversation database with higher quality by removing conversation sessions that do not match the character's personality.

도 12는 본 개시의 일 실시예에 따라 세계관 필터(1030)를 이용하여 증강 대화 세션(1220)을 필터링하는 예시를 나타내는 도면이다. 일 실시예에 따르면, 대화 데이터베이스 시스템은 시드 대화 세션(1210) 및 대응하는 증강 대화 세션(1220)을 세계관 필터(1030)에 입력하여 허위로 판정된 증강 대화 세션(1220)을 제거할 수 있다. 여기서, 증강 대화 세션(1220)은 시드 대화 세션(1210)을 패러프레이징하여 생성된 것일 수 있다.12 is a diagram illustrating an example of filtering an augmented conversation session 1220 using a worldview filter 1030 according to an embodiment of the present disclosure. According to one embodiment, the conversation database system may input seed conversation sessions 1210 and corresponding enhanced conversation sessions 1220 to worldview filter 1030 to remove augmented conversation sessions 1220 determined to be false. Here, the augmented chat session 1220 may be created by paraphrasing the seed chat session 1210 .

일 실시예에서, 대화 데이터베이스 시스템은 시드 대화 세션(1210) 및 증강 대화 세션(1220)을 세계관 필터(1030)에 입력하여 증강 대화 세션(1220)의 진위 여부를 검증할 수 있다. 예를 들어, 대화 데이터베이스 시스템은 자연어 추론(NLI: Natural Language Inference) 모델을 이용하여 시드 대화 세션(1210) 및 시드 대화 세션(1210)과 연관된 증강 대화 세션(1220) 사이의 관계를 판정할 수 있다. 여기서, NLI 모델은 한 문장이 다른 문장과 논리적으로 관련이 있는지를 판정하기 위한 모델일 수 있으며, 시드 대화 세션(1210) 및 시드 대화 세션(1210)과 연관된 증강 대화 세션(1220)의 관계를 중립 관계(neutral), 함의 관계(entailment), 모순 관계(contradiction)로 분류하여 판정할 수 있다. 시드 대화 세션(1210) 및 시드 대화 세션(1210)과 연관된 증강 대화 세션(1220)이 함의 관계가 아닌 것으로 판정하는 경우, 세계관 필터(1030)는 증강 대화 세션을 허위로 판정할 수 있다.In one embodiment, the conversation database system may input seed conversation session 1210 and augmented conversation session 1220 into worldview filter 1030 to verify authenticity of augmented conversation session 1220 . For example, a dialog database system may use a Natural Language Inference (NLI) model to determine a relationship between a seed dialog session 1210 and an augmented dialog session 1220 associated with the seed dialog session 1210. . Here, the NLI model may be a model for determining whether one sentence is logically related to another sentence, and the relationship between the seed conversation session 1210 and the augmented conversation session 1220 associated with the seed conversation session 1210 is neutral. It can be determined by classifying it into a neutral relationship, an entailment relationship, and a contradiction relationship. If it determines that the seed conversation session 1210 and the augmented conversation session 1220 associated with the seed conversation session 1210 are not synonymy, the worldview filter 1030 may determine the enhanced conversation session to be false.

일 실시예에서, 증강 대화 세션(1220)이 허위로 판정된 경우, 대화 데이터베이스 시스템은 해당 증강 대화 세션(1220)을 제거할 수 있다. 반면, 증강 대화 세션(1220)이 허위가 아닌 것으로 판정되는 경우, 대화 데이터베이스 시스템은 해당 증강 대화 세션(1220)을 유지할 수 있다. 이와 같은 구성에 의해 대화 데이터베이스 시스템은 패러프레이징 과정에서 의도하지 않게 의미가 변경된 증강 대화 세션을 제거하여 보다 품질이 좋은 페르소나 대화 데이터베이스를 생성할 수 있다.In one embodiment, if the enhanced chat session 1220 is determined to be false, the conversation database system may remove the enhanced chat session 1220 . On the other hand, if it is determined that the enhanced chat session 1220 is not fake, the chat database system may maintain the corresponding enhanced chat session 1220 . With this configuration, the conversation database system can create a persona conversation database with higher quality by removing augmented conversation sessions whose meanings are unintentionally changed in the paraphrasing process.

도 13은 본 개시의 일 실시예에 따라 대화체 필터(1040) 및 대화체 변환기(1050)를 이용하여 캐릭터 대화체와 일치하지 않는 캐릭터 발화를 캐릭터 대화체로 변환하는 예시를 나타내는 도면이다. 여기서, 대화 세션(1110)은 증강 대화 데이터베이스 내의 시드 대화 세션 또는 증강 대화 세션일 수 있다. 도시된 것과 같이, 대화 데이터베이스 시스템은 대화 세션(1310)을 대화체 필터(1040)에 입력하여, 대화 세션(1310)에 포함된 캐릭터 발화 중 캐릭터 대화체와 일치하지 않는 캐릭터 발화를 식별할 수 있다. 예를 들어, 대화체 필터(1040)는 제1 캐릭터 발화(1312)인 '헐? 대박! 오지고 지리고 렛잇고~'는 캐릭터 대화체와 일치하고, 제2 캐릭터 발화(1314)인 '인간의 노력은 기필코 배신하지 않는다고 생각합니다.'는 캐릭터 대화체와 일치하지 않는 것으로 판정할 수 있다.FIG. 13 is a diagram illustrating an example of converting character utterances that do not match a character dialogue into a character dialogue using a dialogue filter 1040 and a dialogue converter 1050 according to an embodiment of the present disclosure. Here, chat session 1110 may be a seed chat session or an enhanced chat session in an enhanced chat database. As shown, the dialogue database system may input the dialogue session 1310 to the dialogue filter 1040 to identify character speech that does not match the character dialogue among character speech included in the dialogue session 1310 . For example, the conversational filter 1040 is the first character utterance 1312 'huh? oh my god! It can be judged that 'Oh, I'm bored, let it go~' matches the character dialogue, and the second character utterance (1314), 'I believe that human efforts are definitely not betrayed' does not match the character dialogue.

일 실시예에서, 대화 데이터베이스 시스템은 캐릭터 대화체와 일치하지 않는 캐릭터 발화로 식별된 제2 캐릭터 발화(1314)를 캐릭터 대화체 변환기(1050)에 입력하여, 캐릭터 대화체(1320)로 변환할 수 있다. 예를 들어, 대화체 변환기(1050)는 캐릭터 대화체와 일치하지 않는 제2 캐릭터 발화(1314)를 캐릭터 대화체를 가진 제3 캐릭터 발화(1320)인 '노력은 배신을 절~대 안한다구욧!'으로 변환할 수 있다. 이 경우, 대화 데이터베이스 시스템은 제2 캐릭터 발화(1314)를 제3 캐릭터 발화(1320)으로 교체하여 저장할 수 있다. 이와 같은 구성에 의해 대화 데이터베이스 시스템은 캐릭터 대화체와 일치하지 않는 대화 세션을 보정하여 보다 품질이 좋은 페르소나 대화 데이터베이스를 생성할 수 있다.In one embodiment, the dialogue database system may input the second character speech 1314 identified as a character speech that does not match the character dialogue dialogue to the character dialogue converter 1050 and convert it into the character dialogue dialogue 1320. For example, the dialogue converter 1050 converts the second character speech 1314 that does not match the character dialogue into the third character speech 1320 having the character dialogue 'Effort never betrays!' can be converted In this case, the conversation database system may replace and store the second character utterance 1314 with the third character utterance 1320 . With this configuration, the dialogue database system can create a persona dialogue database with higher quality by correcting dialogue sessions that do not match the character dialogue.

도 14는 본 개시의 일 실시예에 따라, 언어 모델을 이용한 대화 데이터베이스 구축 방법(1400)을 나타내는 흐름도이다. 일 실시예에서, 대화 데이터베이스 구축 방법(1400)은 프로세서(예를 들어, 사용자 단말 또는 정보 처리 시스템의 적어도 하나의 프로세서)에 의해 수행될 수 있다. 다른 실시예에서, 정보 처리 시스템과 사용자 단말이 대화 데이터베이스 구축 방법(1400)의 단계들을 나누어 수행할 수 있다.14 is a flowchart illustrating a method 1400 of constructing a conversation database using a language model according to an embodiment of the present disclosure. In one embodiment, the conversation database construction method 1400 may be performed by a processor (eg, a user terminal or at least one processor of an information processing system). In another embodiment, the information processing system and the user terminal may separately perform the steps of the method 1400 for constructing a conversation database.

일 실시예에서, 대화 데이터베이스 구축 방법(1400)은 프로세서가 미리 정의된 복수의 대화 목적-대화 유형 쌍을 수신함으로써 개시될 수 있다(S1410). 그 후, 프로세서는 언어 모델을 이용하여 각 대화 목적과 연관된 복수의 대화 상황을 생성할 수 있다(S1420). 이를 위해, 프로세서는 제1 대화 목적, 제1 대화 목적과 연관된 개략적인 대화 상황 샘플 및 제2 대화 목적을 포함하는 프롬프트를 언어 모델에 입력하여 제2 대화 목적과 연관된 복수의 개략적인 대화 상황을 생성할 수 있다. 여기서, 제2 대화 목적과 연관된 복수의 개략적인 대화 상황은 제1 개략적인 대화 상황 및 제2 개략적인 대화 상황을 포함할 수 있다. 그리고, 프로세서는 제2 대화 목적, 제2 대화 목적과 연관된 구체적인 대화 상황 샘플 및 제1 개략적인 대화 상황을 포함하는 프롬프트를 언어 모델에 입력하여 제2 대화 목적과 연관된 제1 구체적인 대화 상황 세트를 생성할 수 있다. 유사하게, 프로세서는 제2 대화 목적, 제2 대화 목적과 연관된 구체적인 대화 상황 샘플 및 제2 개략적인 대화 상황을 포함하는 프롬프트를 언어 모델에 입력하여 제2 대화 목적과 연관된 제2 구체적인 대화 상황 세트를 생성할 수 있다.In one embodiment, the conversation database construction method 1400 may be initiated by the processor receiving a plurality of predefined conversation purpose-conversation type pairs (S1410). Then, the processor may generate a plurality of conversation situations associated with each conversation purpose by using the language model (S1420). To this end, the processor generates a plurality of schematic dialog situations associated with the second dialog purpose by inputting a prompt including a first dialog purpose, a schematic dialog situation sample associated with the first dialog purpose, and a second dialog purpose to the language model. can do. Here, the plurality of general conversation situations associated with the second conversation purpose may include a first general conversation situation and a second general conversation situation. And, the processor generates a set of first specific dialogue situations associated with the second dialogue objective by inputting a prompt including a second dialogue objective, a specific dialogue situation sample associated with the second dialogue objective, and a first schematic dialogue situation to the language model. can do. Similarly, the processor inputs a prompt including a second dialog objective, a sample of concrete dialog situations associated with the second dialog objective, and a second high-level dialog situation to the language model to obtain a second set of specific dialog situations associated with the second dialog objective. can create

대화 상황이 모두 생성된 후, 프로세서는 언어 모델을 이용하여 복수의 대화 목적-대화 유형-대화 상황 삼중쌍(triplet)에 대응하는 복수의 시드 대화 세션을 생성하여 초기 대화 데이터베이스를 구축할 수 있다(S1430). 여기서, 각 시드 대화 세션은 적어도 하나의 사용자 발화 및 적어도 하나의 캐릭터 발화를 포함할 수 있다. 구체적으로, 프로세서는 복수의 대화 목적-대화 유형 쌍 및 각 대화 목적과 연관된 복수의 대화 상황에 기초하여 복수의 대화 목적-대화 유형-대화 상황 삼중쌍(triplet)을 생성할 수 있다. 그리고, 프로세서는 제1 대화 목적-대화 유형-대화 상황, 제1 대화 목적-대화 유형-대화 상황에 대응하는 대화 세션 샘플 및 제2 대화 목적-대화 유형-대화 상황을 포함하는 프롬프트를 언어 모델에 입력하여 제2 대화 목적-대화 유형-대화 상황과 연관된 시드 대화 세션을 생성할 수 있다. 여기서, 제1 대화 목적-대화 유형-대화 상황에 대응하는 대화 세션 샘플은 적어도 하나의 사용자 발화와 적어도 하나의 캐릭터 발화를 포함할 수 있다.After all dialogue situations are generated, the processor may build a plurality of seed conversation sessions corresponding to a plurality of conversation purpose-conversation type-conversation situation triplets using a language model to build an initial conversation database ( S1430). Here, each seed conversation session may include at least one user utterance and at least one character utterance. Specifically, the processor may generate a plurality of conversation purpose-conversation type-conversation situation triplets based on a plurality of conversation purpose-conversation type pairs and a plurality of conversation situations associated with each conversation purpose. And, the processor may provide a prompt including a first conversation purpose-conversation type-conversation situation, a conversation session sample corresponding to the first conversation purpose-conversation type-conversation situation, and a second conversation purpose-conversation type-conversation situation to the language model. A seed conversation session associated with the second conversation purpose-conversation type-conversation situation may be created by inputting the seed conversation session. Here, the conversation session sample corresponding to the first conversation purpose, conversation type, and conversation situation may include at least one user utterance and at least one character utterance.

일 실시예에서, 프로세서는 언어 모델을 이용하여 초기 대화 데이터베이스 내의 각 대화 세션에 대해 적어도 하나의 증강 대화 세션을 생성하여 대화 데이터베이스에 추가할 수 있다. 여기서, 각 증강 대화 세션은 연관된 시드 대화 세션 내의 발화들을 패러프레이징(paraphrasing)한 발화들을 포함할 수 있다. 그 후, 프로세서는 대화 데이터베이스에 포함된 복수의 대화 세션을 캐릭터 페르소나 탐지기에 입력하여 캐릭터 페르소나와 일치하지 않는 대화 세션을 필터링하여 최종 대화 데이터베이스를 생성할 수 있다.In one embodiment, the processor may use the language model to create and add at least one augmented conversation session to the conversation database for each conversation session in the initial conversation database. Here, each augmented dialog session may include utterances paraphrasing utterances in an associated seed dialog session. Thereafter, the processor may input the plurality of conversation sessions included in the conversation database to the character persona detector to filter conversation sessions that do not match the character persona to generate a final conversation database.

일 실시예에서, 프로세서는 복수의 증강 대화 세션에 포함된 제1 증강 대화 세션을 성격 필터에 입력하여 대화 목적 및 대화 유형을 추정하고, 제1 증강 대화 세션의 추정된 대화 목적 및 추정된 대화 유형이 미리 정의된 캐릭터 성격 맵과 일치하지 않는 것으로 판정하는 것에 응답하여, 제1 증강 대화 세션을 제거할 수 있다. 대안적으로 또는 추가적으로, 프로세서는 복수의 증강 대화 세션에 포함된 제2 증강 대화 세션을 성격 필터에 입력하여 대화 목적 및 대화 유형을 추정하고, 제2 증강 대화 세션의 추정된 대화 목적 및 추정된 대화 유형이 제2 증강 대화 세션과 연관된 시드 대화 세션을 생성할 때 사용된 대화 목적 및 대화 유형과 일치하지 않는 것으로 판정하는 것에 응답하여, 제2 증강 대화 세션을 제거할 수 있다.In one embodiment, the processor inputs a first enhanced dialog session included in a plurality of enhanced dialog sessions to a personality filter to estimate a conversation purpose and conversation type, and the estimated conversation purpose and estimated conversation type of the first enhanced conversation session. In response to determining that it does not match this predefined character personality map, the first augmented conversation session may be removed. Alternatively or additionally, the processor inputs the second enhanced dialog session included in the plurality of enhanced dialog sessions to the personality filter to estimate the conversation purpose and the conversation type, and the estimated conversation purpose and the estimated conversation of the second enhanced conversation session. In response to determining that the type does not match the conversation purpose and conversation type used in creating the seed conversation session associated with the second enhanced conversation session, the second enhanced conversation session may be removed.

대안적으로 또는 추가적으로, 프로세서는 복수의 증강 대화 세션에 포함된 제3 증강 대화 세션 및 제3 증강 대화 세션과 연관된 시드 대화 세션을 세계관 필터에 입력하여 제3 증강 대화 세션의 진위 여부를 검증할 수 있다. 제3 증강 대화 세션이 허위로 판정되는 것에 응답하여, 프로세서는 제3 증강 대화 세션을 제거할 수 있다. 예를 들어, 프로세서는 자연어 추론(NLI: Natural Language Inference) 모델을 이용하여 제3 증강 대화 세션 및 제3 증강 대화 세션과 연관된 시드 대화 세션 사이의 관계를 판정하고, 제3 증강 대화 세션 및 제3 증강 대화 세션과 연관된 시드 대화 세션이 함의 관계(entailment)가 아닌 것으로 판정하는 것에 응답하여, 제3 증강 대화 세션을 허위로 판정하는 방식으로 제3 증강 대화 세션의 진위 여부를 검증할 수 있다.Alternatively or additionally, the processor may input a third enhanced dialog session included in the plurality of enhanced dialog sessions and a seed dialog session associated with the third enhanced dialog session into a worldview filter to verify authenticity of the third enhanced dialog session. there is. In response to the third enhanced dialog session being determined to be false, the processor can remove the third enhanced dialog session. For example, the processor determines a relationship between the third enhanced dialog session and a seed dialog session associated with the third enhanced dialog session using a Natural Language Inference (NLI) model, and In response to determining that the seed conversation session associated with the enhanced conversation session is not an entailment, authenticity of the third enhanced conversation session may be verified by determining that the third enhanced conversation session is false.

대안적으로 또는 추가적으로, 프로세스는 복수의 대화 세션 중 특정 대화 세션을 대화체 필터에 입력하여 특정 대화 세션에 포함된 캐릭터 발화 중 미리 정의된 캐릭터 대화체와 일치하지 않는 캐릭터 발화를 식별할 수 있다. 그리고, 프로세서는 식별된 캐릭터 발화를 캐릭터 대화체 변환기에 입력하여 미리 정의된 캐릭터 대화체로 변환할 수 있다.Alternatively or additionally, the process may input a specific dialogue session of the plurality of dialogue sessions to a dialogue filter to identify character utterances included in the specific dialogue session that do not match a predefined character dialogue. Then, the processor may convert the identified character utterance into a predefined character dialog by inputting it to a character dialog converter.

일 실시예에서, 프로세서는 최종 대화 데이터베이스를 이용하여 캐릭터 페르소나를 가지는 캐릭터 챗봇을 학습할 수 있다.In one embodiment, the processor may use the final conversation database to learn a character chatbot having a character persona.

상술한 방법은 컴퓨터에서 실행하기 위해 컴퓨터 판독 가능한 기록매체에 저장된 컴퓨터 프로그램으로 제공될 수 있다. 매체는 컴퓨터로 실행 가능한 프로그램을 계속 저장하거나, 실행 또는 다운로드를 위해 임시 저장하는 것일수도 있다. 또한, 매체는 단일 또는 수개 하드웨어가 결합된 형태의 다양한 기록 수단 또는 저장수단일 수 있는데, 어떤 컴퓨터 시스템에 직접 접속되는 매체에 한정되지 않고, 네트워크 상에 분산 존재하는 것일 수도 있다. 매체의 예시로는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM 및 DVD 와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto optical medium), 및 ROM, RAM, 플래시 메모리 등을 포함하여 프로그램 명령어가 저장되도록 구성된 것이 있을 수 있다. 또한, 다른 매체의 예시로, 애플리케이션을 유통하는 앱 스토어나 기타 다양한 소프트웨어를 공급 내지 유통하는 사이트, 서버 등에서 관리하는 기록매체 내지 저장매체도 들 수 있다.The above method may be provided as a computer program stored in a computer readable recording medium to be executed on a computer. The medium may continuously store programs executable by a computer or temporarily store them for execution or download. In addition, the medium may be various recording means or storage means in the form of a single or combined hardware, but is not limited to a medium directly connected to a certain computer system, and may be distributed on a network. Examples of the medium include magnetic media such as hard disks, floppy disks and magnetic tapes, optical recording media such as CD-ROM and DVD, magneto optical media such as floptical disks, and Anything configured to store program instructions may include a ROM, RAM, flash memory, or the like. In addition, examples of other media include recording media or storage media managed by an app store that distributes applications, a site that supplies or distributes various other software, and a server.

본 개시의 방법, 동작 또는 기법들은 다양한 수단에 의해 구현될 수도 있다. 예를 들어, 이러한 기법들은 하드웨어, 펌웨어, 소프트웨어, 또는 이들의 조합으로 구현될 수도 있다. 본원의 개시와 연계하여 설명된 다양한 예시적인 논리적 블록들, 모듈들, 회로들, 및 알고리즘 단계들은 전자 하드웨어, 컴퓨터 소프트웨어, 또는 양자의 조합들로 구현될 수도 있음을 통상의 기술자들은 이해할 것이다. 하드웨어 및 소프트웨어의 이러한 상호 대체를 명확하게 설명하기 위해, 다양한 예시적인 구성요소들, 블록들, 모듈들, 회로들, 및 단계들이 그들의 기능적 관점에서 일반적으로 위에서 설명되었다. 그러한 기능이 하드웨어로서 구현되는지 또는 소프트웨어로서 구현되는 지의 여부는, 특정 애플리케이션 및 전체 시스템에 부과되는 설계 요구사항들에 따라 달라진다. 통상의 기술자들은 각각의 특정 애플리케이션을 위해 다양한 방식들로 설명된 기능을 구현할 수도 있으나, 그러한 구현들은 본 개시의 범위로부터 벗어나게 하는 것으로 해석되어서는 안된다.The methods, acts or techniques of this disclosure may be implemented by various means. For example, these techniques may be implemented in hardware, firmware, software, or combinations thereof. Those skilled in the art will appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchange of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the particular application and the design requirements imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementations should not be interpreted as causing a departure from the scope of the present disclosure.

하드웨어 구현에서, 기법들을 수행하는 데 이용되는 프로세싱 유닛들은, 하나 이상의 ASIC들, DSP들, 디지털 신호 프로세싱 디바이스들(digital signal processing devices; DSPD들), 프로그램가능 논리 디바이스들(programmable logic devices; PLD들), 필드 프로그램가능 게이트 어레이들(field programmable gate arrays; FPGA들), 프로세서들, 제어기들, 마이크로제어기들, 마이크로프로세서들, 전자 디바이스들, 본 개시에 설명된 기능들을 수행하도록 설계된 다른 전자 유닛들, 컴퓨터, 또는 이들의 조합 내에서 구현될 수도 있다.In a hardware implementation, the processing units used to perform the techniques may include one or more ASICs, DSPs, digital signal processing devices (DSPDs), programmable logic devices (PLDs) ), field programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, electronic devices, and other electronic units designed to perform the functions described in this disclosure. , a computer, or a combination thereof.

따라서, 본 개시와 연계하여 설명된 다양한 예시적인 논리 블록들, 모듈들, 및 회로들은 범용 프로세서, DSP, ASIC, FPGA나 다른 프로그램 가능 논리 디바이스, 이산 게이트나 트랜지스터 로직, 이산 하드웨어 컴포넌트들, 또는 본원에 설명된 기능들을 수행하도록 설계된 것들의 임의의 조합으로 구현되거나 수행될 수도 있다. 범용 프로세서는 마이크로프로세서일 수도 있지만, 대안으로, 프로세서는 임의의 종래의 프로세서, 제어기, 마이크로제어기, 또는 상태 머신일 수도 있다. 프로세서는 또한, 컴퓨팅 디바이스들의 조합, 예를 들면, DSP와 마이크로프로세서, 복수의 마이크로프로세서들, DSP 코어와 연계한 하나 이상의 마이크로프로세서들, 또는 임의의 다른 구성의 조합으로서 구현될 수도 있다.Accordingly, the various illustrative logical blocks, modules, and circuits described in connection with this disclosure may be incorporated into a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or may be implemented or performed in any combination of those designed to perform the functions described in A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, eg, a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other configuration.

펌웨어 및/또는 소프트웨어 구현에 있어서, 기법들은 랜덤 액세스 메모리(random access memory; RAM), 판독 전용 메모리(read-only memory; ROM), 비휘발성 RAM(non-volatile random access memory; NVRAM), PROM(programmable read-only memory), EPROM(erasable programmable read-only memory), EEPROM(electrically erasable PROM), 플래시 메모리, 컴팩트 디스크(compact disc; CD), 자기 또는 광학 데이터 스토리지 디바이스 등과 같은 컴퓨터 판독가능 매체 상에 저장된 명령들로서 구현될 수도 있다. 명령들은 하나 이상의 프로세서들에 의해 실행 가능할 수도 있고, 프로세서(들)로 하여금 본 개시에 설명된 기능의 특정 양태들을 수행하게 할 수도 있다.In firmware and/or software implementation, the techniques include random access memory (RAM), read-only memory (ROM), non-volatile random access memory (NVRAM), PROM ( on a computer readable medium, such as programmable read-only memory (EPROM), erasable programmable read-only memory (EPROM), electrically erasable PROM (EEPROM), flash memory, compact disc (CD), magnetic or optical data storage device, or the like. It can also be implemented as stored instructions. Instructions may be executable by one or more processors and may cause the processor(s) to perform certain aspects of the functionality described in this disclosure.

소프트웨어로 구현되는 경우, 상기 기법들은 하나 이상의 명령들 또는 코드로서 컴퓨터 판독 가능한 매체 상에 저장되거나 또는 컴퓨터 판독 가능한 매체를 통해 전송될 수도 있다. 컴퓨터 판독가능 매체들은 한 장소에서 다른 장소로 컴퓨터 프로그램의 전송을 용이하게 하는 임의의 매체를 포함하여 컴퓨터 저장 매체들 및 통신 매체들 양자를 포함한다. 저장 매체들은 컴퓨터에 의해 액세스될 수 있는 임의의 이용 가능한 매체들일 수도 있다. 비제한적인 예로서, 이러한 컴퓨터 판독가능 매체는 RAM, ROM, EEPROM, CD-ROM 또는 다른 광학 디스크 스토리지, 자기 디스크 스토리지 또는 다른 자기 스토리지 디바이스들, 또는 소망의 프로그램 코드를 명령들 또는 데이터 구조들의 형태로 이송 또는 저장하기 위해 사용될 수 있으며 컴퓨터에 의해 액세스될 수 있는 임의의 다른 매체를 포함할 수 있다. 또한, 임의의 접속이 컴퓨터 판독가능 매체로 적절히 칭해진다.If implemented in software, the techniques may be stored on or transmitted over as one or more instructions or code on a computer readable medium. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. By way of non-limiting example, such computer readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or desired program code in the form of instructions or data structures. It can be used for transport or storage to and can include any other medium that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium.

예를 들어, 소프트웨어가 동축 케이블, 광섬유 케이블, 연선, 디지털 가입자 회선 (DSL), 또는 적외선, 무선, 및 마이크로파와 같은 무선 기술들을 사용하여 웹사이트, 서버, 또는 다른 원격 소스로부터 전송되면, 동축 케이블, 광섬유 케이블, 연선, 디지털 가입자 회선, 또는 적외선, 무선, 및 마이크로파와 같은 무선 기술들은 매체의 정의 내에 포함된다. 본원에서 사용된 디스크(disk) 와 디스크(disc)는, CD, 레이저 디스크, 광 디스크, DVD(digital versatile disc), 플로피디스크, 및 블루레이 디스크를 포함하며, 여기서 디스크들(disks)은 보통 자기적으로 데이터를 재생하고, 반면 디스크들(discs) 은 레이저를 이용하여 광학적으로 데이터를 재생한다. 위의 조합들도 컴퓨터 판독가능 매체들의 범위 내에 포함되어야 한다.For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, the coaxial cable , fiber optic cable, twisted pair, digital subscriber line, or wireless technologies such as infrared, radio, and microwave are included within the definition of medium. Disk and disc as used herein include CD, laser disc, optical disc, digital versatile disc (DVD), floppy disk, and blu-ray disc, where disks are usually magnetic data is reproduced optically, whereas discs reproduce data optically using a laser. Combinations of the above should also be included within the scope of computer readable media.

소프트웨어 모듈은, RAM 메모리, 플래시 메모리, ROM 메모리, EPROM 메모리, EEPROM 메모리, 레지스터들, 하드 디스크, 이동식 디스크, CD-ROM, 또는 공지된 임의의 다른 형태의 저장 매체 내에 상주할 수도 있다. 예시적인 저장 매체는, 프로세가 저장 매체로부터 정보를 판독하거나 저장 매체에 정보를 기록할 수 있도록, 프로세서에 연결될 수 있다. 대안으로, 저장 매체는 프로세서에 통합될 수도 있다. 프로세서와 저장 매체는 ASIC 내에 존재할 수도 있다. ASIC은 유저 단말 내에 존재할 수도 있다. 대안으로, 프로세서와 저장 매체는 유저 단말에서 개별 구성요소들로서 존재할 수도 있다.A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium can be coupled to the processor such that the processor can read information from or write information to the storage medium. Alternatively, the storage medium may be integral to the processor. The processor and storage medium may reside within an ASIC. An ASIC may exist within a user terminal. Alternatively, the processor and storage medium may exist as separate components in a user terminal.

이상 설명된 실시예들이 하나 이상의 독립형 컴퓨터 시스템에서 현재 개시된 주제의 양태들을 활용하는 것으로 기술되었으나, 본 개시는 이에 한정되지 않고, 네트워크나 분산 컴퓨팅 환경과 같은 임의의 컴퓨팅 환경과 연계하여 구현될 수도 있다. 또 나아가, 본 개시에서 주제의 양상들은 복수의 프로세싱 칩들이나 장치들에서 구현될 수도 있고, 스토리지는 복수의 장치들에 걸쳐 유사하게 영향을 받게 될 수도 있다. 이러한 장치들은 PC들, 네트워크 서버들, 및 휴대용 장치들을 포함할 수도 있다.Although the embodiments described above have been described as utilizing aspects of the presently-disclosed subject matter in one or more stand-alone computer systems, the disclosure is not limited thereto and may be implemented in conjunction with any computing environment, such as a network or distributed computing environment. . Further, aspects of the subject matter in this disclosure may be implemented in a plurality of processing chips or devices, and storage may be similarly affected across multiple devices. These devices may include PCs, network servers, and portable devices.

본 명세서에서는 본 개시가 일부 실시예들과 관련하여 설명되었지만, 본 개시의 발명이 속하는 기술분야의 통상의 기술자가 이해할 수 있는 본 개시의 범위를 벗어나지 않는 범위에서 다양한 변형 및 변경이 이루어질 수 있다. 또한, 그러한 변형 및 변경은 본 명세서에 첨부된 특허청구의 범위 내에 속하는 것으로 생각되어야 한다.Although the present disclosure has been described in relation to some embodiments in this specification, various modifications and changes may be made without departing from the scope of the present disclosure that can be understood by those skilled in the art. Moreover, such modifications and variations are intended to fall within the scope of the claims appended hereto.

110: 복수의 대화 목적-대화 유형 쌍
120: 구체적인 대화 상황 리스트
130: 초기 대화 데이터베이스
140: 증강 대화 데이터베이스
150: 캐릭터 페르소나 탐지기
160: 최종 대화 데이터베이스
110: multiple conversation purpose-dialogue type pairs
120: list of specific conversation situations
130 Initial Conversation Database
140 augmented dialog database
150: character persona detector
160: final conversation database

Claims (16)

적어도 하나의 프로세서에 의해 수행되는, 언어 모델을 이용한 대화 데이터베이스 구축 방법에 있어서,
미리 정의된 복수의 대화 목적-대화 유형 쌍을 수신하는 단계;
언어 모델을 이용하여 각 대화 목적과 연관된 복수의 대화 상황을 생성하는 단계; 및
상기 언어 모델을 이용하여 복수의 대화 목적-대화 유형-대화 상황 삼중쌍(triplet)에 대응하는 복수의 시드 대화 세션을 생성하여 초기 대화 데이터베이스를 구축하는 단계
를 포함하고,
각 시드 대화 세션은 적어도 하나의 사용자 발화 및 적어도 하나의 캐릭터 발화를 포함하는, 대화 데이터베이스 구축 방법.
A method for constructing a dialogue database using a language model, performed by at least one processor, comprising:
receiving a plurality of predefined conversation purpose-conversation type pairs;
generating a plurality of conversation situations associated with each conversation purpose by using a language model; and
constructing an initial conversation database by creating a plurality of seed conversation sessions corresponding to a plurality of conversation purpose-conversation type-conversation situation triplets using the language model;
including,
A method of building a conversation database, wherein each seed conversation session includes at least one user utterance and at least one character utterance.
제1항에 있어서,
상기 언어 모델을 이용하여 상기 초기 대화 데이터베이스 내의 각 대화 세션에 대해 적어도 하나의 증강 대화 세션을 생성하여 대화 데이터베이스에 추가하는 단계
를 더 포함하는, 대화 데이터베이스 구축 방법.
According to claim 1,
generating and adding at least one augmented dialog session to a dialog database for each dialog session in the initial dialog database using the language model;
Further comprising, a conversation database construction method.
제2항에 있어서,
각 증강 대화 세션은 연관된 시드 대화 세션 내의 발화들을 패러프레이징(paraphrasing)한 발화들을 포함하는, 대화 데이터베이스 구축 방법.
According to claim 2,
A method of building a dialog database, wherein each augmented dialog session includes utterances that are paraphrasing of utterances in an associated seed dialog session.
제1항에 있어서,
상기 각 대화 목적과 연관된 복수의 대화 상황을 생성하는 단계는,
제1 대화 목적, 상기 제1 대화 목적과 연관된 개략적인 대화 상황 샘플 및 제2 대화 목적을 포함하는 프롬프트를 상기 언어 모델에 입력하여 상기 제2 대화 목적과 연관된 복수의 개략적인 대화 상황을 생성하는 단계
를 포함하고,
상기 제2 대화 목적과 연관된 복수의 개략적인 대화 상황은 제1 개략적인 대화 상황 및 제2 개략적인 대화 상황을 포함하는, 대화 데이터베이스 구축 방법.
According to claim 1,
The step of generating a plurality of conversation situations associated with each conversation purpose,
generating a plurality of schematic dialogue situations associated with the second dialogue purpose by inputting a prompt including a first dialogue purpose, a sample of a schematic dialogue situation associated with the first dialogue purpose, and a second dialogue purpose into the language model;
including,
The dialog database construction method of claim 1, wherein the plurality of general dialog situations associated with the second dialog purpose includes a first general dialog situation and a second general dialog situation.
제4항에 있어서,
상기 각 대화 목적과 연관된 복수의 대화 상황을 생성하는 단계는,
상기 제2 대화 목적, 상기 제2 대화 목적과 연관된 구체적인 대화 상황 샘플 및 상기 제1 개략적인 대화 상황을 포함하는 프롬프트를 상기 언어 모델에 입력하여 상기 제2 대화 목적과 연관된 제1 구체적인 대화 상황 세트를 생성하는 단계; 및
상기 제2 대화 목적, 상기 제2 대화 목적과 연관된 구체적인 대화 상황 샘플 및 상기 제2 개략적인 대화 상황을 포함하는 프롬프트를 상기 언어 모델에 입력하여 상기 제2 대화 목적과 연관된 제2 구체적인 대화 상황 세트를 생성하는 단계
를 더 포함하는, 대화 데이터베이스 구축 방법.
According to claim 4,
The step of generating a plurality of conversation situations associated with each conversation purpose,
A prompt including the second dialogue objective, a specific dialogue situation sample associated with the second dialogue purpose, and the first general dialogue situation is input to the language model to obtain a first specific dialogue situation set associated with the second dialogue purpose. generating; and
A prompt including the second dialogue objective, a specific dialogue situation sample associated with the second dialogue purpose, and the second general dialogue situation is input to the language model to obtain a second set of specific dialogue situations associated with the second dialogue purpose. steps to create
Further comprising, a conversation database construction method.
제1항에 있어서,
상기 초기 대화 데이터베이스를 구축하는 단계는,
상기 복수의 대화 목적-대화 유형 쌍 및 상기 각 대화 목적과 연관된 복수의 대화 상황에 기초하여 복수의 대화 목적-대화 유형-대화 상황 삼중쌍(triplet)을 생성하는 단계; 및
제1 대화 목적-대화 유형-대화 상황, 상기 제1 대화 목적-대화 유형-대화 상황에 대응하는 대화 세션 샘플 및 제2 대화 목적-대화 유형-대화 상황을 포함하는 프롬프트를 상기 언어 모델에 입력하여 상기 제2 대화 목적-대화 유형-대화 상황과 연관된 시드 대화 세션을 생성하는 단계
를 포함하고,
상기 제1 대화 목적-대화 유형-대화 상황에 대응하는 대화 세션 샘플은 적어도 하나의 사용자 발화와 적어도 하나의 캐릭터 발화를 포함하는, 대화 데이터베이스 구축 방법.
According to claim 1,
The step of building the initial conversation database,
generating a plurality of conversation purpose-conversation type-conversation situation triplets based on the plurality of conversation purpose-conversation type pairs and a plurality of conversation situations associated with each conversation purpose; and
A prompt including a first conversation purpose-conversation type-conversation situation, a conversation session sample corresponding to the first conversation purpose-conversation type-conversation situation, and a second conversation purpose-conversation type-conversation situation is input into the language model, creating a seed conversation session associated with the second conversation purpose-conversation type-conversation situation;
including,
wherein the conversation session sample corresponding to the first conversation purpose-dialogue type-dialogue situation includes at least one user utterance and at least one character utterance.
제2항에 있어서,
상기 대화 데이터베이스에 포함된 복수의 대화 세션을 캐릭터 페르소나 탐지기에 입력하여 캐릭터 페르소나와 일치하지 않는 대화 세션을 필터링하여 최종 대화 데이터베이스를 생성하는 단계
를 더 포함하는, 대화 데이터베이스 구축 방법.
According to claim 2,
generating a final conversation database by inputting a plurality of conversation sessions included in the conversation database into a character persona detector and filtering conversation sessions that do not match the character persona;
Further comprising, a conversation database construction method.
제7항에 있어서,
상기 최종 대화 데이터베이스를 생성하는 단계는,
상기 복수의 증강 대화 세션에 포함된 제1 증강 대화 세션을 성격 필터에 입력하여 대화 목적 및 대화 유형을 추정하는 단계; 및
상기 제1 증강 대화 세션의 추정된 대화 목적 및 추정된 대화 유형이 미리 정의된 캐릭터 성격 맵과 일치하지 않는 것으로 판정하는 것에 응답하여, 상기 제1 증강 대화 세션을 제거하는 단계
를 포함하는, 대화 데이터베이스 구축 방법.
According to claim 7,
The step of creating the final conversation database,
estimating a conversation purpose and a conversation type by inputting a first augmented conversation session included in the plurality of augmented conversation sessions to a personality filter; and
In response to determining that the estimated conversation purpose and the estimated conversation type of the first enhanced conversation session do not match a predefined character personality map, removing the first enhanced conversation session.
Including, Conversation database construction method.
제7항에 있어서,
상기 최종 대화 데이터베이스를 생성하는 단계는,
상기 복수의 증강 대화 세션에 포함된 제2 증강 대화 세션을 성격 필터에 입력하여 대화 목적 및 대화 유형을 추정하는 단계; 및
상기 제2 증강 대화 세션의 추정된 대화 목적 및 추정된 대화 유형이 상기 제2 증강 대화 세션과 연관된 시드 대화 세션을 생성할 때 사용된 대화 목적 및 대화 유형과 일치하지 않는 것으로 판정하는 것에 응답하여, 상기 제2 증강 대화 세션을 제거하는 단계
를 포함하는, 대화 데이터베이스 구축 방법.
According to claim 7,
The step of creating the final conversation database,
estimating a conversation purpose and a conversation type by inputting a second augmented conversation session included in the plurality of enhanced conversation sessions to a personality filter; and
In response to determining that an estimated conversation purpose and an estimated conversation type of the second enhanced conversation session do not match a conversation purpose and conversation type used when creating a seed conversation session associated with the second enhanced conversation session, removing the second enhanced dialog session;
Including, Conversation database construction method.
제7항에 있어서,
상기 최종 대화 데이터베이스를 생성하는 단계는,
상기 복수의 증강 대화 세션에 포함된 제3 증강 대화 세션 및 상기 제3 증강 대화 세션과 연관된 시드 대화 세션을 세계관 필터에 입력하여 상기 제3 증강 대화 세션의 진위 여부를 검증하는 단계; 및
상기 제3 증강 대화 세션이 허위로 판정되는 것에 응답하여, 상기 제3 증강 대화 세션을 제거하는 단계
를 포함하는, 대화 데이터베이스 구축 방법.
According to claim 7,
The step of creating the final conversation database,
verifying authenticity of the third augmented chat session by inputting a third augmented chat session included in the plurality of augmented chat sessions and a seed chat session associated with the third augmented chat session into a world view filter; and
In response to the third enhanced dialog session being determined to be false, removing the third enhanced dialog session.
Including, Conversation database construction method.
제10항에 있어서,
상기 제3 증강 대화 세션의 진위 여부를 검증하는 단계는,
자연어 추론(NLI: Natural Language Inference) 모델을 이용하여 상기 제3 증강 대화 세션 및 상기 제3 증강 대화 세션과 연관된 시드 대화 세션 사이의 관계를 판정하는 단계; 및
상기 제3 증강 대화 세션 및 상기 제3 증강 대화 세션과 연관된 시드 대화 세션이 함의 관계(entailment)가 아닌 것으로 판정하는 것에 응답하여, 상기 제3 증강 대화 세션을 허위로 판정하는 단계
를 포함하는, 대화 데이터베이스 구축 방법.
According to claim 10,
The step of verifying whether the third augmented conversation session is authentic,
determining a relationship between the third enhanced dialog session and a seed dialog session associated with the third enhanced dialog session using a Natural Language Inference (NLI) model; and
In response to determining that the third enhanced dialog session and a seed dialog session associated with the third enhanced dialog session are not entailments, determining the third enhanced dialog session to be false.
Including, Conversation database construction method.
제7항에 있어서,
상기 최종 대화 데이터베이스를 생성하는 단계는,
상기 복수의 대화 세션 중 특정 대화 세션을 대화체 필터에 입력하여 상기 특정 대화 세션에 포함된 캐릭터 발화 중 미리 정의된 캐릭터 대화체와 일치하지 않는 캐릭터 발화를 식별하는 단계
를 포함하는, 대화 데이터베이스 구축 방법.
According to claim 7,
The step of creating the final conversation database,
inputting a specific dialogue session among the plurality of dialogue sessions to a dialogue filter to identify character speech that does not match a predefined character dialogue among character speech included in the specific dialogue session;
Including, Conversation database construction method.
제12항에 있어서,
상기 최종 대화 데이터베이스를 생성하는 단계는,
상기 식별된 캐릭터 발화를 캐릭터 대화체 변환기에 입력하여 상기 미리 정의된 캐릭터 대화체로 변환하는 단계
를 더 포함하는, 대화 데이터베이스 구축 방법.
According to claim 12,
The step of creating the final conversation database,
Converting the identified character utterance into the predefined character dialogue by inputting it to a character dialogue converter
Further comprising, a conversation database construction method.
제7항에 있어서,
상기 최종 대화 데이터베이스를 이용하여 캐릭터 페르소나를 가지는 캐릭터 챗봇을 학습하는 단계
를 더 포함하는, 대화 데이터베이스 구축 방법.
According to claim 7,
Learning a character chatbot having a character persona using the final conversation database
Further comprising, a conversation database construction method.
제1항 내지 제14항 중 어느 한 항에 따른 방법을 컴퓨터에서 실행하기 위해 컴퓨터 판독 가능한 기록 매체에 저장된 컴퓨터 프로그램.A computer program stored in a computer-readable recording medium to execute the method according to any one of claims 1 to 14 on a computer. 대화 데이터베이스 구축 시스템으로서,
통신 모듈;
메모리; 및
상기 메모리와 연결되고, 상기 메모리에 포함된 컴퓨터 판독 가능한 적어도 하나의 프로그램을 실행하도록 구성된 적어도 하나의 프로세서
를 포함하고,
상기 적어도 하나의 프로그램은,
미리 정의된 복수의 대화 목적-대화 유형 쌍을 수신하고,
언어 모델을 이용하여 각 대화 목적과 연관된 복수의 대화 상황을 생성하고,
상기 언어 모델을 이용하여 복수의 대화 목적-대화 유형-대화 상황 삼중쌍(triplet)에 대응하는 복수의 시드 대화 세션을 생성하여 초기 대화 데이터베이스를 구축하기 위한 명령어들을 포함하고,
각 시드 대화 세션은 적어도 하나의 사용자 발화 및 적어도 하나의 캐릭터 발화를 포함하는, 대화 데이터베이스 구축 시스템.
As a dialogue database construction system,
communication module;
Memory; and
at least one processor connected to the memory and configured to execute at least one computer readable program contained in the memory
including,
The at least one program,
receive a plurality of predefined conversation purpose-conversation type pairs;
Creating a plurality of conversation situations related to each conversation purpose using a language model;
Including instructions for constructing an initial conversation database by creating a plurality of seed conversation sessions corresponding to a plurality of conversation purpose-conversation type-conversation situation triplets using the language model;
Wherein each seed dialogue session includes at least one user utterance and at least one character utterance.
KR1020210162810A 2021-11-23 2021-11-23 Method and system for creating persona conversation data using hyperscale language model KR20230076012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210162810A KR20230076012A (en) 2021-11-23 2021-11-23 Method and system for creating persona conversation data using hyperscale language model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210162810A KR20230076012A (en) 2021-11-23 2021-11-23 Method and system for creating persona conversation data using hyperscale language model

Publications (1)

Publication Number Publication Date
KR20230076012A true KR20230076012A (en) 2023-05-31

Family

ID=86542891

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210162810A KR20230076012A (en) 2021-11-23 2021-11-23 Method and system for creating persona conversation data using hyperscale language model

Country Status (1)

Country Link
KR (1) KR20230076012A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116992006A (en) * 2023-09-26 2023-11-03 武汉益模科技股份有限公司 Chain type natural language interaction method and system driven by large language model
KR102637029B1 (en) 2023-10-11 2024-02-15 주식회사 마인즈앤컴퍼니 Device for Generating Multi-turn Chat Bot Data Using LLM and Driving Method Thereof
KR102655929B1 (en) * 2023-08-18 2024-04-11 주식회사 티사이언티픽 System for generating conversational text data using generative ai model and method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102655929B1 (en) * 2023-08-18 2024-04-11 주식회사 티사이언티픽 System for generating conversational text data using generative ai model and method thereof
CN116992006A (en) * 2023-09-26 2023-11-03 武汉益模科技股份有限公司 Chain type natural language interaction method and system driven by large language model
CN116992006B (en) * 2023-09-26 2024-01-12 武汉益模科技股份有限公司 Chain type natural language interaction method and system driven by large language model
KR102637029B1 (en) 2023-10-11 2024-02-15 주식회사 마인즈앤컴퍼니 Device for Generating Multi-turn Chat Bot Data Using LLM and Driving Method Thereof

Similar Documents

Publication Publication Date Title
KR20230076012A (en) Method and system for creating persona conversation data using hyperscale language model
KR102295935B1 (en) Digital personal assistant interaction with impersonations and rich multimedia in responses
KR20190096304A (en) Apparatus and method for generating summary of conversation storing
JP7329585B2 (en) Persona chatbot control method and system
CN109410297A (en) It is a kind of for generating the method and apparatus of avatar image
KR20220158573A (en) Method and system for controlling for persona chatbot
US20160071302A1 (en) Systems and methods for cinematic direction and dynamic character control via natural language output
CN112750187A (en) Animation generation method, device and equipment and computer readable storage medium
US20230124765A1 (en) Machine learning-based dialogue authoring environment
CA2835368A1 (en) System and method for providing a dialog with a user
Lee Voice user interface projects: build voice-enabled applications using dialogflow for google home and Alexa skills kit for Amazon Echo
KR20190109651A (en) Voice imitation conversation service providing method and sytem based on artificial intelligence
KR20230075998A (en) Method and system for generating avatar based on text
Baena-Perez et al. Visual authoring of virtual reality conversational scenarios for e-learning
US10835822B2 (en) Application control method and terminal device
Floyd From Joseph Weizenbaum to ChatGPT: Critical encounters with dazzling AI technology
Quesada et al. Programming voice interfaces
KR102663162B1 (en) Method and system for synthesizing speech
CN112712798B (en) Privatization data acquisition method and device
KR102475038B1 (en) Method and apparatus for providing speech based conversation service
Voicu et al. Making children read more and better by integrating natural language processing and gamification techniques into mobile applications
KR20220145739A (en) Method for generating personalized voice contents
KR20240067224A (en) Method for providing user-based language learning content
CN117935788A (en) Man-machine interaction method and device, electronic equipment and storage medium
Miluț et al. Iasi City Explorer-Alexa, what can we do today?