Systems and methods for generating a response based on task-independent conversational responses or task-specific responses
Assigneebotbotbotbot Inc.
InventorAntoine Raux
Life of this patent
Estimating the term…
Abstract
Methods, systems, and apparatus, including computer programs encoded on computer storage media, for generating responses using task-independent conversational systems are provided. In one example method, a response to a user text input is generated by updating a state of the conversation based on the user text input, generating a conversational (task-independent) output, and determining whether to provide a conversational response based on the conversational output, or to additionally generate a task-specific output.
Claims54
A method comprising:
- obtaining, by a computer-implemented dialogue system and during a conversation between the computer-implemented dialogue system and a user to complete a particular task, a text input from the user;
- and
- without receiving any additional text inputs from the user:
- obtaining, by the computer-implemented dialogue system, a state of the conversation with the user that has been updated based on the text input, wherein obtaining the state of the conversation includes:
- generating a semantic input representing the text input;
- and
- updating a previous state of the conversation based on the semantic input;
- generating, by the computer-implemented dialogue system and from the state, a conversational output that defines a conversational response to the text input that is independent of the particular task, wherein the conversational output includes a score distribution over a plurality of possible intent-slot value combinations;
- and
- determining, by the computer-implemented dialogue system and from at least one of the score distribution included in the conversational output or the state of the conversation, whether to (i) provide the conversational response to the text input or (ii) generate a task output that is specific to the particular task.
A method comprising:
- obtaining, by a computer-implemented dialogue system and during a conversation between the computer-implemented dialogue system and the user to complete a particular task, a text input from the user;
- and
- without receiving any additional text inputs from the user:
- obtaining, by the computer-implemented dialogue system, a state of the conversation with the user that has been updated based on the text input, wherein obtaining the state of the conversation includes:
- generating a semantic input representing the text input;
- and
- updating a previous state of the conversation based on the semantic input;
- generating, by the computer-implemented dialogue system and from the state, a conversational output that defines a conversational response to the text input that is independent of the particular task, wherein the conversational output includes a score distribution over a plurality of possible intent-slot value combinations;
- generating, by the computer-implemented dialogue system and from the state, a task output that defines a task response to the text input that is specific to the particular task;
- generating, by the computer-implemented dialogue system and based on the score distribution included in the conversational output and the task output, a final response to the text input;
- and
- providing, by the computer-implemented dialogue system, the final response to the user.
A method comprising:
- obtaining, by a computer-implemented dialogue system and during a conversation between the computer-implemented dialogue system and the user to complete a particular task, a text input from the user;
- and
- without receiving any additional text inputs from the user:
- obtaining, by the computer-implemented dialogue system, a state of the conversation with the user that has been updated based on the text input, wherein obtaining the state of the conversation includes:
- generating a semantic input representing the text input;
- and
- updating a previous state of the conversation based on the semantic input;
- generating, by the computer-implemented dialogue system and from the state, a task output that defines a task response to the text input that is specific to the particular task;
- determining, by the computer-implemented dialogue system and from the task output, that responding to the text input requires a conversational output that is shared between multiple tasks;
- in response, generating, by the computer-implemented dialogue system and from the state, a conversational output that defines a conversational response to the text input that is independent of the particular task, wherein the conversational output includes a score distribution over a plurality of possible intent-slot value combinations;
- and
- generating a final response to the text input based on the task output and the score distribution included in the conversational output.
A non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of an electronic device, cause the electronic device to:
- obtain, by a computer-implemented dialogue system and during a conversation between the computer-implemented dialogue system and a user to complete a particular task, a text input from the user;
- and
- without receiving any additional text inputs from the user:
- obtain, by the computer-implemented dialogue system, a state of the conversation with the user that has been updated based on the text input, wherein obtaining the state of the conversation includes:
- generating a semantic input representing the text input;
- and
- updating a previous state of the conversation based on the semantic input;
- generate, by the computer-implemented dialogue system and from the state, a conversational output that defines a conversational response to the text input that is independent of the particular task, wherein the conversational output includes a score distribution over a plurality of possible intent-slot value combinations;
- and
- determine, by the computer-implemented dialogue system and from at least one of the score distribution included in the conversational output or the state of the conversation, whether to (i) provide the conversational response to the text input or (ii) generate a task output that is specific to the particular task.
A non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of an electronic device, cause the electronic device to:
- obtain, by a computer-implemented dialogue system and during a conversation between the computer-implemented dialogue system and the user to complete a particular task, a text input from the user;
- and
- without receiving any additional text inputs from the user:
- obtain, by the computer-implemented dialogue system, a state of the conversation with the user that has been updated based on the text input, wherein obtaining the state of the conversation includes:
- generating a semantic input representing the text input;
- and
- updating a previous state of the conversation based on the semantic input;
- generate, by the computer-implemented dialogue system and from the state, a conversational output that defines a conversational response to the text input that is independent of the particular task, wherein the conversational output includes a score distribution over a plurality of possible intent-slot value combinations;
- generate, by the computer-implemented dialogue system and from the state, a task output that defines a task response to the text input that is specific to the particular task;
- generate, by the computer-implemented dialogue system and based on the score distribution included in the conversational output and the task output, a final response to the text input;
- and
- provide, by the computer-implemented dialogue system, the final response to the user.
A non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of an electronic device, cause the electronic device to:
- obtain, by a computer-implemented dialogue system and during a conversation between the computer-implemented dialogue system and the user to complete a particular task, a text input from the user;
- and
- without receiving any additional text inputs from the user:
- obtain, by the computer-implemented dialogue system, a state of the conversation with the user that has been updated based on the text input, wherein obtaining the state of the conversation includes:
- generating a semantic input representing the text input;
- and
- updating a previous state of the conversation based on the semantic input;
- generate, by the computer-implemented dialogue system and from the state, a task output that defines a task response to the text input that is specific to the particular task;
- determine, by the computer-implemented dialogue system and from the task output, that responding to the text input requires a conversational output that is shared between multiple tasks;
- in response, generate, by the computer-implemented dialogue system and from the state, a conversational output that defines a conversational response to the text input that is independent of the particular task, wherein the conversational output includes a score distribution over a plurality of possible intent-slot value combinations;
- and
- generate a final response to the text input based on the task output and the score distribution included in the conversational output.
An electronic device, comprising:
- one or more processors;
- a memory;
- and
- one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:
- obtaining, by a computer-implemented dialogue system and during a conversation between the computer-implemented dialogue system and a user to complete a particular task, a text input from the user;
- and
- without receiving any additional text inputs from the user:
- obtaining, by the computer-implemented dialogue system, a state of the conversation with the user that has been updated based on the text input, wherein obtaining the state of the conversation includes:
- generating a semantic input representing the text input;
- and
- updating a previous state of the conversation based on the semantic input;
- generating, by the computer-implemented dialogue system and from the state, a conversational output that defines a conversational response to the text input that is independent of the particular task, wherein the conversational output includes a score distribution over a plurality of possible intent-slot value combinations;
- and
- determining, by the computer-implemented dialogue system and from at least one of the score distribution included in the conversational output or the state of the conversation, whether to (i) provide the conversational response to the text input or (ii) generate a task output that is specific to the particular task.
An electronic device, comprising:
- one or more processors;
- a memory;
- and
- one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:
- obtaining, by a computer-implemented dialogue system and during a conversation between the computer-implemented dialogue system and the user to complete a particular task, a text input from the user;
- and
- without receiving any additional text inputs from the user:
- obtaining, by the computer-implemented dialogue system, a state of the conversation with the user that has been updated based on the text input, wherein obtaining the state of the conversation includes:
- generating a semantic input representing the text input;
- and
- updating a previous state of the conversation based on the semantic input;
- generating, by the computer-implemented dialogue system and from the state, a conversational output that defines a conversational response to the text input that is independent of the particular task, wherein the conversational output includes a score distribution over a plurality of possible intent-slot value combinations;
- generating, by the computer-implemented dialogue system and from the state, a task output that defines a task response to the text input that is specific to the particular task;
- generating, by the computer-implemented dialogue system and based on the score distribution included in the conversational output and the task output, a final response to the text input;
- and
- providing, by the computer-implemented dialogue system, the final response to the user.
An electronic device, comprising:
- one or more processors;
- a memory;
- and
- one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:
- obtaining, by a computer-implemented dialogue system and during a conversation between the computer-implemented dialogue system and the user to complete a particular task, a text input from the user;
- and
- without receiving any additional text inputs from the user:
- obtaining, by the computer-implemented dialogue system, a state of the conversation with the user that has been updated based on the text input, wherein obtaining the state of the conversation includes:
- generating a semantic input representing the text input;
- and
- updating a previous state of the conversation based on the semantic input;
- generating, by the computer-implemented dialogue system and from the state, a task output that defines a task response to the text input that is specific to the particular task;
- determining, by the computer-implemented dialogue system and from the task output, that responding to the text input requires a conversational output that is shared between multiple tasks;
- in response, generating, by the computer-implemented dialogue system and from the state, a conversational output that defines a conversational response to the text input that is independent of the particular task, wherein the conversational output includes a score distribution over a plurality of possible intent-slot value combinations;
- and
- generating a final response to the text input based on the task output and the score distribution included in the conversational output.
Dependencies are inferred from the claim text.