KR20230169681A - Method and apparatus for outputting user-specific responses by reflecting relationship with artificial intelligence - Google Patents

Method and apparatus for outputting user-specific responses by reflecting relationship with artificial intelligence Download PDF

Info

Publication number
KR20230169681A
KR20230169681A KR1020220070122A KR20220070122A KR20230169681A KR 20230169681 A KR20230169681 A KR 20230169681A KR 1020220070122 A KR1020220070122 A KR 1020220070122A KR 20220070122 A KR20220070122 A KR 20220070122A KR 20230169681 A KR20230169681 A KR 20230169681A
Authority
KR
South Korea
Prior art keywords
response
user
intimacy
artificial intelligence
outputting
Prior art date
Application number
KR1020220070122A
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 KR1020220070122A priority Critical patent/KR20230169681A/en
Publication of KR20230169681A publication Critical patent/KR20230169681A/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/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • G06F16/24578Query processing with adaptation to user needs using ranking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • 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
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L13/00Speech synthesis; Text to speech systems
    • G10L13/08Text analysis or generation of parameters for speech synthesis out of text, e.g. grapheme to phoneme translation, prosody generation or stress or intonation determination
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/04Segmentation; Word boundary detection
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/225Feedback of the input speech

Abstract

인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법 및 장치가 제시된다. 일 실시예에 따른 인공지능에서 인공지능과 사용자와의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법은, 사용자와 인공지능 간의 친밀도를 판단하는 단계; 사용자의 발화가 입력되는 경우, 상기 친밀도에 따라 응답 데이터베이스를 선택하는 단계; 및 상기 친밀도에 따라 선택된 상기 응답 데이터베이스를 기반으로 응답 메시지를 출력하는 단계를 포함하여 이루어질 수 있다. A method and device for outputting user-specific responses reflecting the relationship with artificial intelligence are presented. A method of outputting a user-specific response by reflecting the relationship between artificial intelligence and a user in artificial intelligence according to an embodiment includes the steps of determining intimacy between the user and artificial intelligence; When a user's speech is input, selecting a response database according to the intimacy level; and outputting a response message based on the response database selected according to the intimacy.

Description

인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법 및 장치{METHOD AND APPARATUS FOR OUTPUTTING USER-SPECIFIC RESPONSES BY REFLECTING RELATIONSHIP WITH ARTIFICIAL INTELLIGENCE}Method and device for outputting user-specific responses by reflecting the relationship with artificial intelligence {METHOD AND APPARATUS FOR OUTPUTTING USER-SPECIFIC RESPONSES BY REFLECTING RELATIONSHIP WITH ARTIFICIAL INTELLIGENCE}

아래의 실시예들은 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법 및 장치에 관한 것으로, 더욱 상세하게는 사용자와의 관계, 환경 등 대화 외적 조건을 참조하여 발화를 생성하는 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법 및 장치에 관한 것이다. The following embodiments relate to a method and device for outputting user-specific responses by reflecting the relationship with artificial intelligence. More specifically, artificial intelligence that generates speech by referring to conditions external to the conversation, such as the relationship with the user and the environment. It relates to a method and device for outputting a user-specific response by reflecting the relationship with the user.

기술의 발전에 따라, 인간이 수행하던 육체 노동의 많은 부분이 기계 장치에 의해 대체되어 왔다. 최근에는 인공지능 기술 발전으로 인간의 정신적인 영역으로 여겨지는 많은 분야가 인공지능에 의해 대체될 수 있을 것으로 예상되고 있다.With the advancement of technology, much of the physical labor performed by humans has been replaced by mechanical devices. Recently, with the development of artificial intelligence technology, it is expected that many fields that are considered human mental areas can be replaced by artificial intelligence.

특히, 인간의 언어를 인지하고 분석하여 인간과 구별이 어려울 정도로 적절한 대답을 내어 놓는 인공지능 대화 시스템에 대한 연구가 활발하게 진행되고 있다. 이를 위해, 머신 러닝(Machine Learning) 기법을 활용한 인공지능 대화 시스템이 논의되고 있다.In particular, research is being actively conducted on artificial intelligence conversation systems that recognize and analyze human language and provide appropriate answers that are difficult to distinguish from humans. To this end, an artificial intelligence conversation system using machine learning techniques is being discussed.

머신 러닝이란 많은 데이터를 분류 및 패턴화하고, 계속된 입력 데이터를 통해 이러한 분류 및 패턴화를 변경/수정해 나가는 방법을 통해 분류의 정확도를 높여가는 기법이다. 데이터를 분류하기 위한 머신 러닝의 알고리즘 중 하나로 인간의 두뇌에서 뉴런의 동작 원리에 기초한 신경망(Neural Network) 알고리즘이 특히 주목 받고 있다.Machine learning is a technique that increases the accuracy of classification by classifying and patterning a large amount of data and changing/modifying the classification and patterning through continuous input data. As one of the machine learning algorithms for classifying data, the Neural Network algorithm, based on the operating principles of neurons in the human brain, is receiving particular attention.

한국공개특허 10-2022-0070826호는 이러한 검색 기반의 대화 시스템에서 다음 발화의 응답 선택을 위한 발화 조작 장치 및 그 방법에 관한 기술을 기재하고 있다.Korean Patent Publication No. 10-2022-0070826 describes a speech manipulation device and method for selecting a response for the next speech in such a search-based dialogue system.

한국공개특허 10-2022-0070826호Korean Patent Publication No. 10-2022-0070826

실시예들은 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법 및 장치에 관하여 기술하며, 보다 구체적으로 사용자와의 관계, 환경 등 대화 외적 조건을 참조하여 발화를 생성하는 검색 기반 챗봇(chatbot)에서 챗봇과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 기술을 제공한다. Embodiments describe a method and device for outputting user-specific responses by reflecting the relationship with artificial intelligence, and more specifically, a search-based chatbot ( chatbot) provides technology to output user-specific responses by reflecting the relationship with the chatbot.

실시예들은 사용자와 인공지능 간의 친밀도를 판단하여 친밀도에 따라 응답 데이터베이스를 선택함으로써, 선택된 응답 데이터베이스의 응답으로 응답 메시지를 검색하여 출력하는 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법 및 장치를 제공하는데 있다. Embodiments include a method of determining the intimacy between a user and artificial intelligence, selecting a response database according to the intimacy, and outputting a response specialized for the user by reflecting the relationship with artificial intelligence, which searches for and outputs a response message based on the response of the selected response database. and providing devices.

일 실시예에 따른 인공지능에서 인공지능과 사용자와의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법은, 사용자와 인공지능 간의 친밀도를 판단하는 단계; 사용자의 발화가 입력되는 경우, 상기 친밀도에 따라 응답 데이터베이스를 선택하는 단계; 및 상기 친밀도에 따라 선택된 상기 응답 데이터베이스를 기반으로 응답 메시지를 출력하는 단계를 포함하여 이루어질 수 있다. A method of outputting a user-specific response by reflecting the relationship between artificial intelligence and a user in artificial intelligence according to an embodiment includes the steps of determining intimacy between the user and artificial intelligence; When a user's speech is input, selecting a response database according to the intimacy level; and outputting a response message based on the response database selected according to the intimacy.

상기 친밀도를 판단하는 단계는, 상기 사용자와 상기 인공지능 간의 대화를 분석하여 각 턴마다 친밀도를 계산할 수 있다. In the step of determining the intimacy, the intimacy may be calculated for each turn by analyzing the conversation between the user and the artificial intelligence.

상기 친밀도를 판단하는 단계는, 인공지능과의 대화 턴 수를 변수로 반영하여 친밀도를 계산할 수 있다. In the step of determining the intimacy, the intimacy can be calculated by reflecting the number of conversation turns with the artificial intelligence as a variable.

상기 친밀도를 판단하는 단계는, 인공지능과의 대화에서 어뷰징 발화의 유무를 변수로 반영하여 친밀도를 계산할 수 있다. In the step of determining the intimacy, the intimacy can be calculated by reflecting the presence or absence of an abusing speech in a conversation with artificial intelligence as a variable.

상기 친밀도에 따라 응답 데이터베이스를 선택하는 단계는, 계산된 상기 친밀도에 따라 미리 구축된 복수개의 응답 데이터베이스 중 하나의 응답 데이터베이스를 선택할 수 있다.In the step of selecting a response database according to the intimacy, one response database among a plurality of response databases pre-built according to the calculated intimacy may be selected.

상기 응답 데이터베이스를 기반으로 응답 메시지를 출력하는 단계는, 선택된 상기 응답 데이터베이스의 응답으로 응답 메시지를 검색하여 출력할 수 있다. In the step of outputting a response message based on the response database, a response message may be searched and output as a response from the selected response database.

상기 인공지능은, 검색 기반 챗봇을 포함하며, 상기 검색 기반 챗봇에 의해 사용자의 마지막 발화 메시지를 기반으로 선택된 상기 응답 데이터베이스에 있는 응답 후보 문장들간의 순위를 매겨서 가장 순위가 높은 문장을 선택할 수 있다. The artificial intelligence includes a search-based chatbot, and can rank response candidate sentences in the response database selected by the search-based chatbot based on the user's last utterance message and select the highest-ranked sentence.

다른 실시예에 따른 인공지능에서 인공지능과 사용자와의 관계를 반영하여 사용자에 특화된 응답을 출력하는 장치는, 사용자와 인공지능 간의 친밀도를 판단하는 친밀도 판단부; 사용자의 발화가 입력되는 경우, 상기 친밀도에 따라 응답 데이터베이스를 선택하는 응답 데이터베이스 선택부; 및 상기 친밀도에 따라 선택된 상기 응답 데이터베이스를 기반으로 응답 메시지를 출력하는 응답 메시지 출력부를 포함하여 이루어질 수 있다. In artificial intelligence according to another embodiment, a device that reflects the relationship between artificial intelligence and a user and outputs a user-specific response includes: an intimacy determination unit that determines the intimacy between the user and artificial intelligence; a response database selection unit that selects a response database according to the level of intimacy when a user's utterance is input; and a response message output unit that outputs a response message based on the response database selected according to the intimacy.

상기 친밀도 판단부는, 상기 사용자와 상기 인공지능 간의 대화를 분석하여 각 턴마다 친밀도를 계산할 수 있다. The intimacy determination unit may calculate intimacy for each turn by analyzing the conversation between the user and the artificial intelligence.

상기 친밀도 판단부는, 인공지능과의 대화 턴 수를 변수로 반영하여 친밀도를 계산할 수 있다. The intimacy determination unit may calculate intimacy by reflecting the number of conversation turns with the artificial intelligence as a variable.

상기 친밀도 판단부는, 인공지능과의 대화에서 어뷰징 발화의 유무를 변수로 반영하여 친밀도를 계산할 수 있다. The intimacy determination unit may calculate intimacy by reflecting the presence or absence of an abusing utterance in a conversation with artificial intelligence as a variable.

상기 응답 데이터베이스 선택부는, 계산된 상기 친밀도에 따라 미리 구축된 복수개의 응답 데이터베이스 중 하나의 응답 데이터베이스를 선택할 수 있다.The response database selection unit may select one response database from a plurality of response databases built in advance according to the calculated intimacy.

상기 응답 메시지 출력부는, 선택된 상기 응답 데이터베이스의 응답으로 응답 메시지를 검색하여 출력할 수 있다. The response message output unit may search for and output a response message as a response from the selected response database.

상기 인공지능은, 검색 기반 챗봇을 포함하며, 상기 검색 기반 챗봇에 의해 사용자의 마지막 발화 메시지를 기반으로 선택된 상기 응답 데이터베이스에 있는 응답 후보 문장들간의 순위를 매겨서 가장 순위가 높은 문장을 선택할 수 있다. The artificial intelligence includes a search-based chatbot, and can rank response candidate sentences in the response database selected by the search-based chatbot based on the user's last utterance message and select the highest-ranked sentence.

실시예들에 따르면 사용자와 인공지능 간의 친밀도를 판단하여 친밀도에 따라 응답 데이터베이스를 선택함으로써, 선택된 응답 데이터베이스의 응답으로 응답 메시지를 검색하여 출력하는 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법 및 장치를 제공할 수 있다. According to embodiments, the intimacy between the user and the artificial intelligence is determined and a response database is selected according to the intimacy, and a response specialized for the user is output by reflecting the relationship with the artificial intelligence, which searches and outputs a response message with the response of the selected response database. A method and device for doing so can be provided.

도 1은 본 실시예들을 설명하기 위한 시스템에 대한 일 예시를 나타낸 도면이다.
도 2는 도 1에 도시된 사용자 단말 및 서버의 내부 구성을 설명하기 위한 일 실시예의 구성을 나타낸 도면이다.
도 3은 일 실시예에 따른 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법을 나타내는 흐름도를 나타낸다.
도 4는 일 실시예에 따른 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 장치를 나타내는 블록도이다.
도 5는 일 실시예에 따른 검색 기반 챗봇 및 생성 기반 챗봇을 설명하기 위한 도면이다.
도 6은 일 실시예에 따른 발화 점수 레이블링 방법을 설명하기 위한 도면이다.
도 7은 일 실시예에 따른 사용자의 발화에서 응답 선택 모델 레이블링 점수를 자동으로 얻는 방법을 설명하기 위한 도면이다.
도 8은 일 실시예에 따른 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법을 설명하기 위한 도면이다.
도 9는 일 실시예에 따른 검색 기반 챗봇에서 챗봇과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법을 설명하기 위한 도면이다.
1 is a diagram showing an example of a system for explaining the present embodiments.
FIG. 2 is a diagram showing the configuration of an embodiment to explain the internal configuration of the user terminal and server shown in FIG. 1.
Figure 3 shows a flowchart showing a method of outputting a user-specific response by reflecting the relationship with artificial intelligence according to an embodiment.
Figure 4 is a block diagram showing a device that outputs a user-specific response by reflecting the relationship with artificial intelligence according to an embodiment.
Figure 5 is a diagram for explaining a search-based chatbot and a creation-based chatbot according to an embodiment.
Figure 6 is a diagram for explaining an utterance score labeling method according to an embodiment.
FIG. 7 is a diagram illustrating a method of automatically obtaining a response selection model labeling score from a user's utterance according to an embodiment.
Figure 8 is a diagram illustrating a method of outputting a user-specific response by reflecting the relationship with artificial intelligence according to an embodiment.
FIG. 9 is a diagram illustrating a method of outputting a user-specific response by reflecting the relationship with the chatbot in a search-based chatbot according to an embodiment.

이하, 첨부된 도면을 참조하여 실시예들을 설명한다. 그러나, 기술되는 실시예들은 여러 가지 다른 형태로 변형될 수 있으며, 본 발명의 범위가 이하 설명되는 실시예들에 의하여 한정되는 것은 아니다. 또한, 여러 실시예들은 당해 기술분야에서 평균적인 지식을 가진 자에게 본 발명을 더욱 완전하게 설명하기 위해서 제공되는 것이다. 도면에서 요소들의 형상 및 크기 등은 보다 명확한 설명을 위해 과장될 수 있다.Hereinafter, embodiments will be described with reference to the attached drawings. However, the described embodiments may be modified into various other forms, and the scope of the present invention is not limited to the embodiments described below. In addition, various embodiments are provided to more completely explain the present invention to those with average knowledge in the art. The shapes and sizes of elements in the drawings may be exaggerated for clearer explanation.

아래의 실시예들은 인공지능에서 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 기술을 제공한다. 이에 따라 인공지능은 사용자와의 관계, 환경 등 대화 외적 조건을 참조하여 발화를 생성할 수 있다. The following embodiments provide technology for outputting user-specific responses by reflecting the relationship between artificial intelligence and artificial intelligence. Accordingly, artificial intelligence can generate speech by referring to conditions external to the conversation, such as the relationship with the user and the environment.

본 실시예에 따른 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법 및 장치는 사용자의 음성을 인식하거나, 사용자가 소지하는 단말을 통해 입력되는 사용자의 채팅을 인식하여 사용자와의 친밀도를 기반으로 응답 메시지를 전송할 수 있다. The method and device for outputting a user-specific response reflecting the relationship with artificial intelligence according to this embodiment recognizes the user's voice or recognizes the user's chat input through a terminal owned by the user to establish intimacy with the user. A response message can be sent based on .

여기서, 단말은 PC, 스마트폰, 태블릿 PC 등으로, 본 실시예에 따른 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법 및 장치와 관련된 웹/모바일 사이트의 접속 또는 서비스 전용 애플리케이션(Application)의 설치 및 실행이 가능한 모든 단말 장치를 의미할 수 있다. 이 때, 단말은 웹/모바일 사이트 또는 전용 애플리케이션의 제어 하에 서비스 화면 구성, 데이터 입력, 데이터 송수신, 데이터 저장 등 서비스 전반의 동작을 수행할 수 있다. Here, the terminal is a PC, smartphone, tablet PC, etc., and a method for outputting a user-specific response reflecting the relationship with artificial intelligence according to this embodiment and an application dedicated to access or service to a web/mobile site related to the device ( It can refer to any terminal device that can install and run an application. At this time, the terminal can perform overall service operations, such as service screen configuration, data input, data transmission and reception, and data storage, under the control of a web/mobile site or dedicated application.

나아가, 본 실시예들은 단말을 통한 온라인 또는 애플리케이션 상의 대화, 채팅에 한정하지 않으며, 사용자의 음성, 제스처, 표정으로부터 인식되는 대화 형태 데이터에 대한 답변 데이터를 제공할 수 있는 다양한 제품 또는 서비스에 적용 가능하다. Furthermore, these embodiments are not limited to conversations and chats online or through applications through a terminal, and can be applied to various products or services that can provide response data to conversation type data recognized from the user's voice, gestures, and facial expressions. do.

이하에서는 도 1 내지 도 9를 참조하여 본 실시예들에 따른 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법 및 장치에 대해 상세히 설명한다.Hereinafter, with reference to FIGS. 1 to 9, a method and device for outputting a user-specific response reflecting the relationship with artificial intelligence according to the present embodiments will be described in detail.

도 1은 본 실시예들을 설명하기 위한 시스템에 대한 일 예시를 나타낸 도면이다. 도 1의 시스템 환경은 사용자 단말(110), 서버(120) 및 네트워크(130)를 포함하는 예를 나타내고 있다. 이러한 도 1은 발명의 설명을 위한 일례로 사용자 단말의 수나 서버의 수가 도 1과 같이 한정되는 것은 아니다.1 is a diagram showing an example of a system for explaining the present embodiments. The system environment in FIG. 1 shows an example including a user terminal 110, a server 120, and a network 130. Figure 1 is an example for explaining the invention, and the number of user terminals or servers is not limited as in Figure 1.

여기서, 사용자 단말(110)은 본 실시예들에 따른 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 소프트웨어 또는 애플리케이션이 설치된 단말기로, 사용자(101)의 터치 입력을 위한 터치 스크린을 포함하는 모바일 단말을 포함할 수 있다. 사용자 단말(110)은 예를 들면, 스마트폰(smart phone), 휴대폰, 컴퓨터, VR 기기, AR 기기 등과 같이 인공지능에서의 응답 메시지를 출력할 수 있는 모든 단말을 포함할 수 있다. 일례로 사용자 단말(110)은 무선 또는 유선 통신 방식을 이용하여 네트워크(130)를 통해 다른 휴대 단말기들 및/또는 서버(120)와 통신할 수 있다.Here, the user terminal 110 is a terminal installed with software or an application that outputs a user-specific response by reflecting the relationship with artificial intelligence according to the present embodiments, and includes a touch screen for the user 101's touch input. It may include a mobile terminal. The user terminal 110 may include any terminal capable of outputting a response message in artificial intelligence, such as a smart phone, mobile phone, computer, VR device, AR device, etc. For example, the user terminal 110 may communicate with other mobile terminals and/or the server 120 through the network 130 using wireless or wired communication methods.

통신 방식은 제한되지 않으며, 네트워크(130)가 포함할 수 있는 통신망(일례로, 이동통신망, 유선 인터넷, 무선 인터넷, 방송망)을 활용하는 통신 방식뿐만 아니라 기기들간의 근거리 무선 통신 역시 포함될 수 있다. 예를 들어, 네트워크(130)는, PAN(personal area network), LAN(local area network), CAN(campus area network), MAN(metropolitan area network), WAN(wide area network), BBN(broadband network), 인터넷 등의 네트워크 중 하나 이상의 임의의 네트워크를 포함할 수 있다. 또한, 네트워크(130)는 버스 네트워크, 스타 네트워크, 링 네트워크, 메쉬 네트워크, 스타-버스 네트워크, 트리 또는 계층적(hierarchical) 네트워크 등을 포함하는 네트워크 토폴로지 중 임의의 하나 이상을 포함할 수 있으나, 이에 제한되지 않는다.The communication method is not limited, and may include not only a communication method utilizing a communication network that the network 130 may include (for example, a mobile communication network, wired Internet, wireless Internet, and a broadcast network), but also short-range wireless communication between devices. For example, the network 130 may include a personal area network (PAN), a local area network (LAN), a campus area network (CAN), a metropolitan area network (MAN), a wide area network (WAN), and a broadband network (BBN). , may include one or more arbitrary networks such as the Internet. Additionally, the network 130 may include any one or more of network topologies including a bus network, star network, ring network, mesh network, star-bus network, tree or hierarchical network, etc. Not limited.

서버(120)는 사용자 단말(110)과 네트워크(130)를 통해 통신하여 명령, 코드, 파일, 콘텐츠, 서비스 등을 제공하는 컴퓨터 장치 또는 복수의 컴퓨터 장치들로 구현될 수 있다. The server 120 may be implemented as a computer device or a plurality of computer devices that communicate with the user terminal 110 and the network 130 to provide commands, codes, files, content, services, etc.

일례로, 서버(120)는 네트워크(130)를 통해 접속한 사용자 단말(110)로 애플리케이션 예를 들어, 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 서비스 제공 애플리케이션의 설치를 위한 파일을 제공할 수 있다. 이 경우 사용자 단말(110)은 서버(120)로부터 제공된 파일을 이용하여 애플리케이션을 설치할 수 있다. 또한, 사용자 단말(110)이 포함하는 운영체제(Operating System, OS)나 적어도 하나의 프로그램(일례로 브라우저나 상기 설치된 애플리케이션)의 제어에 따라 서버(120)에 접속하여 서버(120)가 제공하는 서비스나 콘텐츠를 제공받을 수 있다. 예를 들어, 사용자 단말(110)이 애플리케이션의 제어에 따라 네트워크(130)를 통해 서비스 요청 메시지를 서버(120)로 전송하면, 서버(120)는 서비스 요청 메시지에 대응하는 코드를 사용자 단말(110)로 전송할 수 있고, 사용자 단말(110)은 애플리케이션의 제어에 따라 코드에 따른 화면을 구성하여 표시함으로써 사용자에게 콘텐츠를 제공할 수 있다.For example, the server 120 is a user terminal 110 connected through the network 130. For example, the server 120 is a file for installation of a service providing application that outputs a user-specific response by reflecting the relationship with artificial intelligence. can be provided. In this case, the user terminal 110 can install the application using a file provided from the server 120. In addition, the service provided by the server 120 is accessed by accessing the server 120 under the control of an operating system (OS) included in the user terminal 110 or at least one program (for example, a browser or the installed application). I can receive content. For example, when the user terminal 110 transmits a service request message to the server 120 through the network 130 under the control of an application, the server 120 sends a code corresponding to the service request message to the user terminal 110. ), and the user terminal 110 can provide content to the user by configuring and displaying a screen according to the code under the control of the application.

도 2는 도 1에 도시된 사용자 단말 및 서버의 내부 구성을 설명하기 위한 일 실시예의 구성을 나타낸 도면이다. 도 2에서는 하나의 사용자 단말에 대한 예로서 사용자 단말(110), 그리고 하나의 서버에 대한 예로서 서버(120)의 내부 구성을 설명한다. 다른 사용자 단말이나 다른 서버가 구비되는 경우 다른 서버 역시 동일한 또는 유사한 내부 구성을 가질 수 있다.FIG. 2 is a diagram showing the configuration of an embodiment to explain the internal configuration of the user terminal and server shown in FIG. 1. In FIG. 2 , the internal configuration of the user terminal 110 as an example of one user terminal and the server 120 as an example of a single server are explained. If another user terminal or another server is provided, the other server may also have the same or similar internal configuration.

사용자 단말(110)과 서버(120)는 메모리(211, 221), 프로세서(212, 222), 통신 모듈(213, 223) 그리고 입출력 인터페이스(214, 224)를 포함할 수 있다. 메모리(211, 221)는 컴퓨터에서 판독 가능한 기록 매체로서, RAM(random access memory), ROM(read only memory), PROM, 플래시 메모리(Flash memory) 및 디스크 드라이브와 같은 비소멸성 대용량 기록장치(permanent mass storage device)를 포함할 수 있다. 또한, 메모리(211, 221)에는 운영체제나 적어도 하나의 프로그램 코드(일례로 사용자 단말(110)에 설치되어 구동되는 애플리케이션 등을 위한 코드)가 저장될 수 있다. 이러한 소프트웨어 구성요소들은 메모리(211, 221)와는 별도의 컴퓨터에서 판독 가능한 기록 매체로부터 로딩될 수 있다. 이러한 별도의 컴퓨터에서 판독 가능한 기록 매체는 플로피 드라이브, 디스크, 테이프, DVD/CD-ROM 드라이브, 메모리 카드 등의 컴퓨터에서 판독 가능한 기록 매체를 포함할 수 있다. 다른 실시예에서 소프트웨어 구성요소들은 컴퓨터에서 판독 가능한 기록 매체가 아닌 통신 모듈(213, 223)을 통해 메모리(211, 221)에 로딩될 수도 있다. 예를 들어, 적어도 하나의 프로그램은 개발자들 또는 애플리케이션의 설치 파일을 배포하는 파일 배포 시스템(일례로 상술한 서버)이 네트워크(130)를 통해 제공하는 파일들에 의해 설치되는 프로그램(일례로 상술한 애플리케이션)에 기반하여 메모리(211, 221)에 로딩될 수 있다.The user terminal 110 and the server 120 may include memories 211 and 221, processors 212 and 222, communication modules 213 and 223, and input/output interfaces 214 and 224. The memory 211, 221 is a computer-readable recording medium, and is a non-permanent mass recording device such as random access memory (RAM), read only memory (ROM), PROM, flash memory, and disk drive. storage device). Additionally, an operating system or at least one program code (for example, code for an application installed and running on the user terminal 110) may be stored in the memories 211 and 221. These software components may be loaded from a computer-readable recording medium separate from the memories 211 and 221. Such separate computer-readable recording media may include computer-readable recording media such as floppy drives, disks, tapes, DVD/CD-ROM drives, and memory cards. In another embodiment, software components may be loaded into the memories 211 and 221 through the communication modules 213 and 223 rather than a computer-readable recording medium. For example, at least one program is installed by files provided through the network 130 by developers or a file distribution system that distributes installation files for applications (e.g., the server described above). may be loaded into the memories 211 and 221 based on the application).

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

통신 모듈(213, 223)은 네트워크(130)를 통해 사용자 단말(110)과 서버(120)가 서로 통신하기 위한 기능을 제공할 수 있으며, 다른 휴대 단말기(일례로 제2 사용자 단말 또는 다른 서버)와 통신하기 위한 기능을 제공할 수 있다. 일례로, 제1 사용자 단말(110)의 프로세서(212)가 메모리(211)와 같은 기록 장치에 저장된 프로그램 코드에 따라 생성한 요청(일례로 검색 요청)이 통신 모듈(213)의 제어에 따라 네트워크(130)를 통해 서버(120)로 전달될 수 있다. 역으로, 서버(120)의 프로세서(222)의 제어에 따라 제공되는 제어 신호나 명령, 콘텐츠, 파일 등이 통신 모듈(223)과 네트워크(130)를 거쳐 제1 사용자 단말(110)의 통신 모듈(213)을 통해 제1 사용자 단말(110)로 수신될 수 있다. 예를 들어 통신 모듈(213)을 통해 수신된 서버(120)의 제어 신호나 명령 등은 프로세서(212)나 메모리(211)로 전달될 수 있고, 콘텐츠나 파일 등은 제1 사용자 단말(110)이 더 포함할 수 있는 저장 매체로 저장될 수 있다.The communication modules 213 and 223 may provide a function for the user terminal 110 and the server 120 to communicate with each other through the network 130, and can be connected to another mobile terminal (for example, a second user terminal or another server). It can provide functions for communicating with. For example, a request (for example, a search request) generated by the processor 212 of the first user terminal 110 according to a program code stored in a recording device such as the memory 211 is transmitted to the network under the control of the communication module 213. It can be delivered to the server 120 through 130. Conversely, control signals, commands, content, files, etc. provided under the control of the processor 222 of the server 120 pass through the communication module 223 and the network 130 to the communication module of the first user terminal 110. It can be received by the first user terminal 110 through (213). For example, control signals or commands of the server 120 received through the communication module 213 may be transmitted to the processor 212 or memory 211, and content or files may be transmitted to the first user terminal 110. This may be stored in a storage medium that may further include.

입출력 인터페이스(214)는 입출력 장치(215)와의 인터페이스를 위한 수단일 수 있다. 예를 들어, 입력 장치는 키보드 또는 마우스 등의 장치를, 그리고 출력 장치는 애플리케이션의 통신 세션을 표시하기 위한 디스플레이와 같은 장치를 포함할 수 있다. 다른 예로 입출력 인터페이스(214)는 터치스크린과 같이 입력과 출력을 위한 기능이 하나로 통합된 장치와의 인터페이스를 위한 수단일 수도 있다. 보다 구체적인 예로, 제1 사용자 단말(110)의 프로세서(212)는 메모리(211)에 로딩된 컴퓨터 프로그램의 명령을 처리함에 있어서 서버(120)나 제2 사용자 단말이 제공하는 데이터를 이용하여 구성되는 서비스 화면이나 콘텐츠가 입출력 인터페이스(214)를 통해 디스플레이에 표시될 수 있다. 입출력 인터페이스(224) 또한 마찬가지로 서버(120)의 프로세서(222)가 메모리(221)에 로딩된 컴퓨터 프로그램의 명령을 처리함에 있어 서버(120)가 제공하는 데이터를 이용하여 구성되는 정보를 출력할 수 있다.The input/output interface 214 may be a means for interfacing with the input/output device 215. For example, an input device may include a device such as a keyboard or mouse, and an output device may include a device such as a display for displaying an application's communication session. As another example, the input/output interface 214 may be a means for interfacing with a device that integrates input and output functions, such as a touch screen. As a more specific example, the processor 212 of the first user terminal 110 is configured using data provided by the server 120 or the second user terminal in processing instructions of the computer program loaded in the memory 211. Service screens or content may be displayed on the display through the input/output interface 214. Likewise, the input/output interface 224 can output information composed using data provided by the server 120 when the processor 222 of the server 120 processes commands of a computer program loaded in the memory 221. there is.

또한, 다른 실시예들에서 사용자 단말(110) 및 서버(120)는 도 2의 구성요소들보다 더 많은 구성요소들을 포함할 수도 있다. 그러나, 대부분의 종래 기술적 구성요소들을 명확하게 도시할 필요성은 없다. 예를 들어, 사용자 단말(110)은 상술한 입출력 장치(215) 중 적어도 일부를 포함하도록 구현되거나 또는 트랜시버(transceiver), GPS(Global Positioning System) 모듈, 카메라, 각종 센서, 데이터베이스 등과 같은 다른 구성요소들을 더 포함할 수도 있다. 보다 구체적인 예로, 사용자 단말(110)이 스마트폰인 경우, 일반적으로 스마트폰이 포함하고 있는 가속도 센서나 자이로 센서, 카메라, 각종 물리적인 버튼, 터치패널을 이용한 버튼, 입출력 포트, 진동을 위한 진동기 등의 다양한 구성요소들이 사용자 단말(110)에 더 포함되도록 구현될 수 있음을 알 수 있다.Additionally, in other embodiments, the user terminal 110 and the server 120 may include more components than those shown in FIG. 2 . However, there is no need to clearly show most prior art components. For example, the user terminal 110 is implemented to include at least some of the above-described input/output devices 215 or other components such as a transceiver, a Global Positioning System (GPS) module, a camera, various sensors, a database, etc. More may be included. As a more specific example, when the user terminal 110 is a smartphone, the smartphone generally includes an acceleration sensor, a gyro sensor, a camera, various physical buttons, a button using a touch panel, an input/output port, a vibrator for vibration, etc. It can be seen that various components of can be implemented to be further included in the user terminal 110.

본 실시예에서 서버(120)는 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 애플리케이션에서 미리 설정된 응답 메시지 데이터 세트에 의해 학습된 학습 모델의 인공지능 예를 들어, 뉴럴 네트워크를 통해 인공지능과 사용자 간의 이전 대화 내용을 학습하고, 학습된 대화 내용을 기반으로 사용자에게 응답 메시지를 전송하고자 하는 전송 시점과 응답 메시지 내용을 결정할 수 있으며, 이렇게 결정된 응답 메시지 내용을 응답 메시지 시점에 사용자에게 전송할 수 있다. 이 때, 응답 메시지는 사용자와의 친밀도에 따라 선택된 응답 데이터베이스 기반으로 생성될 수 있으며, 전송 시점은 사용자가 선제 메시지를 보낸 시점이 될 수 있다. 여기서, 본 실시예들은 인공지능과 사용자 간의 대화를 주고 받을 수 있는 애플리케이션을 통해 사용자에게 응답 메시지 내용을 전송할 수 있으며, 이러한 본 발명은 텍스트 기반 대화뿐만 아니라 음성 기반 대화를 제공하는 모든 종류의 애플리케이션에 적용될 수 있다. 물론, 음성 기능 대화를 제공하는 애플리케이션은 이전 대화 내용을 확인하기 위하여, 음성 인식과 인식된 음성을 텍스트로 변환하는 기능을 포함할 수 있으며, 변환된 텍스트 분석 후 분석된 텍스트의 학습을 통해 응답 메시지 내용을 결정할 수 있고, 마찬가지로 응답 메시지 내용을 음성으로 변환하는 기능 또한 포함할 수 있다.In this embodiment, the server 120 uses artificial intelligence of a learning model learned by a preset response message data set in an application that outputs a user-specific response by reflecting the relationship with artificial intelligence, for example, through a neural network. It learns the contents of the previous conversation between the intelligence and the user, and based on the learned conversation contents, it is possible to determine the transmission point and content of the response message to the user, and the content of the response message determined in this way to be sent to the user at the time of the response message. You can. At this time, the response message may be generated based on a response database selected according to intimacy with the user, and the transmission time may be when the user sends the preemptive message. Here, the present embodiments can transmit the contents of a response message to the user through an application that can exchange conversations between artificial intelligence and the user, and the present invention is applicable to all types of applications that provide not only text-based conversations but also voice-based conversations. It can be applied. Of course, an application that provides voice function conversation may include voice recognition and a function to convert the recognized voice into text in order to check the contents of the previous conversation, and after analyzing the converted text, a response message may be sent by learning the analyzed text. The content can be determined, and the function to convert the response message content into voice can also be included.

본 실시예에서의 사용자 단말은 도 1과 도 2에 도시된 서버로부터 본 실시예의 애플리케이션 등을 다운로드 받아 설치할 수 있는 스마트폰 등의 사용자 단말을 의미할 수 있다.The user terminal in this embodiment may refer to a user terminal such as a smartphone that can download and install the application of this embodiment from the server shown in FIGS. 1 and 2.

도 3은 일 실시예에 따른 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법을 나타내는 흐름도를 나타낸 것으로, 도 1 및 도 2에 도시된 서버(120)에서의 동작 흐름도를 나타낸다.Figure 3 is a flowchart showing a method of outputting a user-specific response by reflecting the relationship with artificial intelligence according to an embodiment, and shows a flowchart of operations in the server 120 shown in Figures 1 and 2.

도 3을 참조하면, 일 실시예에 따른 인공지능에서 인공지능과 사용자와의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법은, 사용자와 인공지능 간의 친밀도를 판단하는 단계(S110), 사용자의 발화가 입력되는 경우, 친밀도에 따라 응답 데이터베이스를 선택하는 단계(S120), 및 친밀도에 따라 선택된 응답 데이터베이스를 기반으로 응답 메시지를 출력하는 단계(S130)를 포함하여 이루어질 수 있다. Referring to FIG. 3, the method of outputting a user-specific response by reflecting the relationship between artificial intelligence and the user in artificial intelligence according to an embodiment includes determining the intimacy between the user and artificial intelligence (S110), and the user's When an utterance is input, it may include selecting a response database according to intimacy (S120) and outputting a response message based on the response database selected according to intimacy (S130).

일 실시예에 따른 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법은 일 실시예에 따른 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 장치를 예를 들어 보다 상세히 설명할 수 있다. The method of outputting a user-specific response reflecting the relationship with artificial intelligence according to an embodiment will be described in more detail by taking as an example a device that outputs a user-specific response reflecting the relationship with artificial intelligence according to an embodiment. can do.

도 4는 일 실시예에 따른 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 장치를 나타내는 블록도이다.Figure 4 is a block diagram showing a device that outputs a user-specific response by reflecting the relationship with artificial intelligence according to an embodiment.

도 4를 참조하면, 일 실시예에 따른 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 장치(400)는 친밀도 판단부(410), 응답 데이터베이스 선택부(420) 및 응답 메시지 출력부(430)를 포함하여 이루어질 수 있다. Referring to FIG. 4, the device 400 that outputs a user-specific response by reflecting the relationship with artificial intelligence according to one embodiment includes an intimacy determination unit 410, a response database selection unit 420, and a response message output unit. It can be done including (430).

단계(S110)에서, 친밀도 판단부(410)는 사용자와 인공지능 간의 친밀도를 판단할 수 있다. 친밀도 판단부(410)는 사용자와 인공지능 간의 대화를 각 턴마다 분석하여 친밀도를 계산할 수 있다. In step S110, the intimacy determination unit 410 may determine the intimacy between the user and the artificial intelligence. The intimacy determination unit 410 can calculate intimacy by analyzing the conversation between the user and artificial intelligence at each turn.

일례로, 친밀도 판단부(410)는 인공지능과의 대화 턴 수를 변수로 반영하여 친밀도를 계산할 수 있다. 예컨대, 친밀도 판단부(410)는 인공지능과의 대화 턴 수가 기설정된 횟수 이상인 경우 고 친밀도로 판단할 수 있고, 기설정된 횟수 미만인 경우 저 친밀도로 판단할 수 있다. 다른 예로, 친밀도 판단부(410)는 인공지능과의 대화에서 어뷰징 발화의 유무를 변수로 반영하여 친밀도를 계산할 수 있다. 예컨대, 친밀도 판단부(410)는 인공지능과의 대화에서 허용된 어뷰징 발화가 있는 경우 고 친밀도로 판단할 수 있고, 허용된 어뷰징 발화가 없는 경우 저 친밀도로 판단할 수 있다. 즉, 친밀한 관계에서는 일부 허용되는 어뷰징 발화가 있다고 판단하기 때문이다. 또 다른 예로, 친밀도 판단부(410)는 인공지능과의 대화 턴 수 및 어뷰징 발화의 유무를 모두 변수로 반영하여 친밀도를 계산할 수 있다. 예컨대, 친밀도 판단부(410)는 인공지능과의 대화 턴 수가 기설정된 횟수 이상이고 허용된 어뷰징 발화가 있는 경우 고 친밀도로 판단할 수 있고, 인공지능과의 대화 턴 수가 기설정된 횟수 미만이고 허용된 어뷰징 발화가 있는 경우 중 친밀도로 판단할 수 있으며, 인공지능과의 대화 턴 수가 기설정된 횟수 이상이고 허용된 어뷰징 발화가 없는 경우 중 친밀도로 판단할 수 있고, 인공지능과의 대화 턴 수가 기설정된 횟수 미만이고 허용된 어뷰징 발화가 없는 경우 저 친밀도로 판단할 수 있다. For example, the intimacy determination unit 410 may calculate intimacy by reflecting the number of conversation turns with the artificial intelligence as a variable. For example, the intimacy determination unit 410 may determine high intimacy if the number of conversation turns with the artificial intelligence is more than a preset number, and may judge it as low intimacy if the number of conversation turns with the artificial intelligence is less than the preset number. As another example, the intimacy determination unit 410 may calculate intimacy by reflecting the presence or absence of an abusing utterance as a variable in a conversation with artificial intelligence. For example, the intimacy determination unit 410 may determine high intimacy if there is an abusing utterance allowed in a conversation with artificial intelligence, and may judge it as low intimacy if there is no abusing utterance allowed. In other words, it is judged that there are some abusing speeches that are acceptable in intimate relationships. As another example, the intimacy determination unit 410 may calculate intimacy by reflecting both the number of conversation turns with the artificial intelligence and the presence or absence of abusing utterances as variables. For example, the intimacy determination unit 410 may determine high intimacy if the number of conversation turns with the artificial intelligence is more than a preset number and there is an allowed abusing utterance, and if the number of conversation turns with the artificial intelligence is less than a preset number and there is an allowed abusing utterance, the intimacy determination unit 410 may determine it to be high intimacy. Intimacy can be judged in cases where there are abusing utterances, and intimacy can be judged in cases where the number of conversation turns with artificial intelligence is more than a preset number and there are no permitted abusing utterances, and the number of conversation turns with artificial intelligence is a preset number. If it is less than that and there are no permitted abusing utterances, it can be judged as low intimacy.

한편, 친밀도 판단부(410)는 사용자와의 친밀도뿐 아니라, 사용자와의 관계, 사용자의 정보 등을 바탕으로 응답 메시지를 결정할 수 있다. 여기서, 사용자와의 관계는 예를 들어 친구 관계, 연인 관계, 선후배 관계 등을 포함할 수 있고, 사용자의 정보는 예를 들어 성별, 나이, 직업, 사는 곳 등을 포함할 수 있다.Meanwhile, the intimacy determination unit 410 may determine a response message based on not only the intimacy with the user, but also the relationship with the user and the user's information. Here, the relationship with the user may include, for example, a friend relationship, a romantic relationship, a senior/junior relationship, etc., and the user's information may include, for example, gender, age, occupation, place of residence, etc.

일례로, 친밀도 판단부(410)는 사용자와의 친밀도뿐 아니라, 사용자와의 관계를 결정하고 이를 바탕으로 친밀도를 계산하거나 응답 데이터베이스를 선택할 수 있다. 예컨대, 사용자와 인공지능의 관계가 20대 동성 친구인 경우 동성간의 공감대를 형성하는 있는 대화, 20대의 대화 등을 포함하는 응답 데이터베이스를 선택하여 응답 메시지를 전송할 수 있다. 예를 들어, 사용자와의 친밀도가 고 친밀도로 판단되고, 20대 친구인 경우 이를 반영한 20대 친구 집단 고 친밀도 응답 데이터베이스를 선택할 수 있고, 사용자와의 친밀도가 저 친밀도로 판단되고 20대 친구인 경우 20대 친구 집단 저 친밀도 응답 데이터베이스를 선택할 수 있다. For example, the intimacy determination unit 410 may determine not only the intimacy with the user but also the relationship with the user and calculate the intimacy based on this or select a response database. For example, if the relationship between the user and the artificial intelligence is that of same-sex friends in their 20s, a response message can be sent by selecting a response database that includes conversations that form a consensus between same-sex people, conversations of people in their 20s, etc. For example, if the intimacy with the user is judged to be high intimacy and the friend is in his 20s, you can select a high intimacy response database of a group of friends in their 20s that reflects this, and if the intimacy with the user is judged to be low intimacy and the friend is in his 20s, you can select it. You can select a friend group in your 20s from a low intimacy response database.

이와 같이, 응답 데이터베이스는 친밀도 및 사용자의 정보 등에 따라 세분화되어 구성될 수 있다. In this way, the response database can be divided and configured according to intimacy and user information.

단계(S120)에서, 응답 데이터베이스 선택부(420)는 사용자의 발화가 입력되는 경우, 친밀도에 따라 응답 데이터베이스를 선택할 수 있다. 응답 데이터베이스 선택부(420)는 계산된 친밀도에 따라 미리 구축된 복수개의 응답 데이터베이스 중 하나의 응답 데이터베이스를 선택할 수 있다. In step S120, when a user's utterance is input, the response database selection unit 420 may select a response database according to intimacy. The response database selection unit 420 may select one response database from a plurality of response databases built in advance according to the calculated intimacy.

여기서, 앞에서 설명한 바와 같이 사용자와의 친밀도뿐 아니라, 사용자와의 관계 및 사용자의 정보 등을 고려하여 응답 데이터베이스를 선택할 수도 있다.Here, as described above, the response database may be selected considering not only the intimacy with the user, but also the relationship with the user and the user's information.

단계(S130)에서, 응답 메시지 출력부(430)는 친밀도에 따라 선택된 응답 데이터베이스를 기반으로 응답 메시지를 출력할 수 있다. In step S130, the response message output unit 430 may output a response message based on a response database selected according to intimacy.

응답 메시지 출력부(430)는 선택된 응답 데이터베이스의 응답으로 응답 메시지를 검색하여 출력할 수 있다. 여기서, 인공지능은 검색 기반 챗봇을 포함할 수 있으며, 검색 기반 챗봇에 의해 사용자의 마지막 발화 메시지를 기반으로 선택된 응답 데이터베이스에 있는 응답 후보 문장들간의 순위를 매겨서 가장 순위가 높은 문장을 선택할 수 있다. 한편, 실시예에 따라 인공지능은 검색 기반 챗봇뿐 아니라 생성 기반 챗봇을 포함할 수 있다.The response message output unit 430 may search for and output a response message as a response from the selected response database. Here, the artificial intelligence may include a search-based chatbot, and the search-based chatbot may rank response candidate sentences in a response database selected based on the user's last utterance message and select the highest ranked sentence. Meanwhile, depending on the embodiment, artificial intelligence may include not only search-based chatbots but also creation-based chatbots.

도 5는 일 실시예에 따른 검색 기반 챗봇 및 생성 기반 챗봇을 설명하기 위한 도면이다.Figure 5 is a diagram for explaining a search-based chatbot and a creation-based chatbot according to an embodiment.

문장 단위의 말이나 글을 전하는 행위, 혹은 그 행위의 대상이 되는 문장을 발화라고 한다. 여러 턴의 발화가 모이게 되면 하나의 주제에 대한 대화가 성립되는데 이를 대화 세션 혹은 문맥이라고 한다. 도 5를 참조하면, 챗봇은 문맥(510)과 사용자의 발화가 주어졌을 때, 이에 맞는 응답(챗봇 응답)을 출력한다.The act of conveying words or writing in sentence units, or the sentence that is the object of the act, is called an utterance. When several turns of utterance come together, a conversation on one topic is established, which is called a conversation session or context. Referring to FIG. 5, when the context 510 and the user's utterance are given, the chatbot outputs a response (chatbot response) corresponding to the context.

챗봇은 응답을 출력하는 원리에 따라 크게 두 가지 종류로 분류되며, 검색 기반 챗봇(520)과 생성 기반 챗봇(530)으로 분류된다. Chatbots are broadly classified into two types according to the principle of outputting responses, and are classified into search-based chatbots (520) and generation-based chatbots (530).

검색 기반 챗봇(520)은 미리 구축된 응답 데이터베이스(521)에 있는 응답 후보 문장들로부터 주어진 문맥(510)에 가장 적절한 문장을 선택하여 챗봇의 응답으로서 출력한다. 입력 문맥에 대한 응답 후보들간의 순위를 매겨서 가장 순위가 높은 문장을 선택하는 모델을 “응답 선택 모델(522)"이라고 부른다. 이 때, 가장 순위가 높은 문장은 가장 적절한 문장임을 의미한다. The search-based chatbot 520 selects the most appropriate sentence for the given context 510 from the response candidate sentences in the pre-built response database 521 and outputs it as the chatbot's response. A model that selects the highest-ranked sentence by ranking response candidates for the input context is called a “response selection model 522”. At this time, the highest-ranked sentence means the most appropriate sentence.

생성 기반 챗봇(530)은 주어진 문맥(510)을 입력으로 받아 그 다음에 등장할 단어들을 순차적으로 선택하는 방식으로 응답 문장을 생성하여 챗봇의 응답으로서 출력한다. 입력 문맥에 대해서 각 단어들의 등장 확률을 계산하여 가장 확률이 높은 단어를 출력하는 모델을 “생성 모델(531)”이라고 부른다. 여기서 입력 문맥에 대해서 가장 확률이 높은 단어는 입력 문맥에 대해서 가장 그럴듯한 단어를 의미한다. The generation-based chatbot 530 receives the given context 510 as input, generates a response sentence by sequentially selecting words that appear next, and outputs it as the chatbot's response. The model that calculates the probability of occurrence of each word in the input context and outputs the word with the highest probability is called the “generative model 531”. Here, the word with the highest probability for the input context refers to the most likely word for the input context.

도 6은 일 실시예에 따른 발화 점수 레이블링 방법을 설명하기 위한 도면이다.Figure 6 is a diagram for explaining an utterance score labeling method according to an embodiment.

도 6을 참조하면, 응답 선택 모델을 학습시키기 위해서는 임의의 문맥(a)에 대한 응답 후보들(b)의 점수가 표기(레이블링)된 데이터셋이 필요하다. 이에 따라 문맥-응답 후보군 쌍에 대하여 점수를 쉽게 레이블링할 수 있는 인터페이스를 구현할 수 있다. Referring to Figure 6, in order to learn a response selection model, a dataset in which the scores of response candidates (b) for an arbitrary context (a) are marked (labeled) is required. Accordingly, it is possible to implement an interface that can easily label scores for context-response candidate pairs.

응답 선택 모델의 학습을 위한 레이블링 툴이 문맥 데이터베이스로부터 문맥을 무작위로 선택하고, 선택된 문맥에 대해서 챗봇 서버에 n개의 응답 후보군들을 요청하여 확보한다(예시에서 n=10). 그리고, 앞에서 선택된 문맥과 응답 문장들을 도 6에 도시된 바와 같은 화면 형태의 인터페이스로 제공한다. 이에, 레이블러(예컨대, 사용자)는 체크 요망 버튼과 넘기기 버튼을 눌러서 다음 문맥으로 넘어갈 수 있다. 또한, 레이블러는 문맥 내의 문장을 클릭함에 따라 문맥을 수정하여 스스로 작성할 수 있다. 이 경우, 응답 후보군들은 새롭게 요청된다. 또한, 레이블러는 답변 후보들을 클릭하거나 단축키를 눌러서 해당 응답의 점수를 매길 수 있다. 예를 들어 1번을 누르면 1점이 부여되고, 2번을 누르면 2점이 부여되도록 할 수 있다.The labeling tool for learning the response selection model randomly selects a context from the context database and secures n response candidates for the selected context by requesting them from the chatbot server (n=10 in the example). Then, the previously selected context and response sentences are provided in a screen-type interface as shown in FIG. 6. Accordingly, the labeler (eg, user) can move to the next context by pressing the check request button and the skip button. Additionally, the labeler can write itself by modifying the context as you click on sentences within the context. In this case, the response candidates are newly requested. Additionally, the labeler can score the answers by clicking on the answer candidates or pressing a shortcut key. For example, pressing number 1 can give 1 point, and pressing number 2 can give 2 points.

이에 따라 응답 선택 모델은 레이블링 툴을 통해 학습할 수 있고, 학습을 통해 보다 적절한 응답을 출력할 수 있다. Accordingly, the response selection model can be learned through a labeling tool, and more appropriate responses can be output through learning.

도 7은 일 실시예에 따른 사용자의 발화에서 응답 선택 모델 레이블링 점수를 자동으로 얻는 방법을 설명하기 위한 도면이다.FIG. 7 is a diagram illustrating a method of automatically obtaining a response selection model labeling score from a user's utterance according to an embodiment.

도 7을 참조하면, 챗봇 로그로 구축된 문맥 데이터베이스에 대해서 챗봇의 응답 점수를 인간 레이블러의 개입 없이 자동으로 측정할 수 있다.Referring to Figure 7, the response score of a chatbot can be automatically measured against a context database built from chatbot logs without the intervention of a human labeler.

문맥(710)에서 챗봇 응답과 해당 응답에 대응하는 사용자 발화 쌍을 선택한 후, 점수 계산 모델(720)은 발화 쌍을 통해 해당 챗봇 응답의 점수를 계산할 수 있다. 점수 계산 모델(720)은 부적절한 태도(예컨대, 챗봇 발화에 대한 불만족, 주제의 갑작스러운 전환 등)에 감점을, 호응하는 태도(예컨대, 챗봇 발화에 대한 공감 등)에 가점을 주는 방식으로 작동할 수 있다. 이 때, 점수 계산 모델(720)은 기설정된 부적절한 태도 및 호응하는 태도에 대한 데이터를 가지고 있으며, 이에 따라 챗봇 응답에 대응하는 사용자의 발화를 부적절한 태도 또는 호응하는 태도 중 어느 하나로 판단할 수 있다.After selecting a chatbot response and a user utterance pair corresponding to the response in the context 710, the score calculation model 720 can calculate the score of the corresponding chatbot response through the utterance pair. The score calculation model 720 may operate by deducting points for inappropriate attitudes (e.g., dissatisfaction with chatbot speech, sudden change of topic, etc.) and giving additional points to responsive attitudes (e.g., empathy for chatbot speech, etc.). You can. At this time, the score calculation model 720 has data on preset inappropriate attitudes and responsive attitudes, and according to this, the user's utterance corresponding to the chatbot response can be judged as either an inappropriate attitude or a responsive attitude.

도 8은 일 실시예에 따른 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법을 설명하기 위한 도면이다.Figure 8 is a diagram illustrating a method of outputting a user-specific response by reflecting the relationship with artificial intelligence according to an embodiment.

도 8을 참조하면, 일 실시예에 따른 인공지능과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법은 사용자의 발화(801)가 입력되면 친밀도 측정 모듈(810)을 통해 사용자와 인공지능 간의 친밀도를 판단할 수 있다. Referring to FIG. 8, a method of outputting a user-specific response by reflecting the relationship with artificial intelligence according to an embodiment is a method of outputting a user-specific response through the intimacy measurement module 810 when the user's utterance 801 is input. Intimacy can be judged.

이 때, 친밀도 측정 모듈(810)은 사용자와의 대화 턴 수, 어뷰징 발화 유무 등에 의해 친밀도를 결정할 수 있다. 예를 들어 사용자와의 대화 턴 수가 소정 턴 수 이상이면 사용자와 인공지능은 고 친밀도로 판단될 수 있다. 다른 예로, 사용자와 인공지능이 어뷰징 발화 횟수가 일정 이상이고, 어뷰징 발화에 따른 인공지능의 응답 메시지가 긍정적이지 않은 경우 저 친밀도로 판단될 수 있다. 또 다른 예로, 사용자와 인공지능이 기존에 고 친밀도로 일부 어뷰징 발화가 허용된 경우 사용자와 인공지능은 고 친밀도로 판단될 수 있다. At this time, the intimacy measurement module 810 may determine the intimacy based on the number of conversation turns with the user, the presence or absence of an abusing speech, etc. For example, if the number of conversation turns with the user is more than a predetermined number of turns, the user and artificial intelligence can be judged to have high intimacy. As another example, if the number of abusing utterances between the user and artificial intelligence is more than a certain level, and the artificial intelligence's response message according to the abusing utterance is not positive, it may be judged as low intimacy. As another example, if some abusing utterances are allowed between the user and artificial intelligence due to their existing high intimacy, the user and artificial intelligence may be judged to have high intimacy.

사용자와 인공지능의 친밀도가 결정되면, 응답 선택 모델(820)은 친밀도에 따라 복수개의 응답 데이터베이스 중 적어도 하나 이상의 응답 데이터베이스(830)를 선택할 수 있고, 선택된 응답 데이터베이스(830)를 기반으로 응답 메시지(802)를 출력할 수 있다. When the intimacy between the user and the artificial intelligence is determined, the response selection model 820 may select at least one response database 830 among a plurality of response databases according to the intimacy, and a response message based on the selected response database 830 ( 802) can be output.

도 9는 일 실시예에 따른 검색 기반 챗봇에서 챗봇과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법을 설명하기 위한 도면이다.FIG. 9 is a diagram illustrating a method of outputting a user-specific response by reflecting the relationship with the chatbot in a search-based chatbot according to an embodiment.

도 9를 참조하면, 일 실시예에 따른 검색 기반 챗봇(900)에서 챗봇과의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법은, 사용자와 검색 기반 챗봇(900) 간의 관계를 반영하여 검색 기반 챗봇(900)의 출력을 제어할 수 있다.Referring to FIG. 9, a method of outputting a user-specific response by reflecting the relationship with the chatbot in the search-based chatbot 900 according to an embodiment is a method of outputting a response specialized for the user by reflecting the relationship between the user and the search-based chatbot 900. The output of the chatbot 900 can be controlled.

사용자의 발화(901)가 입력되면, 친밀도 측정 모듈(910)은 사용자와 챗봇 간의 대화를 각 턴마다 계산할 수 있다. 이 때, 친밀도 측정 모듈(910)은 챗봇 간의 대화 턴 수, 어뷰징 발화의 유무 등의 변수를 고려할 수 있다.When the user's speech 901 is input, the intimacy measurement module 910 can calculate the conversation between the user and the chatbot at each turn. At this time, the intimacy measurement module 910 may consider variables such as the number of conversation turns between chatbots and the presence or absence of abusing speech.

사용자가 발화를 입력하면, 친밀도에 따라서 응답 데이터베이스(931, 932)를 선택할 수 있다. 여기서, 응답 데이터베이스는 고 친밀도 응답 데이터베이스(931) 및 저 친밀도 응답 데이터베이스(932)로 구분될 수 있다. 또한, 고 친밀도 응답 데이터베이스(931), 중 친밀도 응답 데이터베이스, 및 저 친밀도 응답 데이터베이스(932)로 구분될 수도 있다. 이와 같이 응답 데이터베이스(931, 932)는 복수 개로 구성될 수 있으며, 그 수에는 제한이 없다.When a user inputs an utterance, the response databases 931 and 932 can be selected according to familiarity. Here, the response database can be divided into a high intimacy response database 931 and a low intimacy response database 932. Additionally, it may be divided into a high intimacy response database 931, a medium intimacy response database, and a low intimacy response database 932. In this way, the response databases 931 and 932 may be composed of multiple response databases, and there is no limit to their number.

응답 선택 모델(920)은 해당 친밀도 응답 데이터베이스(931, 932)의 응답으로만 챗봇 응답 메시지(921)를 검색하여 출력할 수 있다.The response selection model 920 can search for and output the chatbot response message 921 only as responses from the corresponding intimacy response databases 931 and 932.

이상과 같이, 실시예들에 따르면 사용자와 인공지능 간의 친밀도를 판단하여 친밀도에 따라 응답 데이터베이스를 선택함으로써, 선택된 응답 데이터베이스의 응답으로 응답 메시지를 검색하여 출력할 수 있다. As described above, according to embodiments, by determining the intimacy between the user and the artificial intelligence and selecting a response database according to the intimacy, a response message can be searched and output as a response from the selected response database.

이상에서 설명된 장치는 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 예를 들어, 프로세서, 컨트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPA(field programmable array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적 컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 애플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 컨트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.The device described above may be implemented with hardware components, software components, and/or a combination of hardware components and software components. For example, devices and components described in embodiments may include, for example, a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable array (FPA), It may be implemented using one or more general-purpose or special-purpose computers, such as a programmable logic unit (PLU), microprocessor, or any other device capable of executing and responding to instructions. A processing device may execute an operating system (OS) and one or more software applications that run on the operating system. Additionally, a processing device may access, store, manipulate, process, and generate data in response to the execution of software. For ease of understanding, a single processing device may be described as being used; however, those skilled in the art will understand that a processing device includes multiple processing elements and/or multiple types of processing elements. It can be seen that it may include. For example, a processing device may include multiple processors or one processor and one controller. Additionally, other processing configurations, such as parallel processors, are possible.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치에 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.Software may include a computer program, code, instructions, or a combination of one or more of these, which may configure a processing unit to operate as desired, or may be processed independently or collectively. You can command the device. Software and/or data may be used on any type of machine, component, physical device, virtual equipment, computer storage medium or device to be interpreted by or to provide instructions or data to a processing device. It can be embodied in . Software may be distributed over networked computer systems and stored or executed in a distributed manner. Software and data may be stored on one or more computer-readable recording media.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. The method according to the embodiment may be implemented in the form of program instructions that can be executed through various computer means and recorded on a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, etc., singly or in combination. Program instructions recorded on the medium may be specially designed and configured for the embodiment or may be known and available to those skilled in the art of computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic media such as floptical disks. -Includes optical media (magneto-optical media) and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, etc. Examples of program instructions include machine language code, such as that produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter, etc.

이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.As described above, although the embodiments have been described with limited examples and drawings, various modifications and variations can be made by those skilled in the art from the above description. For example, the described techniques are performed in a different order than the described method, and/or components of the described system, structure, device, circuit, etc. are combined or combined in a different form than the described method, or other components are used. Alternatively, appropriate results may be achieved even if substituted or substituted by an equivalent.

그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents of the claims also fall within the scope of the claims described below.

Claims (14)

인공지능에서 인공지능과 사용자와의 관계를 반영하여 사용자에 특화된 응답을 출력하는 방법에 있어서,
사용자와 인공지능 간의 친밀도를 판단하는 단계;
사용자의 발화가 입력되는 경우, 상기 친밀도에 따라 응답 데이터베이스를 선택하는 단계; 및
상기 친밀도에 따라 선택된 상기 응답 데이터베이스를 기반으로 응답 메시지를 출력하는 단계
를 포함하는, 사용자에 특화된 응답을 출력하는 방법.
In artificial intelligence, a method of outputting a user-specific response by reflecting the relationship between artificial intelligence and the user,
Determining the intimacy between the user and artificial intelligence;
When a user's speech is input, selecting a response database according to the intimacy level; and
Outputting a response message based on the response database selected according to the intimacy
A method of outputting a user-specific response, including.
제1항에 있어서,
상기 친밀도를 판단하는 단계는,
상기 사용자와 상기 인공지능 간의 대화를 분석하여 각 턴마다 친밀도를 계산하는 것
을 특징으로 하는, 사용자에 특화된 응답을 출력하는 방법.
According to paragraph 1,
The step of determining the intimacy is,
Analyzing the conversation between the user and the artificial intelligence to calculate intimacy at each turn
A method of outputting a user-specific response, characterized by:
제2항에 있어서,
상기 친밀도를 판단하는 단계는,
인공지능과의 대화 턴 수를 변수로 반영하여 친밀도를 계산하는 것
을 특징으로 하는, 사용자에 특화된 응답을 출력하는 방법.
According to paragraph 2,
The step of determining the intimacy is,
Calculating intimacy by reflecting the number of conversation turns with artificial intelligence as a variable
A method of outputting a user-specific response, characterized by:
제2항에 있어서,
상기 친밀도를 판단하는 단계는,
인공지능과의 대화에서 어뷰징 발화의 유무를 변수로 반영하여 친밀도를 계산하는 것
을 특징으로 하는, 사용자에 특화된 응답을 출력하는 방법.
According to paragraph 2,
The step of determining the intimacy is,
Calculating intimacy by reflecting the presence or absence of abusing speech as a variable in a conversation with artificial intelligence.
A method of outputting a user-specific response, characterized by:
제1항에 있어서,
상기 친밀도에 따라 응답 데이터베이스를 선택하는 단계는,
계산된 상기 친밀도에 따라 미리 구축된 복수개의 응답 데이터베이스 중 하나의 응답 데이터베이스를 선택하는 것
을 특징으로 하는, 사용자에 특화된 응답을 출력하는 방법.
According to paragraph 1,
The step of selecting a response database according to the intimacy is,
Selecting one response database among a plurality of response databases built in advance according to the calculated intimacy.
A method of outputting a user-specific response, characterized by:
제1항에 있어서,
상기 응답 데이터베이스를 기반으로 응답 메시지를 출력하는 단계는,
선택된 상기 응답 데이터베이스의 응답으로 응답 메시지를 검색하여 출력하는 것
을 특징으로 하는, 사용자에 특화된 응답을 출력하는 방법.
According to paragraph 1,
The step of outputting a response message based on the response database is:
Searching for and outputting a response message based on the response from the selected response database
A method of outputting a user-specific response, characterized by:
제1항에 있어서,
상기 인공지능은,
검색 기반 챗봇을 포함하며, 상기 검색 기반 챗봇에 의해 사용자의 마지막 발화 메시지를 기반으로 선택된 상기 응답 데이터베이스에 있는 응답 후보 문장들간의 순위를 매겨서 가장 순위가 높은 문장을 선택하는 것
을 특징으로 하는, 사용자에 특화된 응답을 출력하는 방법.
According to paragraph 1,
The artificial intelligence is,
A search-based chatbot comprising: ranking response candidate sentences in the response database selected by the search-based chatbot based on the user's last utterance message and selecting the highest-ranking sentence;
A method of outputting a user-specific response, characterized by:
인공지능에서 인공지능과 사용자와의 관계를 반영하여 사용자에 특화된 응답을 출력하는 장치에 있어서,
사용자와 인공지능 간의 친밀도를 판단하는 친밀도 판단부;
사용자의 발화가 입력되는 경우, 상기 친밀도에 따라 응답 데이터베이스를 선택하는 응답 데이터베이스 선택부; 및
상기 친밀도에 따라 선택된 상기 응답 데이터베이스를 기반으로 응답 메시지를 출력하는 응답 메시지 출력부
를 포함하는, 사용자에 특화된 응답을 출력하는 장치.
In artificial intelligence, a device that outputs a user-specific response by reflecting the relationship between artificial intelligence and the user,
An intimacy determination unit that determines the intimacy between the user and artificial intelligence;
a response database selection unit that selects a response database according to the level of intimacy when a user's utterance is input; and
A response message output unit that outputs a response message based on the response database selected according to the intimacy.
A device that outputs a user-specific response, including a.
제8항에 있어서,
상기 친밀도 판단부는,
상기 사용자와 상기 인공지능 간의 대화를 분석하여 각 턴마다 친밀도를 계산하는 것
을 특징으로 하는, 사용자에 특화된 응답을 출력하는 장치.
According to clause 8,
The intimacy determination unit,
Analyzing the conversation between the user and the artificial intelligence to calculate intimacy at each turn
A device that outputs a user-specific response, characterized by:
제9항에 있어서,
상기 친밀도 판단부는,
인공지능과의 대화 턴 수를 변수로 반영하여 친밀도를 계산하는 것
을 특징으로 하는, 사용자에 특화된 응답을 출력하는 장치.
According to clause 9,
The intimacy determination unit,
Calculating intimacy by reflecting the number of conversation turns with artificial intelligence as a variable
A device that outputs a user-specific response, characterized by:
제9항에 있어서,
상기 친밀도 판단부는,
인공지능과의 대화에서 어뷰징 발화의 유무를 변수로 반영하여 친밀도를 계산하는 것
을 특징으로 하는, 사용자에 특화된 응답을 출력하는 장치.
According to clause 9,
The intimacy determination unit,
Calculating intimacy by reflecting the presence or absence of abusing speech as a variable in a conversation with artificial intelligence.
A device that outputs a user-specific response, characterized by:
제9항에 있어서,
상기 응답 데이터베이스 선택부는,
계산된 상기 친밀도에 따라 미리 구축된 복수개의 응답 데이터베이스 중 하나의 응답 데이터베이스를 선택하는 것
을 특징으로 하는, 사용자에 특화된 응답을 출력하는 장치.
According to clause 9,
The response database selection unit,
Selecting one response database among a plurality of response databases built in advance according to the calculated intimacy.
A device that outputs a user-specific response, characterized by:
제8항에 있어서,
상기 응답 메시지 출력부는,
선택된 상기 응답 데이터베이스의 응답으로 응답 메시지를 검색하여 출력하는 것
을 특징으로 하는, 사용자에 특화된 응답을 출력하는 장치.
According to clause 8,
The response message output unit,
Searching for and outputting a response message based on the response from the selected response database
A device that outputs a user-specific response, characterized by:
제8항에 있어서,
상기 인공지능은,
검색 기반 챗봇을 포함하며, 상기 검색 기반 챗봇에 의해 사용자의 마지막 발화 메시지를 기반으로 선택된 상기 응답 데이터베이스에 있는 응답 후보 문장들간의 순위를 매겨서 가장 순위가 높은 문장을 선택하는 것
을 특징으로 하는, 사용자에 특화된 응답을 출력하는 장치.
According to clause 8,
The artificial intelligence is,
A search-based chatbot comprising: ranking response candidate sentences in the response database selected by the search-based chatbot based on the user's last utterance message and selecting the highest-ranking sentence;
A device that outputs a user-specific response, characterized by:
KR1020220070122A 2022-06-09 2022-06-09 Method and apparatus for outputting user-specific responses by reflecting relationship with artificial intelligence KR20230169681A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220070122A KR20230169681A (en) 2022-06-09 2022-06-09 Method and apparatus for outputting user-specific responses by reflecting relationship with artificial intelligence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220070122A KR20230169681A (en) 2022-06-09 2022-06-09 Method and apparatus for outputting user-specific responses by reflecting relationship with artificial intelligence

Publications (1)

Publication Number Publication Date
KR20230169681A true KR20230169681A (en) 2023-12-18

Family

ID=89309446

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220070122A KR20230169681A (en) 2022-06-09 2022-06-09 Method and apparatus for outputting user-specific responses by reflecting relationship with artificial intelligence

Country Status (1)

Country Link
KR (1) KR20230169681A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220070826A (en) 2020-11-23 2022-05-31 주식회사 와이즈넛 Utterance manipulation apparatus for retrieval-based response selection and method thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220070826A (en) 2020-11-23 2022-05-31 주식회사 와이즈넛 Utterance manipulation apparatus for retrieval-based response selection and method thereof

Similar Documents

Publication Publication Date Title
US11669918B2 (en) Dialog session override policies for assistant systems
US10853103B2 (en) Contextual auto-completion for assistant systems
KR101886373B1 (en) Platform for providing task based on deep learning
US20180018562A1 (en) Platform for providing task based on deep learning
JP6843827B2 (en) Predicting user needs for a particular context
JP2022040183A (en) Selection of synthetic speech for agent by computer
CN111149107A (en) Enabling autonomous agents to distinguish between problems and requests
KR102040400B1 (en) System and method for providing user-customized questions using machine learning
CN112106056A (en) Constructing fictitious utterance trees to improve the ability to answer convergent questions
US11321536B2 (en) Chatbot conducting a virtual social dialogue
US20220138432A1 (en) Relying on discourse analysis to answer complex questions by neural machine reading comprehension
US11721333B2 (en) Electronic apparatus and control method thereof
EP3557505A1 (en) Contextual auto-completion for assistant systems
JP6629935B2 (en) Deep learning learning method and system for categorizing documents
CN111033490A (en) Cognitive mediator for cognitive instances
CN108780444A (en) Expansible equipment and natural language understanding dependent on domain
US11635883B2 (en) Indication of content linked to text
CN114360711A (en) Multi-case based reasoning by syntactic-semantic alignment and utterance analysis
US10762438B1 (en) Extracting questions and answers
LU101705B1 (en) Document control item
EP3557498A1 (en) Processing multimodal user input for assistant systems
KR102398386B1 (en) Method of filtering a plurality of messages and apparatus thereof
KR102315068B1 (en) Method and system for determining document consistence to improve document search quality
KR102254827B1 (en) Recommendation service using pattern mining based on deep learning
KR20230169681A (en) Method and apparatus for outputting user-specific responses by reflecting relationship with artificial intelligence