Scalable high-accuracy transactional agents
Abstract
Aspects of the disclosure are directed to a transactional agent for user interactions. The agent can seamlessly respond to user requests in a conversational manner while maintaining the conversational state. The agent can include a multi-stage modular model architecture, including a semantic understander and a semantic matcher. The semantic understander can be configured to understand common conversation conventions and/or patterns to produce a structure representation of a user request. The semantic matcher can be configured to map items and modifiers to product entries for a particular domain.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 0.
Claims (15 — 3 Independent, 12 Dependent)
- Claim 1Independent Claim
A method for processing a conversational transaction comprising: receiving, by one or more processors, a first conversational input associated with a user request; generating, by the one or more processors, a first structured representation of the first conversational input using an instruction-prompted machine learning model; receiving, by the one or more processors, a second conversational input associated with the user request; generating, by the one or more processors, a second structured representation of the second conversational input using the instruction-prompted machine learning model based on the first structured representation; matching, by the one or more processors, the second structured representation with an action for responding to the user request using an encoder-based machine learning model, wherein the matching comprises: generating an embedding to represent the second structured representation; and matching the embedding with one or more embeddings representing candidate actions for responding to the user request; and outputting, by the one or more processors, the action for responding to the user request.
- Claim 2Depends on #1
The method of claim 1, wherein: the first and second conversational inputs are vocal utterances; and the method further comprises converting, by the one or more processors, at least one of the vocal utterances to a textual utterance.
- Claim 3Depends on #2
The method of claim 2, further comprising: determining, by the one or more processors, that the textual utterance is a fragmented request; and waiting, by the one or more processors, for the remainder of the user request in response to determining the textual utterance is a fragmented request.
- Claim 4Depends on #3
The method of claim 3, wherein determining the textual utterance is a fragmented request is based on at least one of a processing via an endpointing model, a last word in the textual utterance, or processing via a large language model (LLM).
- Claim 5Depends on #1
The method of claim 1, wherein generating the second structured representation further comprises updating actions based on a current action state, a conversation history, and the first and second conversational inputs.
- Claim 6Depends on #1
The method of claim 1, wherein outputting the action for responding to the user request further comprises outputting further clarification is needed in response to multiple matching actions.
- Claim 7Independent Claim
A system comprising: one or more processors; and one or more storage devices coupled to the one or more processors and storing instructions that, when executed by the one or more processors, cause the one or more processors to perform operations for processing a conversational transaction, the operations comprising: receiving a first conversational input associated with a user request; generating a first structured representation of the first conversational input using an instruction-prompted machine learning model; receiving a second conversational input associated with the user request; generating a second structured representation of the second conversational input using the instruction-prompted machine learning model based on the first structured representation; matching the second structured representation with an action for responding to the user request using an encoder-based machine learning model, wherein the matching comprises: generating an embedding to represent the second structured representation; and matching the embedding with one or more embeddings representing candidate actions for responding to the user request; and outputting the action for responding to the user request.
- Claim 8Depends on #7
The system of claim 7, wherein: the first and second conversational inputs are vocal utterances; and the operations further comprise converting at least one of the vocal utterances to a textual utterance.
- Claim 9Depends on #8
The system of claim 8, wherein the operations further comprise: determining that the textual utterance is a fragmented request; and waiting for the remainder of the user request in response to determining the textual utterance is a fragmented request.
- Claim 10Depends on #9
The system of claim 9, wherein determining the textual utterance is a fragmented request is based on at least one of a processing via an endpointing model, a last word in the textual utterance, or processing via a large language model (LLM).
- Claim 11Depends on #7
The system of claim 7, wherein generating the second structured representation further comprises updating actions based on a current action state, a conversation history, and the first and second conversational inputs.
- Claim 12Depends on #7
The system of claim 7, wherein outputting the action for responding to the user request further comprises outputting further clarification is needed in response to multiple matching actions.
- Claim 13Independent Claim
A non-transitory computer readable medium for storing instructions that, when executed by one or more processors, cause the one or more processors to perform operations for processing a conversational transaction, the operations comprising: receiving a first conversational input associated with a user request; generating a first structured representation of the first conversational input using an instruction-prompted machine learning model; receiving a second conversational input associated with the user request; generating a second structured representation of the second conversational input using the instruction-prompted machine learning model based on the first structured representation; matching the second structured representation with an action for responding to the user request using an encoder-based machine learning model, wherein the matching comprises: generating an embedding to represent the second structured representation; and matching the embedding with one or more embeddings representing candidate actions for responding to the user request; and outputting the action for responding to the user request.
- Claim 14Depends on #13
The non-transitory computer readable medium of claim 13, wherein: the first and second conversational inputs are vocal utterances; and the operations further comprise: converting at least one of the vocal utterances to a textual utterance; determining that the textual utterance is a fragmented request; and waiting for the remainder of the user request in response to determining the textual utterance is a fragmented request.
- Claim 15Depends on #13
The non-transitory computer readable medium of claim 13, wherein generating the second structured representation further comprises updating actions based on a current action state, a conversation history, and the first and second conversational inputs.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS The present application claims the benefit of the filing date of U.S. Provisional Patent Application No. 63/534,875, filed Aug. 28, 2023, the disclosure of which is hereby incorporated herein by reference. BACKGROUND An ideal user experience for interactions with an artificially intelligent (AI) agent may require the agent to respond to users in a conversational manner, thereby avoiding requiring the user to understand complex interfaces or organizational structures of underlying information. The interactions can be informational, like searches, or transactional, like purchases. Transactional interactions can be particularly difficult because the agent may need to understand and participate in a conversational dialog while keeping track of order history, understanding semantic terms and speech acts, mapping user requests to entries, responding with multimodal cues, and/or incorporating business logic. For example, for a user ordering food at a drive thru, a conversation may include the user ordering multiple items, referring to items with names not on the menu, changing their mind, pausing and thinking, asking questions, asking to speak with a human, etc. The agent may struggle to respond in a quick, intuitive, and easy-to-understand manner while keeping track of the conversational state. BRIEF SUMMARY Aspects of the disclosure are directed to a transactional agent for user interactions. The agent can seamlessly respond to user requests in a conversational manner while maintaining the conversational state. Through these user interactions, the agent can understand and fulfill the user requests with high accuracy, regardless of whether there is ambiguity in the user request. The agent can further be versatile, handling changes in entries without requiring expensive retraining or fine-tuning of specialized AI models. The agent can include a multi-stage modular large language model architecture, including a semantic understander a
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.