×

Automated assistant invocation of appropriate agent

  • US 9,990,591 B2
  • Filed: 04/18/2017
  • Issued: 06/05/2018
  • Est. Priority Date: 04/18/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method implemented by one or more processors, comprising:

  • for each of a plurality of natural language input instances generated based on user interface input during human-to-automated assistant dialogs;

    generating an agent request based on the natural language input instance,selecting, for the agent request, a set of multiple agents from a corpus of available agents,transmitting, via one or more application programming interfaces, the agent request to each of the multiple agents of the set,receiving, from each of the multiple agents in response to the transmitting, a corresponding response to the agent request, wherein the responses each indicate an ability of a corresponding one of the multiple agents to generate responsive content in response to the agent request, andstoring, in one or more computer readable media, one or more associations between the agent request and the responses to the agent request;

    generating an agent selection model based on the stored associations between the agent requests and their responses, wherein the agent selection model is a machine learning model, and wherein generating the machine learning model comprises;

    generating training instances based on the agent requests and their responses, wherein generating each of a plurality of the training instances comprises;

    generating training instance input of the training instance based on a corresponding agent request of the agent requests, andgenerating training instance output of the training instance based on the responses stored in association with the corresponding agent request; and

    training the machine learning model based on the training instances;

    subsequent to generating the agent selection model;

    receiving subsequent natural language input of a user that is directed to an automated assistant as part of a dialog between the user and the automated assistant,selecting a particular agent based on the subsequent natural language input and the agent selection model, wherein the particular agent is one of the available agents, and wherein selecting the particular agent based on the subsequent natural language input and the agent selection model comprises;

    applying, as input to the machine learning model, input features that are based on the subsequent natural language input,generating, over the machine learning model based on the input, output that includes a value for the particular agent, andselecting the particular agent based on the value for the particular agent, andresponsive to the receiving the subsequent natural language input and in response to selecting the particular agent;

    transmitting, via one or more of the application programming interfaces, an invocation request to the selected particular agent, wherein the invocation request invokes the particular agent and causes the particular agent to generate particular responsive content for presentation to the user via one or more user interface output devices,wherein, responsive to receiving the subsequent natural language input, the invocation request is transmitted to only the selected particular agent.

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