Electronic apparatus and method for controlling thereof
AssigneeSamsung Electronics Co., Ltd.
InventorsHyungtak Choi, Lohith Ravuru, Hyeonmok Ko, Haehun Yang, Seungchul Lee
Life of this patent
Estimating the term…
Abstract
An electronic apparatus is provided. The electronic apparatus includes a communication device, a memory configured to store at least one instruction and one or more vector values corresponding to dialogue history information, and a processor, based on execution of the at least one instruction, configured to extract text from the dialogue content received through the communication device, calculate a vector value of the extracted text by using a predetermined encoding algorithm, and generate response information by using the calculated vector value and the stored one or more vector values.
Claims11
An electronic apparatus comprising:
- a communication device;
- a memory configured to store at least one instruction and one or more vector values corresponding to dialogue history information, wherein the dialogue history information includes at least one of user dialogue history or another user dialogue history;
- and
- a processor, based on execution of the at least one instruction, configured to:
- receive dialogue content through the communication device,
- extract text from dialogue content,
- calculate a vector value of the extracted text by using a predetermined encoding algorithm,
- obtain a plurality of candidate vector values each having the predetermined similarity with the calculated vector value among the stored one or more vector values corresponding to dialogue history information,
- decode each of the obtained plurality of candidate vector values into the text,
- confirm slot information in the decoded text,
- confirm a user request and slot information in the extracted text,
- generate the response information by using the confirmed user request and the confirmed slot information in the extracted text, and the confirmed slot information in the decoded text, and
- transmit the generated response information to an external device through the communication device.
A method performed by an electronic apparatus, the method comprising:
- storing one or more vector values corresponding to dialogue history information, wherein the dialogue history information includes at least one of user dialogue history or another user dialogue history;
- receiving dialogue content through a communication device included in the electronic apparatus;
- generating response information corresponding to the dialogue content;
- and
- transmitting the generated response information through the communication device,
- wherein the generating of the response information includes:
- extracting text from the dialogue content;
- calculating a vector value of the extracted text by using a predetermined encoding algorithm;
- obtaining a plurality of candidate vector values each having the predetermined similarity with the calculated vector value among the stored one or more vector values corresponding to dialogue history information;
- decoding each of the obtained plurality of candidate vector values into the text;
- confirming slot information in the decoded text;
- confirming a user request and slot information in the extracted text;
- and
- generating the response information by using the confirmed user request and the confirmed slot information in the extracted text, and the confirmed slot information in the decoded text.
A non-transitory computer-readable recording medium including a program for executing a method for controlling an electronic apparatus, wherein the method includes:
- storing one or more vector values corresponding to dialogue history information, wherein the dialogue history information includes at least one of user dialogue history or another user dialogue history;
- receiving dialogue content through a communication device included in the electronic apparatus;
- generating response information corresponding to the dialogue content;
- and
- transmitting the generated response information through the communication device,
- wherein the generating of the response information includes:
- extracting text from the dialogue content;
- calculating a vector value of the extracted text by using a predetermined encoding algorithm;
- obtaining a plurality of candidate vector values each having the predetermined similarity with the calculated vector value among the stored one or more vector values corresponding to dialogue history information;
- decoding each of the obtained plurality of candidate vector values into the text;
- confirming slot information in the decoded text;
- confirming a user request and slot information in the extracted text;
- and
- generating the response information by using the confirmed user request and the confirmed slot information in the extracted text, and the confirmed slot information in the decoded text.
Dependencies are inferred from the claim text.