Enabling natural conversations with automated assistants
By using a streaming ASR and NLU model to dynamically determine interaction states, the automated assistant addresses the limitations of turn-based dialog sessions, enabling efficient and natural user interactions.
Patent Information
- Application Number
- JP2023518288
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-11-29
- Filing Date
- 2021-12-01
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-12-01
AI Technical Summary
Existing automated assistants engage in turn-based dialog sessions that are not natural, as they often fail to consider the context of multiple utterances, leading to prolonged conversations, computational resource waste, and user frustration.
Implement a streaming automatic speech recognition model to process user utterances, combined with natural language understanding and fulfillment rules, to determine the next interaction state dynamically during a dialog session, allowing the assistant to respond naturally without waiting for complete utterances.
Enables natural conversations by allowing the automated assistant to respond promptly to user inputs, reducing computational resource usage and session duration, and improving user interaction efficiency.
Smart Images

Figure 0007554921000003 
Figure 0007554921000008 
Figure 0007554921000002
Abstract
Description
[Technical field]
[0001] It concerns enabling natural conversations with automated assistants. [Background technology]
[0002] Humans may participate in human-computer dialogues with interactive software applications, referred to herein as “automated assistants” (also referred to as “chatbots”, “conversational personal assistants”, “intelligent personal assistants”, “personal voice assistants”, “conversational agents”, etc.). Automated assistants typically rely on a pipeline of components in interpreting and responding to utterances. For example, an automatic speech recognition (ASR) engine can process audio data corresponding to a user's utterance to generate ASR output, such as a phonetic hypothesis (i.e., a sequence of terms and / or other tokens) for the utterance. Additionally, a natural language understanding (NLU) engine can process the ASR output (or touch / type input) to generate NLU output, such as the user's intent in providing the utterance (or touch / type input) and, optionally, slot values for parameters associated with the intent. Additionally, a fulfillment engine may be used to process the NLU output and generate fulfillment output, such as a structured request to obtain a response content to the utterance and / or to perform an action responsive to the utterance.
[0003] Generally, a dialog session with an automated assistant is initiated by a user providing an utterance, and the automated assistant can respond to the utterance using the pipeline of components described above to generate a response. The user can continue the dialog session by providing additional utterances, and the automated assistant can respond to the additional utterances using the pipeline of components described above to generate additional responses. In other words, these dialog sessions are generally turn-based in that the user undertakes the dialog session to provide an utterance, and the automated assistant undertakes the dialog session to respond to the utterance. However, these turn-based dialog sessions may not be natural from the user's perspective, as they do not reflect how humans actually converse with each other.
[0004] For example, a first human may provide a plurality of different utterances to convey a single thought to a second human, and the second human may consider each of the plurality of different utterances to formulate a response to the first human. In some cases, the first human may pause for various amounts of time between the plurality of different utterances. In particular, the second human may not be able to fully formulate a response to the first human based solely on a first of the plurality of different utterances, or based on each of the plurality of utterances in isolation.
[0005] Similarly, in these turn-based dialogue sessions, the automated assistant may not be able to fully devise a response to a given utterance of the user without considering the context of the given utterance with respect to multiple different utterances. As a result, these turn-based dialogue sessions may drag on as the user attempts to communicate the user's thoughts to the automated assistant in a single utterance during a single turn of these turn-based dialogue sessions, thereby wasting computational resources. Furthermore, if the user attempts to communicate the user's thoughts to the automated assistant in multiple utterances during a single turn of these turn-based dialogue sessions, the automated assistant may simply fail, thereby also wasting computational resources. For example, if the user causes a long pause in attempting to devise an utterance, the automated assistant may prematurely conclude that the user has finished speaking, process the incomplete utterance, and fail as a result of determining (from processing) that the incomplete utterance does not convey a meaningful intent. In addition, the turn-based dialogue sessions may prevent the user's utterance provided during the rendering of the assistant response from being meaningfully processed. This can require the user to wait for the Assistant response to finish rendering before providing an utterance, thereby prolonging the dialog session. Summary of the Invention [Means for solving the problem]
[0006] Implementations described herein are directed to enabling an automated assistant to conduct a natural conversation with a user during a dialog session. Some implementations can use a streaming automatic speech recognition (ASR) model to process a stream of audio data generated by a microphone of a user's client to generate a stream of ASR output. The stream of audio data can capture one or more utterances of the user directed to an automated assistant implemented at least partially in the client device. Furthermore, the ASR output can be processed using a natural language understanding (NLU) model to generate a stream of NLU output. Furthermore, the NLU output can be processed using one or more fulfillment rules and / or one or more fulfillment models to generate a stream of fulfillment data. Additionally, based on processing the stream of audio data, audio-based features associated with one or more of the utterances can be determined. Based on the stream of NLU output, the stream of fulfillment data, and / or the current state of the audio-based features, a next dialogue state to be performed during the dialog session can be determined. The next dialogue state to be performed during the dialog session can be one of: (i) performing a fulfillment output generated based on the stream of fulfillment data; (ii) audibly rendering a natural conversational output for presentation to the user; or (iii) refraining from performing any dialogue. The next dialogue state can be implemented to facilitate the dialog session. Furthermore, determining the next dialogue state can occur iteratively (e.g., continuously at 10 Hz, 20 Hz, or other frequencies) during the dialog session without waiting for completion of a user or automated assistant response, with each iteration based on the current state of each of the NLU output, fulfillment data, and audio-based features.Thus, by determining the next dialogue state using the techniques described herein during a dialog session, the automated assistant can decide whether and how to implement the next dialogue state to further the dialog session, rather than simply responding to the user after the user provides an utterance, as in a turn-based dialog session.
[0007] For example, assume that a user is engaged in a dialog session with an automated assistant and provides the utterance "turn on the... the uhmmm...". As the user provides the utterance, a stream of ASR output, a stream of NLU output, and a stream of fulfillment data can be generated based on processing the stream of audio data capturing the utterance. In particular, in this example, the stream of NLU output may indicate that the user intends to control some software application (e.g., a music software application, a video software application, etc.) or some device (e.g., a client device, a smart appliance, a smart TV, a smart speaker, etc.), but that the user has not yet specified what exactly is intended by "turn on". Nonetheless, the stream of fulfillment data can be processed to generate a set of fulfillment outputs. Additionally, audio-based features associated with the utterance can be generated based on processing the stream of audio data and can include, for example, intonation and tone of voice that indicate a user is not sure what exactly is intended by "turn it on," the duration elapsed between "turn it on" and "the uhmmm," the duration elapsed since "hmmm," and / or other audio-based features. Additionally, the stream of NLU outputs and the audio-based features can be processed to generate a set of natural conversational outputs.
[0008] In this example, a current state of the stream of NLU output, the stream of fulfillment data, and / or the audio-based features associated with the utterance can be determined. For example, the stream of NLU output, the stream of fulfillment data, and the audio-based features can be processed using a classification machine learning (ML) model to generate a predictive measure (e.g., a binary value, a probability, a log-likelihood, etc.). Each of the following dialogue states can be associated with a corresponding one of the predictive measures such that the automated assistant can decide to (i) cause a fulfillment output to be performed, (ii) cause a natural conversational output to be aurally rendered for presentation to the user, or (iii) refrain from performing any dialogue. In this example, if the automated assistant determines (i) to cause a fulfillment output to be performed, the automated assistant can select a fulfillment output from among multiple fulfillment outputs and cause it to be performed (e.g., an assistant command associated with turning on the TV, turning on the lights, playing music, etc.). Further, if the automated assistant (ii) determines to have a natural conversational output audibly rendered for presentation to the user, the automated assistant may select a natural conversational output from among a plurality of natural conversational outputs and have it audibly rendered (e.g., "What would you like me to turn on?", "Are you still there?", etc.). Further, if the automated assistant (iii) determines to refrain from conducting any dialogue, the automated assistant may continue to process the stream of audio data.
[0009] In this example, further assume that the current point in the dialog session corresponds to 2 seconds after the user finishes providing the "uhmmm" portion of the utterance "turn on the... the uhmmm...". For the current point in time, the corresponding predictive measurement associated with the next dialog state may indicate that the automated assistant should refrain from conducting any dialogue. In other words, even though the user appears to have temporarily stopped speaking, the automated assistant has not determined with sufficient confidence which fulfillment output to conduct and should provide additional time for the user to gather their thoughts and identify what exactly it is that the user intended to turn on. However, further assume that an additional 5 seconds pass. At this subsequent point in time, the audio-based features may indicate that 7 seconds have passed since the user last spoke, and the current state can be updated based at least in part on the audio-based features. Thus, for this subsequent time point, the corresponding predictive measurement associated with the next dialogue state may indicate that the automated assistant should aurally render a natural conversational output of "What would you like me to turn on?" to present to the user in order to re-engage the user in the dialogue session. In other words, even if the user has finished speaking and the automated assistant has not yet determined a fulfillment output to perform with sufficient confidence, the automated assistant can prompt the user to move the dialogue session forward and return to what the user previously indicated he or she wanted to do (e.g., turn something on). Further assume that the user provides an additional utterance of "oh, the television." At this still further subsequent time point, the stream of data may be updated to indicate that the user intends to turn on the television, and the current state can be updated based on the updated stream of data.Thus, at this further time point, the corresponding predictive measurement associated with the next dialogue state may indicate that the automated assistant should cause the television to be turned on (and, optionally, cause a synthetic voice to be audibly rendered indicating that the automated assistant should cause the television to be turned on). In other words, at this further time point, the automated assistant has determined a fulfillment output with sufficient confidence to be implemented.
[0010] In some implementations, the stream of NLU data can be processed by multiple agents to generate a stream of fulfillment data. A set of fulfillment outputs can be generated based on the stream of fulfillment data, and the fulfillment output can be selected from the set of fulfillment outputs based on predicted NLU measurements associated with the stream of NLU data and / or predicted fulfillment measurements associated with the stream of fulfillment data. In some implementations, only one fulfillment output can be implemented as the next dialogue state, while in other implementations, multiple fulfillment outputs can be implemented as the next dialogue state. As used herein, a "first party" (1P) agent, device, and / or system refers to an agent, device, and / or system that is controlled by the same party as the party that controls the automated assistant referenced herein. In contrast, a "third party" (3P) agent, device, and / or system refers to an agent, device, and / or system that is controlled by a party that is different from the party that controls the automated assistant referenced herein, but that can be communicatively coupled to one or more 1P agents, devices, and / or systems.
[0011] In some variations of those implementations, the multiple agents include one or more 1P agents. Continuing with the above example, at the current point in the dialogue session (e.g., 2 seconds after the user finishes providing the "hmm" portion of the utterance "Turn on ... hmm..."), the stream of fulfillment data can be processed by a 1P music agent for generating a fulfillment output associated with an assistant command that, when executed, causes music to play, a 1P video streaming service agent for generating a fulfillment output associated with an assistant command that, when executed, causes a video streaming service to be turned on, a 1P smart device agent for generating a fulfillment output associated with an assistant command that, when executed, causes one or more 1P smart devices to be controlled, and the like. In this example, the stream of fulfillment data can be sent to the 1P agent via an application programming interface (API). In additional or alternative variations of those implementations, the multiple agents include one or more 3P agents. The fulfillment output generated by the 3P agent can be similar to that generated by the 1P agent, but generated by the 3P agent. In this example, a stream of fulfillment data can be sent via an application programming interface (API) over one or more networks to a 3P agent, which can send fulfillment outputs back to the client device. Each of the fulfillment outputs generated by multiple agents (e.g., 1P agents and / or 3P agents) can be aggregated as a set of fulfillment outputs.
[0012] Although the above examples are described with respect to a set of fulfillment outputs of assistant commands, it should be understood that this is for purposes of example and not meant to be limiting. In some implementations, the set of fulfillment outputs may additionally or alternatively include instances of synthesized speech audio data that may include corresponding synthesized speech and be audibly rendered for presentation to the user via one or more of the speakers of the client device. For example, assume that the user instead provides an utterance of "set a timer for 15 minutes" during the dialogue session. Further assume that the predictive measurements associated with the stream of NLU data and / or the predictive measurements associated with the stream of fulfillment data indicate that the user said either 15 minutes or 50 minutes. In this example, the stream of fulfillment data can be processed by the 1P timer agent to generate a first fulfillment output associated with a first assistant command to set a 15-minute timer, a second fulfillment output associated with a second assistant command to set a 50-minute timer, a third fulfillment output associated with a first instance of synthesized voice audio data confirming the assistant command to be executed (e.g., "the timer is set for 15 minutes"), a fourth fulfillment output associated with a first instance of synthesized voice audio data requesting disambiguation of the assistant command to be executed (e.g., "is that timer for 15 minutes or 50 minutes"), and so on.
[0013] In this example, the automated assistant can select one or more of the fulfillment outputs from among a set of fulfillment outputs to be performed based on predicted NLU measurements associated with the stream of NLU data and / or predicted fulfillment measurements associated with the stream of fulfillment data. For example, assume that the predicted measurements meet both a first threshold measurement and a second threshold measurement, indicating a very high confidence that the user said "set a timer for 15 minutes." In this example, the automated assistant can cause a first fulfillment output associated with a first assistant command to set a timer for 15 minutes to be performed without audibly rendering any instances of synthetic speech for presentation to the user. In contrast, assume that the predicted measurements meet the first threshold measurement but do not meet the second threshold measurement, indicating a medium confidence that the user said "set a timer for 15 minutes." In this example, the automated assistant may cause a first fulfillment output associated with a first assistant command to set a timer for 15 minutes to be performed, and may also cause a third fulfillment output associated with a first instance of synthesized voice audio data confirming the assistant command to be executed (e.g., "the timer was set for 15 minutes"). This provides an opportunity for the automated assistant to correct the user if incorrect. However, assume that the predicted measurement does not meet both the first and second threshold measurements, indicating a low confidence that the user said "set the timer for 15 minutes." In this example, the automated assistant may cause a fourth fulfillment output associated with a first instance of synthesized voice audio data requesting the user to disambiguate the assistant command (e.g., "is the timer for 15 minutes or 50 minutes"), and the automated assistant may refrain from setting any timers due to the low confidence.
[0014] In some implementations, the set of fulfillment outputs additionally or alternatively includes instances of graphical content that can be visually rendered for presentation to the user via a display of the client device or an additional client device in communication with the client device. Continuing with the timer example above, the stream of fulfillment data can additionally or alternatively be processed by the 1P timer agent to generate a fifth fulfillment output associated with a first graphical content showing a timer set to 15 minutes and a sixth fulfillment output associated with a second graphical content showing a timer set to 50 minutes. Similarly, the automated assistant can select one or more of the fulfillment outputs from among the set of fulfillment outputs to be performed based on predicted NLU measurements associated with the stream of NLU data and / or predicted fulfillment measurements associated with the stream of fulfillment data. For example, assume that the predicted measurements meet the first threshold measurement and / or the second threshold measurement, indicating a very high and / or medium confidence that the user said, "set a timer for 15 minutes." In this example, the automated assistant may additionally or alternatively cause a fifth fulfillment output associated with the first graphical content showing a timer set to 15 minutes to be executed such that a graphical depiction of the timer set to 15 minutes is visually rendered for presentation to the user. In contrast, assume that the predicted measurement does not satisfy both the first threshold measurement and the second threshold measurement, indicating a low confidence that the user said "set a timer for 15 minutes."In this example, the automated assistant may additionally or alternatively cause a fifth fulfillment output associated with a first graphical content showing a timer set to 15 minutes to be performed and a sixth fulfillment output associated with a second graphical content showing a timer set to 50 minutes to be performed such that both a graphical representation of a timer set to 15 minutes and another graphical representation of a timer set to 50 minutes are visually rendered for presentation to the user. Thus, even if the next interaction state indicates that the fulfillment output should be performed, the fulfillment output may be dynamically determined based on the current state.
[0015] In some implementations, the automated assistant can partially fulfill the fulfillment outputs in the set of fulfillment outputs before determining the next dialogue state in which the fulfillment output will be performed. As described above with respect to the first example in which the user provided the utterance "Turn on ..., hmm ...", the set of fulfillment outputs generated by the multiple agents can include a fulfillment output associated with an assistant command that, when performed, plays music, a fulfillment output associated with an assistant command that, when performed, turns on a video streaming service, a fulfillment output associated with an assistant command that, when performed, controls one or more 1P smart devices, etc. In this example, the automated assistant can preemptively establish a connection with a software application (e.g., a music application, a video streaming application) and / or a smart device (e.g., a smart TV, a smart appliance, etc.) in anticipation of a user requesting that the automated assistant perform some action to be performed with respect to the software application (e.g., a music application, a video streaming application) and / or the smart device (e.g., a smart TV, a smart appliance, etc.). As a result, the latency in performing the fulfillment output as the next dialogue state can be reduced.
[0016] In some implementations, a set of natural conversational outputs can be generated based on NLU measurements and / or audio-based features associated with the stream of NLU data, and the natural conversational outputs can be selected from among the set of natural conversational outputs. In some variations of those implementations, a superset of the natural conversational outputs can be stored in one or more databases accessible by the client device, and the set of natural conversational outputs can be generated from the superset of the natural conversational outputs based on NLU measurements and / or audio-based features associated with the stream of NLU data. These natural conversational outputs can be implemented as next dialogue states for the facilitation of the dialogue session, but not necessarily as fulfillments. For example, the natural conversational outputs can include requests for confirmation of an indication that the user wants to continue interacting with the automated assistant (e.g., "Are you there yet?"), requests for the user to provide additional user input for the facilitation of the dialogue session between the user and the automated assistant (e.g., "What did you want to turn on?"), filler speech (e.g., "Sure," "Alright," etc.).
[0017] In some implementations, even if the next dialogue state to be performed refrains from performing the dialogue, the stream of audio data can still be processed using the ASR model to update the stream of ASR output, the stream of NLU output, and / or the stream of fulfillment data. Thus, the current state can be updated iteratively, such that determining the next dialogue state can also occur iteratively during a dialog session. In some variations of those implementations, the automated assistant can additionally or alternatively process the stream of audio data using a voice activity detection (VAD) model to monitor the occurrence of voice activity (e.g., after the user is silent for several seconds). In these implementations, the automated assistant can determine whether the detected occurrence of voice activity is directed to the automated assistant. For example, the updated stream of NLU data can indicate whether this detected voice activity is directed to the automated assistant. If so, the automated assistant can continue to update the stream of fulfillment data and the set of fulfillment outputs.
[0018] In some implementations, the current state of the stream of NLU output, the stream of fulfillment data, and the audio-based features includes a latest instance of NLU output generated based on a most recent utterance of the one or more utterances, a latest instance of fulfillment data generated based on the most recent NLU output, and a latest instance of audio-based features generated based on the most recent utterance. Continuing with the above example, at a current point in time in the dialog session (e.g., 2 seconds after the user has finished providing the "hmm" portion of the utterance "Turn on..., hmm..."), the current state may correspond only to NLU data, fulfillment data, and audio-based features generated based on the "hmm" portion of the utterance. In additional or alternative implementations, the current state of the stream of NLU output, the stream of fulfillment data, and the audio-based features may include one or more historical instances of NLU output generated based on one or more past utterances preceding the most recent utterance, and a latest instance of fulfillment data generated based on one or more historical instances of NLU output. Continuing with the above example, at a current point in time in the dialog session (e.g., 2 seconds after a user finishes providing the "hmm" portion of an utterance "Turn on..., hmm..."), the current state may correspond only to NLU data, fulfillment data, and audio-based features generated based on the "hmm" portion of the utterance, the "turn on" portion of the utterance, and optionally any utterances that occurred before the "turn on" portion of the utterance.
[0019] By using the techniques described herein, one or more technical advantages can be achieved. As one non-limiting example, the techniques described herein enable an automated assistant to participate in a natural conversation with a user during a dialog session. For example, the automated assistant can determine the next dialogue state of a dialog session based on the current state of the dialog session, such that the automated assistant is not limited to turn-based dialog sessions or dependent on determining that the user has finished speaking before responding to the user. Thus, the automated assistant can determine when and how to respond to the user as the user participates in these natural conversations. This results in various technical advantages that conserve computational resources at the client device and allow dialog sessions to be terminated more quickly and efficiently. For example, the automated assistant can wait for more information from the user before attempting to perform any fulfillment on the user's behalf, so that the number of times the automated assistant fails can be reduced. Also, the amount of user input received at the client device can be reduced, so that, for example, the number of times the user must repeat the same thing or re-invoke the automated assistant can be reduced.
[0020] As used herein, a "dialog session" may include a logically self-contained exchange between a user and an automated assistant (or possibly other human participants). The automated assistant may distinguish between multiple dialog sessions with a user based on various signals, such as the passage of time between sessions, changes in user context (e.g., location, before / during / after a scheduled meeting, etc.) between sessions, detection of one or more intervening interactions between the user and the client device other than the dialog between the user and the automated assistant (e.g., the user switches applications for a while, the user walks away, and then returns to a standalone voice-activated product), locking / sleeping the client device between sessions, changes in the client device used to interact with the automated assistant, etc.
[0021] The above description is provided as a summary of only some implementations disclosed herein. These and other implementations are described in more detail herein.
[0022] It should be understood that the techniques disclosed herein can be implemented locally on a client device, remotely by a server connected to the client device via one or more networks, and / or both. [Brief description of the drawings]
[0023] [Figure 1] FIG. 1 is a block diagram of an example environment demonstrating various aspects of the disclosure and in which implementations disclosed herein may be implemented. [Diagram 2] FIG. 2 illustrates an exemplary process flow using various components of FIG. 1 to demonstrate various aspects of the disclosure, according to various implementations. [Figure 3A]FIG. 1 is a flowchart illustrating an example method for determining whether the next dialogue state to be performed during a dialog session will (i) cause a fulfillment output to be performed, (ii) cause a natural conversational output to be audibly rendered for presentation to a user, or (iii) refrain from performing any dialogue, according to various implementations. [Figure 3B] FIG. 1 is a flowchart illustrating an example method for determining whether the next dialogue state to be performed during a dialog session will (i) cause a fulfillment output to be performed, (ii) cause a natural conversational output to be audibly rendered for presentation to a user, or (iii) refrain from performing any dialogue, according to various implementations. [Figure 4] FIG. 1 illustrates non-limiting examples of determining whether the next dialogue state to be implemented during a dialog session (i) causes a fulfillment output to be implemented, (ii) causes a natural conversational output to be audibly rendered for presentation to a user, or (iii) refrains from implementing any dialogue, according to various implementations. [Figure 5A] 1A-1C illustrate various non-limiting examples of performing fulfillment outputs during a dialog session, according to various implementations. [Figure 5B] 1A-1C illustrate various non-limiting examples of performing fulfillment outputs during a dialog session, according to various implementations. [Figure 5C] 1A-1C illustrate various non-limiting examples of performing fulfillment outputs during a dialog session, according to various implementations. [Figure 6] FIG. 1 illustrates an exemplary architecture of a computing device, according to various implementations. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0024] Turning now to FIG. 1 , a block diagram of an example environment is shown that demonstrates various aspects of the disclosure and in which implementations disclosed herein may be implemented. The example environment includes a client device 110 and a natural conversation system 180. In some implementations, the natural conversation system 180 may be implemented locally at the client device 110. In additional or alternative implementations, the natural conversation system 180 may be implemented remotely from the client device 110 as shown in FIG. 1 . In these implementations, the client device 110 and the natural conversation system 180 may be communicatively coupled to each other via one or more networks 199, such as one or more wired or wireless local area networks (such as “LANs” including Wi-Fi LANs, mesh networks, Bluetooth, near field communication, etc.) or wide area networks (such as “WANs” including the Internet).
[0025] The client device 110 may be, for example, one or more of a desktop computer, a laptop computer, a tablet, a mobile phone, a vehicle computing device (e.g., an in-vehicle communication system, an in-vehicle entertainment system, an in-vehicle navigation system), a standalone interactive speaker (optionally having a display), a smart appliance such as a smart television, and / or a user wearable device that includes a computing device (e.g., a user's watch with a computing device, a user's glasses with a computing device, a virtual or augmented reality computing device). Additional and / or alternative client devices may be provided.
[0026] The client device 110 can run an automated assistant client 114. An instance of the automated assistant client 114 can be an application separate from (e.g., installed “on”) the operating system of the client 110, or alternatively can be directly implemented by the operating system of the client device 110. The automated assistant client 114 can interact with a natural conversation system 180 implemented locally on the client device 110, or can interact with the natural conversation system 180 via one or more of the networks 199 as shown in FIG. 1. The automated assistant client 114 (and optionally by interacting with other remote systems (e.g., servers)) can form what appears from the user's perspective to be a logical instance of an automated assistant 115 with which the user can participate in a human-computer dialogue. An instance of the automated assistant 115 is shown in FIG. 1 and is surrounded by a dashed line that includes the automated assistant client 114 and the natural conversation system 180 of the client device 110. Thus, it should be understood that a user engaging with an automated assistant client 114 running on a client device 110 may actually be engaging with the user's own logical instance of the automated assistant 115 (or a logical instance of the automated assistant 115 shared among a household or other group of users). For brevity and simplicity, the automated assistant 115 as used herein refers to the automated assistant client 114 running locally on the client device 110 and / or one or more servers that may implement the natural conversation system 180.
[0027] In various implementations, the client device 110 may include a user input engine 111 configured to detect user input provided by a user of the client device 110 using one or more user interface input devices. For example, the client device 110 may include one or more microphones that capture audio data, such as audio data corresponding to a user's speech or other sounds in the client device's 110 environment. Additionally or alternatively, the client device 110 may include one or more visual components configured to capture visual data corresponding to images and / or movements (e.g., gestures) detected within the field of view of one or more of the visual components. Additionally or alternatively, the client device 110 may include one or more touch-sensing components (e.g., a keyboard and mouse, a stylus, a touch screen, a touch panel, one or more hardware buttons, etc.) configured to capture signals corresponding to touch input directed at the client device 110.
[0028] In various implementations, client device 110 may include a rendering engine 112 configured to provide content for audible and / or visual presentation to a user of client device 110 using one or more user interface output devices. For example, client device 110 may include one or more speakers that enable content to be provided for audible presentation to a user via client device 110. Additionally or alternatively, client device 110 may include a display or projector that enables content to be provided for visual presentation to a user via client device 110.
[0029] In various implementations, the client device 110 may include one or more presence sensors 113 configured to provide a signal indicative of a detected presence, particularly a human presence, with approval from a corresponding user. In some of those implementations, the automated assistant 115 may identify the client device 110 (or another computing device associated with the user of the client device 110) to fulfill the utterance based at least in part on the presence of the user at the client device 110 (or at another computing device associated with the user of the client device 110). The utterance may be fulfilled by rendering response content at the client device 110 and / or other computing devices associated with the user of the client device 110 (e.g., via the rendering engine 112), by causing the client device 110 and / or other computing devices associated with the user of the client device 110 to control, and / or by causing the client device 110 and / or other computing devices associated with the user of the client device 110 to perform any other action to fulfill the utterance. As described herein, the automated assistant 115 can utilize data determined based on the presence sensor 113 in determining which client devices 110 (or other computing devices) the user is near or has recently been near, and provide corresponding commands only to the client devices 110 (or those other computing devices).In some additional or alternative implementations, the automated assistant 115 can utilize data determined based on the presence sensor 113 in determining whether any user (any user or a specific user) is currently in proximity to the client device 110 (or other computing device), and can optionally suppress the provision of data to and / or from the client device 110 (or other computing device) based on the user(s) in proximity to the client device 110 (or other computing device).
[0030] The presence sensor 113 may take a variety of forms. For example, the client device 110 may utilize one or more of the user interface input components described above with respect to the user input engine 111 to detect the presence of a user. Additionally or alternatively, the client device 110 may include other types of light-based presence sensors 113, such as a passive infrared ("PIR") sensor that measures infrared ("IR") light emitted from objects within its field of view.
[0031] Additionally or alternatively, in some implementations, the presence sensor 113 may be configured to detect other phenomena associated with human presence or device presence. For example, in some embodiments, the client device 110 may include a presence sensor 113 that detects various types of wireless signals (e.g., radio, ultrasonic, electromagnetic, etc. waves) emitted by, for example, other computing devices (e.g., mobile devices, wearable computing devices, etc.) carried / operated by a user and / or other computing devices. For example, the client device 110 may be configured to emit waves imperceptible to humans, such as ultrasonic or infrared, that can be detected by other computing devices (e.g., via an ultrasonic / infrared receiver, such as an ultrasound-enabled microphone).
[0032] Additionally or alternatively, the client device 110 may emit other types of non-human-perceptible waves, such as radio waves (e.g., Wi-Fi, Bluetooth, cellular, etc.), that may be detected by other computing devices (e.g., mobile devices, wearable computing devices, etc.) carried / operated by the user and used to determine a particular location of the user. In some implementations, GPS and / or Wi-Fi triangulation may be used to detect a person's location, for example, based on GPS and / or Wi-Fi signals to / from the client device 110. In other implementations, other wireless signal characteristics, such as time of flight, signal strength, etc., may be used, alone or collectively, by the client device 110 to determine a particular person's location based on signals emitted by other computing devices carried / operated by the user.
[0033] Additionally or alternatively, in some implementations, the client device 110 may perform speaker identification (SID) to recognize the user from the user's voice. In some implementations, the speaker's movement may then be determined, for example, by the presence sensor 113 of the client device 110 (and optionally the client device 110's GPS sensor, Soli chip, and / or accelerometer). In some implementations, based on such detected movement, the user's location may be predicted, which may be assumed to be the user's location when any content is rendered on the client device 110 and / or other computing devices, based at least in part on the proximity of the client device 110 and / or other computing devices to the user's location. In some implementations, the user may simply be assumed to be at the location where the user last engaged with the automated assistant 115, especially if not much time has passed since the last engagement.
[0034] Additionally, the client device 110 and / or the natural conversation system 180 may include one or more memories for storing data and / or software applications 198, one or more processors for accessing data and executing the software applications 198, and / or other components for facilitating communication over one or more of the networks 199. In some implementations, one or more of the software applications 198 may be installed locally at the client device 110, while in other implementations, one or more of the software applications 198 may be hosted remotely (e.g., by one or more servers) and accessible by the client device 110 over one or more of the networks 199. Operations performed by the client device 110, other computing devices, and / or the automated assistant 115 may be distributed across multiple computing devices. The automated assistant 115 may be implemented, for example, as a computer program executing on the client device 110 and / or one or more computers in one or more locations coupled to each other via a network (e.g., the network 199 of FIG. 1).
[0035] In some implementations, the operations performed by the automated assistant 115 may be implemented locally at the client 110 via the automated assistant client 114. As shown in FIG. 1, the automated assistant client 114 may include an automatic speech recognition (ASR) engine 120A1, a natural language understanding (NLU) engine 130A1, a fulfillment engine 140A1, and a text-to-speech (TTS) engine 150A1. In some implementations, the operations performed by the automated assistant 115 may be distributed across multiple computer systems, such as when the natural conversation system 180 is implemented remotely from the client device 110 as shown in FIG. 1. In these implementations, the automated assistant 115 may additionally or alternatively utilize the ASR engine 120A2, the NLU engine 130A2, the fulfillment engine 140A2, and the TTS engine 150A2 of the natural conversation system 180.
[0036] Each of these engines may be configured to perform one or more functions. For example, ASR engine 120A1 and / or 120A2 may capture speech and process a stream of audio data generated by a microphone of client device 110 to generate a stream of ASR output using a streaming ASR model (e.g., a recurrent neural network (RNN) model, a transformer model, and / or any other type of ML model capable of performing ASR) stored in machine learning (ML) model database 115A. In particular, the streaming ASR model may be utilized to generate a stream of ASR output as the stream of audio data is generated. Additionally, NLU engine 130A1 and / or 130A2 may process the stream of ASR output using an NLU model (e.g., a long short-term memory (LSTM), a gated recurrent unit (GRU), and / or any other type of RNN or other ML model capable of performing NLU) and / or grammar-based rules stored in ML model database 115A to generate a stream of NLU output. Further, fulfillment engine 140A1 and / or 140A2 can generate a set of fulfillment outputs based on a stream of fulfillment data generated based on the stream of NLU outputs. The stream of fulfillment data can be generated (as described with respect to FIG. 2 ), for example, using one or more first party (1P) agents 171 and / or one or more third party (3P) agents 172. Finally, TTS engine 150A1 and / or 150A2 can process text data (e.g., text devised by automated assistant 115) to generate synthetic speech audio data, including computer-generated synthetic speech, using TTS models stored in ML model database 115A.In particular, the ML models stored in the ML model database 115A may be on-device ML models stored locally within the client device 110 or shared ML models accessible to both the client device 110 and / or a remote system (e.g., a server).
[0037] In various implementations, the stream of ASR output may include, for example, a stream of speech hypotheses (e.g., term hypotheses and / or transcript hypotheses) predicted to correspond to the user's utterance captured in the stream of audio data, one or more corresponding prediction values (e.g., probabilities, log-likelihoods, and / or other values) for each of the speech hypotheses, a number of phonemes predicted to correspond to the user's utterance captured in the stream of audio data, and / or other ASR outputs. In some variations of those implementations, ASR engine 120A1 and / or 120A2 may select one or more of the speech hypotheses as recognized text corresponding to the utterance (e.g., based on the corresponding prediction values).
[0038] In various implementations, the stream of NLU output may include a stream of annotated recognized text, including, for example, one or more annotations of the recognized text for one or more (e.g., all) of the recognized terms. For example, NLU engines 130A1 and / or 130A2 may include a part-of-speech tagger (not shown) configured to annotate terms with their grammatical roles. Additionally or alternatively, NLU engines 130A1 and / or 130A2 may include an entity tagger (not shown) configured to annotate entity references in one or more segments of the recognized text, such as references to people (e.g., including literary characters, celebrities, public figures, etc.), organizations, places (real and fictional). In some implementations, data about entities may be stored in one or more databases, such as a knowledge graph (not shown). In some implementations, the knowledge graph may include nodes representing known entities (and possibly entity attributes), as well as edges connecting the nodes to represent relationships between the entities. The entity tagger may annotate references to entities at a high level of granularity (e.g., to enable identification of all references to an entity class such as a person) and / or at a low level of granularity (e.g., to enable identification of all references to a particular entity such as a particular person). The entity tagger may rely on the content of the natural language input to resolve particular entities and / or may optionally communicate with a knowledge graph or other entity database to resolve particular entities. Additionally or alternatively, NLU engines 130A1 and / or 130A2 may include a coreference resolver (not shown) configured to group or "cluster" references to the same entity based on one or more contextual cues.For example, the coreference resolver may be utilized to resolve the term "them" to "buy theatre tickets" in a natural language input of "buy them" based on the mention of "theatre tickets" in a client device notification rendered immediately prior to receiving the input "buy them." In some implementations, one or more components of NLU engines 130A1 and / or 130A2 may rely on annotations from one or more other components of NLU engines 130A1 and / or 130A2. For example, in some implementations, an entity tagger may rely on annotations from a coreference resolver in annotating all references to a particular entity. Also, for example, in some implementations, a coreference resolver may rely on annotations from an entity tagger in clustering references to the same entity.
[0039] Although FIG. 1 is described with respect to a single client device with a single user, it should be understood that this is for purposes of example and not meant to be limiting. For example, one or more additional client devices of the user can also implement the techniques described herein. For example, the client device 110, one or more additional client devices, and / or any other computing devices of the user can form an ecosystem of devices that can employ the techniques described herein. These additional client devices and / or computing devices can communicate with the client device 110 (e.g., via the network 199). As another example, a given client device can be utilized by multiple users in a shared setting (e.g., a group of users, a household).
[0040] As described herein, the automated assistant 115 can determine, based on the current state of the stream of NLU output, the stream of fulfillment data, and the audio-based features of the speech captured in the stream of audio data from which the stream of NLU output and the stream of fulfillment data are generated, whether the next dialogue state to be implemented during a dialogue session between the user and the automated assistant 115 will (i) cause a fulfillment output to be implemented, (ii) cause a natural conversation output to be audibly rendered for presentation to the user, or (iii) refrain from implementing any dialogue. In making this determination, the automated assistant can utilize the natural conversation engine 160. In various implementations, as shown in FIG. 1, the natural conversation engine 160 can include an acoustic engine 161, a state engine 162, a fulfillment output engine 163, a natural conversation output engine 164, and a partial fulfillment engine 165.
[0041] In some implementations, the acoustic engine 161 can determine audio-based features based on processing the stream of audio data. In some implementations, the acoustic engine 161 can process the stream of audio data to determine the audio-based features using an acoustic ML model stored in the ML model database 115A. In some implementations, the acoustic engine 161 can process the stream of audio data to determine the audio-based features using one or more rules. The audio-based features can include, for example, prosodic features associated with utterances captured in the stream of audio data, a duration that has elapsed since the most recent utterance was provided, and / or other audio-based features. The prosodic features can include, for example, one or more characteristics of syllables and larger speech units, including linguistic features such as intonation, tone, stress, rhythm, tempo, pitch, and pauses. Additionally, the prosodic features can provide an indication of, for example, an emotional state, a form (e.g., a statement, a question, or a command), irony, satire, speaking tone, and / or emphasis. In other words, prosodic features are speech characteristics that do not depend on the individual speech characteristics of a given user, but can be dynamically determined during a dialogue session based on individual utterances and / or combinations of multiple utterances.
[0042] In some implementations, the state engine 162 can determine a current state of the dialog session based on the stream of NLU output, the stream of fulfillment data, and the audio-based features. Additionally, the state engine 162 can determine a next dialogue state to be implemented for the facilitation of the dialog session based on the current state of the dialog session. The next dialogue state can include, for example, (i) causing the fulfillment output to be implemented, (ii) causing a natural conversational output to be aurally rendered for presentation to the user, or (iii) refraining from implementing any dialogue. In other words, the state engine 162 can analyze signals generated by various components described herein to determine a current state of the dialog and, based on the current state, how the automated assistant 115 should proceed for the facilitation of the dialog session. In particular, the state engine 162 can iteratively (e.g., continuously at 10 Hz, 20 Hz, or other frequencies) update the current state throughout the dialog session based on the stream of NLU output, the stream of fulfillment data, and updates to the audio-based features without waiting for completion of a user or automated assistant response. As a result, the next dialogue state to be performed can be iteratively updated such that it is continually determined how the automated assistant 115 should proceed to further the dialogue session.
[0043] In some implementations, the stream of NLU output, the stream of fulfillment data, and the current state of the audio-based features include a latest instance of the NLU output generated based on a latest utterance of the one or more utterances, a latest instance of the fulfillment data generated based on the latest NLU output, and a latest instance of the audio-based features generated based on the latest utterance. In additional or alternative implementations, the stream of NLU output, the stream of fulfillment data, and the current state of the audio-based features further include one or more historical instances of the NLU output generated based on one or more past utterances preceding the latest utterance, one or more historical instances of the fulfillment data generated based on the one or more historical instances of the NLU output, and one or more historical instances of the audio-based features generated based on the one or more past utterances. Thus, the current state of the dialog session can be determined as a function of the latest utterance and / or one or more previous utterances.
[0044] In various implementations, the state engine 162 can use the classification ML model stored in the ML model database 115A to determine a next dialogue state based on processing the stream of NLU output, the stream of fulfillment data, and the current state of the audio-based features. The classification ML model can generate corresponding predicted measurements associated with each of the next dialogue states based on processing the stream of NLU output, the stream of fulfillment data, and the current state of the audio-based features. The classification ML model can be trained based on multiple training instances. Each of the training instances can include training instance inputs and training instance outputs. The training instance inputs can include, for example, the training stream of NLU output, the training stream of fulfillment data, and the training state of the training audio-based features, and the training instance outputs can include ground truth outputs associated with whether the automated assistant 115 should (i) perform a fulfillment output, (ii) audibly render a natural conversational output to present to the user, or (iii) refrain from performing any dialogue based on the training instance. The training state may be determined based on past dialog sessions between the user and the automated assistant 115 (and / or other users and their respective automated assistants) or may be defined heuristically. In training the classification ML model, the training instances may be applied as inputs to generate predicted outputs (e.g., corresponding predicted measurements), and the predicted outputs may be compared to ground truth outputs to generate one or more losses. The classification ML model may be updated based on one or more of the losses (e.g., via backpropagation). Once trained, the classification ML model may be deployed for use by state engine 162, as described herein.
[0045] In some implementations, fulfillment output engine 163 can select one or more fulfillment outputs to be performed from among a set of fulfillment outputs in response to determining that the next interaction state to be performed is (i) to cause a fulfillment output to be performed. As described above, fulfillment engine 140A1 and / or 140A2 can generate a set of fulfillment outputs based on a stream of fulfillment data, which can be generated, for example, using one or more of 1P agents 171 and / or one or more of 3P agents 172. It should be understood that while one or more of 1P agents 171 are illustrated in FIG. 1 as being implemented via one or more of networks 199, this is for purposes of example and is not meant to be limiting. For example, one or more of the 1P agents 171 can be implemented locally at the client device 110, and a stream of NLU output can be sent to one or more of the 1P agents 171 via an application programming interface (API), and fulfillment data from one or more of the 1P agents 171 can be retrieved by the fulfillment output engine 163 via the API and incorporated into the stream of fulfillment data. One or more of the 3P agents 172 can be implemented via a corresponding 3P system (e.g., a 3P server). The stream of NLU output can additionally or alternatively be sent to one or more of the 3P agents 172 (and one or more of the 1P agents 171 not implemented locally at the client device 110) via one or more of the networks 199 to cause one or more of the 3P agents 172 to generate fulfillment data.The fulfillment data may be sent over one or more of the networks 199 back to the client device 110 and incorporated into a stream of fulfillment data.
[0046] Further, the fulfillment output engine 163 can select one or more fulfillment outputs from among the set of fulfillment outputs based on an NLU measurement associated with the stream of NLU data and / or a fulfillment measurement associated with the stream of fulfillment data. The NLU measurement can be, for example, a probability, a log-likelihood, a binary value, etc., indicating how confident the NLU engine 130A1 and / or 130A2 is that the predicted intent corresponds to the actual intent of the user who provided the utterance captured in the stream of audio data and / or how confident the predicted slot value of the parameter associated with the predicted intent corresponds to the actual slot value of the parameter associated with the predicted intent. The NLU measurement can be generated when the NLU engine 130A1 and / or 130A2 generates the stream of NLU output and can be included in the stream of NLU output. The fulfillment measurement can be, for example, a probability, a log-likelihood, a binary value, etc., indicating how confident the fulfillment engine 140A1 and / or 140A2 is that the predicted fulfillment output corresponds to the user's desired fulfillment. Fulfillment measurements may be generated and incorporated into the stream of fulfillment data when one or more of the 1P agents 171 and / or one or more of the 3P agents 172 generate fulfillment data and / or may be generated and incorporated into the stream of fulfillment data when fulfillment engines 140A1 and / or 140A2 process fulfillment data received from one or more of the 1P agents 171 and / or one or more of the 3P agents 172.
[0047] In some implementations, the natural conversation output engine 164 can generate a set of natural conversation outputs and can select one or more natural conversation outputs to be implemented from among the set of natural conversation outputs in response to determining that the next dialogue state to be implemented is (ii) to have the natural conversation output aurally rendered for presentation to the user. The set of natural conversation outputs can be generated, for example, based on NLU measurements and / or audio-based features associated with the stream of NLU data. In some variations of those implementations, a superset of the natural conversation outputs can be stored in one or more databases (not shown) accessible by the client device 110, and the set of natural conversation outputs can be generated from the superset of the natural conversation outputs based on NLU measurements and / or audio-based features associated with the stream of NLU data. These natural conversation outputs can be implemented as next dialogue states for the facilitation of the dialog session, but not necessarily as fulfillment. For example, the natural conversation output can include a request for confirmation of an indication that the user wants to continue interacting with the automated assistant 115 (e.g., "Are we there yet?"), a request for the user to provide additional user input to further the dialogue session between the user and the automated assistant 115 (e.g., "What did you want to turn on?"), filler speech (e.g., "Sure," "Alright," etc.). In various implementations, the natural conversation engine 164 can utilize one or more language models stored in the ML model database 115A when generating the natural conversation output.
[0048] In some implementations, the partial fulfillment engine 165 can cause the fulfillment outputs in the set of fulfillment outputs to be partially fulfilled before determining the next interaction state to cause the fulfillment output to be performed. For example, the partial fulfillment engine 165 can establish a connection with one or more of the software applications 198, one or more of the 1P agents 171, one or more of the 3P agents 172, additional client devices in communication with the client device 101, and / or one or more smart devices in communication with the client device 110 associated with the fulfillment output included in the set of fulfillment outputs, can cause synthetic voice audio data including synthetic voice to be generated (but not audibly rendered), can cause graphical content to be generated (but not visually rendered), and / or can perform other partial fulfillment of one or more of the fulfillment outputs. As a result, the latency in causing the fulfillment output to be performed as the next interaction state can be reduced.
[0049] Turning now to Figure 2, an example process flow is shown demonstrating various aspects of the disclosure using various components of Figure 1. ASR engines 120A1 and / or 120A2 can process stream of audio data 201A using streaming ASR models stored in ML model database 115A to generate stream of ASR output 220. NLU engines 130A1 and / or 130A2 can process stream of ASR output 220 using NLU models stored in ML model database 115A to generate stream of NLU output 230. In some implementations, NLU engines 130A1 and / or 130A2 can additionally or alternatively process stream of non-audio data 201B in generating stream of NLU output 230. The stream of non-audio data 201B may include visual data generated by a visual component of the client device 110, a stream of touch input provided by a user via a display of the client device 110, a stream of typed input provided by a display of the client device 110 or a peripheral device (e.g., a mouse and keyboard), and / or other non-audio data. In some implementations, the 1P agent 171 may process the stream of NLU output to generate the 1P fulfillment data 240A. In additional or alternative implementations, the 3P agent 172 may process the stream of NLU output 230 to generate the 3P fulfillment data 240B. The fulfillment engines 140A1 and / or 140A2 may generate the stream of fulfillment data 240 based on the 1P fulfillment data 240A and / or the 3P fulfillment data 240B. Additionally, the acoustic engine 161 may process the stream of audio data 201A to generate audio-based features 261 associated with the stream of audio data 201A.
[0050] The state engine 162 can process the stream of NLU output 230, the stream of fulfillment data 240, and / or the audio-based features to determine the current state 262 and can determine whether the next dialogue state (i) causes a fulfillment output to be performed, (ii) causes a natural conversational output to be audibly rendered for presentation to the user, or (iii) refrains from performing any dialogue, as shown in block 299. For example, the stream of NLU output 230, the stream of fulfillment data 240, and the audio-based features 241 can be processed using a classification ML model to generate predictive measures (e.g., binary values, probabilities, log-likelihoods, etc.). Each of the next dialogue states can be associated with a corresponding one of the predicted measurements such that the state engine 162 can determine whether to (i) cause a fulfillment output to be performed based on a first corresponding one of the predicted measurements, (ii) cause a natural conversational output to be aurally rendered for presentation to the user based on a second corresponding one of the predicted measurements, or (iii) refrain from performing any dialogue based on a third corresponding one of the predicted measurements.
[0051] In this case, if the state engine 162 (i) determines to cause a fulfillment output to be implemented based on the first corresponding predicted measurement, the fulfillment output engine 163 can select one or more fulfillment outputs 263 from among the set of fulfillment outputs, and the one or more fulfillment outputs 263 can be selected and implemented as shown by 280. Furthermore, in this case, if the state engine 162 (ii) determines to cause a natural conversation output to be aurally rendered for presentation to the user based on the second corresponding predicted measurement, the natural conversation output engine 164 can select one or more natural conversation outputs 264 from among the set of natural conversation outputs, and the one or more natural conversation outputs 264 can be aurally rendered for presentation to the user as shown by 280. Furthermore, in this case, if the state engine 162 (iii) determines to refrain from causing any interaction to be implemented based on the third predicted measurement, the automated assistant 115 can refrain from causing any interaction to be implemented as shown by 280. While a particular implementation is described with respect to the process flow of FIG. 2, it should be understood that this is by way of example and is not meant to be limiting.
[0052] By using the techniques described herein, one or more technical advantages can be achieved. As one non-limiting example, the techniques described herein enable an automated assistant to participate in a natural conversation with a user during a dialog session. For example, the automated assistant can determine the next dialogue state of a dialog session based on the current state of the dialog session, such that the automated assistant is not limited to turn-based dialog sessions or dependent on determining that the user has finished speaking before responding to the user. Thus, the automated assistant can determine when and how to respond to the user as the user participates in these natural conversations. This results in various technical advantages that conserve computational resources at the client device and allow dialog sessions to be terminated more quickly and efficiently. For example, the automated assistant can wait for more information from the user before attempting to perform any fulfillment on the user's behalf, so that the number of times the automated assistant fails can be reduced. Also, the amount of user input received at the client device can be reduced, so that, for example, the number of times the user must repeat the same thing or re-invoke the automated assistant can be reduced.
[0053] Turning now to FIG. 3A, a flow chart is shown illustrating an example method 300 for determining whether the next dialogue state to be performed during a dialog session will (i) cause a fulfillment output to be performed, (ii) cause audible rendering to present a natural conversational output to the user, or (iii) refrain from performing any dialogue. For convenience, the operations of method 300 are described with reference to a system that performs the operations. The system of method 300 includes one or more processors, memory, and / or other components of a computing device (e.g., client device 110 of FIG. 1, client device 110A of FIG. 4, client device 110B of FIG. 5A-5C, and / or computing device 610 of FIG. 6, one or more servers, and / or other computing devices). Furthermore, although the operations of method 300 are shown in a particular order, this is not meant to be limiting. One or more operations may be reordered, omitted, and / or added.
[0054] At block 352, the system processes the stream of audio data using the streaming ASR model to generate a stream of ASR output. The stream of audio data can be generated by a microphone of a client device of a user engaged in a dialog session with an automated assistant implemented at least in part at the client device. Additionally, the stream of audio data can capture one or more utterances of the user directed to the automated assistant. In some implementations, the system can process the stream of audio data in response to determining that the user has invoked the automated assistant via one or more specific words and / or phrases (e.g., hot words such as "Hey Assistant", "Assistant", etc.), actuation of one or more buttons (e.g., software buttons and / or hardware buttons), one or more gestures captured by a visual component of the client device that, when detected, invokes the automated assistant, and / or by any other means. At block 354, the system processes the stream of ASR output using the NLU model to generate a stream of NLU output. At block 356, the system generates a stream of fulfillment data based on the stream of NLU output. At block 358, the system determines audio-based features associated with one or more utterances captured in the audio data based on processing the stream of audio data. The audio-based features may include, for example, one or more prosodic features (e.g., intonation, tone, stress, rhythm, tempo, pitch, pauses, and / or other prosodic features) associated with each of the one or more utterances, a duration that has elapsed since the user provided the most recent of the one or more utterances, and / or other audio-based features that may be determined based on processing the stream of audio data.
[0055] In block 360, the system determines a next dialogue state to be performed based on a current state of the stream of NLU output, the stream of fulfillment data, and / or audio-based features associated with one or more utterances captured in the audio data. In some implementations, the current state can be based on the NLU output, the fulfillment data, and / or the audio-based features at a current point in time in the dialog session. In additional or alternative implementations, the current state can be based on the NLU output, the fulfillment data, and / or the audio-based features at one or more previous points in time in the dialog session. Stated differently, the current state can correspond to a state of the dialog session within the context of a most recent utterance provided by the user and / or a state of the entire dialog session as a whole. The system can determine a next dialogue state to be performed based on the current state, for example, using method 360A of FIG. 3B.
[0056] 3B, at block 382, the system can process the stream of NLU output, the stream of fulfillment data, and / or the current state of the audio-based features using the classification ML model to generate corresponding predictive measurements. For example, the system can generate (i) a first corresponding predictive measurement associated with causing the fulfillment output to be implemented, (ii) a second corresponding predictive measurement associated with causing the natural conversational output to be aurally rendered for presentation to the user, and (iii) a third corresponding predictive measurement associated with refraining from implementing any interaction. The corresponding predictive measurements can be, for example, binary values, probabilities, log-likelihoods, etc., indicating the likelihood that one of (i) causing the fulfillment output to be implemented, (ii) causing the natural conversational output to be aurally rendered for presentation to the user, and (iii) refraining from implementing any interaction should be implemented as the next interaction state.
[0057] In block 384, the system can determine, based on the corresponding predictive measurements, whether the next dialogue state will (i) cause a fulfillment output to be performed, (ii) cause a natural conversational output to be audibly rendered for presentation to the user, or (iii) refrain from performing any dialogue.
[0058] If, in the iteration of block 384, the system determines that the next dialogue state is (i) to perform a fulfillment output based on the corresponding predicted measurements, the system may proceed to block 386A. In block 386A, the system selects a fulfillment output from among a set of fulfillment outputs (e.g., as described with respect to the fulfillment output engine 163 of FIG. 1 and FIG. 2) based on the NLU predicted measurements associated with the stream of NLU outputs and / or the fulfillment measurements associated with the stream of fulfillment data. The set of fulfillment outputs can be generated by multiple agents (e.g., as described with respect to the 1P agent 171 and / or the 3P agent 172 of FIG. 1 and FIG. 2). The system may return to block 362 of FIG. 3A to perform the next dialogue state. In other words, the system may perform the fulfillment output selected in block 386A.
[0059] If, in the iteration of block 384, the system determines based on the corresponding prediction measurements that the next dialogue state is (ii) to have the natural dialogue output aurally rendered for presentation to the user, the system may proceed to block 386B. In block 386B, the system selects a natural dialogue output from among a set of natural dialogue outputs based on the NLU prediction measurements associated with the stream of NLU outputs and / or the audio-based features determined in block 360. The set of natural dialogue outputs can be generated based on one or more databases including a superset of natural dialogue outputs (e.g., as described with respect to the natural dialogue output engine 164 of FIG. 1 and FIG. 2). The system may return to block 362 of FIG. 3A to have the next dialogue state performed. In other words, the system may have the natural dialogue output selected in block 386B aurally rendered for presentation to the user.
[0060] If, in an iteration of block 384, the system determines based on the corresponding predictive measurement that the next dialogue state is (iii) to refrain from performing any dialogue, the system may proceed to block 386C. In block 386C, the system refrains from performing any dialogue. The system may return to block 362 of FIG. 3A and allow the next dialogue state to be performed. In other words, the system may allow the automated assistant to continue processing the stream of audio data without taking any action at this given point in the dialogue session.
[0061] In particular, referring back to FIG. 3A, after the system can cause the next dialogue state to be implemented in block 362, the system returns to block 352. In subsequent iterations of block 352, the system continues to process the stream of audio data to continue to generate a stream of ASR output, a stream of NLU data, and a stream of fulfillment data. Additionally, one or more additional audio-based features may be determined based on processing the stream of audio data in this subsequent iteration. As a result, the current state may be updated for this subsequent iteration, and a further next dialogue state may be determined based on the updated current state. In this manner, the current state may be continually updated to continually determine a next dialogue state for the dialog session.
[0062] Turning now to FIG. 4, a non-limiting example of determining whether the next dialogue state to be performed during a dialog session is to (i) perform a fulfillment output, (ii) audibly render a natural conversation output to present to the user, or (iii) refrain from performing any dialogue. The automated assistant can be implemented at least in part in the client device 110A (e.g., the automated assistant 115 described with respect to FIG. 1). The automated assistant can utilize a natural conversation system (e.g., the natural conversation system 180 described with respect to FIG. 1) to determine the next dialogue state. The client device 110A shown in FIG. 4 can include various user interface components including, for example, a microphone for generating audio data based on speech and / or other audible input, a speaker for audibly rendering synthesized speech and / or other audible output, and a display 190A for receiving touch input and / or visually rendering transcription and / or other visual output. It should be understood that the client device 110A shown in FIG. 4 is a mobile device, but this is for purposes of example and is not meant to be limiting.
[0063] 4, the display 190A of the client device 110A includes various system interface elements 191, 192, and 193 (e.g., hardware and / or software interface elements) that can be interacted with by a user of the client device 110A to cause the client device 110A to perform one or more actions. The display 190A of the client device 110A allows the user to interact with the content rendered on the display 190A by touch input (e.g., by directing user input to the display 190A or a portion thereof (e.g., a text entry box 194 or other portion of the display 190A)) and / or by speech input (e.g., by selecting the microphone interface element 195 or by simply speaking without necessarily selecting the microphone interface element 195) (i.e., the automated assistant may monitor one or more specific terms or phrases, gestures, gaze, mouth movement, lip movement, and / or other conditions to activate speech input at the client device 110A).
[0064] For example, assume that a user of client device 110A provides utterance 452, “Assistant, call the office,” to initiate a dialog session. In particular, in initiating the dialog session, the user is requesting that an automated assistant make a call on his or her behalf. The automated assistant can determine a next dialogue state to be implemented to facilitate the dialog session based on a stream of NLU data, a stream of fulfillment data, and / or a current state of an audio-based feature generated based on processing a stream of audio data capturing utterance 452. For example, assume that the automated assistant determines based on the stream of NLU data (e.g., utilized in determining the current state) that utterance 452 is associated with an intent to make a call on behalf of the user and that a slot value of a phone number parameter corresponds to “office.” In this case, the stream of NLU data can be processed by multiple agents (e.g., 1P agent 171 and / or 3P agent 172 of FIG. 1 ) to generate a stream of fulfillment data (e.g., utilized in determining the current state). Further assume that the stream of fulfillment data indicates that there are no contact entries available for the "office" parameter, such that the slot value for the phone number parameter is unresolved.
[0065] In this example, based on at least the stream of NLU data and the stream of fulfillment data, the determined current state may indicate that one or more fulfillment outputs should be implemented as a next dialogue state to facilitate the dialog session. The one or more fulfillment outputs to be implemented may be selected from among a set of fulfillment outputs. The set of fulfillment outputs may include, for example, an assistant command to initiate a call using the contact entry for “office” on behalf of the user, synthesized voice audio data including a synthesized voice requesting more information about the contact entry “office”, and / or other fulfillment outputs. Further, in this example, since the stream of fulfillment data indicates that there is no contact entry available for “office”, the automated assistant may select the next fulfillment output to be implemented as synthesized voice audio data including a synthesized voice requesting more information about the contact entry “office”. Thus, the automated assistant may cause the synthesized voice 454 included in the synthesized voice audio data requesting more information about the contact entry “office” to be audibly rendered for presentation to the user via the speaker of the client device 110A. As shown in FIG. 4, the synthesized speech 454 may include "Sure, what's the phone number."
[0066] Further assume that in response to the synthetic speech 454 being audibly rendered for presentation to the user, the user provides utterance 456, "It's uhhh...," followed by a pause of a few seconds, and utterance 458, followed by another pause of a few seconds. As the user provides utterances 456 and 458, the automated assistant can continue to process the stream of audio data generated by the microphone of client device 110A to iteratively update the current state to determine the next dialogue state to be performed. For example, after the user provides utterance 456 and before the user provides utterance 458, at a given point in the dialogue session, the intonation or tone of speech included in the audio-based features utilized in determining the current state may indicate that the user is unsure about the phone number of the "office" but is attempting to find the phone number. In this example, the automated assistant may decide to refrain from performing any dialogue so that the user is provided time to complete his or her thoughts by finding the phone number. Thus, even if the automated assistant determines that the user has completed utterance 456, the automated assistant may still wait for further information from the user. Furthermore, at a given point in the dialogue session after the user provides utterance 458, the intonation or tone of voice included in the audio-based features utilized in determining the current state may still indicate that the user is unsure about the phone number of the "office". As a result, the automated assistant may still decide to refrain from conducting any dialogue so that the user is provided time to complete his or her thoughts by finding the phone number. However, at a subsequent point in the dialogue session (e.g., a few seconds after the user provides utterance 458), the audio-based features may include the duration since the user provided utterance 458.
[0067] In this example, based on the stream of NLU data and the stream of fulfillment data (e.g., still indicating that an "office" phone number is needed to initiate a call on behalf of the user) and audio-based features indicating that the user is unsure about the phone number and is silent for several seconds, the determined current state may indicate that one or more natural conversational outputs should be implemented as the next dialogue state to further the dialog session. Thus, even if the automated assistant determines that the user has completed utterance 458 at a given time, the automated assistant may still wait for further information from the user such that it is not until this subsequent time (e.g., following the given time) that one or more natural conversational outputs should be implemented as the next dialogue state.
[0068] The one or more natural conversational outputs to be implemented can be selected from among the set of natural conversational outputs. The set of natural conversational outputs can include, for example, synthetic speech audio data including a synthetic speech requesting whether the user wants to gather more information or the user's thoughts, synthetic speech audio data including a synthetic speech requesting whether the user still has a desire to interact with the automated assistant, and / or other natural conversational outputs. Furthermore, in this example, since the stream of fulfillment data indicates that there is no contact entry available for "office" and the audio-based features indicate that the user is unsure about the information associated with the contact entry for "office", the automated assistant can select the next natural conversational output to be audibly rendered for presentation to the user, which should be synthetic speech audio data requesting whether the user wants to gather more information or the user's thoughts. Thus, the automated assistant can have synthetic speech 460 included in the synthetic speech audio data requesting whether the user wants to gather more information or the user's thoughts rendered audibly for presentation to the user via the speaker of the client device 110A. As shown in FIG. 4, the synthetic speech 460 can include "Do you need more time?"
[0069] Further assume that in response to the synthetic speech 460 being audibly rendered for presentation to the user, the user provides an utterance 462 of "Yes" and causes the automated assistant to audibly render a synthetic speech 464 of "Okay" for presentation to the user to confirm the user's desire for a delay of more time. In some implementations, even if the user invokes a delay (e.g., by providing an utterance of "Can you give me some time to find it?"), the automated assistant may continue to process the stream of audio data to update the current state, but may determine that the next dialogue state to be performed corresponds to refraining from performing any dialogue for a threshold duration (e.g., 10 seconds, 15 seconds, 30 seconds, etc.) unless the user indicates further input (e.g., voice input, touch input, and / or typing input) to the automated assistant. In additional or alternative implementations, even if the user invokes a delay, the automated assistant may continue to process the stream of audio data to update the current state, but may determine the next dialogue state to be performed regardless of the delay.
[0070] For example, assume further that 15 seconds have elapsed since the user provided utterance 462, as indicated by 466, and further assume that voice activity has been detected, as indicated by 468. In this example, the automated assistant can determine that the voice activity has been detected by processing the stream of audio data using a VAD model. Furthermore, the automated assistant can determine whether the detected voice activity is directed to the automated assistant based on an updated stream of NLU data generated based on the stream of audio data capturing the voice activity. Assuming that the voice activity is indeed directed to the automated assistant, the automated assistant can determine the next dialogue state to be performed based on the current state and cause the next dialogue state to be performed. However, assuming that the voice activity is not directed to the automated assistant, as described with respect to FIG. 4, the audio-based features have determined that voice activity not directed to the automated assistant has been detected based on processing the stream of audio data, and that the duration since the user last provided an utterance to the automated assistant is 15 seconds (or some other duration that may meet the threshold duration). Thus, at this point, the automated assistant may determine that one or more natural conversational outputs should be implemented as the next dialogue state to prompt the user. For example, the automated assistant may trigger a synthetic voice 470 included in the synthetic voice audio data requesting that the user indicate a desire to continue interacting with the automated assistant. As shown in FIG. 4, the synthetic voice 470 may include "Still there?" as a prompt for the user to indicate a desire to continue the dialogue session with the automated assistant.
[0071] Further assume that the user provides utterance 472, "Yes, the number is 123-456-7890," in response to the synthesized speech 470. At this point, the automated assistant can update the current state based on the stream of audio data capturing the utterance 472. For example, the stream of NLU output can be updated to indicate the slot value of the phone number parameter (e.g., "123-456-7890"). As a result, the stream of fulfillment data can be updated to indicate that a call to "office" can be initiated. Thus, at this point, based on the updated current state, the automated assistant can cause the fulfillment output to be performed. The fulfillment output to be performed in this example can include an assistant command to initiate a call with "the office" on behalf of the user (e.g., a phone number of "123-456-7890") and can optionally include a synthesized voice 474 saying "Alright, calling the office now" to provide an indication to the user that the call is being initiated. Thus, in the example of FIG. 4, the automated assistant can iteratively determine the next dialogue state to be performed to further the dialogue session, rather than simply responding to each utterance as in a turn-based dialogue session.
[0072] Notably, the call is not initiated until the point in the dialog session associated with the synthesized speech 474, although the automated assistant may have the assistant command to initiate the call partially fulfilled prior to this point. For example, the automated assistant may establish a connection with a phone application running in the background of the client device in response to receiving the utterance 452 (or at another point in the dialog session) to reduce latency in the call that is initiated when the user finally provides a slot value for the phone number parameter (e.g., as described with respect to partial fulfillment engine 165 of FIG. 1). Additionally, while the dialog session is shown as transcribed through an automated assistant application, it should be understood that this is by way of example and not meant to be limiting.
[0073] 5A, 5B, and 5C, various non-limiting examples of having fulfillment output performed during a dialog session are shown. The automated assistant can be implemented at least in part in the client device 110B (e.g., the automated assistant 115 described with respect to FIG. 1). The automated assistant can utilize a natural conversation system (e.g., the natural conversation system 180 described with respect to FIG. 1) to determine the fulfillment output to be performed, assuming that the automated assistant determines the fulfillment to be performed as the next dialog state. The client device 110B shown in FIGS. 5A, 5B, and 5C can include various user interface components, including, for example, a microphone for generating audio data based on speech and / or other audible input, a speaker for audibly rendering synthesized speech and / or other audible output, and a display 190B for receiving touch input and / or visually rendering transcription and / or other visual output. Although the client device 110B shown in FIGS. 5A, 5B, and 5C is a standalone interactive speaker having a display 190B, it should be understood that this is for purposes of example and is not meant to be limiting.
[0074] 5A, 5B, and 5C, assume that the user 101 provides the utterance 552, "Assistant, set a timer for 15 minutes." Further assume that the automated assistant's determination of the next dialogue state to be implemented causes one or more fulfillment outputs to be implemented based on a current state of the stream of NLU output, the stream of fulfillment data, and / or the audio-based features generated based on processing the stream of audio data capturing the utterance 552. However, in these examples, the one or more fulfillment outputs implemented by the automated assistant may vary based on NLU measurements associated with the stream of NLU data utilized in determining the current state and / or fulfillment measurements associated with the stream of fulfillment data utilized in determining the current state.
[0075] 5A , further assume that the NLU measurements, the fulfillment measurements, and / or some combination of the NLU measurements and the fulfillment measurements (e.g., an average of the measurements, a minimum of the measurements, etc.) indicate that the automated assistant is highly confident that the user has indicated a desire to set a 15-minute timer. For example, assume that the NLU measurements and / or the fulfillment measurements meet a first threshold measurement and a second threshold measurement (or, when considered individually, the respective first threshold measurement and the respective second threshold measurement). Thus, the NLU measurements, together with the slot value of the 15-minute duration parameter, can indicate this high confidence in the intent associated with setting the timer, and the fulfillment measurements can indicate this high confidence in the assistant command to set a 15-minute timer. As a result, the automated assistant can select a fulfillment output of 1) implementing an assistant command to set a 15-minute timer, 2) implementing graphical content to be provided for visual presentation to the user as indicated by the 15-minute timer shown in display 190B, and / or 3) implementing a synthesized voice 554A saying, "Okay, I set a timer for 15-one five-minutes."
[0076] With specific reference to FIG. 5B, further assume that the NLU measurement, the fulfillment measurement, and / or some combination of the NLU measurement and the fulfillment measurement (e.g., an average of the measurements, a minimum of the measurements, etc.) indicates that the automated assistant is moderately confident that the user indicated a desire to set a 15-minute timer. For example, assume that the NLU measurement and / or the fulfillment measurement meet a first threshold measurement but do not meet a second threshold measurement (or meet the respective first threshold measurement but do not meet the respective second threshold measurement when considered individually). Thus, the NLU measurement can indicate this moderate confidence in the intent associated with setting a timer, together with the slot value of the 15-minute duration parameter (however, the slot value of the 50-minute duration parameter should also be considered), and the fulfillment measurement can indicate this moderate confidence in the assistant command to set a 15-minute timer (however, the assistant command to set a 50-minute timer should also be considered). As a result, the automated assistant can select a fulfillment output of 1) implementing graphical content to be provided for visual presentation to the user as indicated by the 15-minute timer shown on display 190B, and / or 2) implementing a synthesized voice 554B saying, "Okay, you want a timer for 15 minutes, not 50 minutes, right?" In this example, the automated assistant may not implement the assistant command to set the timer to 15 minutes until the user confirms that the timer should be set to 15 minutes, not 50 minutes, although the assistant command may already be partially fulfilled (as indicated by implementing graphical content to be provided for visual presentation to the user).
[0077] 5C , further assume that the NLU measurements, the fulfillment measurements, and / or some combination of the NLU measurements and the fulfillment measurements (e.g., an average of the measurements, a minimum of the measurements, etc.) indicate that the automated assistant is not confident that the user has indicated a desire to set a 15-minute timer. For example, assume that the NLU measurements and / or the fulfillment measurements fail to meet both the first and second threshold measurements (or, when considered individually, the respective first and respective second threshold measurements). Thus, the NLU measurements, along with the slot values of the duration parameter of 15 minutes or 50 minutes, can indicate this low confidence in the intent associated with setting the timer, and the fulfillment measurements can indicate this low confidence in the assistant command to set a 15-minute or 50-minute timer. As a result, the automated assistant may select a fulfillment output of 1) implementing graphical content to be provided for visual presentation to the user as indicated by both the 15-minute timer and the 50-minute timer shown in display 190B, and / or 2) implementing a synthesized voice 554C of "A timer, sure, but was that 15 minutes or 50 minutes?" In this example, the automated assistant may not implement an assistant command to set the timer to 15 or 50 minutes until the user confirms that the timer should be set to 15 minutes and not 50 minutes, although the assistant command may already be partially fulfilled (as indicated by implementing graphical content to be provided for visual presentation to the user).
[0078] Thus, even if the automated assistant determines that the next dialogue state to be performed is to perform a fulfillment output (rather than audibly rendering a natural conversational output or refraining from performing a dialogue), the automated assistant can still determine what to include as the fulfillment output. Although FIG. 5A, FIG. 5B, and FIG. 5C are described with respect to a particular fulfillment output being performed based on a particular threshold, it should be understood that this is for example purposes and is not meant to be limiting. For example, multiple additional or alternative thresholds can be utilized to determine the fulfillment output to be performed. Also, for example, the fulfillment output may differ from that shown. For example, referring back to FIG. 4, the automated assistant may simply set the timer for the user to 15 minutes without providing synthetic speech 554A because the automated assistant is highly confident that the user has indicated a desire to set the timer to 15 minutes.
[0079] 6, there is shown a block diagram of an example computing device 610 that may optionally be utilized to perform one or more aspects of the techniques described herein. In some implementations, one or more of the client devices, cloud-based automated assistant components, and / or other components may comprise one or more components of the example computing device 610.
[0080] Computing device 610 typically includes at least one processor 614 that communicates with a number of peripheral devices via a bus subsystem 612. These peripheral devices may include, for example, a storage subsystem 624, including a memory subsystem 625 and a file storage subsystem 626, user interface output devices 620, user interface input devices 622, and a network interface subsystem 616. The input and output devices allow a user to interact with the computing device 610. The network interface subsystem 616 provides an interface to external networks and is coupled to corresponding interface devices in other computing devices.
[0081] The user interface input devices 622 may include a keyboard, a pointing device such as a mouse, a trackball, a touchpad, or a graphics tablet, a scanner, a touch screen integrated into a display, an audio input device such as a voice recognition system, a microphone, and / or other types of input devices. In general, use of the term "input device" is intended to include all possible types of devices and methods for inputting information into a computing device or communications network.
[0082] The user interface output devices 620 may include a display subsystem, a printer, a fax machine, or a non-visual display such as an audio output device. The display subsystem may include a flat panel device such as a cathode ray tube (CRT), a liquid crystal display (LCD), a projection device, or some other mechanism for creating a visible image. The display subsystem may also provide a non-visual display, such as via an audio output device. In general, use of the term "output device" is intended to include all possible types of devices and methods for outputting information from the computing device 610 to a user or to another machine or computing device.
[0083] Storage subsystem 624 stores programming and data structures that provide the functionality of some or all of the modules described herein. For example, storage subsystem 624 may include logic for performing selected aspects of the methods disclosed herein, as well as for implementing the various components illustrated in FIGS. 1 and 2.
[0084] These software modules are generally executed by the processor 614 alone or in combination with other processors. The memory 625 used within the storage subsystem 624 may include several memories, including a main random access memory (RAM) 630 for storing instructions and data during program execution, and a read-only memory (ROM) 632 in which fixed instructions are stored. The file storage subsystem 626 may provide persistent storage for program and data files and may include a hard disk drive, a floppy disk drive with associated removable media, a CD-ROM drive, an optical drive, or a removable media cartridge. Modules implementing the functionality of a particular implementation may be stored by the file storage subsystem 626 within the storage subsystem 624 or within other machines accessible by the processor 614.
[0085] The bus subsystem 612 provides a mechanism for allowing the various components and subsystems of the computing device 610 to communicate with each other as intended. Although the bus subsystem 612 is shown diagrammatically as a single bus, alternative implementations of the bus subsystem 612 may use multiple buses.
[0086] The computing device 610 can be of various types, including a workstation, a server, a computing cluster, a blade server, a server farm, or any other data processing system or computing device. Due to the ever-changing nature of computers and networks, the description of the computing device 610 shown in FIG. 6 is intended only as a specific example for purposes of illustrating some implementations. Many other configurations of the computing device 610 can have more or fewer components than the computing device shown in FIG.
[0087] In situations where the systems described herein may collect or otherwise monitor personal information about a user or utilize personal and / or monitored information, the user may be provided with an opportunity to control whether a program or feature collects user information (e.g., information about the user's social network, social actions or activities, occupation, user preferences, or the user's current geographic location) or whether and / or how to receive content from a content server that may be more relevant to the user. Also, certain data may be processed in one or more ways before it is stored or used such that personally identifiable information is removed. For example, the user's identification information may be processed such that personally identifiable information cannot be determined about the user, or the user's geographic location may be generalized where the geographic location information is obtained (such as to the city, zip code, or state level) such that the user's specific geographic location cannot be determined. Thus, the user may have control over how information is collected and / or used about the user.
[0088] In some implementations, a method implemented by one or more processors is provided, comprising: processing a stream of audio data using an automatic speech recognition (ASR) model to generate a stream of ASR output, where the stream of audio data is generated by one or more microphones of a client device, where the stream of audio data captures one or more utterances of a user directed to an automated assistant at least partially implemented in the client device; processing the stream of ASR output using a natural language understanding (NLU) model to generate a stream of NLU output; generating a stream of fulfillment data based on the stream of NLU output; determining audio-based features associated with one or more of the utterances based on the processing of the stream of audio data; determining whether a next dialogue state to be performed is to (i) cause a fulfillment output generated based on the stream of fulfillment data to be performed, (ii) cause a natural conversational output to be audibly rendered for presentation to a user, or (iii) refrain from performing any dialogue; and performing the next dialogue state.
[0089] These and other implementations of the techniques disclosed herein can optionally include one or more of the following features.
[0090] In some implementations, determining whether a next dialogue state to be performed based on a current state of audio-based features associated with one or more of the stream of NLU output, the stream of fulfillment data, and the speech is to (i) perform a fulfillment output generated based on the stream of fulfillment data, (ii) audibly render a natural conversational output for presentation to the user, or (iii) refrain from performing any dialogue may include processing the current states of the stream of NLU output, the stream of fulfillment data, and the audio-based features using a classification machine learning (ML) model to generate corresponding predicted response measures associated with each of (i) performing a fulfillment output generated based on the stream of fulfillment data, (ii) audibly render a natural conversational output for presentation to the user, and (iii) refrain from performing any dialogue, and determining whether a next dialogue state to be performed based on the corresponding predicted response measures is to (i) perform a fulfillment output generated based on the stream of fulfillment data, (ii) audibly render a natural conversational output for presentation to the user, or (iii) refrain from performing any dialogue.
[0091] In some implementations, the method may further include determining a set of fulfillment outputs based on the stream of fulfillment data, and selecting a fulfillment output from among the set of fulfillment outputs based on a predicted NLU measurement associated with the stream of NLU data and / or a predicted fulfillment measurement associated with the stream of fulfillment data.
[0092] In some variations of those implementations, selecting a fulfillment output from among the set of fulfillment outputs may be responsive to determining that the next interaction state to be performed is (i) causing a fulfillment output generated based on the stream of fulfillment data to be performed. Selecting a fulfillment output from among the set of fulfillment outputs based on a predicted NLU measurement associated with the stream of NLU data and / or a predicted fulfillment measurement associated with the stream of fulfillment data may include selecting a first fulfillment output from among the set of fulfillment outputs as the fulfillment output in response to determining that the predicted NLU measurement associated with the stream of NLU data and / or the predicted fulfillment measurement associated with the stream of fulfillment data satisfies both the first threshold measurement and the second threshold measurement.
[0093] In some further variations of those implementations, selecting a fulfillment output from among the set of fulfillment outputs based on a predicted NLU measurement associated with the stream of NLU data and / or a predicted fulfillment measurement associated with the stream of fulfillment data may further include selecting a second fulfillment output from among the set of fulfillment outputs as the fulfillment output in response to determining that the predicted NLU measurement associated with the stream of NLU data and / or the predicted fulfillment measurement associated with the stream of fulfillment data meets the first threshold measurement but does not meet the second threshold measurement. The second fulfillment output may be different from the first fulfillment output.
[0094] In some additional or alternative further variations of those implementations, selecting a fulfillment output from among the set of fulfillment outputs based on a predicted NLU measurement associated with the stream of NLU data and / or a predicted fulfillment measurement associated with the stream of fulfillment data may further include selecting a third fulfillment output from among the set of fulfillment outputs as a fulfillment output in response to determining that the predicted NLU measurement associated with the stream of NLU data and / or the predicted fulfillment measurement associated with the stream of fulfillment data does not satisfy both the first threshold measurement and the second threshold measurement. The third fulfillment output may be different from both the first fulfillment output and the second fulfillment output.
[0095] In some variations of those implementations, determining the set of fulfillment outputs based on the stream of fulfillment data may include processing the fulfillment data to generate corresponding first-party fulfillment outputs using a plurality of third-party agents, and incorporating the corresponding first-party fulfillment outputs into the set of fulfillment outputs. In some further variations of those implementations, determining the set of fulfillment outputs based on the stream of fulfillment data may further include transmitting the fulfillment data from the client device to one or more third-party systems via one or more networks, receiving corresponding third-party fulfillment outputs from the one or more third-party systems at the client device via one or more of the networks, and incorporating the corresponding third-party fulfillment outputs generated using the plurality of first-party verticals into the set of fulfillment outputs. Transmitting the fulfillment data to one or more of the third-party systems causes each of the third-party systems to process the fulfillment data using a corresponding third-party agent to generate corresponding third-party fulfillment outputs.
[0096] In some variations of those implementation forms, the methods may further include initiating partial fulfillment for one or more of the fulfillment outputs in the set of fulfillment outputs before causing any synthetic audio corresponding to the fulfillment outputs generated based on the stream of fulfillment data to be audibly rendered through one or more speakers of the client device, where the partial fulfillment is specific to each of the fulfillment outputs in the set of fulfillment outputs.
[0097] In some implementations, the fulfillment output may include one or more of synthetic speech audio data including synthetic speech corresponding to the fulfillment output to be audibly rendered for presentation to a user via one or more of the speakers of the client device, graphical content corresponding to the fulfillment output to be visually rendered for presentation to a user via a display of the client device or an additional client device in communication with the client device, or assistant commands corresponding to the fulfillment output that, when executed, cause an automated assistant to control the client device or an additional client device in communication with the client device.
[0098] In some implementations, the method may further include maintaining a set of natural conversational outputs in one or more databases accessible by the client device, and selecting a natural conversational output from among the set of natural conversational outputs based on at least audio-based features associated with one or more of the utterances. In some variations of those implementations, selecting a natural conversational output from among the set of natural conversational outputs may be responsive to determining that the next dialogue state to be performed is (ii) having the natural conversational output aurally rendered for presentation to the user. Selecting a natural conversational output from among the set of natural conversational outputs may include selecting a first natural conversational output from among the set of natural conversational outputs as the natural conversational output based on the predictive measures associated with the NLU outputs and the audio-based features associated with one or more of the utterances. In some further variations of those implementations, selecting a natural conversational output from among the set of natural conversational outputs may further include selecting a second natural conversational output from among the set of natural conversational outputs as the natural conversational output based on the predictive measures associated with the NLU outputs and the audio-based features associated with one or more of the utterances. The second natural conversational output may differ from the first natural conversational output.
[0099] In some implementations, the method may further include, in response to determining that the next dialogue state to be performed is (iii) to refrain from performing any dialogue, processing the stream of audio data to monitor the occurrence of voice activity using a voice activity detection model, and in response to detecting the occurrence of voice activity, determining whether the occurrence of voice activity is directed to an automated assistant. In some variations of those implementations, determining whether the occurrence of voice activity is directed to an automated assistant may include: processing the stream of audio data using an ASR model to continue to generate a stream of ASR output; processing the stream of ASR output using an NLU model to continue to generate a stream of NLU output; and determining whether the occurrence of voice activity is directed to an automated assistant based on the stream of NLU output. In some further variations of those implementations, the method may further include, in response to determining that the occurrence of voice activity is directed to an automated assistant, continuing to generate a stream of fulfillment data based on the stream of NLU output, and updating a set of fulfillment outputs from which a fulfillment output is selected based on the stream of fulfillment data. In further variations of these implementations, the method may further include, in response to determining that the generation of voice activity is not directed to the automated assistant, determining whether a threshold duration has elapsed since the user provided one or more utterances, and, in response to determining that a threshold duration has elapsed since the user provided one or more utterances, determining that the next dialogue state to be implemented is (ii) to have a natural conversational output audibly rendered for presentation to the user.In yet another variation of those implementations, the natural conversational output to be audibly rendered for presentation to the user via one or more of the speakers of the client device may include one or more of an indication of a desire to continue interacting with the automated assistant, or a request that the user provide additional user input to further the dialog session between the user and the automated assistant.
[0100] In some implementations, the audio-based features associated with one or more of the utterances may include one or more prosodic features associated with each of the one or more utterances, where the one or more prosodic features include one or more of intonation, tone, stress, rhythm, tempo, pitch, and pauses, or one or more durations that have elapsed since the user provided a most recent one of the one or more utterances.
[0101] In some implementations, the current state of the audio-based features associated with one or more of the stream of NLU output, the stream of fulfillment data, and the speech may include a latest instance of the NLU output generated based on a latest one of the one or more utterances, a latest instance of the fulfillment data generated based on the latest NLU output, and a latest instance of the audio-based features generated based on the latest speech. In some variations of those implementations, the current state of the audio-based features associated with one or more of the stream of NLU output, the stream of fulfillment data, and the speech may further include one or more historical instances of the NLU output generated based on one or more past utterances preceding the latest utterance, one or more historical instances of the fulfillment data generated based on the one or more historical instances of the NLU output, and one or more historical instances of the audio-based features generated based on the one or more past utterances.
[0102] In some implementations, a method implemented by one or more processors is provided, comprising: processing a stream of automatic speech recognition (ASR) output using an ASR model, where a stream of audio data is generated by one or more microphones of a client device, the stream of audio data capturing one or more utterances of a user directed to an automated assistant implemented at least partially at the client device; processing the stream of ASR output using a natural language understanding (NLU) model to generate a stream of NLU output; generating a stream of fulfillment data based on the stream of NLU output; and determining audio-based features associated with one or more of the utterances based on processing the stream of audio data. the step of: determining, based on a current state of audio-based features associated with one or more of the stream of NLU output, the stream of fulfillment data, and the speech, (i) when to cause synthetic speech audio data, including synthetic speech, to be audibly rendered for presentation to a user and (ii) what to include in the synthetic speech; in response to determining to cause the synthetic speech audio data to be audibly rendered for presentation to a user, causing the synthetic speech audio data to be audibly rendered via one or more speakers of the client device; and in response to determining not to cause the synthetic speech audio data to be audibly rendered for presentation to a user, refraining from audibly rendering the synthetic speech audio data via the one or more speakers of the client device.
[0103] In addition, some implementations include one or more processors (e.g., a central processing unit (CPU), a graphics processing unit (GPU), and / or a tensor processing unit (TPU)) of one or more computing devices, the one or more processors operable to execute instructions stored in associated memory, the instructions configured to cause performance of any of the aforementioned methods. Some implementations also include one or more non-transitory computer-readable storage media that store computer instructions executable by the one or more processors to perform any of the aforementioned methods. Some implementations also include a computer program product including instructions executable by the one or more processors to perform any of the aforementioned methods. [Explanation of symbols]
[0104] 110 Client Devices 110A Client Device 110B Client Device 111 User Input Engine 112 Rendering Engine 113 Presence Sensor 114 Automated Assistant Client 115 Automated Assistants 115A Machine Learning (ML) Model Database, ML Model Database 120A1 Automatic Speech Recognition (ASR) Engine, ASR Engine 120A2 ASR engine 130A1 Natural Language Understanding (NLU) Engine, NLU Engine 130A2 NLU engine 140A1 Fulfillment Engine 140A2 Fulfillment Engine 150A1 Text to Speech (TTS) Engine, TTS Engine 150A2 TTS engine 160 Natural Conversation Engine 161 Acoustic Engine 162 State Engine 163 Fulfillment Output Engine 164 Natural conversation output engine, natural conversation engine 165 Partial Fulfillment Engine 171 1P Agent 172 3P Agent 180 Natural Conversation System 190A Display 190B Display 191 System Interface Elements 192 System Interface Elements 193 System Interface Elements 194 Text Entry Box 195 Microphone Interface Elements 198 Software Applications 199 Network 201A Stream of audio data 201B Stream of non-audio data 220 Stream of ASR output 230 Streaming NLU Output 240 Stream of Fulfillment Data 240A 1P fulfillment data 240B 3P Fulfillment Data 261 Audio-based Features 262 Current Status 263 Fulfillment Output 264 Natural Conversation Output 452 utterances 454 Synthetic Voice 456 utterances 458 utterances 460 Synthetic Voice 462 utterances 464 Synthetic Voice 470 Synthetic Voice 472 utterances 474 Synthetic Voice 552 utterances 554A Synthetic Voice 554B Synthetic Voice 610 Computing Devices 612 Bus Subsystem 614 processor 616 Network Interface Subsystem 620 User Interface Output Device 622 User Interface Input Devices 624 Memory Subsystem 625 Memory Subsystem 626 File Storage Subsystem 630 Main Random Access Memory (RAM) 632 Read-Only Memory (ROM)
Claims
1. 1. A method implemented by one or more processors, the method comprising: Processing a stream of audio data using an automatic speech recognition (ASR) model to generate a stream of ASR output, the stream of audio data being generated by one or more microphones of a client device, the stream of audio data capturing one or more utterances of a user directed to an automated assistant implemented at least in part on the client device; processing the stream of ASR outputs using a natural language understanding (NLU) model to generate a stream of NLU data; generating a stream of fulfillment data based on the stream of NLU data; determining audio-based features associated with one or more of the utterances based on processing the stream of audio data; a next dialogue state to be implemented based on a current state of the audio-based features associated with one or more of the stream of NLU data, the stream of fulfillment data, and the utterance; (i) performing a fulfillment output generated based on said stream of fulfillment data; or (ii) causing natural speech output to be audibly rendered for presentation to said user; or (iii) refrain from conducting any dialogue; determining whether the processing the stream of NLU data, the stream of fulfillment data, and the current state of the audio-based features using a classification machine learning (ML) model to generate corresponding predicted response measures associated with each of: (i) performing a fulfillment output generated based on the stream of fulfillment data, (ii) audibly rendering a natural conversational output for presentation to the user, and (iii) refraining from performing any interaction; determining, based on the corresponding predicted response measurements, whether the next dialogue state to be performed is to (i) cause a fulfillment output generated based on the stream of fulfillment data to be performed, (ii) cause a natural conversational output to be audibly rendered for presentation to the user, or (iii) refrain from performing any dialogue; performing the next dialogue state; A method comprising:
2. determining a set of fulfillment outputs based on the stream of fulfillment data; selecting the fulfillment output from among the set of fulfillment outputs based on a predicted NLU measure associated with the stream of NLU data and / or a predicted fulfillment measure associated with the stream of fulfillment data; The method of claim 1, further comprising:
3. selecting the fulfillment output from among the set of fulfillment outputs in response to determining that the next interaction state to be performed is (i) causing a fulfillment output generated based on the stream of fulfillment data to be performed, the selecting the fulfillment output from among the set of fulfillment outputs based on the predicted NLU measurement associated with the stream of NLU data and / or the predicted fulfillment measurement associated with the stream of fulfillment data comprising: selecting a first fulfillment output from among the set of fulfillment outputs as the fulfillment output in response to determining that the predicted NLU measurement associated with the stream of NLU data and / or the predicted fulfillment measurement associated with the stream of fulfillment data satisfy both a first threshold measurement and a second threshold measurement; The method of claim 2.
4. selecting the fulfillment output from among the set of fulfillment outputs based on the predicted NLU measurements associated with the stream of NLU data and / or the predicted fulfillment measurements associated with the stream of fulfillment data; selecting a second fulfillment output from among the set of fulfillment outputs as the fulfillment output in response to determining that the predicted NLU measurement associated with the stream of NLU data and / or the predicted fulfillment measurement associated with the stream of fulfillment data meets the first threshold measurement but does not meet the second threshold measurement; the second fulfillment output is different from the first fulfillment output; The method of claim 3.
5. selecting the fulfillment output from among the set of fulfillment outputs based on the predicted NLU measurements associated with the stream of NLU data and / or the predicted fulfillment measurements associated with the stream of fulfillment data; selecting a third fulfillment output from among the set of fulfillment outputs as the fulfillment output in response to determining that the predicted NLU measurement associated with the stream of NLU data and / or the predicted fulfillment measurement associated with the stream of fulfillment data does not satisfy both the first threshold measurement and the second threshold measurement; the third fulfillment output is different from both the first fulfillment output and the second fulfillment output; The method of claim 4.
6. determining the set of fulfillment outputs based on the stream of fulfillment data, processing the fulfillment data using a plurality of third party agents to generate corresponding first party fulfillment outputs; incorporating the corresponding first party fulfillment output into the set of fulfillment outputs; Including, 6. The method according to any one of claims 2 to 5.
7. determining the set of fulfillment outputs based on the stream of fulfillment data, transmitting the fulfillment data from the client device to one or more third party systems over one or more networks, wherein transmitting the fulfillment data to the one or more third party systems causes each of the third party systems to process the fulfillment data using a corresponding third party agent to generate a corresponding third party fulfillment output; receiving, at the client device, the corresponding third-party fulfillment output from the one or more third-party systems via one or more of the networks; incorporating the corresponding third-party fulfillment outputs generated using a plurality of first-party verticals into the set of fulfillment outputs; Further comprising: The method of claim 6.
8. prior to causing any synthesized speech corresponding to the fulfillment output generated based on the stream of fulfillment data to be audibly rendered via one or more speakers of the client device; initiating partial fulfillment for one or more of the fulfillment outputs in the set of fulfillment outputs, the partial fulfillment being specific to each of the fulfillment outputs in the set of fulfillment outputs.
8. The method of any one of claims 2 to 7, further comprising:
9. The fulfillment output comprises: synthetic speech audio data including synthetic speech corresponding to the fulfillment output to be aurally rendered for presentation to the user via one or more of the one or more speakers of the client device; graphical content corresponding to the fulfillment output to be visually rendered for presentation to the user via a display of the client device or an additional client device in communication with the client device; or an assistant command corresponding to the fulfillment output that, when executed, causes the automated assistant to control the client device or an additional client device in communication with the client device; including one or more of 9. The method according to any one of claims 1 to 8.
10. maintaining a set of natural conversational outputs in one or more databases accessible by said client devices; selecting the natural speech output from among the set of natural speech outputs based on the audio-based features associated with at least one or more of the utterances; 10. The method of claim 1, further comprising:
11. selecting the natural conversational output from among the set of natural conversational outputs, in response to determining that the next dialogue state to be performed is (ii) causing a natural conversational output to be aurally rendered for presentation to the user, selecting the natural conversational output from among the set of natural conversational outputs comprising: selecting a first natural conversational output from among the set of natural conversational outputs as the natural conversational output based on predictive measures associated with the NLU data and the audio-based features associated with one or more of the utterances. The method of claim 10.
12. selecting the natural speech output from among the set of natural speech outputs, selecting a second natural conversational output from among the set of natural conversational outputs as the natural conversational output based on the predictive measures associated with the NLU data and the audio-based features associated with one or more of the utterances; the second natural speech output is different from the first natural speech output; The method of claim 11.
13. in response to determining that the next interaction state to be performed is (iii) to refrain from performing any interaction; processing the stream of audio data to monitor occurrences of voice activity using a voice activity detection model; in response to detecting an occurrence of said voice activity; determining whether the generation of the voice activity is directed to the automated assistant; 13. The method of any one of claims 1 to 12, further comprising:
14. determining whether the generation of the voice activity is directed to the automated assistant, processing the stream of audio data using the ASR model to continue to generate the stream of ASR output; processing the stream of ASR output using the NLU model to continue to generate the stream of NLU data; determining whether the occurrence of the voice activity is directed to the automated assistant based on the stream of NLU data; Including, The method of claim 13.
15. In response to determining that the generation of the voice activity is directed to the automated assistant, continuing to generate the stream of fulfillment data based on the stream of NLU data; updating a set of fulfillment outputs from which the fulfillment outputs are selected based on the stream of fulfillment data; 15. The method of claim 14, further comprising:
16. In response to determining that the generation of the voice activity is not directed to the automated assistant, determining whether a threshold duration has elapsed since the user provided the one or more utterances; in response to determining that the threshold duration has elapsed since the user provided the one or more utterances; determining that the next dialogue state to be performed is (ii) causing natural conversational output to be aurally rendered for presentation to the user; 16. The method of claim 14 or 15, further comprising:
17. the natural speech output to be aurally rendered for presentation to the user via one or more of the one or more speakers of the client device; An indication of whether or not you would like to continue interacting with the automated assistant; or A request for the user to provide additional user input to facilitate a dialogue session between the user and the automated assistant. including one or more of The method of claim 16.
18. The audio-based features associated with one or more of the utterances include: one or more prosodic features associated with each of the one or more utterances, the one or more prosodic features including one or more of intonation, tone, stress, rhythm, tempo, pitch, and pauses; or the duration of time since the user provided the most recent of the one or more utterances; including one or more of 18. The method according to any one of claims 1 to 17.
19. 19. The method of claim 1, wherein the current state of the audio-based features associated with one or more of the stream of NLU data, the stream of fulfillment data, and the speech includes a latest instance of the NLU data generated based on a latest utterance of the one or more utterances, a latest instance of the fulfillment data generated based on the latest NLU data, and a latest instance of the audio-based features generated based on the latest speech.
20. 20. The method of claim 19, wherein the current state of the audio-based features associated with one or more of the stream of NLU data, the stream of fulfillment data, and the speech further includes one or more historical instances of the NLU data generated based on one or more past utterances preceding the latest utterance, one or more historical instances of the fulfillment data generated based on the one or more historical instances of the NLU data, and one or more historical instances of the audio-based features generated based on the one or more past utterances.
21. 1. A method implemented by one or more processors, the method comprising: Using an automatic speech recognition (ASR) model, processing a stream of ASR output, where a stream of audio data is generated by one or more microphones of a client device, the stream of audio data capturing one or more utterances of a user directed to an automated assistant implemented at least in part on the client device; processing the stream of ASR outputs using a natural language understanding (NLU) model to generate a stream of NLU data; generating a stream of fulfillment data based on the stream of NLU data; determining audio-based features associated with one or more of the utterances based on processing the stream of audio data; determining, based on a current state of the audio-based features associated with one or more of the stream of NLU data, the stream of fulfillment data, and the utterance, (i) when to cause synthetic speech audio data, including synthetic speech, to be aurally rendered for presentation to the user, and (ii) what to include within the synthetic speech, the determining steps comprising: processing the stream of NLU data, the stream of fulfillment data, and the current state of the audio-based features using a classification machine learning (ML) model to generate corresponding predicted response measures associated with each of: (i) performing a fulfillment output generated based on the stream of fulfillment data, (ii) audibly rendering a natural conversational output for presentation to the user, and (iii) refraining from performing any interaction; determining, based on the corresponding predicted response measurements, whether a next dialogue state to be performed is to (i) perform a fulfillment output generated based on the stream of fulfillment data, (ii) audibly render a natural conversational output for presentation to the user, or (iii) refrain from performing any dialogue; determining the number of times ... in response to determining to cause the synthesized speech audio data to be aurally rendered for presentation to the user; causing the synthesized speech audio data to be audibly rendered via one or more speakers of the client device; in response to determining not to cause the synthesized speech audio data to be audibly rendered for presentation to the user; refraining from audibly rendering the synthesized speech audio data through one or more speakers of the client device; Including, method.
22. At least one processor; When executed, the at least one processor is Processing a stream of audio data using an automatic speech recognition (ASR) model to generate a stream of ASR output, the stream of audio data being generated by one or more microphones of a client device, the stream of audio data capturing one or more utterances of a user directed to an automated assistant implemented at least in part on the client device; processing the stream of ASR outputs using a natural language understanding (NLU) model to generate a stream of NLU data; generating a stream of fulfillment data based on the stream of NLU data; determining audio-based features associated with one or more of the utterances based on processing the stream of audio data; and a next dialogue state to be implemented based on a current state of the audio-based features associated with one or more of the stream of NLU data, the stream of fulfillment data, and the utterance; (i) executing a fulfillment output generated based on said stream of fulfillment data; (ii) causing audibly rendering for presentation to said user natural speech output; or (iii) refrain from conducting any dialogue; and determining whether the processing the stream of NLU data, the stream of fulfillment data, and the current state of the audio-based features using a classification machine learning (ML) model to generate corresponding predicted response measures associated with each of: (i) performing a fulfillment output generated based on the stream of fulfillment data, (ii) audibly rendering a natural conversational output for presentation to the user, and (iii) refraining from performing any interaction; determining, based on the corresponding predicted response measurements, whether the next dialogue state to be performed comprises: (i) causing a fulfillment output generated based on the stream of fulfillment data to be performed; (ii) causing a natural conversational output to be audibly rendered for presentation to the user; or (iii) refraining from performing any dialogue; executing said next dialogue state; A memory for storing instructions for executing the A system comprising:
23. At least one processor; a memory storing a computer program which, when executed, causes said at least one processor to perform operations corresponding to any one of claims 1 to 21; A system comprising:
24. 22. A non-transitory computer readable storage medium storing a computer program that, when executed, causes at least one processor to perform operations corresponding to any one of claims 1 to 21.
Citation Information
Patent Citations
Method, device, and program for command processing
JP2002287793A
Voice interactive apparatus
JP2017021125A
Voice interaction device and automatic interaction method employing voice interaction device
JP2018040897A
Dialogue control device, its method and program
JP2018087847A
Selecting Synthetic Voices for Computer-Based Agents
JP2019535037A
