-
公开(公告)号:US11093551B1
公开(公告)日:2021-08-17
申请号:US16129638
申请日:2018-09-12
申请人: Facebook, Inc.
发明人: Vivek Natarajan , Baiyang Liu , Shubham Gupta , Krishna Mittal , Scott Martin
IPC分类号: G10L17/22 , G06F16/9032 , G10L15/16 , G06N3/08 , G10L15/187 , G06F16/903 , G06F40/205
摘要: In one embodiment, a method includes, by one or more computing systems, receiving a user input comprising a plurality of n-grams from a user of a client system, generating a tree-structured representation for the user input based on a parsing by a compositional model, resolving the tree-structured representation by applying a depth-first search algorithm, wherein the tree-structured representation comprises one or more non-resolvable non-terminal nodes associated with one or more slots, and wherein each non-terminal parent node of a non-resolvable non-terminal node is partially resolved based on partial slot information associated with the non-resolvable non-terminal node, and wherein each non-resolvable non-terminal node is resolved based on the respective partially resolved non-terminal parent node of the non-resolvable non-terminal node, generating a response to the user input based on the resolved tree-structured representation, sending instructions for presenting the response to the client system of the user.
-
公开(公告)号:US20210326391A1
公开(公告)日:2021-10-21
申请号:US17362676
申请日:2021-06-29
申请人: Facebook, Inc.
发明人: Vivek Natarajan , Baiyang Liu , Shubham Gupta , Krishna Mittal , Scott Martin
IPC分类号: G06F16/9032 , G06F16/903 , G10L15/187 , G10L15/16 , G06F40/205 , G06N3/08
摘要: In one embodiment, a method includes receiving, from a client system of a user, a user input comprising a plurality of n-grams, parsing the user input to identify one or more overall intents, hidden intents, and slots associated with the one or more n-grams, wherein at least one of the hidden intents is non-resolvable for being associated with partial slot information corresponding to an n-gram that has not been resolved to a particular entity identifier, wherein the partial slot information is associated with two more entity identifiers of two or more entities, respectively, sending, to the client system, instructions for prompting the user to select one of the entities to be associated with the non-resolvable hidden intent, resolving the non-resolvable hidden intent based on the entity identifier of the entity selected by the user, and generating a response to the user input based on the resolved hidden intent.
-