×

Selecting a response in a multi-turn interaction between a user and a conversational bot

  • US 10,818,293 B1
  • Filed: 07/14/2020
  • Issued: 10/27/2020
  • Est. Priority Date: 07/14/2020
  • Status: Active Grant
First Claim
Patent Images

1. A method to provide query understanding to select a response in a multi-turn conversation between a user and a conversational bot, the conversation composed of a set of events, wherein an event is composed of a linear sequence of observations that represent an expression of the event, comprising:

  • organizing a corpus of annotated conversation transcripts into a relational database comprising a set of inter-related tables, the tables including at least a table of events, and a table of observations;

    in response to initiation of the multi-turn conversation, instantiating a data model;

    as the multi-turn conversation proceeds, persisting in the data model a conversation history between the user and the bot, the data model comprising an observation history, together with a set of events that have been determined to represent the conversation up to at least one turn;

    in response to receipt of a new input by the user that is one of;

    a speech act, and a physical act, determining a response to the new input;

    processing the new input to generate a result, and mapping the result to an observation in the data model;

    using the mapped observation as a key, performing a first look-up into the set of inter-related tables to retrieve a set of candidate interpretations given the conversation up to the at least one turn, wherein a candidate interpretation is one that either extends an event or starts a new event;

    when a given one of the set of candidate interpretations is determined to extend an event in the set of events, appending the mapped observation to the event to create an extended event;

    when an extended event cannot be created but a given one of the set of candidate interpretations is determined to start a new event that has the mapped observation as its initial observation, adding the new event to the set of events;

    when no candidate interpretation extends an event or logically starts a new event by an exact match to an existing event in the annotated historical transcripts, creating an aliased event by identifying one other event whose event expression is an approximate match to an existing event in the annotated historical transcripts;

    when a given one of the set of candidate interpretations is determined to extend the one other event, appending the mapped observation to the one other event to create an extension of the aliased event;

    when the extension cannot be created for the aliased event, creating a new aliased event having the mapped observation as its initial observation, the new aliased event being associated with a sequence of events that has not been seen in the annotated historical transcripts; and

    using one of;

    the extended event, the new event, the aliased event as extended, and the new aliased event, as a key, performing a second look-up into the set of inter-related tables to retrieve the response.

View all claims
  • 5 Assignments
Timeline View
Assignment View
    ×
    ×