Generate and / or adapt automated assistant content based on the distance between the user and the automated assistant interface

By using sensors to determine the user's distance and generate appropriate proxy requests, the automated assistant selects a suitable subset when rendering content, solving the problem in the existing technology that it is difficult for users to perceive the output, optimizing resource usage and improving the interactive experience.

CN112204500BActive Publication Date: 2024-09-10GOOGLE LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201880094151.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-05-04
Publication Date
2024-09-10
Estimated Expiration
2038-05-04

AI Technical Summary

Technical Problem

Existing automated assistants usually do not consider the user's distance when rendering user interface output, resulting in the output being too small or insufficient in volume, making it difficult for users to perceive, and may lead to waste and excessive consumption of computing resources.

Method used

By using sensors (such as vision sensors, microphones) to determine the user's distance and generating proxy requests suitable for that distance, the automated assistant selects and renders a suitable subset of content based on the distance metric, providing only user-perceivable content, saving computing and network resources.

Benefits of technology

It improves the interaction experience between users and automated assistants, optimizes the use of computing resources, reduces the consumption of network and storage resources, and avoids invalid rendering output.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112204500B
    Figure CN112204500B
Patent Text Reader

Abstract

Methods, apparatus, systems, and computer-readable media are provided for generating and / or adapting automated assistant content based on a user's distance from an automated assistant interface that renders the automated assistant content. For example, an automated assistant can provide data for rendering by a client device. As the user repositions closer to or farther from the client device, the client device can request additional data. In some embodiments, the request for additional data can identify a distance between the user and the client device. In this way, additional data can be generated or selected based on the distance in the request. Other embodiments can allow the automated assistant to determine an active user from a group of users in an environment, and determine the distance between the active user and the client device so that any rendered content can be customized for the active user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to generating and / or adapting automated assistant content based on the distance between a user and an automated assistant interface. Background Art

[0002] People can engage in human-computer conversations using interactive software applications referred to herein as "automated assistants" (also referred to as "digital agents," "chatbots," "interactive personal assistants," "intelligent personal assistants," "assistant applications," "conversational agents," etc.). For example, people (who may be referred to as "users" when they interact with an automated assistant) may provide commands and / or requests to the automated assistant using spoken natural language input (i.e., utterances) that may in some cases be converted to text and then processed and / or by providing textual (e.g., typed) natural language input. The automated assistant responds to the request by providing responsive user interface output (which may include audible and / or visual user interface output). Summary of the invention

[0003] Applicants have recognized that when an automated assistant is causing user interface output to be rendered for presentation to a user (e.g., in response to a request from a user), the user interface output is typically rendered regardless of the user's distance from the user interface output device that renders the content. As a result, the user may not be able to perceive the user interface output from his / her current location (e.g., the displayed output may be too small and / or the audible output volume may be too low). This may require the user to reposition and provide a user interface input requesting the output to be rendered again. Processing such user interface input and / or rendering the content again may result in excessive consumption of computing resources and / or network resources. In addition, for users with low dexterity, it may be difficult for them to reposition to a location where the user interface input can be perceived. Additionally or alternatively, as a result of rendering the output regardless of the user's distance, the user interface output from the automated assistant may be rendered in a manner that is more computationally expensive than required. For example, the audible output may be rendered at a higher volume than required and / or the displayed output may be displayed via multiple frames for a longer duration than the content of multiple frames displayed via a single frame.

[0004] In addition, applicants have recognized that while user interface output is being rendered, a user may reposition, thereby potentially interrupting the user's ability to perceive further output from the automated assistant. Furthermore, when the automated assistant is causing a particular client device to provide output and the user moves closer to the client device, the user may wish to perceive more of the output due to the user's proximity to the particular interface of the client device. However, because many automated assistants are typically unaware of user distance, they may cause computing resources to be wasted on rendered output that may not be perceived by the user. Furthermore, given the number of ways in which a user may perceive output, computing resources may not be efficiently utilized when the rendered output is not appropriate for a nearby user.

[0005] Embodiments disclosed herein relate to methods, apparatus, and computer-readable media (temporary and non-temporary) for generating and / or adapting automated assistant content based on the distance of at least one user relative to an automated assistant interface that renders automated assistant content. Some embodiments of generating automated assistant content based on the distance of at least one user generate content based on generating an agent request that includes a distance metric based on the currently determined user distance. The current distance of the user can be determined based on signals from one or more sensors, such as a visual sensor (e.g., a single-lens camera, a stereo camera), a dedicated distance sensor (e.g., a laser rangefinder), a microphone (e.g., using beamforming and / or other techniques). In addition, the agent request is submitted to a corresponding agent, and the corresponding agent responds to the agent request with agent data suitable for the distance metric. The automated assistant can then provide the agent data (or a transformation thereof) as content for rendering to the user. Because the content is suitable for the distance metric and is easily perceived by the user at his / her current distance, the user's interaction with the automated assistant can be improved. In addition, the agent data can be a subset of candidate agent data available for the request, wherein the subset is selected by the agent based on the consistency of the subset with the distance metric of the agent request. In these and other ways, instead of all of the candidate proxy data (which would require greater network resources to send), the agent provides only a subset of the candidate proxy data. Furthermore, instead of all of the candidate proxy data (or a transformation thereof), an automated assistant client device rendering the content may receive only a subset of the proxy data (or a transformation thereof). The specific properties of the content suitable for distance metrics can ensure efficient use of computing resources and other hardware resources at a computing device (such as a user device) running the automated assistant. This is at least because the ability to implement an assistant that is not perceived by the user is avoided to potentially high computational costs. For example, network resources (e.g., only a subset is sent to a client device), memory resources at the client device (e.g., only a subset is cached at the client device), and / or processor and / or power resources at the client device (e.g., only a partial or full subset is rendered).

[0006] As a non-limiting example of generating automated assistant content based on the user's distance, assume that the user is 7 feet away from the display of a client device with an assistant interface. Further assume that the user provides a verbal utterance of "local weather forecast". The estimated distance of the user can be determined based on signals from sensors of the client device and / or other sensors of adjacent client devices. The verbal utterance can be processed to generate an agent request (e.g., specifying the intention of "weather forecast" and a location value corresponding to the location of the client device), and a distance metric based on the estimated distance of the user can be included in the agent request. The agent request can be sent to a corresponding agent, and in response, the corresponding agent can return a graphical content including only a graphical representation of a three-day weather forecast for the location. The graphical representation of the three-day weather forecast can be sent to the client device and graphically rendered via the display of the client device. The corresponding agent can select a graphical representation of the three-day weather forecast (e.g., instead of a one-day, five-day or other various weather forecasts) based on the correspondence between the distance metric and the graphical representation of the three-day weather forecast.

[0007] As a variation of this example, assume instead that the user is twenty feet from the display, and provides the same spoken utterance of "local weather forecast." In such a variation, the distance metric included in the proxy request will reflect an estimate of the twenty-foot distance (rather than an estimate of the seven-foot distance), and as a result, the content returned by the proxy in response to the request may include text or audible content conveying the three-day weather forecast for the location, and any graphical content may be excluded. The audible content (or text content or audio that is a text-to-speech conversion of the text content) may be sent to the client device to be audibly rendered via the client device's speakers, without visually rendering any weather-related graphical content. The corresponding proxy may select a three-day text or audible weather forecast (e.g., in lieu of a graphical representation of the weather forecast) based on the correspondence between the distance metric and the three-day text or audible weather forecast.

[0008] As yet another variation of this example, assume instead that the user is twelve feet from the display, and provides the same spoken utterance of "local weather forecast". In such another variation, the distance metric included in the proxy request will reflect an estimate of the twelve-foot distance, and as a result, the content returned by the proxy in response to the request may include text or auditory content conveying a three-day weather forecast for the location - and may also include graphical content conveying only a one-day (i.e., current day) forecast for the location. The audible content (or textual content or audio as a text-to-speech conversion of the textual content) may be sent to the client device to be audibly rendered via a speaker of the client device, and one-day weather graphical content may also be sent to be graphically rendered via a display of the client device. Likewise, the corresponding proxy may select the content to be returned based on the correspondence between the distance metric and the returned content.

[0009] In some embodiments, the automated assistant content rendered by the client device can be additionally or alternatively adapted based on the distance of the user. For example, while the automated assistant is performing a particular automated assistant action, the automated assistant can "switch" between rendering different subsets of candidate automated assistant content, such as a subset of candidate automated assistant content locally available to the client device for rendering the content (e.g., candidate automated assistant content stored in the local memory of the client device). The automated assistant can use a distance metric at a given time in order to select a subset of candidate automated assistant content to be rendered at the client device at a given time. Candidate automated assistant content can be provided to the client device, for example, from a remote device in response to the remote device receiving a request associated with an automated assistant action. The content provided can correspond to automated assistant content that can be adapted by the client device for multiple different locations and / or distances of the user. In this way, as long as the user manipulates according to the corresponding location and / or distance, the automated assistant can adapt the rendering or presentation of the automated assistant content according to changes in the user's location and / or user's distance. When the user moves to a place and / or location (and / or moves near such a place and / or location) that does not correspond to any suitable adaptation of the rendered content, the automated assistant can cause the client device to request additional automated assistant content for the place and / or location. The additional automated assistant content can then be used to render more suitable content at the client device.

[0010] As an example, an automated assistant can perform a routine that includes multiple different actions. The automated assistant can perform the routine in response to a user command (e.g., a spoken word, tapping a user interface element) and / or in response to the occurrence of one or more conditions (e.g., based on detecting the presence of the user, based on being at a certain moment, based on a wake-up alarm that the user turns off). In some embodiments, one of the multiple different actions of the routine can include rendering content corresponding to a podcast. The content can be rendered using data available locally at the client device, and the content can be adapted based on the distance of the user relative to the client device. For example, when the user is at a first distance from the client device, the automated assistant can render a portion of the available data as content limited to audible content. In addition, when the user moves to a second distance shorter than the first distance, the automated assistant can cause the rendered content to be adapted to include video content and / or can cause the audible content to be rendered at a higher volume. For example, the video content can correspond to a video recording of an interview, from which the audio content is derived. The data providing the basis for the audible content and the video content may be sent to the client device in response to initiation of the routine (e.g., by a remote automated assistant component) and / or may be preemptively downloaded by the client device prior to initiating the routine (e.g., at the direction of the automated assistant, based on subscription data or user preferences indicating that the user prefers automatic downloading of such content).

[0011] In these and other ways, rendered content can be adapted for changes in user location and / or user position without having to request additional data each time the user moves. This can reduce latency in adapting rendered content. If the user moves to a location or position that does not correspond to locally available data, the automated assistant can cause the client device to generate a request for additional data and / or the automated assistant can generate a request for additional data. Optionally, the request can include information based on a distance metric. When, in response, the client device receives the additional data (e.g., from a server hosting podcast data), the automated assistant can cause the client device to render content using the additional data and based on the distance data.

[0012] In some embodiments, the client device may preemptively request and / or buffer content in anticipation of a user relocating to a location corresponding to a particular rendered content. For example, a client device may have locally available data corresponding to when the user is between 5 and 10 feet from the client device. When the user is within 5 to 10 feet of the client device, but still moving toward the client device, the client device may render the locally available data and preemptively request additional data. The additional data may correspond to a distance between 2 and 5 feet from the client device, so when the user enters the area between 2 and 5, the client device may render the additional data. This may reduce delays when switching between subsets of data for rendering as the user is moving toward or away from the client device.

[0013] As an example, a user may provide a spoken utterance such as “Assistant, play my song.” In response, the client device may request data related to various distances and, based on the detected distance of the user from the client device, determine content to be rendered based on the detected distance. For example, when the user is 20 feet away from the client device, the client device may render audio-only content and preemptively load album art that is preconfigured to be rendered when the user is less than 20 feet away but greater than 12 feet away. In some embodiments, when the user moves to a location between 20 and 12 feet away, the album art may replace any previous graphical content (e.g., lyrics) at the client device. Alternatively or additionally, when the user is less than 12 feet away and 6 feet away, the client device may cause a video to be rendered and synchronized with any audio being rendered. In some embodiments, the rendered video may be based on data that is not available locally when the user is 20 feet away, but is requested by the client device in response to determining that the user is moving along a trajectory toward the client device. In this way, the requested data will be mutually exclusive with the data provided as a basis for the rendered audio data, and the rendered video will replace any graphical content that would have been rendered before the user reached a distance between 12 and 6 feet from the client device. Further, when the user is less than 6 feet away, the client device can continue to cause the video to be rendered, but can further additionally visually render touchable media controls (e.g., back, pause, and / or forward interactive control elements) that were not rendered before the user was less than 6 feet away.

[0014] In some embodiments, multiple users may be in an environment shared by a client device by accessing an automated assistant. Therefore, determining a distance metric may depend on at least one user that is "active" or otherwise interacting directly or indirectly with the automated assistant. For example, one or more sensors that communicate with a client device may be used to detect whether a user is an active user in a group of multiple people. For example, data generated by the output of a visual sensor (e.g., a camera of a client device) may be processed to determine an active user from a plurality of users based on, for example, the posture, gaze, and / or mouth movement of the active user. As a specific example, a single user may be determined as an active user based on the posture and gaze of a user facing the client device, and based on the posture and gaze of another user not facing the client device. In a specific example, a distance metric may be based on the distance of a determined single user (which may be determined based on the output from a visual sensor and / or the output from other sensors). As another specific example, two users may be determined as active users based on the posture and gaze of two users facing the client device. In such another specific example, a distance metric may be based on the distance of the two determined users (e.g., the average of the two distances).

[0015] Alternatively or additionally, beamforming, speech recognition and / or other techniques may be used to process audible data generated by the output of a transducer (e.g., a microphone of a client device) to identify an active user among multiple users. For example, beamforming may be used to process spoken utterances to estimate the distance of the user providing the spoken utterance, and the user providing the spoken utterance is considered as the active user, and the estimated distance is used as the distance of the active user. Moreover, for example, speech recognition of spoken utterances may be utilized to identify a user profile that conforms to the spoken utterance, and the active user in the captured image may be determined based on the face and / or other features of the active user that conforms to the corresponding features in the user profile. As another example, beamforming may be used to process spoken utterances to estimate the direction of the user providing the spoken utterance, and the active user providing the spoken utterance may be determined based on the direction in which the active user is in the captured image and / or other sensor data. In these and other ways, an active user among multiple users in the environment of a client device may be identified, and content may be generated and / or adapted only for the active user instead of other users in the environment. Thereafter, such information may be used as a basis for user generation and / or adaptation of content. In other embodiments, a voice signature or voice identifier (ID) for a user may be detected and the voice signature and / or voice ID may be processed in conjunction with one or more images from a camera to identify the user's state. For example, audio data collected based on the output of a microphone may be processed to detect voice characteristics and compare the voice characteristics to one or more profiles accessible to an automated assistant. The profile most associated with the voice characteristics may be used to determine how to generate and / or adapt content for the user.

[0016] The above description is provided as an overview of some embodiments of the present disclosure. Further descriptions of these embodiments and other embodiments are described in more detail below.

[0017] In some embodiments, a method implemented by one or more processors is provided, including: receiving a request for an automated assistant to initiate the execution of an action. The automated assistant can be accessed via an automated assistant interface of a client device in communication with a display device and a sensor, and the sensor provides an output indicating the distance of a user relative to the display device. The method further includes determining a distance metric corresponding to an estimated distance of the user relative to the display device based on the output of the sensor. The method further includes identifying an agent for completing the action based on the received request. The agent is accessible to the automated assistant and is configured to provide data to the client device based on the estimated distance of the user relative to the display device. The method further includes, in response to receiving the request and identifying the agent based on the received request, generating an agent request to provide content items to the identified agent to facilitate the action. The agent request identifies the determined distance metric. The method further includes sending the agent request to the agent so that the agent selects a subset of content items for the action based on the correspondence between the subset of candidate content items and the distance metric included in the agent request, wherein the subset of candidate content items is configured to be uniquely rendered at the client device relative to other content items excluded from the subset of content items. The method further includes causing the client device to render the selected subset of candidate content items.

[0018] These and other implementations of the technology disclosed herein may include one or more of the following features.

[0019] In some embodiments, the subset of content items includes a first subset corresponding to a first distance range that includes an estimated distance of the user, and a second subset corresponding to a second distance range. The second distance range excludes the estimated distance and has a common boundary with the first distance range. In these embodiments, causing the client device to render the selected subset of candidate content items includes: causing the client device to initially render only the first subset; and causing the client device to buffer the second subset and then render the second subset in response to determining that the user has moved to a new distance within the second distance range. In some versions of those embodiments, causing the client device to render the second subset includes: causing the client device to replace the first subset with the second subset in response to determining that the user has moved to the new distance. In some of those versions, the second subset may optionally lack any content included in the first subset. In some other versions of those embodiments, the first subset includes audio data, the second subset includes graphics content, causing the client device to initially render only the first subset includes causing the client device to audibly render the audio data, and causing the client device to render the second subset includes causing the client device to render the graphics content and audibly render the audio data. In some of those other versions, the graphical content is an image, or the graphical content is a video rendered in synchronization with the audio data. In some additional or alternative versions, the agent selects the first subset based on a first subset corresponding to a first distance range, the first distance range containing estimated distances of users corresponding to the distance metric, and the agent selects the second subset based on the estimated distances of users within a threshold distance of the second distance range, the second distance range corresponding to the second subset. In still other additional or alternative versions, the method further includes: determining an estimated rate of change of the estimated distance based on an output of the sensor; and including an indication of the estimated rate of change in the agent request. In those other additional or alternative versions, the agent selects the first subset based on a first subset corresponding to a first distance range, the first distance range containing estimated distances of users corresponding to the distance metric, and the agent selects the second subset based on the indication of the estimated rate of change.

[0020] In some embodiments, the user and one or more additional users are in an environment with a client device, and the method further includes determining that the user is a currently active user of the automated assistant. In those embodiments, determining a distance metric corresponding to the estimated distance of the user includes determining a distance metric for the user in place of the one or more additional users in response to determining that the user is the currently active user of the automated assistant. In some of those embodiments, determining that the user is the active user is based on one or both of: an output from a sensor, and an additional output from at least one additional sensor. For example, the sensor or the additional sensor includes a camera, the output or the additional output includes one or more images, and determining that the user is the active user is based on one or both of: a posture of the user determined based on the one or more images, and a gaze of the user determined based on the one or more images.

[0021] In some embodiments, the method further includes, after sending the proxy request to the proxy and causing the client device to render the selected subset of candidate content items: determining a separate distance metric, wherein the separate distance metric indicates that the distance of the user relative to the display device has changed; in response to determining the separate distance metric, generating a separate proxy request to the identified proxy, wherein the separate proxy request includes the separate distance metric; sending the separate proxy request to the proxy to cause the proxy to select a separate subset of candidate content items for the action based on a correspondence between the separate subset of candidate content items and the separate distance metric included in the proxy request; and causing the client device to render the selected separate subset of candidate content items.

[0022] In some implementations, the received request is based on a spoken utterance received at an automated assistant interface and includes audio data embodying a voice signature of a user, and the method further includes: selecting a user profile indicating user preferences associated with proximity-adapted content based on the user's voice signature. In those implementations, the subset of content items is selected based on the user preferences.

[0023] In some implementations, the distance metric is embodied in the received request, or is received separately from the received request.

[0024] In some embodiments, the client device generates a distance metric from the output of the sensor and sends the distance metric in the request or in an additional transmission, and determining the distance metric is performed at the server device. For example, the server device may determine the distance metric based on including the distance metric in the request or in an additional transmission, and may determine the distance metric without directly accessing the output of the sensor.

[0025] In some embodiments, a method implemented by one or more processors is provided, and includes: during an interaction between a user and an automated assistant, rendering first content to facilitate an action previously requested by the user. The automated assistant can be accessed via an automated assistant interface of a client device, and renders the first content based on a first subset of content items stored locally on the client device. The method further includes determining that the user's location has changed from the first location to a second location based on an output of a sensor connected to the client device, and when the client device renders the first content. The method further includes identifying a second subset of content items based on the output of the sensor, and rendering second content from the second subset of content items to facilitate the action. The second subset of content items includes data that is excluded from the first subset of content items and stored locally at the client device. The method further includes rendering the second content based on the identified second subset of content items. The method further includes monitoring subsequent output of the sensor while the client device is rendering the second content; and when the subsequent output of the sensor indicates that the user has relocated to a third location different from the first location and the second location: determining that a third subset of content items is not locally available to the client device, wherein when the user is at the third location, third content is rendered from the third subset of content items; and generating a request for receiving the third subset of content items from a remote server device accessible to the automated assistant.

[0026] These and other implementations of the technology disclosed herein may include one or more of the following features.

[0027] In some embodiments, the third location is closer to the client device than the first location and the second location, and the method further includes: receiving a third subset of content items; and rendering third content based on the third subset of content items. In some of those embodiments, the first content is rendered via a first modality, and the third content is rendered via a second modality different from the first modality. In some versions, rendering the third content includes replacing the second content with the third content, and / or the first modality is an audio modality, and the first content is rendered via one or more speakers connected to the client device, and the second modality is a display modality, and the third content is rendered via a display device connected to the client device.

[0028] In some embodiments, the method further includes receiving a spoken utterance at an automated assistant interface of the client device, and the sensor includes one or more microphones, the one or more microphones being integrated with the automated assistant interface and configured to respond to audible input from the user. In some of those embodiments, the method further includes determining a target application for performing the action and a position of the user relative to the client device based on audio data corresponding to the received spoken utterance.

[0029] In some embodiments, the sensor includes a camera, and the method further includes, when subsequent output of the sensor indicates that the user has repositioned to a third location: based on one or more images captured by the camera, determining whether the user is an active user based on one or more of: a user posture determined based on processing of the one or more images, a gaze direction of the user determined based on processing of the one or more images, a mouth movement of the user determined based on processing of the one or more images, and a gesture of the user detected based on processing of the one or more images.

[0030] In some embodiments, a method implemented by one or more processors is provided, and includes: receiving an automated assistant request sent by a client device including a display device at a remote automated assistant system. The method further includes determining, by the remote automated assistant system and based on the content of the automated assistant request: an automated assistant agent for the automated assistant request, and a user distance metric indicating the current distance between the client device and a user, the user being in an environment with a client device. The method further includes sending, by the remote automated assistant system, an agent request including a user distance metric to the automated assistant agent determined for the automated assistant request. The method further includes, in response to the agent request, receiving, by the remote automated assistant system, a content item suitable for the user distance metric from the automated assistant agent. The method further includes, in response to the automated assistant request, sending the content item suitable for the user distance metric from the remote automated assistant to the client device. Sending the response content causes the client device to render the response content via the display device of the client device.

[0031] These and other implementations of the technology disclosed herein may include one or more of the following features.

[0032] In some embodiments, determining the user distance metric includes determining that the user distance metric satisfies a first distance threshold and a second distance threshold; and the content items include a first subset of content items that are suitable for the first distance threshold and a second subset of content items that are suitable for the second distance threshold. In some versions of those embodiments, the client device is configured to determine the user distance metric and select data for rendering the responsive content from one of the first subset of content items and the second subset of content items. In some of those versions, the client device is further configured to render the responsive content based on the first subset of content items when the user distance metric exclusively satisfies the first distance threshold, and to render the responsive content based on the second subset of content items when the user distance metric exclusively satisfies the second distance threshold. The first subset of content items may include data that embodies a data format omitted from the second subset of content items.

[0033] In some embodiments, a method implemented by one or more processors is provided and includes determining, based on outputs from one or more sensors associated with a client device in the environment, that a given user among multiple users in the environment is a currently active user for an automated assistant accessible via the client device. The method further includes: determining a distance metric corresponding to a distance of the given user relative to the client device based on outputs from the one or more sensors and / or based on additional outputs (from the one or more sensors and / or other sensors). The method may further include causing content customized for the distance of the given user to be rendered by the client device. Based on determining that the given user is the currently active user of the automated assistant, content is customized for the distance of the given user instead of other users in the environment.

[0034] These and other implementations of the technology may optionally include one or more of the following features.

[0035] In some embodiments, the method may further include: generating distance-tailored content for the given user, wherein generating the distance-tailored content for the given user is based on determining that the given user is a currently active user of the automated assistant. In some of those embodiments, generating the distance-tailored content for the given user includes: sending an agent request to the given agent, wherein the agent request includes the distance metric; and receiving content from the given agent in response to sending the agent request.

[0036] In some embodiments, the method may further include: during rendering of the content, determining that the given user has been relocated and is at a new estimated distance relative to the client device. In some of those embodiments, the method may further include: based on the given user being the currently active user, and in response to determining that the given user has been relocated and is at a new estimated distance relative to the client device, causing second content customized for the new estimated distance to be rendered by the client device. In some versions of those embodiments, causing the second content to be rendered by the client device may include causing the client device to replace the content with the second content. In some other versions of those embodiments, the content may include only audible content, and the second content may include graphical content, and causing the second content to be rendered by the client device may include causing the second content to be rendered together with the content.

[0037] In some implementations, causing content tailored for a given user's distance to be rendered by the client device may include selecting the content based on the selected content corresponding to the distance metric and other candidate content that does not correspond to the distance metric, in place of the other candidate content.

[0038] Other embodiments may include a non-transitory computer-readable storage medium storing instructions executable by one or more processors (e.g., a central processing unit (CPU), a graphics processing unit (GPU), and / or a tensor processing unit (TPU)) to perform methods such as one or more methods described above and / or elsewhere herein. Other implementations may include a system of one or more computers and / or one or more robots including one or more processors, the one or more processors being used to execute the stored instructions to perform methods such as one or more methods described above and / or elsewhere herein.

[0039] It should be appreciated that all combinations of the foregoing concepts and additional concepts described in greater detail herein are considered part of the subject matter disclosed herein. For example, all combinations of the claimed subject matter appearing at the end of this disclosure are considered part of the subject matter disclosed herein. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 Diagrams are shown that provide examples of adapting response content based on a user's distance relative to a client device and / or automated assistant interface.

[0041] Figure 2A , 2B and 2C show diagrams that provide examples of content rendered based on the distance of a user relative to a client device.

[0042] Figure 3 A method for rendering automated assistant content based on the distance between a user and an automated assistant interface is shown.

[0043] Figure 4 A method for adapting automated assistant content based on a user's position relative to an automated assistant interface is shown.

[0044] Figure 5 A system for adapting response content based on a user's distance from a client device and / or an automated assistant interface is shown.

[0045] Figure 6 is a block diagram of an example computer system. DETAILED DESCRIPTION

[0046] Figure 1Figure 100 is shown, which provides an example of adapting responsive content according to the distance of the user 102 relative to the client device 104 and / or the automated assistant interface. The embodiments discussed herein relate to generating and / or adapting content according to the change in the position of the user 102 who is directly or indirectly trying to access the content via the automated assistant. Typically, a computing device can adapt content according to the distance of the user relative to the computing device; however, such content can be limited to content available locally on the computing device. In addition, these limitations on the availability of locally accessible data may inhibit the efficiency of the computing device when more suitable data can be quickly retrieved from an external source such as a remote server. For example, a user who is closer to a computing device with a display panel and a speaker can more easily or quickly understand data such as a weekly weather forecast that is presented on the display panel rather than projected as audio on the speaker. Therefore, by adapting such data according to the proximity of the user to the computing device, the computing device can reduce the amount of time to present a specific output at an interface, such as at the speaker of the computing device.

[0047] In some implementations discussed herein, a user 102 may request an action to be performed or initiated by an automated assistant, and in response, any data provided to satisfy the request may be adapted based on the location or change in location of the user 102 and the client device 104. The user may access the automated assistant via an automated assistant interface of a client device 104, such as, but not limited to, a tablet computing device, which may include one or more sensors that may operate as an automated assistant interface and / or provide output for determining the distance of the user from the client device 104. To invoke the automated assistant, the user may provide a spoken utterance, such as, for example, "Assistant, what's the weather like today?" In response, the client device 104 may convert the spoken utterance into audio data, which may be processed at the client device 104 and / or sent to a remote device 116 (e.g., a remote server) for processing. In addition, in response to receiving the spoken utterance, the client device 104 may determine a distance metric corresponding to the distance between the user 102 and the client device 104 or the distance between the user 102 and a peripheral device in communication with the client device 104. Client device 104 may send the audio data and the distance metric to remote device 116 so that remote device 116 can determine the action and / or application that the user is attempting to initiate via the automated assistant.

[0048] In various embodiments, the client device 104 determines the distance metric locally based on outputs from one or more sensors. For example, the client device 104 may process images captured by a thematic camera of the client device 104 to estimate the distance of the user. For example, the client device 104 may estimate the distance of the user by processing the image (e.g., using one or more local machine learning models) to classify a region of the image as possibly including a person's head, and may estimate the distance of the user based on the size of the user's head in the image (e.g., based on the size of the region). As another example, the client device 104 may estimate the distance of the user based on output from a stereo camera of the client device 104, such as a stereo image including a depth channel. For example, the client device 104 may process the image (e.g., using one or more local machine learning models) to classify a region of the stereo image as possibly including a person, and may estimate the distance of the person based on a depth value for the region (e.g., based on an average, median, or other statistical measure of multiple depth values). As yet another example, the client device 104 may estimate the distance of the user based on output from a microphone of the client device 104. For example, the client device may analyze audio data corresponding to a user's spoken speech using beamforming and / or other techniques to estimate the distance of the user. As yet another example, the client device 104 may estimate the distance based on outputs from a combination of sensors, such as based on outputs from a visual sensor and based on outputs from a microphone. Additional and / or alternative sensors, such as dedicated distance sensors, light detection and ranging (LIDAR) sensors, etc., may be utilized. Moreover, in some embodiments, the client device 104 may rely on outputs from one or more sensors that are external to the client device 104 but in communication with the client device 104. Furthermore, in various embodiments, the client device 104 may optionally provide outputs from the sensors (and / or conversions thereof) to the remote device 116, and the remote device 116 may optionally determine a distance metric based on the data so provided.

[0049] The determined action may be associated with a content item that may be provided by an automated assistant, an application accessible to a client device, and / or a third party (or first party) agent hosted at a separate remote device 116. In some embodiments, the remote device 116 may compare the received distance metric with one or more distance thresholds (e.g., thresholds corresponding to the first distance threshold 108 and the second distance threshold 110) to determine a suitable subset of content items that may be used to render content for the user. Alternatively or additionally, the remote device 116 may provide the distance metric to an application assigned to provide the content item, and the application may perform a comparison of the distance metric with one or more distance thresholds to identify a suitable subset of content items. Alternatively or additionally, the application may receive the distance metric and provide the distance metric as an input to a model configured to provide one or more values, which may provide a basis for generating and / or selecting a subset of content items from it.

[0050] The appropriate subset of content items for a particular distance metric may be a subset of content items that may be used to render content that is more easily perceived by the user 102 than content rendered based on other distance metrics. For example, when the location of the user 102 corresponds to a first distance threshold 108 that is closest to the client device or within the visible range of the client device (e.g., a distance N away from the client device, where N may be any distance that may define the limit of the visible range of the device), the subset of content items selected for rendering the first content 112 may include video data (e.g., an image or video presenting a weather forecast). In addition, when the location of the user 102 corresponds to a second distance threshold 110 that is close to the non-visible range of the client device (e.g., between N and N+m, where m is any positive real number), the subset of content items selected for rendering the second content 114 may include image data and / or video data of lower quality relative to the aforementioned video data (e.g., an image or video that includes larger and fewer graphical elements than the aforementioned image or video). In addition, when the user's location corresponds to a third distance threshold 118 that is within the non-visible range of the client device (e.g., between N+m and N+p, where p is any positive real number greater than m), the subset of content items selected for rendering the content may include audio data (e.g., a voice recording of a person providing a weather forecast). When a subset of content items has been selected based on a distance metric, the subset of content items can be sent from the remote device 116 to the client device 104 so that the client device 104 can render the content using the selected subset of content items. It should be noted that labels "A" and "B" show the correlation between each corresponding distance threshold (i.e., the first distance threshold 108 and the second distance threshold 110) and each corresponding rendered content (i.e., the first content 112 and the second content 114).

[0051] In some implementations, while the first content 112 is being rendered using the selected subset of content items, the user 102 may relocate from the first location 120 to the second location 122. A change in the distance of the user 102, or the most recent distance of the user 102, may be detected at the client device 104, and an additional distance metric may be generated at the client device 104 and / or the remote device 116. The additional distance metric may then be used to select an additional subset of content items from which to render additional content for the user 102 while the user remains at the second location 122. For example, when the client device 104 is rendering visual content corresponding to a weather forecast (i.e., the first content 112) and the user is within the visual range of the client device 104 (e.g., an area corresponding to the first threshold 108), the user 102 may relocate from the first location 120 to the second location 122 (e.g., a location corresponding to the third threshold 118) that does not allow them to view the client device 104. In response, the client device 104 may generate a detected or estimated distance metric that may be provided to the remote device 116.

[0052] The remote device 116 can allow an application that previously selected a subset of content items to select an additional subset of content items to render other content for the user 102. The additional subset of content items can be, for example, audio data that can be used to render other content, and the subset of additional content items can still be perceived by the user 102 despite being relocated to the second location 122. In this way, the client device 104 is not strictly limited to local data for adapting to changes in user distance, but can employ remote services and / or applications to identify more appropriate data to render content. In addition, this allows the automated assistant to replace data during the execution of an action to adapt any rendered content to a user who changes their relative position.

[0053] In some embodiments, user 102 can be relocated to a position corresponding to a tolerance or overlapping range of values ​​corresponding to multiple distance thresholds. As a result, the application or device that dispatches to select a content item subset from which content is rendered can select multiple content item subsets. In this way, if the user moves from a first position that meets a first distance threshold to a second position that meets a second distance threshold, the client device 104 can locally adapt any rendered content according to the change of the user's position. In some embodiments, the trajectory and / or speed of the user can be similarly used to select multiple different content item subsets from which content is rendered, so that when the user moves 106, the rendered content is adapted in real time. For example, when the user walks to their TV or display projector, the user 102 can request their automated assistant to play a song (e.g., "Assistant, play my favorite songs on my TV."), and in response, the first content item subset and the second content item subset can be selected to render content on the TV or display projector. The first content item subset may correspond to audio data, which may be rendered by the television or display projector when the user is farthest from the television or display projector during relocation, and the second content item subset may correspond to audio and video data, which may be rendered by the television or display projector when the user is closest to the television or display projector. In this way, the second content item subset will supplement the first content item subset with a certain amount of mutually exclusive data because the first content item subset does not include video data. In some embodiments, in addition to determining the distance or in lieu of determining the distance, the rate of change of the user's place or position and / or the user's trajectory may be determined by the client device and / or the automated assistant. In this way, content may be preemptively requested and / or buffered based on the rate of change of the user's place or position and / or the user's trajectory. For example, when it is determined that the user is moving at a rate of change that satisfies a specific rate of change threshold and / or exhibits a trajectory that is at least partially toward or away from the client device, the client device may render different content and / or request additional data in response to the determination, and other content may be rendered from the additional data when the user moves toward or away from the client device.

[0054] FIG. 2A to FIG. 2C 204. FIG. 204 is a diagram showing an example of providing content rendered based on the distance of the user relative to the client device 204. Specifically, Figure 2ADiagram 200 shows a user 208 approaching a client device 210 located in an environment 218, such as a kitchen. After the user 208 has initiated an automated assistant to perform one or more actions, the user 208 can approach the client device 210. For example, the user 208 can trigger a sensor that the user 208 has installed in their kitchen, and in response to the sensor being triggered, the automated assistant can initiate the performance of the action. Alternatively, as discussed herein, the user 208 can invoke the automated assistant via an automated assistant interface of the client device 210.

[0055] The actions to be performed in response to initializing the automated assistant may include presenting media content, such as music, to the user 208. Initially, the automated assistant may cause the client device 210 to render first content 212 that provides little or no graphical content but rather audible content. This may save computing resources and / or network resources, given that the user 208 is remote from the client device 210 and may therefore not be able to perceive the graphical content.

[0056] When user 208 is relocated closer to client device 210, as shown in diagram 204, client device 210 may receive and / or process one or more signals, which may provide information relative to Figure 2A , an indication that user 208 has moved closer to client device 210. In response, the automated assistant can receive a certain amount of data based on the one or more signals and cause client device 210 to render second content 214 at client device 210. Second content 214 can include more graphical content than first content 212, higher volume content relative to first content 212, and / or content provided at a higher bit rate relative to first content 212. In some implementations, second content 214 can include at least a certain amount of content that is excluded from first content 212. Alternatively or additionally, the automated assistant can be based on when user 208 is in proximity to Figure 2A The corresponding location is not available locally on the client device 210 but is instead responsive to the user 208 relocating to a location corresponding to Figure 2B The second content 214 is rendered based on the data retrieved from the corresponding position.

[0057] In addition, Figure 206 shows that when relative to Figure 2A and 2B 208 in the example, and how to render the third content 216 at the client device 210 when the user 208 is relocated to a location closer to the client device 210. Specifically, the third content 216 may include content customized for the user closest to the client device 210. For example, the automated assistant may determine the content of the third content 216 relative to the user 208 in the example. Figure 2A and 2B, user 208 is even closer to client device 210, and causes client device 210 to render text content (e.g., "[CONTENT]"). The data that provides the basis for the text content may be locally available when user 208 is farther away, or requested by client device 210 from a remote device in response to user 208 having a trajectory toward client device 210. In this way, the content provided at the direction of the automated assistant may be dynamic based on the distance of user 208 from client device 210. In addition, client device 210 may render unique content based on the location of user 208 relative to client device 210.

[0058] Figure 3 A method 300 for rendering automated assistant content based on the distance between a user and an automated assistant interface is shown. The method 300 can be performed by one or more computing devices, applications, and / or any other device or module capable of interacting with an automated assistant. The method 300 may include an operation 302 of receiving a request for execution of an automated assistant initialization action. The automated assistant can be accessed via an automated assistant interface of a client device, and the client device can include or communicate with a display device and a sensor. The sensor can provide an output from which the distance of the user relative to the display device can be determined. For example, the sensor can be a camera that provides an output from which an image can be generated to determine the distance between the user and the display device. Alternatively or additionally, the client device can include one or more acoustic sensors, and the output of the acoustic sensor is analyzed (e.g., using beamforming techniques) to identify the position of the user relative to the client device.

[0059] The method 300 may further include an operation 304 of identifying an agent for completing the action based on the received request. The agent may be one or more applications or modules that are accessible to the automated assistant and associated with a third party (separate from the entity that manages the automated assistant). Additionally, the agent may be configured to provide data to the client device based on the distance of the user relative to the display device. In some implementations, the agent may be one of a plurality of different agents that may be invoked by the automated assistant to facilitate one or more actions to be performed based on the user directly (e.g., "Assistant, perform [action]") or indirectly (e.g., an action performed as part of a learned user schedule).

[0060] Method 300 may also include an operation 306 of determining a distance metric corresponding to an estimated distance of the user relative to the client device. The distance metric may be determined based on data provided by the client device. For example, a sensor of the client device may provide an output embodying information related to the position of the user relative to the sensor. The output may be processed and embodied in a request for the execution of an automated assistant-initialized action. In some embodiments, the distance metric may correspond to various data from which characteristics of the user's location and / or position may be determined. For example, the distance metric may also indicate a distance between the user and the client device, as well as an orientation of the user relative to the client device (e.g., whether the user is facing the client device).

[0061] The method 300 may further include an operation 308 of generating an agent request to provide a content item to the identified agent to facilitate an action to be performed and based on the determined distance metric. The agent request may be generated by the automated assistant and include one or more slot values ​​to be processed by the identified agent. For example, the slot value in the agent request may identify the distance metric, contextual data associated with the received request (such as a time of day, user preferences, historical data based on previous agent requests, and / or any other data that may be processed by the agent application).

[0062] Method 300 may also include an operation 310 of sending a request to a proxy so that the proxy selects a subset of content items based on the request and the determined distance metric. The content subset selected by the proxy may correspond to a user distance threshold. In addition, based on the correspondence between the user distance threshold and the distance metric, the client device may render a subset of content uniquely relative to other content items. In other words, although the proxy may select a subset of content items from a set of content items, the selected subset is customized only for the determined distance metric. Therefore, if different distance metrics are determined, different content item subsets will be selected, and the client device will render different content based on different content item subsets.

[0063] Method 300 may further include an operation 312 of causing the client device to render a selected subset of content items. The selected subset of content items may be rendered as content presented at a display device of the client device. However, in some embodiments, the selected subset of content items may be rendered as audible content, video content, audio-video content, static images, tactile feedback content, control signals and / or any other output that may be perceived by a person. In some embodiments, although the agent generates and / or adapts the selected subset of content items, the client device may further adapt the selected subset of content items according to the contextual data available to the client device. For example, the client device may further adapt the subset of content items according to the user's location, the user's expression, the moment, the occupancy of the environment shared by the client device and the user, the geographic location of the client device, the user's schedule and / or any other information that may indicate the context in which the user is interacting with the automated assistant. For example, although the action to be performed may include rendering audible content, and because the user is within the audible range of the client device, the selected subset of content items may include audio data, the client device may dynamically adapt the volume of any rendered audio based on the presence of others in the environment and / or based on whether the user is on a call or using the audio subsystem of the client device for a separate action. Alternatively or additionally, although the action to be performed may include rendering audible content, and because the user is within the audible range of the client device, the selected subset of content items may include audio data, the client device may cause a different client device to render audio data when the contextual data indicates that the user has relocated closer to a different client device (i.e., a separate distance that is further than the distance previously indicated by the distance metric).

[0064] Figure 4A method 400 for adapting automated assistant content based on a user's position relative to an automated assistant interface is shown. The method 400 may be performed by one or more computing devices, applications, and / or any other apparatus or module capable of interacting with an automated assistant. The method 400 may include an operation 402 of rendering a first content to facilitate an action previously requested by the user during an interaction between the user and the automated assistant. The first content may be rendered by the client device through one or more different modalities of the client device, such as, but not limited to, a touch display panel, a speaker, a tactile feedback device, and / or other interfaces that may be utilized by the computing device. In addition, the first content may be rendered based on a first subset of content items available locally on the client device. For example, the first content may be a subset of content items retrieved from a remote server device in response to a user initiating a routine to be performed under the guidance of an automated assistant. For example, the routine may be a "morning" routine that is initialized in response to a user entering their kitchen in the morning, and a sensor connected to a client device in the kitchen indicates the user's presence. As part of the "morning" routine, the automated assistant may download content items corresponding to the user's schedule. Thus, the first content item may be associated with a schedule of a user, and the rendered first content may correspond to a graphical user interface (GUI) having k display elements, where k is any positive integer.

[0065] Method 400 may further include operation 402, which determines that the proximity of the user has changed from a first position to a second position based on the output of one or more sensors connected to the client device and when the client device is rendering the first content. For example, the sensor may include a plurality of microphones for employing beamforming technology to identify the position of the user. Alternatively or additionally, the sensor may also include a camera from which the orientation, gaze and / or position of the user can be determined. Using information from the sensor, the automated assistant can identify a subset of one or more active users from a plurality of users in the environment in order to generate and / or adapt content for the active users. For example, content can be generated based on the distance of the active user without considering the distance of the user not in the subset determined as the active user. In addition, information from the sensor can be used to determine the distance of the user from the automated assistant interface, the client device and / or any other device that can communicate with the client device. For example, when the user is viewing the rendered first content, the user can move toward or away from the display panel that is rendering the first content.

[0066] Method 400 may also include operation 406, which identifies a second subset of content items based on the output of the sensor, and second content may be rendered from the second subset to facilitate the action. For example, when the action involves a "morning" routine and the content items are associated with the user's schedule, the second subset of content items may be selected based on the user's ability to perceive the second subset of content items. More specifically, if the second position is closer to the automated assistant interface (e.g., a display panel) than the first position, the second subset of content items may include additional graphical elements from which the user can perceive more information. As a result, the user is able to collect more detailed information about his schedule as he moves closer to the automated assistant interface. In addition, according to the above discussion, computing resources for rendering additional graphical elements are used in an efficient manner, wherein the computing resources may be triggered in response to the second position being closer to the interface than the first position.

[0067] The method 400 may further include an operation 408 of rendering a second content based on the identified second subset of content items. The rendered second content may correspond to a GUI having l display elements, where l is any positive integer greater than or less than k. For example, the rendered first content may include k display elements corresponding to a user's schedule for a few hours. In addition, the rendered second content may include l display elements corresponding to a user's schedule for a whole day. In this way, the second subset of content items will have one or more content items that are mutually exclusive with the first subset of content items. As a result, when the user moves closer to the display panel, they will see different graphical elements.

[0068] Method 400 may further include an operation 410 of monitoring subsequent output of the sensor while the client device is rendering the second content. In some embodiments, the automated assistant may monitor the output of the sensor, with the user's permission, to determine whether the user has relocated further away from the automated assistant interface or closer to the automated assistant interface. In this way, the automated assistant may cause the rendered content to be further adapted so that the user will perceive the content more effectively. At operation 412 of method 400, it is determined whether the user has relocated to a third location different from the first location and the second location. If the user has not yet relocated to the third location, the automated assistant may continue to monitor the output of the sensor, at least according to operation 410. If the user has relocated to the third location, method 400 may proceed to operation 414.

[0069] At operation 414 of method 400, it is determined whether the third content is locally available to the client device. If the third content is rendered on the client device, the third content may correspond to a third subset of content items that will provide the user with additional information about their schedule. For example, the third subset of content items may include information about the user's schedule that is not included in the first subset of content items and / or the second subset of content items. Specifically, the third subset of content items may include at least a certain amount of data that is mutually exclusive with respect to the first subset of content items and the second subset of content items. For example, the third subset of content items may include different types of data, such as images and / or videos, that are not included in the first subset of content items and / or the second subset of content items. The third subset of content items may include data associated with the user's upcoming schedule for the week or month, thereby allowing the user to perceive additional information about their schedule as they move closer to the automated assistant interface.

[0070] When the third subset of content items is not available locally on the client device, method 400 may proceed to operation 416, which may include generating a request for receiving the third subset of content items. The request may be sent to a remote server device via a network such as the Internet to receive the third subset of content items. For example, the remote server device may host an agent associated with a schedule application accessible to an automated assistant. The agent may receive the request and identify additional content items associated with the request. The agent may then send the additional content items to the automated assistant and / or the client device as the third subset of content items. Thereafter, method 400 may proceed to operation 418, which may include rendering the third content based on the third subset of content items. Alternatively, when the third subset of content items is available locally on the client device, operation 416 may be bypassed, and method 400 may proceed to operation 418 from operation 414.

[0071] Figure 5A system 500 for adapting response content based on a user's distance from a client device 516 and / or an automated assistant interface 518 is shown. The automated assistant interface 518 can allow a user to communicate with an automated assistant 504, which can operate as part of an assistant application provided at one or more computing devices, such as a client device 516 (e.g., a tablet device, a standalone speaker device, and / or any other computing device) and / or a remote computing device 512 (such as a server device 502). The assistant interface 518 can include one or more of a microphone, a camera, a touch screen display, a user interface, and / or any other device or combination of devices capable of providing an interface between a user and an application. For example, a user can initialize the automated assistant 504 by providing verbal, textual, and / or graphical input to the assistant interface to cause the automated assistant 504 to perform a function (e.g., provide data, control a peripheral device, access an agent or third-party application, etc.). The client device 516 can include a display device, which can be a display panel including a touch interface for receiving touch input and / or gestures to allow the user to control the application of the client device 516 via the touch interface.

[0072] Client device 516 can communicate with remote computing device 512 over network 514, such as the Internet. Client device 516 can offload computing tasks to remote computing device 512 in order to save computing resources on client device 516. For example, remote computing device 512 can host automated assistant 504, and client device 516 can send input received at one or more assistant interfaces 518 to remote computing device 512. However, in some implementations, automated assistant 504 can be hosted on client device 516. In various implementations, all or less than all aspects of automated assistant 504 can be implemented on client device 516. In some of those implementations, aspects of automated assistant 504 are implemented via a local assistant application of client device 516, and the local assistant application can interface with remote computing device 512 for implementing other aspects of automated assistant 504. Remote computing device 512 can optionally serve multiple users and their associated assistant applications via multiple threads. In some embodiments where all or less than all aspects of automated assistant 504 are implemented via a local assistant application of client device 516, the local assistant application can be an application separate from the operating system of client device 516 (e.g., installed "on top of" the operating system) or, alternatively, can be implemented directly by the operating system of first client device 516 (e.g., considered an application of the operating system, but integrated with the operating system).

[0073] In some embodiments, the remote computing device 512 may include a speech-to-text engine 506 that can process audio data received at the assistant interface to identify text embodied in the audio data. The process for converting audio data to text may include a speech recognition algorithm that may employ a neural network, a word2vec algorithm, and / or a statistical model to identify an audio data set corresponding to a word or phrase. The text converted from the audio data may be parsed by a text parser engine 508 and may be made available to the automated assistant 504 as text data that may be used to generate and / or identify a command phrase from a user.

[0074] In some implementations, the automated assistant 504 can adapt the content to the client device 516 and the agent 532 accessible to the automated assistant 104. During the interaction between the user and the automated assistant 504, user data 506 and / or context data 522 can be collected at the client device 516, the server device 502, and / or any other device that can be associated with the user. The user data 506 and / or context data 522 can be used by one or more applications or devices integrated with or accessible to the client device 516 with the user's permission. For example, the context data 522 can include data corresponding to time data, location data, event data, media data, and / or any other data that can be related to the interaction between the user and the automated assistant 504. In addition, the user data 506 can include account information, message information, calendar information, user preferences, historical interaction data between the user and the automated assistant 504, content items associated with applications and / or agents accessible to the client device 516, and / or any other data that can be associated with the user.

[0075] In order for the automated assistant 504 to adapt the content to the user, the automated assistant 504 can interact with an agent 532, which can provide agent data 536 (i.e., content items) to the remote device 512 and / or the client device 516 to render the content at the automated assistant interface 518. As used herein, an "agent" refers to one or more computing devices and / or software separate from the automated assistant. In some cases, the agent can be a third-party (3P) agent because it is managed by a party separate from the party that manages the automated assistant. In some embodiments, the automated assistant 504 can use an agent selection engine 528 to select an agent from a plurality of different agents to perform a specific action in response to a direct or indirect request from a user. The selected agent can be configured to receive a request from the automated assistant (e.g., over a network and / or via an API). In response to receiving the request, the agent generates response content based on the request, and sends the response content to provide an output based on the response content. For example, the agent 532 can send the response content to the automated assistant 504 to provide an output based on the response content by the automated assistant 504 and / or the client device 516. As another example, agent 538 itself may provide output. For example, a user may interact with automated assistant 504 via client device 516 (e.g., the automated assistant may be implemented on the client device and / or in network communication with the client device), and agent 538 may be an application installed on client device 516 or an application that is executable remotely from client device 516 but "streamable" on client device 516. When the application is invoked, it may be executed by client device 516 and / or brought to the foreground by the client device (its content may take over the display of the client device).

[0076] Invoking the agent may include sending a request (e.g., using an application programming interface (API)) that includes values ​​for invocation parameters (e.g., values ​​for intent parameters, values ​​for intent slot parameters, and / or values ​​for other parameters), and causing the agent to generate content for presentation to the user via one or more user interface output devices (e.g., via one or more user interface output devices utilized in a conversation with the automated assistant). The response content generated by the agent may be customized for the parameters of the request. For example, the automated assistant 504 may generate one or more distance metrics using data generated based on output from one or more sensors at the client device 516. The distance metric may be embodied as a parameter of a request to the agent 538 so that agent data 546 (i.e., response content) may be generated, selected, and / or otherwise adapted based on the distance metric. In some embodiments, the agent 538 may include an agent data selection engine 534 that generates, selects, and / or adapts agent data 536 based on at least one parameter of a request received from the remote device 512 and / or the client device 516. In this manner, client device 516 can render content for a user based on at least a subset of proxy data 536 provided by proxy 532 according to a distance metric corresponding to the user.

[0077] Figure 6 6 is a block diagram of an exemplary computer system 610. The computer system 610 generally includes at least one processor 614 that communicates with a number of peripheral devices via a bus subsystem 612. These peripheral devices may include a storage subsystem 624 (including, for example, a memory 625 and a file storage subsystem 626), a user interface output device 620, a user interface input device 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 an external network and is coupled to corresponding interface devices in other computer systems.

[0078] The user interface input device 622 may include a keyboard, a pointing device (such as a mouse, trackball, touch pad, or graphics tablet), a scanner, a touch screen incorporated into a display, an audio input device (such as a voice recognition system), a microphone, and / or other types of input devices. In general, the use of the term "input device" is intended to include all possible types of devices and ways to input information into the computer system 610 or onto a communication network.

[0079] User interface output device 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 cathode ray tube (CRT), a flat panel device (such as a liquid crystal display (LCD)), a projection device, or some other mechanisms for creating visible images. The display subsystem may also provide a non-visual display (such as, via an audio output device). Generally speaking, the use of the term "output device" is intended to include information being output to a user from computer system 610 or to all possible types of equipment and methods of another machine or computer system.

[0080] Storage subsystem 624 stores programming and data structures that provide some or all of the functionality of the modules described herein. For example, storage subsystem 624 may include logic to perform selected aspects of method 300, method 400, and / or implement one or more of client device 102, remote device 116, client device 516, server device 502, remote device 512, remote device 530, automated assistant 504, agent 532, and / or any other means or operations discussed herein.

[0081] These software modules are usually executed by processor 614 alone or in combination with other processors. The memory 625 used in the storage subsystem 624 may include multiple memories, including a main random access memory (RAM) 630 for storing instructions and data during program execution and a read-only memory (ROM) 632 for storing fixed instructions. The file storage subsystem 626 can provide permanent storage for programs and data files, and can include a hard disk drive, a floppy disk drive and associated removable media, a CD-ROM drive, an optical drive, or a removable media box. The modules that realize the functions of certain embodiments can be stored in the storage subsystem 624 by the file storage subsystem 626 or can be stored in other machines that can be accessed by the processor 614.

[0082] The bus subsystem 612 provides a mechanism for the various components and subsystems of the computer system 610 to communicate with each other in an expected manner. Although the bus subsystem 612 is shown schematically as a single bus, alternative implementations of the bus subsystem may use multiple busses.

[0083] Computer system 610 can be of various types, including workstations, servers, computing clusters, blade servers, server farms, or any other data processing system or computing device. Due to the varied nature of computers and networks, Figure 6 The description of the computer system 610 illustrated in FIG. 6 is intended only as a specific example for the purpose of illustrating some embodiments. Many other configurations of the computer system 610 may have more Figure 6The computer system illustrated in the figure may have more or fewer components.

[0084] In cases where the systems described herein collect personal information about users (or "participants" as referred to herein) or can make use of personal information, users may be provided with the 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, the user's preferences, or the user's current geographic location), or to control whether and / or how to receive content that is more relevant to the user from a content server. Moreover, certain data may be processed in one or more ways before being stored or used to remove personally identifiable information. For example, the identity of a user may be processed so that no personally identifiable information about the user can be determined, or the user's geographic location may be generalized (such as to a city, zip code, or state level) where geographic location information is obtained, so that the user's specific geographic location cannot be determined. Thus, users may control how information about the user is collected and / or used.

[0085] Although multiple embodiments have been described and shown herein, various other devices and / or structures for performing functions and / or obtaining results and / or one or more advantages described herein may be utilized, and each of such variations and / or improvements is considered to be within the scope of the embodiments described herein. More generally, all parameters, dimensions, materials, and configurations described herein are exemplary, and actual parameters, dimensions, materials, and / or configurations will depend on the specific application in which the present teaching is used. Those skilled in the art will recognize or be able to determine many equivalents of the specific embodiments described herein using only routine experiments. Therefore, it will be understood that the aforementioned embodiments are presented only by way of example, and within the scope of the attached claims and their equivalents, the embodiments may be implemented in a manner different from that specifically described and claimed. The embodiments of the present disclosure are directed to each single feature, system, product, material, kit, and / or method described herein. In addition, if these features, systems, products, materials, kits, and / or methods are not mutually contradictory, any combination of two or more of these features, systems, products, materials, kits, and / or methods is included within the scope of the present disclosure.

Claims

1. A method implemented by one or more processors, the method comprising: receiving a request for performance of an automated assistant-initialized action, wherein the automated assistant is accessible via an automated assistant interface of a client device in communication with a display device and a sensor, and wherein the sensor provides an output indicative of a distance of a user relative to the display device, wherein the user and one or more additional users are in an environment with the client device; determining that the user is a currently active user of the automated assistant; determining, based on the output of the sensor, a distance metric corresponding to an estimated distance of the user relative to the display device, wherein determining the distance metric corresponding to the estimated distance of the user comprises, in response to determining that the user is a currently active user of the automated assistant, determining the distance metric for the user in place of the one or more additional users; identifying, based on the received request, an agent for completing the action, wherein the agent is accessible to the automated assistant and is configured to provide a content item to the client device based on an estimated distance of the user relative to the display device; generating, in response to receiving the request and identifying the agent based on the received request, an agent request to provide a content item to the identified agent to facilitate the action, wherein the agent request identifies the determined distance metric; sending the proxy request to the proxy so that the proxy selects a subset of content items for the action based on a correspondence between the subset of candidate content items and the distance metric included in the proxy request, wherein the subset of candidate content items is configured to be uniquely rendered at the client device relative to other content items excluded from the subset of content items; and The client device is caused to render the selected subset of candidate content items.

2. The method according to claim 1, wherein: The subset of content items includes a first subset corresponding to a first distance range that includes an estimated distance of the user, and a second subset corresponding to a second distance range that excludes the estimated distance and has a common boundary with the first distance range, wherein causing the client device to render the selected subset of candidate content items includes: causing the client device to initially render only the first subset; and The client device is caused to buffer the second subset and then render the second subset in response to determining that the user has moved to a new distance within the second distance range.

3. The method according to claim 2, wherein: Causing the client device to render the second subset includes causing the client device to replace the first subset with the second subset in response to determining that the user has moved to the new distance.

4. The method according to claim 3, wherein: The second subset lacks any content included in the first subset.

5. The method according to claim 2, wherein: The first subset includes audio data, wherein causing the client device to initially render only the first subset includes causing the client device to audibly render the audio data, wherein the second subset includes graphical content, and wherein causing the client device to render the second subset includes causing the client device to render the graphical content and to audibly render the audio data.

6. The method according to claim 5, wherein: The graphic content is an image or a video rendered synchronously with the audio data.

7. The method according to any one of claims 2 to 6, wherein: The agent selects the first subset based on a first subset corresponding to the first distance range, the first distance range containing an estimated distance of the user corresponding to the distance metric, and wherein the agent selects the second subset based on the estimated distance of the user being within a threshold distance of the second distance range corresponding to the second subset.

8. The method according to any one of claims 2 to 6, further comprising: determining an estimated rate of change of the estimated distance based on an output of the sensor; as well as including an indication of the estimated rate of change in the proxy request; wherein the agent selects the first subset based on a first subset corresponding to the first distance range, the first distance range containing an estimated distance of the user corresponding to the distance metric, and wherein the agent selects the second subset based on an indication of the estimated rate of change.

9. The method according to any one of claims 2 to 6, wherein: Determining that the user is the active user is based on one or both of: an output from the sensor, and an additional output from at least one additional sensor.

10. The method according to claim 9, wherein: The sensor or the additional sensor comprises a camera, wherein the output or the additional output comprises one or more images, and wherein determining that the user is an active user is based on one or both of: a posture of the user determined based on the one or more images, and a gaze of the user determined based on the one or more images.

11. The method according to any one of claims 1 to 6, further comprising: After sending the proxy request to the proxy and causing the client device to render the selected subset of candidate content items: determining a separate distance metric, wherein the separate distance metric indicates that a distance of the user relative to the display device has changed; generating, in response to determining the separate distance metric, a separate proxy request to the identified proxy, wherein the separate proxy request includes the separate distance metric; sending the separate proxy request to the proxy to cause the proxy to select the separate subset of candidate content items for the action based on a correspondence between the separate subset of candidate content items and the separate distance metrics included in the proxy request; and The client device is caused to render the selected separate subset of candidate content items.

12. The method according to claim 1, wherein: The received request is based on a spoken utterance received at the automated assistant interface and includes audio data embodying a voice signature of the user, and the method further comprises: Based on the voice signature of the user, a user profile is selected that indicates user preferences associated with proximity-adapted content, wherein the subset of content items is selected based on the user preferences.

13. The method according to claim 1, wherein: The distance metric is embodied in the received request or is received separately from the received request.

14. The method according to claim 1, wherein: The client device generates the distance metric from the output of the sensor and sends the distance metric in the request or the additional transmission, and wherein determining the distance metric is performed at a server device, the server device determining the distance metric based on including the distance metric in the request or the additional transmission and determining the distance metric without directly accessing the output of the sensor.

15. A method implemented by one or more processors, the method comprising: receiving, at a remote automated assistant system, an automated assistant request sent by a client device including a display device; Determined by the remote automated assistant system and based on the content of the automated assistant request: an automated assistant agent for the automated assistant request, and a user distance metric indicative of a current distance between the client device and a user, the user and one or more additional users being in an environment with the client device, wherein the user is a currently active user of the automated assistant, and wherein determining the user distance metric comprises: determining the distance metric for the user in place of the one or more additional users; sending, by the remote automated assistant system, an agent request including the user distance metric to an automated assistant agent determined for the automated assistant request; Receiving, by the remote automated assistant system from the automated assistant agent in response to the agent request, a content item suitable for the user distance metric; and sending a content item appropriate for the user distance metric, wherein the content item is sent from the remote automated assistant to the client device in response to the automated assistant request, Wherein, sending the response content enables the client device to render the response content via a display device of the client device.

16. The method according to claim 15, wherein: Determining the user distance metric includes determining that the user distance metric satisfies a first distance threshold and a second distance threshold; and wherein the content items include a first subset of content items suitable for the first distance threshold and a second subset of content items suitable for the second distance threshold.

17. The method according to claim 16, wherein: The client device is configured to determine the user distance metric and select data for rendering the responsive content from one of the first subset of content items and the second subset of content items.

18. The method according to claim 17, wherein: The client device is further configured to render the response content based on a first subset of the content items when the user distance metric exclusively satisfies the first distance threshold, and to render the response content based on a second subset of the content items when the user distance metric exclusively satisfies the second distance threshold.

19. The method according to claim 16, wherein: The first subset of content items includes data embodying a data format omitted from the second subset of content items.

20. A system comprising at least one processor and at least one memory, the at least one memory storing instructions executable by the at least one processor, the instructions, when executed, causing the at least one processor to perform the method according to any one of claims 1 to 19.

21. A computer program product comprising computer executable instructions which, when executed by at least one computing device, cause the at least one computing device to perform the method according to any one of claims 1 to 19.