-
公开(公告)号:US11042554B1
公开(公告)日:2021-06-22
申请号:US16176081
申请日:2018-10-31
Applicant: Facebook, Inc.
Inventor: Anusha Balakrishnan , Rajen Subba , Scott Martin , Ashwini Challa , Shawn C. P. Mei
IPC: G06F16/30 , G06F16/2457 , G06N20/00 , G06F16/951 , G06F40/40
Abstract: In one embodiment, a method includes receiving a user query from a client system associated with a first user, executing tasks via agents which return responses, each response comprising information items, analyzing the responses to determine slots, each slot corresponding to one of the information items, determining compositional sub-goals for each response, wherein each compositional sub-goal indicates a semantic-intent of the respective response, generating compositional fragments by a compositional natural-language generation (NLG) model, each compositional fragment comprising a partial natural-language response, determining a top-level compositional goal, generating a communication content by the compositional NLG model, wherein the communication content comprises a complete natural-language response to the user query, and wherein the complete natural-language response is based on the partial natural-language responses of the compositional fragments, and sending instructions for presenting the communication content to the client system.
-
公开(公告)号:US10978056B1
公开(公告)日:2021-04-13
申请号:US16264173
申请日:2019-01-31
Applicant: Facebook, Inc.
Inventor: Ashwini Challa , Anusha Balakrishnan , Rajen Subba , Kartikeya Upasani , Shawn C. P. Mei
IPC: G10L15/19 , G10L15/22 , G10L15/06 , G06N20/00 , G06F16/9035 , G06F16/338 , G06F40/56 , G06F16/332 , G06F16/33
Abstract: In one embodiment, a method includes receiving a user input from a client system associated with a user, generating a plurality of candidate responses by a natural-language generation module in response to the user input, determining a quality-indication by a filtering module for each candidate response of the plurality of candidate responses based on one or more classification models and one or more classification rules, wherein the classification models and classification rules are based on one or more acceptance-criteria, selecting one or more candidate responses from the plurality of candidate responses based on their respective quality-indications, ranking the selected candidate responses based on one or more ranking-criteria, and sending instructions for presenting a top-ranked candidate response to the user to the client system associated with the user responsive to receiving the user input.
-