System(s) and method(s) for multi-modal content generation
The system addresses inefficiencies in content creation by dynamically selecting and formatting responses using user interface inputs and AI/ML models, enhancing response quality and reducing resource consumption.
Patent Information
- Application Number
- US19/214995
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Filing Date
- 2025-05-21
- Publication Date
- 2026-11-26
AI Technical Summary
Existing content creation systems are inefficient, requiring manual effort and specialized skills to combine different media types, lack adaptability to user preferences, and fail to leverage AI and ML capabilities for seamless content generation.
A system that dynamically selects and formats responses using user interface inputs to determine which models to process requests, allowing for multi-modal content generation, including text, images, and videos, based on GUI interactions and user data.
Enhances the frequency and variety of satisfactory responses, reduces processing time and network resources, and improves robustness by leveraging AI and ML for dynamic content creation.
Smart Images

Figure US20260377046A1-D00000_ABST
Abstract
Description
BACKGROUND
[0001] Existing systems and methods for content creation and interaction have several limitations. Conventional content generation workflows typically involve separate tools and processes for creating different media types (e.g., text, images, audio, video). Combining these disparate elements often requires manual effort, specialized skills, and significant time investment. For example, creating a multimedia presentation may involve writing a script, designing visuals using graphic design software, recording audio narration, and then integrating everything using video editing tools. This fragmented approach can be cumbersome and inefficient, hindering creativity and productivity.
[0002] Furthermore, existing systems often lack the ability to dynamically adapt content generation based on user preferences or real-time feedback. Many content creation tools offer limited customization options, forcing users to conform to predefined templates or workflows. This lack of flexibility can be particularly problematic in scenarios where personalized or interactive content is desired. Existing content creation tools often fall short in providing this level of adaptability.
[0003] In addition, current content generation and interaction paradigms often fail to fully leverage the capabilities of modern artificial intelligence (AI) and machine learning (ML) technologies and fail to integrate capabilities of AI-powered tools for tasks such as text generation, image recognition, and speech synthesis into a seamless and intuitive content creation experience.SUMMARY
[0004] Implementations described herein relate to generating a response to a request using output from models that are selectively determined to be used in processing the request and / or dynamically formatting the response to the request. In some implementations, generating the response to the request can include determining to utilize one or more particular models to be utilized in processing the request. Additionally and / or alternatively, a particular format for rendering of the response can be determined. The particular format for rendering the response and / or the one or more models to utilize in processing the request can be determined based on one or more Graphical User Interface (GUI) inputs. For example, a user can interact with an interface of a client device to provide interface input. A request can be generated using the interface input. The user can additionally provide one or more GUI inputs that can be used in determining the particular format for rendering of the response and / or the one or more models to utilize in processing the request. In some implementations, one or more of the GUI inputs can be an interaction with a GUI element that is being rendered at the client device. For example, the user can interact with one or more GUI elements that are being rendered at a display of the client device. One or more types of media that the user wants to be included in the response and / or a particular format for rendering the response can be determined based on the user’s interaction with one or more of the GUI elements. The one or more types of media that the user wants to be included in the response and / or the particular format for rendering of the response can be used in determining one or more of the models to be utilized in processing the request. One or more prompts for one or more of the models can be generated based on the request. The response to the request can then be generated by processing one or more of the prompts utilizing one or more of the models to generate output. The response to the request can be generated based on the output of one or more of the models. The response to the request can be generated according to the particular format.
[0005] Generating a response to a request using output from models that are selectively determined to be used in processing the request and / or dynamically formatting the response to the request can increase the frequency that a satisfactory response is generated. Improving the rate at which satisfactory responses are generated can reduce the number of requests that need to be processed by a user. Additionally and / or alternatively, generating the response to the request using output from models that are selectively determined to be used in processing the request and / or dynamically formatting the response to the request can reduce the amount of time that is consumed in generating the response to the request, conserving network resources such as network bandwidth. In some implementations, generating a response to a request using output from models that are selectively determined to be used in processing the request and / or dynamically formatting the response to the request can improve the robustness of responses that are generated. For example, generating a response using output from models that are selectively determined to be used in processing the request and / or dynamically formatting the response to the request can increase the variety of media types that are included in the response and / or can improve the ability to generate responses in a variety of different formats.
[0006] In some implementations, generating, for the multiple models to be utilized in processing the request, one or more model prompts that are based on the request can include generating a first model prompt. The first model prompt can be processed using one or more of the models. For example, the first model prompt can be processed using a first model to generate first model output and the first model prompt can be processed using a second model to generate second model output. Additionally and / or alternatively, generating, for the multiple models to be utilized in processing the request, one or more model prompts that are based on the request can include generating multiple model prompts. For example, a first model prompt and a second model prompt can be generated. Processing the one or more model prompts using the multiple models to generate corresponding output from each of the multiple models can include processing the first model prompt using the first model to generate first model output and processing the second model prompt using the second model to generate second model output. In some implementations, a single model prompt can be generated and processed using a single model, for example, a multi-modal generative model.
[0007] In some implementations, generating one or more model prompts that are based on the request can include generating a first model prompt. The first model prompt can be processed using a first model, and first model output can be generated. One or more additional model prompts can be generated using the first model output, the request, and / or one or more of the GUI inputs. One or more of the additional model prompts can be processed using one or more additional models to generate one or more instances of additional model output. The response to the request can be generated using the first model output and / or one or more instances of the additional model output.
[0008] In some implementations, it can be determined, based on one or more GUI inputs, the request, and / or user data, to utilize one or more multi-modal models in processing the request. Generating one or more multi-modal prompts can be based on the request, one or more of the GUI inputs, a particular format for rendering of the response to the request, and / or one or more instances of user data. One or more of the multi-modal prompts can be processed using one or more of the multi-modal models, and multi-modal model output can be generated. The response to the request can be generated based on the multi-modal model output.
[0009] In various implementations, determining which models to utilize in processing the request can be based on GUI input. For example, based on one or more GUI inputs, it can be determined to utilize a first model, a second model, and / or a third model in processing the request. One or more of the GUI inputs can indicate a type of media content to include in the response to the request. For example, a GUI input can indicate that the response should include text, one or more images, and one or more videos. Accordingly, one or more of the models can be determined to be utilized in processing the request based on the type of output that can be generated using the model. For example, it can be determined to utilize the first model based on the GUI input indicating the response should include text because the first model can be used in generating textual output. Additionally and / or alternatively, it can be determined to utilize the second model based on the GUI input indicating that the response should include one or more images because the second model can be used in generating image output. Additionally and / or alternatively, it can be determined to utilize the third model based on the GUI input indicating that the response should include one or more videos because the third model can be used in generating video output.
[0010] In some implementations, determining which models to utilize in processing the request can be based on the request. For example, the request can include a natural language description of one or more media types that should be included in the response. Additionally and / or alternatively, the request can be processed and one or more media types that should be included in the response can be determined based on one or more particular words or phrases included in the request. As described above, one or more models to be utilized in processing the request can be determined based on the identified types of media that should be included in the response.
[0011] Additionally and / or alternatively, one or more instances of user data can be used to determine one or more of the models to utilize in processing the request. For example, one or more settings associated with a user profile can be used in determining one or more of the models to utilize in processing the request. One or more of the user settings can indicate that the response should include one or more media types, such as text, images, and / or videos. As described above, the identified media types can be used in determining which models to utilize in processing the request. As an additional and / or alternate example, user data indicative of one or more previous models that were utilized in processing one or more previous requests can be utilized in determining which models to utilize in processing the request. The user data can indicate one or more media types included in a previous response that was generated in response to a previous request. Based on the user data, one or more models can be determined to be utilized in processing the request.
[0012] In some implementations, one or more of the models can be a generative model. For example, the first model as described above can be a generative model that can be utilized to process the request and generate textual output. Additionally and / or alternatively, one or more of the models can be a non-generative model. For example, the second model as described above can be a machine learning model that can be used to process the request and to generate image and / or video output. For example, the second model can be utilized to parse one or more image and / or video search results and produce one or more images and / or videos as output.
[0013] In various implementations, a particular format for the rendering the response can be determined based on one or more GUI inputs. In some implementations, the GUI inputs used in determining the particular format for rendering the response can be the same GUI inputs that were used in determining the one or more models to utilize in processing the request. As an example, based on the GUI input, the particular format for rendering the response can include rendering the media in a single column and / or in multiple columns. Additionally and / or alternatively, based on the GUI input, the particular format for rendering the response can include formatting the response based on the particular media types included in the response. For example, images may be rendered in a particular location, such as the top of the response, text may be rendered in an additional particular location, such as below the videos, and videos may be rendered in yet another particular location, such as below the text. In some implementations, based on the GUI input, the particular format for rendering the response can include rendering one or more types of media in between instances of another type of media. For example, an image can be rendered with text surrounding the image.
[0014] In some implementations, the particular format for rendering the response to the request can be based on user data. For example, one or more user preferences can be stored in a user profile. Additionally and / or alternatively, the particular format for rendering the response to the request can be based on one or more previous particular formats that one or more previous responses to one or more previous requests were rendered in.
[0015] In various implementations, one or more GUI inputs can be generated based on an interaction with one or more GUI elements that are rendered at a client device. For example a user can provide an input at an interface of the client device to interact with one or more of the GUI elements that are rendered at the client device. In some implementations, one or more of the GUI elements can be rendered at the client device prior to receiving the request. For example, one or more of the GUI elements can be rendered in response to a user accessing an interface at which the request can be provided. In some implementations, one or more of the GUI elements can be rendered subsequent to receiving at least part of the request. For example, in response to receiving at least part of the request, one or more of the GUI elements can be rendered subsequent to receiving at least part of the request. Additionally and / or alternatively, causing the GUI element to be rendered can include determining whether a user interaction with one or more of the GUI elements are predicted to occur. When it is determined that the user interaction with one or more of the GUI elements is predicted to occur, one or more of the GUI elements can be rendered at the client device. When it is determined that the user interaction with one or more of the GUI elements is not predicted to occur, one or more of the GUI elements can be refrained from being rendered at the client device.
[0016] The prediction, in some implementations, can be based on historical interaction data. The historical interaction data can reflect one or more previous user interactions with one or more previous rendering of the GUI element. For example, if the historical interaction data indicated that the user has interacted with one or more GUI elements in the past a number of times that satisfies a threshold, then the prediction can indicate that the user interaction with one or more of the GUI elements is expected to occur. However, if the historical interaction data indicates that the user has not interacted with one or more GUI elements a number of times that satisfies the threshold, then the prediction can indicate that the user interaction with one or more of the GUI elements is not predicted to occur. In various implementations, the prediction can be based on the request. For example, the request can include instructions for a particular format for rendering of the response, and based on the instruction for the particular format for rendering of the response, the prediction can indicate whether or not a user interaction with the GUI element is predicted to occur.
[0017] In various implementations, one or more of the GUI inputs can be used to determine a graphical output preview. The graphical output preview can reflect a response format that corresponds to one or more of the GUI inputs, and can be rendered at one or more interfaces of a client device. The graphical output preview can allow a user to see if the particular formatting for rendering of the response and / or variety of media types to be included in the response is satisfactory. If it is, then the user can submit the response for processing. If not, the user can interact with one or more of the GUI elements an additional time and one or more additional GUI inputs can be generated and / or the user can provide the one or more additional GUI inputs. An additional graphical output preview can be generated based on the one more additional GUI inputs. The additional graphical output preview can reflect an additional response format for rendering of the response to the request and / or an additional variety of media types to be included in the response.
[0018] In some implementations, subsequent to rendering a response to a request, one or more additional GUI inputs can be generated. For example, a user can interact with one or more of the GUI elements subsequent to the response to the request being rendered. It can be determined, based on the one or more additional GUI inputs, to generate a second response to the request, and a second response to the request can be generated. The second response to the request can be rendered according to a second particular format that is determined based on one or more of the additional GUI inputs. Additionally and / or alternatively, the second response to the request can include a second variety of media types that are different from the first variety of media types that were included in the first response to the request. One or more of the additional GUI inputs can be generated while the first response to the request is being rendered.
[0019] In various implementations, generating the second response to the request can be performed in the same or a similar manner to the first response to the request. For example, one or more models to utilize in processing the request to generate the second response to the request can be determined based on one or more of the additional GUI inputs. One or more additional model prompts can be generated for one or more of the models that are to be utilized in processing the request to generate the second response to the request. One or more of the additional model prompts can be processed using one or more of the models, and corresponding additional output can be generated using one or more of the models. The second response to the request can be generated based on the corresponding output from one or more of the models. The second response to the request can be rendered via one or more of the interfaces of the client device. In some implementations, the second response to the request can be rendered in lieu of the first response to the request. Additionally and / or alternatively, the second response to the request can be rendered at the same time as the first response to the request. In these implementations, a user is able to compare and contrast the two responses.
[0020] The preceding is provided as an overview of only some implementations disclosed herein. Those and implementations are described in more detail herein.BRIEF DESCRIPTION OF THE DRAWINGS
[0021] FIG. 1 depicts an example computing environment according to example implementations of the present disclosure.
[0022] FIG. 2 depicts a process flow of an example process using various components from the example environment from FIG. 1, in accordance with various implementations.
[0023] FIG. 3 depicts a flowchart illustrating an example method in accordance with various implementations.
[0024] FIG. 4 depicts a flowchart illustrating another example method in accordance with various implementations.
[0025] FIG. 5 depicts a flowchart illustrating yet another example method in accordance with various implementations.
[0026] FIGS. 6A and 6B depict an example environment in which techniques described herein may be implemented.
[0027] FIG. 7 schematically depicts an example architecture of a computer system.DETAILED DESCRIPTION
[0028] Turning now to FIG. 1, a block diagram of an example environment that demonstrates various aspects of the present disclosure, and in which implementations disclosed herein can be implemented is depicted. The example environment includes a client device 110. In some implementations, aspects of the client device 110 can be implemented remotely from the client device 110 (e.g., at remote server(s)). In those implementations, the client device 110 can be communicatively coupled with one or more other components (e.g., knowledge system 100) via one or more networks 199, such as one or more wired or wireless local area networks (“LANs,” including Wi-Fi®, mesh networks, Bluetooth®, near-field communication, etc.) or wide area networks (“WANs”, including the Internet). Additionally and / or alternatively, while it is depicted that the client device 110 includes particular components and the knowledge system 100 includes particular components, this is not meant to be limiting. For example, one or more components of the knowledge system 100 can be implemented on the client device 110, and one or more components of the client device 110 can be implemented on the knowledge system 100.
[0029] The client device 110 can be, for example, one or more of: a desktop computer, a laptop computer, a tablet, a mobile phone, a computing device of a vehicle (e.g., an in-vehicle communications system, an in-vehicle entertainment system, an in-vehicle navigation system), a standalone interactive speaker (optionally having a display), a smart appliance such as a smart television, and / or a wearable apparatus of the user that includes a computing device (e.g., a watch of the user having a computing device, glasses of the user having a computing device, a virtual or augmented reality computing device). Additional and / or alternative client devices may be provided.
[0030] The client device 110 can execute one or more software applications through which touch inputs and / or other user inputs can be submitted and / or content that is responsive to the touch inputs and / or the other user inputs can be rendered (e.g., audibly and / or visually). Notably, the client device 110 can execute one or more of the software applications separately from an operating system of the client device 110 (e.g., one installed “on top” of the operating system), or the client device 110 can execute one or more of the software applications directly by the operating system of the client device 110. For example, the client device 110 can execute a web browser software application, a generative content software application, electronic communications software applications (e.g., email software application(s), messaging software application(s), social media software application(s), etc.), an automated assistant software application, etc. that is installed on top of the operating system of the client device 110. As another example, the client device 110 can execute a web browser software application, a generative content software application, electronic communications software applications (e.g., email software application(s), messaging software application(s), social media software application(s), etc.), an automated assistant software application, etc. that is integrated as part of the operating system of the client device 110.
[0031] In various implementations, the client device 110 can include an input / output engine 120 that includes, for example, an input engine 121 and a rendering engine 122. The input engine 121 can be configured to detect input provided, for example, by a user of the client device 110 using one or more user interface input devices. For example, the client device 110 can be equipped with one or more microphones that capture audio data, such as audio data corresponding to spoken utterances of the user or other sounds in an environment of the client device 110. Additionally, or alternatively, the client device 110 can be equipped with one or more vision components that are configured to capture vision data corresponding to images and / or movements (e.g., gestures) detected in a field of view of one or more of the vision components. Additionally, or alternatively, the client device 110 can be equipped with one or more touch sensitive components (e.g., a keyboard and mouse, a stylus, a touch screen, a touch panel, one or more hardware buttons, etc.) that are configured to capture signal(s) corresponding to typed and / or touch inputs directed to the client device 110. Additionally, or alternatively, the client device 110 can be equipped with one or more interfaces that are configured to receive content (e.g., document(s), image(s), video(s), audio, etc.) provided by the user of the client device 110.
[0032] Further, the rendering engine 122 is configured to render content for visual and / or audible presentation to a user of the client device 110 using one or more user interface output devices. For example, the client device 110 can be equipped with a display or projector that enables the content to be rendered as visual content, such as text, and optionally along with other visual content (e.g., image(s), video(s), etc.), via the client device 110. In some implementations, the rendering engine 122 can cause one or more GUI elements to be rendered. For example, the rendering engine 122 can cause a selectable slider to be rendered via a display of the client device 110. Visual content that the rendering engine 122 can cause to be displayed can include responses to requests, including text, images, and / or videos. Additionally, or alternatively, the client device 110 can be equipped with speaker(s) that enable the content to be rendered as audible content via the client device 110. In some implementations, the client device 110 can utilize one or more of the generative model(s) store in the generative model(s) database 160 and / or one or more ML model(s) stored in the ML model(s) database 170 to process content described herein.
[0033] Further, the client device 110 can include one or more memories for storage of data and / or software applications, one or more processors for accessing data and executing the software applications, and / or other components that facilitate communication over one or more of the networks 199. In some implementations, one or more of the software applications can be installed locally at the client device 110, whereas in other implementations one or more of the software applications can be hosted remotely (e.g., by one or more servers) and can be accessible by the client device 110 over one or more of the networks 199.
[0034] Although aspects of FIG. 1 are illustrated or described with respect to a single client device having a single user, it should be understood that is for the sake of example and is not meant to be limiting. For example, one or more additional client devices of a user and / or of additional user(s) can also implement the techniques described herein. For instance, the client device 110, the one or more additional client devices, and / or any other computing devices of a user can form an ecosystem of devices that can employ techniques described herein. These additional client devices and / or computing devices may be in communication with the client device 110 (e.g., over the network(s) 199). As another example, a given client device can be utilized by multiple users in a shared setting (e.g., a group of users, a household, a workplace, a hotel, etc.).
[0035] In some implementations, the knowledge system 100 that is accessible to the client device 110 via one or more networks 199 can include a prompt generation engine 140, a data acquisition engine 142, and / or a model interaction engine 150. The knowledge system 100 can have access to one or more generative model(s) that are stored in a generative model database 160. The knowledge system 100 can have access to one or more machine learning models that are stored in a machine learning model database 170.
[0036] In various implementations, the knowledge system 100 can additionally and / or alternatively include a prompt generation engine 140. The prompt generation engine 140 can be configured to generate input prompts for generative models of the generative model database 160, and / or machine learning models of the machine learning model database 170, based on a request and / or based one or more inputs received via the input engine 121. For example, the prompt generation engine 140 can generate an input prompt based on the textual output that is generated by the input engine 121 and / or a request received via the input engine 121. The prompt generation engine 140 can generate an input prompt, for a generative model, that can include textual data, image data, and / or video data. Additionally and / or alternatively, the prompt generation engine 140 can generate multiple prompts. For example, the prompt generation engine can generate a first prompt for a first model and a second prompt for a second model. In some implementations, the prompt generation engine 140 can generate one or more prompts based on output from one or more models, such as the generative model(s) stored in the generative model(s) database 160 and / or the machine learning model(s) stored in the machine learning model(s) database 170.
[0037] In various implementations, the knowledge system 100 can include a data acquisition engine 142. The data acquisition engine 142 can access one or more instances of data. For example, the data acquisition engine 142 can access user data that can be indicative one or more previous requests submitted by a user and / or one or more previous formats that one or more previous responses to one or more previous requests were rendered in. Additionally and / or alternatively, the data acquisition engine 142 can access one or more user preferences and / or settings that are associated with a profile of a user.
[0038] In some implementations, the knowledge system 100 can include a model interaction engine 150. The model interaction engine 150 can include a model selection engine 152, a model processing engine 154, and / or a model output engine 156.
[0039] The model selection engine 152 can select one or more generative models stored in the generative model(s) database 160 and / or one or more machine learning models stored in the machine learning model(s) database 170. For example, based on a request received by the input engine 121, one or more instances of input received via the input engine 121, and / or one or more instances of data accessed by the data acquisition engine 142, the model selection engine 152 can determine to use one or more of the generative model(s) stored in the generative model(s) database 160 and / or one or more of the machine learning model(s) stored in the machine learning model(s) database 170 in processing a request.
[0040] The input prompt(s) generated by the prompt generation engine 140 can be processed by the model processing engine 154 using one or more models stored in the generative model(s) database 160 and / or the machine learning model(s) database 170. Once the model processing engine 154 has processed the input prompt(s) using one or more of the models, the generative model output engine 156 can receive the output that was generated using the models.
[0041] n some implementations, the model output engine 156 can generate a response based on output generated using one or more models. In generating a response to a request, the model output engine 156 can assemble output that was generated using one or more of the models in generating a response to a request. For example, the model output engine 156 can combine the output generated using a first model with the output generated using a second model and / or with output generated using a third model. In some implementations, the model output engine 156 can cause a response to the request to be rendered by the rendering engine 122 according to a particular format.
[0042] In various implementations, the output can be provided to the rendering engine 122 of the client device 110. The rendering engine 122 can visually render output via one or more displays of the client device 110. Additionally and / or alternatively, the rendering engine 122 can audibly render output via one or more speakers associated with the client device, such as internal speakers or headphones connected to the client device 110.
[0043] FIG. 2 depicts a process flow of an example process using various components from the example environment from FIG. 1, in accordance with various implementations. For convenience, the process 200 will be described with reference to FIG. 1. The process 200 begins when the input engine 121 receives input. The input received at the input engine 121 can be, for example, an unstructured natural language input (e.g., typed input) and / or a free-form natural language input (e.g., spoken input). The input received at the input engine 121 can be, for example, generated by an assistant engine and / or application executing at the client device 110. For example, the input received at the input engine 121 can be received in response to and / or based on an assistant engine executing at the client device 110 determining that the input corresponds to a task that the assistant engine and / or application executing at the client device 110.
[0044] The input can correspond to a request 201. The request 201 can be a user request that includes one or more user inputs. For example, a user of the client device 110 can provide one or more natural language (e.g., spoken, written, etc.) user inputs at a user interface of the client device 110 that corresponds to the request 201. Additionally and / or alternatively, the request 201 can be provided by an additional computing device. For example, a computing device that implements a security system may send periodic requests 201 to process image data captured by the cameras of the security system. The time between each request 201 can be uniform, or can be dynamically determined by the computing device that is sending the request 201. In some implementations, the request 201 can include, textual data, image data, or data representative of one or more images, and / or video data, or data representative of one or more videos.
[0045] In some implementations, at decision block 202, it can be determined whether the input engine 121 has received GUI input, such as a GUI element interaction 203. For example a user can interact with a slider rendered at a display of a client device. In implementations where the GUI element interaction 203 was received, the GUI element interaction can be processed by a model selection engine 152. The model selection engine 152 can determine one or more selected models 205 to be used in processing the request 201. In implementations where the input engine 121 does not receive a GUI input at decision block 202, a data acquisition engine 142 can access one or more instances of user data 204. For example, the user data 204 that is indicative of one or more previous requests submitted by a user, one or more models used in processing one or more previous requests submitted by a user, one or more previous formats that one or more previous responses to one or more previous requests were rendered in, and / or one or more user preferences and / or settings that are associated with an accessible profile of the user can be accessed. The user data 204 can be provided to the model selection engine 152, which can process the user data to determine one or more of the selected models 205 that are to be used in processing the request 201.
[0046] In various implementations, the request 201 can be processed by a prompt generation engine 140. The prompt generation engine 140 can generate, based on the request 201, one or more model prompts 207. For example, the prompt generation engine 140 can generate a first model prompt 207 for a first selected model 205, a second model prompt 207 for a second selected model 205, and / or a third model prompt 207 for a third selected model 205. In some implementations, the prompt generation engine 140 can generate a single model prompt 207 for one or more of the selected models 205. The model prompts 207 can include textual data, image data, and / or video data.
[0047] In some implementations, one or more of the model prompts 207 can be provided to the model processing engine 154. The model processing engine 154 can process the model prompts 207 using one or more of the models stored in the generative model database 160 and / or stored in the machine learning model database 170, to generate model output 209. The model output 209 can include, for example, a probability distribution over a sequence of tokens. The sequence of tokens can correspond to, for instance, candidate suggestions for responses to the request 201. Alternatively and / or additionally, the sequence of tokens can correspond to candidate suggestions for actions that are performable responsive to the request 201. Additionally and / or alternatively, the model output 209 can include textual data, image data, and / or video data.
[0048] The model output 209 can be provided to the model output engine 156, which can generate a request response 211 based on the model output 209. The model output engine 156 can utilize various decoding techniques to process the model output 209. For example the model output engine 156 can process the model output 209 and a request response 211 that is a natural language response to the request 201. Additionally and / or alternatively, the model output engine 156 can process the model output 209 and generate a request response 211 that includes image data and / or video data. The model output engine 156 can cause the request response 211 to be formatted according to a particular format.
[0049] In some implementations, the request response 211 can be provided to the rendering engine 122 of the client device 110. The rendering engine can visually render output, via one or more displays of the client device 110, that corresponds to the request response 211. Additionally and / or alternatively, the request response 211 can cause one or more speakers associated with the client device 110 to audibly render content that corresponds to the request response 211.
[0050] Referring to FIG. 3, a flow chart illustrates an example method of generating a response to a request. Other implementations may perform the steps in a different order, omit certain steps, and / or perform different and / or additional steps than those illustrated in FIG. 3. For convenience, aspects of FIG. 3 will be described with reference to a system of one or more computers that perform the process. The system may include, for example, one or more of the components of FIG. 1.
[0051] At block 352, the system may receive a request. The request can be generated based on user interface input provided via one or more interfaces of a client device. For example, a user can provide textual input via one or more interfaces of a client device. Additionally and / or alternatively, the user can provide one or more spoken utterances to one or more interfaces of a client device, such as one or more microphones.
[0052] At decision block 354, a determination can be made as to whether GUI input based on an interaction with a GUI element was received. For example, one or more GUI elements can be rendered via a display of a client device. A user can interact with one or more of the GUI elements that are rendered. For example, the GUI element can be a slider, and a user can interact with the slider to move one or more elements of the slider to a different portion of the display.
[0053] In some implementations, at decision block 354, it can be determined that GUI input based on an interaction with a GUI element has been received. In these implementations, the method 300 can proceed to block 356. In various implementations, the GUI element may be rendered subsequent to receiving at least part of the request and / or can be rendered prior to receiving the request.
[0054] At block 356, the system may determine, based on the GUI input, to utilize multiple models in processing the request. In some implementations, determining to utilize multiple models in processing the request can include determining to utilize a first model in processing the request and determining to utilize a second model in processing the request, wherein the first model is used in generating a first type of output and the second model is used in generating a second type of output. In some implementations, one or more of the models may be a generative model, and the corresponding output generated using the generative model may include textual data, image data, and / or video data. In some implementations, one or more of the models can be a multi-modal generative model. Multi-modal generative models can, in various implementations, be used in processing multiple types of input, such as textual data, image data, and / or video data. Additionally and / or alternatively, multi-modal generative models can, in some implementations, be used in processing multiple types of input to generate various types of outputs, such as textual data, image data, and / or video data. In some implementations, one or more of the models may be a non-generative model, and output of the non-generative model may include textual data, image data, and / or video data. Determining, based on the GUI input, to utilize multiple models in processing the request can include determining, based on the GUI input, one or more types of media content to include in the response to the request. For example, a GUI input can indicate that the response should include text, one or more images, and / or one or more videos. Accordingly, one or more of the models can be determined to be utilized in processing the request based on the type of output that can be generated using the model. For example, it can be determined to utilize a first model based on the GUI input indicating the response should include text because the first model can be used in generating textual data as output. Additionally and / or alternatively, it can be determined to utilize a second model based on the GUI input indicating that the response should include one or more images because the second model can be used in generating image data as output. Additionally and / or alternatively, it can be determined to utilize a third model based on the GUI input indicating that the response should include one or more videos because the third model can be used in generating video data as output.
[0055] In some implementations, at decision block 354, it can be determined that GUI input based on an interaction with a GUI element has not been received. In these implementations, the method 300 can proceed to block 358.
[0056] At block 358, the system can determine, based on the request and / or user data, to utilize one or more models in processing the request. For example, determining to utilize one or more of the models can include determining that the request may be directed to a particular type of content, and selecting one or more of the models based on determining that the request is directed to the particular type of content. For example, the request can include a natural language description of one or more media types that should be included in the response. Additionally and / or alternatively, the request can be processed and one or more media types that should be included in the response can be determined based on one or more particular words or phrases included in the request. As described above, one or more models to be utilized in processing the request can be determined based on the identified types of media that should be included in the response.
[0057] Additionally and / or alternatively, one or more instances of user data can be used to determine one or more of the models to utilize in processing the request. For example, one or more settings associated with a user profile can be used in determining one or more of the models to utilize in processing the request. One or more of the user settings can indicate that the response should include one or more media types, such as text, images, and / or videos. As described above, the identified media types can be used in determining which models to utilize in processing the request. As an additional and / or alternate example, user data indicative of one or more previous models that were utilized in processing one or more previous requests can be utilized in determining which models to utilize in processing the request. The user data can indicate one or more media types included in a previous response that was generated in response to a previous request. Based on the user data, one or more models can be determined to be utilized in processing the request.
[0058] At block 360, the system may generate, for the multiple models to be utilized in processing the request, one or more model prompts that are based on the request. and at block 362, the system may cause the one or more model prompts to be processed using the multiple models to generate corresponding output from each of the multiple models. As one non-limiting example, a first model prompt can be generated. The first model prompt can be processed using a first model, a second model, and / or a third model to respectively generate first model output, second model output, and / or third model output. Additionally and / or alternatively, a first model prompt can be generated. The first model prompt can be processed using a first model to generate first model output. A second model prompt can be generated based on the request, one or more instances of GUI input, user data, and / or the first model output. The second model prompt can be processed by the second model to generate a second model output. In some implementations, a first model prompt can be generated for a first model and a second model prompt can be generated for a second model. The first model prompt can be processed using the first model to generate first model output. The second model prompt can be processed using the second model to generate second model output.
[0059] At block 364, the system may generate a response to the request based on the corresponding outputs. In some implementations, generating a response to the request based on the corresponding outputs can include assembling the corresponding outputs into the response. At least a portion of first model output can be rendered along with at least a portion of second model output and / or at least a portion of third model output. For example textual data that was generated using a first model can be rendered along with image data that was generated using a second model and / or video data that was generated using a third model. Additionally and / or alternatively, generating a response to the request can include processing the corresponding outputs with one or more additional models to generate a response to the request. In various implantations, output of one or more of the models can include instructions for generating a response to the request based on the corresponding outputs. Generating the response to the request can include executing one or more instances of the instructions. In some implementations, one or more instances of the corresponding outputs can be edited, modified, regenerated, reformatted, and / or changed in any other way to be used in generating the response to the request.
[0060] In some implementations, generating the response to the request based on the corresponding outputs can include determining, based on the GUI input, a particular format for rendering of the response, and generating the response to the request according to the particular format. In some implementations, the GUI inputs used in determining the particular format for rendering the response can be the same GUI inputs that were used in determining the one or more models to utilize in processing the request. As an example, based on the GUI input, the particular format for rendering the response can include rendering the media in a single column and / or in multiple columns. Additionally and / or alternatively, based on the GUI input, the particular format for rendering the response can include formatting the response based on the particular media types included in the response. For example, images may be rendered in a particular location, such as the top of the response, text may be rendered in an additional particular location, such as below the videos, and videos may be rendered in yet another particular location, such as below the text. In some implementations, based on the GUI input, the particular format for rendering the response can include rendering one or more types of media interspersed between instances of another type of media. For example, an image can be rendered with text surrounding the image.
[0061] In some implementations, the particular format for rendering the response to the request can be based on user data. For example, one or more user preferences can be stored in a user profile. Additionally and / or alternatively, the particular format for rendering the response to the request can be based on one or more previous particular formats that one or more previous responses to one or more previous requests were rendered in. As an example, the particular format for a response to a user request can be determined to be text in three separate columns based on a previous response to a previous request from that user being rendered with that format.
[0062] In some implementations, the method can further include determining, based on the GUI input, a first graphical output preview that reflects a first response format that corresponds to the GUI input, and causing the first graphical output preview to be rendered at the client device via one or more of the interfaces. For example, a user can interact with a GUI element that is rendered via a display of a client device. Based on the user’s interaction with the GUI element, a response to a preview of a response to a request can be rendered. The preview can include details indicative of a particular format that was determined based on the user’s GUI element interaction. The preview can be rendered as an overlay of at least a portion of one or more of the GUI elements.
[0063] In some implementations, the method can include receiving an additional GUI input, the additional GUI input generated based on an additional interaction with the GUI element rendered at the client device via the interface. For example, a user may be dissatisfied with the particular format that was indicated by the first graphical output preview. This can be determined based on the user providing the additional GUI input. As a result of the additional GUI input, a second graphical output preview that reflects a second response format that corresponds to the additional GUI input can be determined and generated. The second graphical output preview can be rendered at the client device via one or more of the interfaces in lieu of the first graphical output preview in the same or a similar manner to the first graphical output preview. In some implementations, the second graphical output preview can be rendered in lieu of the first graphical output preview. Additionally and / or alternatively, the first graphical output preview can be rendered at the same time as the second graphical output preview.
[0064] At block 366, the system may cause the response to be rendered responsive to the request. In some implementations, the method can further include receiving, subsequent to causing the response to be rendered, a second GUI input generated based on a second interaction with the GUI element rendered at the client device via the interface. For example, a user may be dissatisfied with the response that was rendered responsive to the request. The user can provide the second GUI input to generate a second response that has a different particular formatting and / or has a different selection of media types included. For example, a user may wish to include a video in the response to the request and may wish for the response to be presented in a single column instead of two columns. The use can provide GUI input that is indicative of these preferences. The method then includes determining, based on the second GUI input, to generate the second response to the request, generating the second response to the request, and causing the second response to the request to be rendered. In these implementations, generating the second response to the request may include determining, based on the second GUI input, one or more additional models to utilize in processing the request, generating, for the one or more additional models to be utilized in processing the request, one or more additional model prompts that are based on the request, in response to determining to utilize the one or more additional models in processing the request, causing one or more of the additional model prompts to be processed using the one or more additional models to generate additional corresponding output from each of the one or more additional models, and generating the second response to the request based on the additional corresponding outputs. Furthermore, in these implementations, generating the second response to the request based on the additional corresponding outputs can include determining, based on the second GUI input, a second particular format for rendering of the second response and generating the second response to the request according to the second particular format. Causing the second response to the request to be rendered may include causing the second response to be rendered in lieu of rendering of the response. These steps can be performed in the same or in similar ways as referenced above with respect to generating the first response to the request.
[0065] Referring to FIG. 4, a flow chart illustrates an example method of generating a response to a request. Other implementations may perform the steps in a different order, omit certain steps, and / or perform different and / or additional steps than those illustrated in FIG. 4. For convenience, aspects of FIG. 4 will be described with reference to a system of one or more computers that perform the process. The system may include, for example, tone or more of the components of FIG. 1.
[0066] At block 452, the system may receive a request. The request can be generated based on user interface input provided via one or more interfaces of a client device. For example, a user can provide textual input via one or more interfaces of a client device. Additionally and / or alternatively, the user can provide one or more spoken utterances to one or more interfaces of a client device, such as one or more microphones.
[0067] At decision block 454, a determination can be made as to whether GUI input based on an interaction with a GUI element was received. For example, one or more GUI elements can be rendered via a display of a client device. A user can interact with the GUI element that is rendered. For example, the GUI element can be a slider, and a user can interact with the slider to move one or more elements of the slider to a different portion of the display.
[0068] In some implementations, at decision block 454, it can be determined that GUI input based on an interaction with a GUI element has been received. In these implementations, the method 400 can proceed to block 456. In various implementations, the GUI element may be rendered subsequent to receiving at least part of the request and / or can be rendered prior to receiving the request.
[0069] At block 456, the system may determine, based on the GUI input, to utilize a first model in processing the request. In some implementations, determining to a first model in processing the request can include determining to utilize a first model in processing the request. In some implementations, the first model can be used in processing a first type of input, such as textual data, image data, and / or video data. The first model can be determined to be used in processing the request based on the first type of input that the first model can be used in processing. For example, if at least a portion of the request includes textual data, then a first model that can be used in processing textual data can be determined to be used in processing the request. Additionally and / or alternatively, the first model can be used in generating a first type of output, and can be determined to be used in processing the request based on the first type of output it can be used in generating.
[0070] In some implementations, the first model may be a generative model, and wherein the corresponding output from the generative model may include textual data, image data, and / or video data. In some implementations, the first model can be a multi-modal generative model. Multi-modal generative models can, in various implementations, can be used in processing multiple types of input, such as textual data, image data, and / or video data. Additionally and / or alternatively, multi-modal; generative models can, in some implementations, be used in processing multiple types of input to generate various types of outputs, such as textual data, image data, and / or video data. Determining to utilize a multi-modal generative model in processing the request can be based on the types of input that can be processed using the multi-modal generative model and / or the types of output that can be generated using the multi-modal generative model. In some implementations, the first models may be a non-generative model, and wherein output of the second model may include textual data, image data, and / or video data. Determining to utilize a non-generative model in processing the request can be based on the types of inputs that can be processed using the non-generative model and / or the types of outputs that can be generated using the non-generative model. Additionally and / or alternatively, determining to utilize a non-generative model in processing the request can be based on one or more constraints, such as memory constraints, bandwidth constraints, processing power constraints and / or other limitations in which utilizing a non-generative model would be advantageous.
[0071] Determining, based on the GUI input, to utilize the first model in processing the request can include determining, based on the GUI input one or more types of media content to include in the response to the request. For example, a GUI input can indicate that the response should include text, one or more images, and / or one or more videos. Accordingly, the first model can be determined to be utilized in processing the request based on the type of output that can be generated using the model. For example, it can be determined to utilize a first model based on the GUI input indicating the response should include text because the first model can be used in generating textual data as output. Additionally and / or alternatively, it can be determined to utilize a first model based on the GUI input indicating that the response should include one or more images because the first model can be used in generating image data as output. Additionally and / or alternatively, it can be determined to utilize a first model based on the GUI input indicating that the response should include one or more videos because the first model can be used in generating video data as output.
[0072] In some implementations, at decision block 454, it can be determined that GUI input based on an interaction with a GUI element has not been received. In these implementations, the method 400 can proceed to block 458.
[0073] At block 458, the system can determine, based on the request and / or user data, to use a first model in processing the request. For example, determining to utilize a first model can include determining that the request may be directed to a particular type of content, and selecting a first model can be based on determining that the request is directed to the particular type of content. For example, the request can include a natural language description of one or more media types that should be included in the response. Additionally and / or alternatively, the request can be processed and one or more media types that should be included in the response can be determined based on one or more particular words or phrases included in the request. As described above, the first model to be utilized in processing the request can be determined based on the identified types of media that should be included in the response. Additionally and / or alternatively, one or more instances of user data can be used to determine a first model to utilize in processing the request. For example, one or more settings associated with a user profile can be used in determining a first model to utilize in processing the request. One or more of the user setting can indicate that the response should include one or more media types, such as text, images, and / or videos. As described above, the identified media types can be used in determining which models to utilize in processing the request. As an additional and / or alternate example, user data indicative of one or more previous models that were utilized in processing one or more previous requests can be utilized in determining a first to utilize in processing the request. The user data can indicate one or more media types included in a previous response that was generated in response to a previous request. Based on the user data, a first model can be determined to be utilized in processing the request.
[0074] At block 460, the system may generate, for the first model to be utilized in processing the request, a first model prompt that is based on the request, and at block 462, the system may cause the first model prompt to be processed using the first model to generate first model output using the first model.
[0075] At decision block 464, it can be determined if GUI input based on an interaction with a GUI element was received. This GUI input can be the same as was determined to be received at decision block 454 and / or different GUI input. For example, GUI input can be determined to be received subsequent to causing the first model prompt to be processed using the first model to generate first output from the first model. If, at block 464, it is determined that an additional GUI input was received based on an interaction with a GUI element, the method can proceed to block 466.
[0076] At block 466, the system may determine, based on the GUI input, to utilize one or more additional models in processing the request. In some implementations, determining to utilize one or more additional models in processing the request can include determining to utilize a second model in processing the request and / or a third model in processing the request. In some implementations, the second model can be used in processing a second type of input, such as textual data, image data, and / or video data. The second model can be determined to be used in processing the request based on the second type of input that the second model can be used in processing. For example, if at least a portion of the request includes textual data, then a second model that can be used in processing textual data can be determined to be used in processing the request. Additionally and / or alternatively, the second model can be used in generating a second type of output, and can be determined to be used in processing request based on the second type of output it can be used in generating.
[0077] In some implementations, the second model may be a generative model, and wherein the corresponding output from the generative model may include textual data, image data, and / or video data. In some implementations, the second model can be a multi-modal generative model. Multi-modal generative models can, in various implementations, can be used in processing multiple types of input, such as textual data, image data, and / or video data. Additionally and / or alternatively, multi-modal generative models can, in some implementations, be used in processing multiple types of input to generate various types of outputs, such as textual data, image data, and / or video data. Determining to utilize a multi-modal generative model in processing the request can be based on the types of input that can be processed using the multi-modal generative model and / or the types of output that can be generated using the multi-modal generative model. In some implementations, the second model may be a non-generative model, and wherein output of the second model may include textual data, image data, and / or video data. Determining to utilize a non-generative model in processing the request can be based on the types of inputs that can be processed using the non-generative model and / or the types of outputs that can be generated using the non-generative model. Additionally and / or alternatively, determining to utilize a non-generative model in processing the request can be based on one or more constraints, such as memory constraints, bandwidth constraints, processing power constraints and / or other limitations in which utilizing a non-generative model would be advantageous. Additionally and / or alternatively, a third model can be determined to be utilized in processing the request in a same or similar manner as the first model and / or the second model.
[0078] Determining, based on the GUI input, to utilize the one or more additional models in processing the request can include determining, based on the GUI input one or more types of media content to include in the response to the request. For example, a GUI input can indicate that the response should include text, one or more images, and / or one or more videos. Accordingly, the one or more additional models can be determined to be utilized in processing the request based on the type of output that can be generated using one or more of the additional models. For example, it can be determined to utilize a second model based on the GUI input indicating the response should include text because the second model can be used in generating textual data as output. Additionally and / or alternatively, it can be determined to utilize a third model based on the GUI input indicating that the response should include one or more images because the third model can be used in generating image data as output. Additionally and / or alternatively, it can be determined to utilize a fourth model based on the GUI input indicating that the response should include one or more videos because the fourth model can be used in generating video data as output.
[0079] In some implementations, at decision block 464, it can be determined that GUI input based on an interaction with a GUI element has not been received. In these implementations, the method 400 can proceed to block 468.
[0080] At block 468, the system can determine, based on the request and / or user data, to use one or more additional models in processing the request. For example, determining to utilize one or more of the additional models can include determining that the request may be directed to a particular type of content, and selecting one or more of the additional models can be based on determining that the request is directed to the particular type of content. For example, the request can include a natural language description of one or more media types that should be included in the response. Additionally and / or alternatively, the request can be processed and one or more media types that should be included in the response can be determined based on one or more particular words or phrases included in the request. As described above, the one or more additional models to be utilized in processing the request can be determined based on the identified types of media that should be included in the response. Additionally and / or alternatively, one or more instances of user data can be used to determine one or more of the additional models to utilize in processing the request. For example, one or more settings associated with a user profile can be used in determining one or more additional models to utilize in processing the request. One or more of the user settings can indicate that the response should include one or more media types, such as text, images, and / or videos. As described above, the identified media types can be used in determining which models to utilize in processing the request. As an additional and / or alternate example, user data indicative of one or more previous models that were utilized in processing one or more previous prompts can be utilized in determining one or more additional models to utilize in processing the request. The user data can indicate one or more media types included in a previous response that was generated in response to a previous request. Based on the user data, one or more additional models can be determined to be utilized in processing the request.
[0081] At block 470, the system may generate, for the one or more additional models to be utilized in processing the request, one or more additional model prompts that are based on the request, and at block 472, the system may cause one or more of the additional model prompts to be processed using one or more of the additional models to generate additional output from one or more of the additional models. As one non-limiting example, a second model prompt can be generated. The second model prompt can be processed using a second model, a third model, and / or a fourth model to respectively generate second model output, third model output, and / or fourth model output. The second model prompt can be generated based on the first model output from block 462. Additionally and / or alternatively, a second model prompt can be generated. The second model prompt can be processed using a second model to generate second model output. A third model prompt can be generated based on the request, one or more instances of GUI input, user data, and / or the second model output. The third model prompt can be processed using the third model to generate third model output. In some implementations, a second model prompt can be generated for a second model and a third model prompt can be generated for a third model. The second model prompt can be processed using the second model to generate second model output. The third model prompt can be processed using the third model to generate third model output.
[0082] At block 474, the system may generate a response to the request based on the first output from the first model and the additional output from one or more of the additional models. In some implementations, generating a response to the request based on the first output from the first model and the additional output from one or more of the additional models can include assembling the outputs into the response. At least a portion of first model output can be rendered along with at least a portion of second model output and / or at least a portion of third model output. For example textual data that was generated using a first model can be rendered along with image data that was generated using a second model and / or video data that was generated using a third model. Additionally and / or alternatively, generating a response to the request can include processing the corresponding outputs with one or more additional models to generate a response to the request. In various implantations, output of one or more of the models can include instructions for generating a response to the request based on the corresponding outputs. Generating the response to the request can include executing one or more instances of the instructions. In some implementations, one or more instances of the corresponding outputs can be edited, modified, regenerated, reformatted, and / or changed in any other way to be used in generating the response to the request. In some implementations, output from one or more of the models is not included in the response to the request.
[0083] In some implementations, generating the response to the request based on the outputs can include determining, based on the GUI input, a particular format for rendering of the response, and generating the response to the request according to the particular format. In some implementations, the GUI inputs used in determined the particular format for rendering the response can be the same GUI inputs that were used in determining the one or more models to utilize in processing the request. As an example, based on the GUI input, the particular format for rendering the response can include rendering the media in a single column and / or in multiple columns. Additionally and / or alternatively, based on the GUI input, the particular format for rendering the response can include formatting the response based on the particular media types included in the response. for example, images may be rendered in a particular location, such as the top of the response, text may be rendered in an additional particular location, such as below the videos, and videos may be rendered in yet another particular location, such as below the text. In some implementations, based on the GUI input, the particular format for rendering the response can include rendering one or more types of media in between instances of another type of media. For example, an image can be rendered with text surrounding the image.
[0084] In some implementations, the particular format for rendering the response to the request can be based on user data. For example, one or more user preferences can be stored in a user profile. Additionally and / or alternatively, the particular format for rendering the response to the request can be based on one or more previous particular formats that one or more previous responses to one or more previous requests were rendered in. As an example, the particular format for a response to a user request can be determined to be text in three separate columns based on a previous response to a previous request from that user being rendered with that format.
[0085] Referring to FIG. 5, a flow chart illustrates an example method of generating a response to a request. Other implementations may perform the steps in a different order, omit certain steps, and / or perform different and / or additional steps than those illustrated in FIG. 5. For convenience, aspects of FIG. 5 will be described with reference to a system of one or more computers that perform the process. The system may include, for example, tone or more of the components of FIG. 1.
[0086] At block 552, the system may receive a request. The request can be generated based on user interface input provided via one or more interfaces of a client device. For example, a user can provide textual input via one or more interfaces of a client device. Additionally and / or alternatively, the user can provide one or more spoken utterances to one or more interfaces of a client device, such as one or more microphones.
[0087] At decision block 554, a determination can be made as to whether GUI input based on an interaction with a GUI element was received. For example, one or more GUI elements can be rendered via a display of a client device. A user can provide interact with the GUI element that is rendered. For example, the GUI element can be a slider, and a user can interact with the slider to move one or more elements of the slider to a different portion of the display.
[0088] In some implementations, at decision block 554, it can be determined that GUI input based on an interaction with a GUI element has been received. In these implementations, the method 500 can proceed to block 556. In various implementations, the GUI element may be rendered subsequent to receiving at least part of the request and / or can be rendered prior to receiving the request.
[0089] At block 556, the system may determine, based on the GUI input, to utilize a multi-modal model in processing the request. In some implementations, the multi-modal model can be used in processing a first type of input and / or a second type of input, such as textual data, image data, and / or video data. The multi-modal model can be determined to be used in processing the request based on the types of input that the multi-modal model can be used in processing. For example, if at least a portion of the request includes textual data and image data, then a multi-modal model that can be used in processing both textual data and image data can be determined to be used in processing the request. Additionally and / or alternatively, the multi-modal model can be used in generating a first type of output and / or a second type of output, and can be determined to be used in processing request based on the first type of output and / or the second type of output it can be used in generating. In some implementations, the multi-modal model may be a generative model, and wherein the corresponding output from the multi-modal generative model may include textual data, image data, and / or video data. Determining to utilize a multi-modal generative model in processing the request can be based on the types of input that can be processed using the multi-modal generative model and / or the types of output that can be generated using the multi-modal generative model. In some implementations, the multi-modal models may be a non-generative model, and wherein output of the multi-modal model may include textual data, image data, and / or video data. Determining to utilize a non-generative multi-modal model in processing the request can be based on the types of inputs that can be processed using the non-generative multi-modal model and / or the types of outputs that can be generated using the non-generative multi-modal model. Additionally and / or alternatively, determining to utilize a non generative multi-modal model in processing the request can be based on one or more constraints, such as memory constraints, bandwidth constraints, processing power constrains and / or other limitations in which utilizing a non-generative multi-modal model would be advantageous.
[0090] Determining, based on the GUI input, to the multi-modal model in processing the request can include determining, based on the GUI input one or more types of media content to include in the response to the request. For example, a GUI input can indicate that the response should include text, one or more images, and / or one or more videos. Accordingly, the multi-modal model can be determined to be utilized in processing the request based on the type of output that can be generated using the multi-modal model. For example, it can be determined to utilize a multi-modal model based on the GUI input indicating the response should include text because the multi-modal model can be used in generating textual data as output. Additionally and / or alternatively, it can be determined to utilize the multi-modal model based on the GUI input indicating that the response should include one or more images because the multi-modal model can be used in generating image data as output. Additionally and / or alternatively, it can be determined to utilize the multi-modal model based on the GUI input indicating that the response should include one or more videos because the multi-modal model can be used in generating video data as output.
[0091] In some implementations, at decision block 554, it can be determined that GUI input based on an interaction with a GUI element has not been received. In these implementations, the method 500 can proceed to block 558.
[0092] At block 558, the system can determine, based on the request and / or user data, to use a multi-modal model in processing the request. For example, determining to utilize a multi-modal model can include determining that the request may be directed to a particular type of content, and selecting a multi-modal model can be based on determining that the request is directed to the particular type of content. For example, the request can include a natural language description of one or more media types that should be included in the response. Additionally and / or alternatively, the request can be processed and one or more media types that should be included in the response can be determined based on one or more particular words or phrases included in the request. As described above, the multi-modal model to be utilized in processing the request can be determined based on the identified types of media that should be included in the response. Additionally and / or alternatively, one or more instances of user data can be used to determine a multi-modal model to utilize in processing the request. For example, one or more settings associated with a user profile can be used in determining a multi-modal model to utilize in processing the request. One or more of the user settings can indicate that the response should include one or more media types, such as text, images, and / or videos. As described above, the identified media types can be used in determining which multi-modal models to utilize in processing the request. As an additional and / or alternate example, user data indicative of one or more previous multi-modal models that were utilized in processing one or more previous prompts can be utilized in determining a multi-modal model to utilize in processing the request. The user data can indicate one or more media types included in a previous response that was generated in response to a previous request. Based on the user data, a multi-modal model can be determined to be utilized in processing the request.
[0093] At block 560, the system can determine, based om the request, a particular format for a response to the request. In some implementations, determining a particular format for a response to the request can include determining one or more particular media types and / or one or more particular amounts of each media type to include in the response. In some implementations, the particular format for the response can be based on user data. For example, one or more user preferences can be stored in a user profile. Additionally and / or alternatively, the particular format for the response can based on one or more previous particular formats that one or more previous responses to one or more previous requests were rendered in. As an example, the particular format for a response to a user request can be determined to be text in three separate columns based on a previous response to a previous request from that user being rendered with that format. Additionally and / or alternatively, the request can include a natural language description of a particular format for the response to the request. Additionally and / or alternatively, the particular format for the response can be determined based on one or more GUI inputs provided by a user. For example, the particular format for the response cam be based on a user interaction with a GUI element that is rendered at a display of a client device.
[0094] At block 562, the system may generate, for the multi-modal model to be utilized in processing the request, a multi-modal model prompt that is based on the request and / or the particular format. At block 462, the system may cause the multi-modal model prompt to be processed using the multi-modal model to generate multi-modal model output using the multi-modal model. For example, a multi-modal model prompt can be generated that includes instructions for formatting of the response to the request.
[0095] At block 564, the system can cause the multi-modal prompt to be processed using the multi-modal model to generate multi-modal output from the multi-modal model. At block 566, a response to the request can be generated based on output from the multi-modal model. AT block 568, the system can cause the response to be rendered in the particular format responsive to the request. As one example, a prompt can include instructions to include a particular number of media types in the response to the request as well as a particular order for rendering of the different types of media. The response to the request can be generated to include the particular number of media types and have the particular media types arranged according to the instructions. Once the response has been generated in the particular format, it can be rendered for presentation to the user.
[0096] Turning now to FIGS. 6A and 6B, a non-limiting examples of generating a response to a request is depicted. A client device 610 (e.g., the client device 110 from FIG. 1) may include various user interface components including, for example, microphone(s) to generate audio data based on spoken utterances and / or other audible input, speaker(s) to audibly render synthesized speech and / or other output, a display 622 to visually render visual output, and / or one or more input devices 624 such as a keyboard that can receive input from a user.
[0097] A user can use the input device 624 to provide a request 626. For example, the user can provide a request that says "Generate an article about the most recent golf tournament. While FIGS. 6A and 6B depict the request 626 as having textual data provided at an interface device 624, this is not meant to be limiting. For example, the request 626 can include image data, audio data, and / or video data. Additionally and / or alternatively, the interface device 624 can be a touch screen, a mouse, or any other interface device 624.
[0098] In some implementations, the display 622 of the client device can render an interface that includes one or more graphical user interface elements 628A-B. For example, and as depicted with respect to FIG. 6A, an interface that includes a graph 628A and a slider 628B. The user can interact with the slider 628B to move it to a different location in the graph 628A. The position of the slider 628B in the graph 628A can be indicative of one or more criteria for the response to the request. For example, FIG. 6A depicts a graph 628A with a first axis labeled media diversity, and a second axis named media formatting. In the depicted example, the criteria for the response to the request indicated by the position of the slider 628B in the graph 628A are the number of media different media types to be included in the response and an indication of a formatting preference for rendering of the response. The GUI elements depicted in FIG. 6A are not meant to be limiting. The graph 628A can be rendered according to the number of constraints on the response. For example, the graph 628A can be different dimensions such as a line graph with a single axis when there is only one constraint and / or a 3-dimensional graph with three axis when there are three constrains. Additionally and / or alternatively the GUI elements 628A-B may not be a graph and slider. For example, the GUI elements 628A-B can include drop down menus. text entry fields, buttons, icons, and / or any other GUI elements 628A-B.
[0099] In FIG. 6A, the slider 628B is in a position on the graph 628A that indicates that the response should include three different media types. For example, this can be based on its position on the graph relative to the "MEDIA DIVESITY" axis. In the depicted example, the further the slider 628B is to the right on the graph 628A, the more media types will be includes in the response. Additionally, in the depicted example the further the slider is to the left 328B on the graph 628A, the fewer media types will be included in the response.
[0100] In the depicted example, the position of the slider 628B on the graph 628A relative to the "MEDIA FORMATTING" axis can indicate whether or not different media types should be interspersed. For example, a slider 628B that is closer to the top of the graph 328A will indicate that the response should intersperse the different media types among one another, while a slider 628B that is closer to the bottom of the graph 628A will indicate that the response should not intersperse the media types. In the depicted example, the slider 628B is a closer to the top of the graph 628A, indicating that there should be interspersing of the media types.
[0101] The request 626 and / or one or more of the interactions with the GUI elements 628A-B can be used to generate a response to the request using the methods disclosed with respect to FIGS. 1-5. For example, because the request 626 and interactions with the GUI elements 628A-B in FIG. 6A indicated that an article about the most recent golf tournament should be generated with a variety of media types that are interspersed among one another, the response 630 depicted in FIG. 6B can be generated.
[0102] The response 630 in FIG. 6B is depicted as including an image 632, a first text portion 634, a video 636, and a second text portion 638. In some implementations, the image 632, the first text portion 634, the video 636, and / or the second text portion 638 can each be generated based on output generated using one or more models. In some implementations the image 632, the first text portion 634, the video 636, and / or the second text portion 638 can each be generated using output from the same model, such as a multi-modal model. In some implementations, each of the image 632, the first text portion 634, the video 636, and / or the second text portion 638 can each be generated using output from different models. Additionally and / or alternatively, each of the image 632, the first text portion 634, the video 636, and / or the second text portion 638 can each be generated using the same model to process different prompts.
[0103] FIG. 7 is a block diagram of an example computer system 710. Computer system 710 typically includes at least one processor 714 which communicates with a number of peripheral devices via bus subsystem 712. These peripheral devices may include a storage subsystem 724, including, for example, a memory subsystem 725 and a file storage subsystem 726, user interface output devices 720, user interface input devices 722, and a network interface subsystem 716. The input and output devices allow user interaction with computer system 710. Network interface subsystem 716 provides an interface to outside networks and is coupled to corresponding interface devices in other computer systems.
[0104] User interface input devices 722 may include a keyboard, pointing devices such as a mouse, trackball, touchpad, or graphics tablet, a scanner, a touch screen incorporated into the display, audio input devices such as voice recognition systems, microphones, and / or other types of input devices. In general, use of the term "input device" is intended to include all possible types of devices and ways to input information into computer system 710 or onto a communication network.
[0105] User interface output devices 720 may include a display subsystem, a printer, a fax machine, or non-visual displays such as audio output devices. 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 mechanism for creating a visible image. The display subsystem may also provide non-visual display such as via audio output devices. In general, use of the term "output device" is intended to include all possible types of devices and ways to output information from computer system 710 to the user or to another machine or computer system.
[0106] Storage subsystem 724 stores programming and data constructs that provide the functionality of some or all of the modules described herein. For example, the storage subsystem 724 may include the logic to perform selected aspects of methods disclosed herein, and / or to implement one or more aspects of the various components depicted in FIG. 1. Memory 725 used in the storage subsystem 724 can include a number of memories including a main random-access memory (RAM) 730 for storage of instructions and data during program execution and a read only memory (ROM) 732 in which fixed instructions are stored. A file storage subsystem 726 can provide persistent storage for program and data files, and may include a hard disk drive, a CD-ROM drive, an optical drive, or removable media cartridges. Modules implementing the functionality of certain implementations may be stored by file storage subsystem 726 in the storage subsystem 724, or in other machines accessible by the processor(s) 714.
[0107] Bus subsystem 712 provides a mechanism for letting the various components and subsystems of computer system 710 communicate with each other as intended. Although bus subsystem 712 is shown schematically as a single bus, alternative implementations of the bus subsystem may use multiple buses.
[0108] Computer system 710 can be of varying types including a workstation, server, computing cluster, blade server, server farm, smart phone, smart watch, smart glasses, set top box, tablet computer, laptop, or any other data processing system or computing device. Due to the ever-changing nature of computers and networks, the description of computer system 710 depicted in FIG. 7 is intended only as a specific example for purposes of illustrating some implementations. Many other configurations of computer system 710 are possible having more or fewer components than the computer system depicted in FIG. 7.
[0109] In some implementations, a method implemented by processor(s) is provided and includes receiving a request, the request generated based on user interface input provided via one or more interfaces of a client device. A graphical user interface (GUI) input is received where the GUI input can be generated based on an interaction with a GUI element rendered at the client device via one or more of the interfaces. It is determined, based on the GUI input, to utilize multiple models in processing the request. One or more model prompts that are based on the request are generated for the multiple models to be utilized in processing the request. In response to determining to utilize the multiple models in processing the request, the one or more model prompts are caused to be processed using the multiple models to generate corresponding output from each of the multiple models. A response to the request is generated based on the corresponding outputs and the response is caused to be rendered responsive to the request.
[0110] In some implementations, processing the one or more model prompts using the multiple models to generate corresponding output from each of the multiple models can optionally include processing a first model prompt using a first model to generate first model output, and processing the first model prompt using a second model to generate second model output.
[0111] In some implementations, processing the one or more model prompts using the multiple models to generate corresponding output from each of the multiple models can optionally include processing a first model prompt using a first model to generate first model output, and processing a second model prompt using a second model to generate second model output.
[0112] In some implementations, determining, based on the GUI input, to utilize the multiple models in processing the request can optionally include determining to utilize a first model in processing the request and determining to utilize a second model in processing the request, where the first model can be used in generating a first type of output and the second model can be used in generating a second type of output.
[0113] In some of those implementations, the first model can be a generative model, and the corresponding output from the generative model can optionally be used to generate textual output.
[0114] In some versions of those implementations, the second model can be a non-generative model, and output of the second model can optionally be used to generate image and / or video output.
[0115] In some implementations, determining to utilize the second model can optionally include determining that the request is directed to a particular type of content and selecting the second model based on determining that the request is directed to the particular type of content.
[0116] In some implementations, generating the response to the request based on the corresponding outputs can optionally include determining, based on the GUI input, a particular format for rendering of the response and generating the response to the request according to the particular format.
[0117] In some implementations, the GUI element can be rendered subsequent to receiving at least part of the request.
[0118] In some of those implementations, the method can optionally include determining whether user interaction with the GUI element is predicted to occur, and causing the GUI element to be rendered based on determining that user interaction with the GUI element is predicted to occur.
[0119] In some versions of those implementations, determining whether user interaction with the GUI element is predicted to occur can optionally be based on processing historical interaction data that reflects one or more previous user interactions with one or more previous renderings of the GUI element.
[0120] In some versions of those implementations, determining whether user interaction with the GUI element is predicted to occur can optionally be based on processing the request.
[0121] In some implementations, the method can optionally include determining, based on the GUI input, a first graphical output preview that reflects a first response format that corresponds to the GUI input, and causing the first graphical output preview to be rendered at the client device via one or more of the interfaces.
[0122] In some of those implementations, the method can optionally include receiving an additional GUI input, the additional GUI input generated based on an additional interaction with the GUI element rendered at the client device via the interface, determining, based on the additional GUI input, a second graphical output preview that reflects a second response format that corresponds to the additional GUI input, and causing the second graphical output preview to be rendered at the client device via one or more of the interfaces in lieu of the first graphical output preview.
[0123] In some implementations, the method can optionally include receiving, subsequent to causing the response to be rendered, a second GUI input generated based on a second interaction with the GUI element rendered at the client device via the interface, determining, based on the second GUI input, to generate a second response to the request, and generating the second response to the request, and causing the second response to the request to be rendered.
[0124] In some of those implementations, generating the second response to the request can optionally include determining, based on the second GUI input, one or more additional models to utilize in processing the request, generating, for the one or more additional models to be utilized in processing the request, one or more additional model prompts that are based on the request, in response to determining to utilize the one or more additional models in processing the request, causing one or more of the additional model prompts to be processed using the one or more additional models to generate additional corresponding output from each of the one or more additional models, and generating the second response to the request based on the additional corresponding outputs.
[0125] In some versions of those implementations, generating the second response to the request based on the additional corresponding outputs can optionally include determining, based on the second GUI input, a second particular format for rendering of the second response and generating the second response to the request according to the second particular format.
[0126] In some versions of those implementations, one or more of the additional models can optionally be of the multiple models.
[0127] In some versions of those implementations, causing the second response to the request to be rendered can optionally include causing the second response to be rendered in lieu of rendering of the response.
[0128] In some implementations, a method implemented by processor(s) is provided and includes receiving a request, where the request can be generated based on user interface input provided via an interface at a client device. Based on the request, a determination is made to utilize multiple models in processing the request. For the multiple models to be utilized in processing the request, one or more model prompts that are based on the request are generated. In response to determining to utilize the multiple models in processing the request, causing the one or more model prompts to be processed using the multiple models generates corresponding output from each of the multiple models. A particular format for a response to the request is determined based on the request. The response to the request is generated based on the corresponding outputs and the particular format and causing the response to be rendered responsive to the request.
[0129] In some implementations, a method implemented by processor(s) is provided and includes receiving a request, where the request originates from user interface input at a client device interface. The method receives graphical user interface (GUI) input that results from interaction with a GUI element, the GUI element can be rendered at the client device interface. Based on the GUI input, the method determines to utilize a first model for processing the request. For the first model to be utilized in processing the request, the method generates a first model prompt, and the first model prompt is based on the request. The first model prompt is caused to be processed using the first model to generate first output. The method then determines, utilizing the GUI input, to use one or more additional models in processing the request. For these additional models to be utilized in processing the request, one or more additional model prompts that are based on the first output of the first model are generated. One or more additional model prompts are caused to be processed using one or more of the additional models to generate additional output from one or more of the additional models. Based on the first output from the first model, the method generates a response to the request that can include the additional output. Lastly, the method causes the response to be rendered responsive to the request.
[0130] In some implementations, a method implemented by processor(s) is provided and includes receiving a request, the request generated based on user interface input provided via an interface at a client device. Also, the method receives a graphical user interface (GUI) input, the GUI input generated based on an interaction with a GUI element rendered at the client device via the interface. The method also determines, based on the GUI input, to utilize a multi-modal model in processing the request. A particular format for a response to the request is determined based on the request. Also, a multi-modal model prompt that is based on the request and the particular format is generated for the multi-modal model to be utilized in processing the request. Causing the multi-modal model prompt to be processed using the multi-modal model includes generating multi-modal output from the multi-modal model. Then a response to the request is generated based on the multi-modal output from the multi-modal model and the response is caused to be rendered responsive to the request.
[0131] In addition, some implementations include one or more processors (e.g., central processing unit(s) (CPU(s)), graphics processing unit(s) (GPU(s)), and / or tensor processing unit(s) (TPU(s)) of one or more computing devices, where the one or more processors are operable to execute instructions stored in associated memory, and where the instructions are configured to cause performance of any of the methods disclosed herein. Some implementations include one or more computer-readable storage media (e.g., transitory and / or non-transitory) storing computer instructions executable by one or more processors to perform any of the methods disclosed herein. Some implementations include a computer program product including instructions executable by one or more processors to perform any of the disclosed herein.
Claims
1. A method implemented by one or more processors, the method comprising:receiving a request, the request generated based on user interface input provided via one or more interfaces of a client device;receiving a graphical user interface (GUI) input, the GUI input generated based on an interaction with a GUI element rendered at the client device via one or more of the interfaces;determining, based on the GUI input, to utilize multiple models in processing the request;generating, for the multiple models to be utilized in processing the request, one or more model prompts that are based on the request;in response to determining to utilize the multiple models in processing the request: causing the one or more model prompts to be processed using the multiple models to generate corresponding output from each of the multiple models;generating a response to the request based on the corresponding outputs; andcausing the response to be rendered responsive to the request.
2. The method of claim 1, wherein causing the one or more model prompts to be processed using the multiple models to generate corresponding output from each of the multiple models comprises:causing a first model prompt, of the one or more model prompts, to be processed using a first model, of the multiple models, to generate first model output; andcausing the first model prompt, of the one or more model prompts, to be processed using a second model, of the multiple models, to generate second model output.
3. The method of claim 1, wherein causing the one or more model prompts to be processed using the multiple models to generate corresponding output from each of the multiple models comprises:causing a first model prompt, of the one or more model prompts, to be processed using a first model, of the multiple models, to generate first model output; andcausing a second model prompt, of the one or more model prompts, to be processed using a second model, of the multiple models, to generate second model output.
4. The method of claim 1, wherein determining, based on the GUI input, to utilize the multiple models in processing the request comprises:determining to utilize a first model in processing the request and determining to utilize a second model in processing the request, wherein the first model is used in generating a first type of output and the second model is used in generating a second type of output.
5. The method of claim 4, wherein the first model is a generative model, and wherein the corresponding output from the generative model comprises textual output.
6. The method of claim 4, wherein the second model is a non-generative model, and wherein output of the second model comprises image and / or video output.
7. The method of claim 4, wherein determining to utilize the second model comprises:determining that the request is directed to a particular type of content; andselecting the second model based on determining that the request is directed to the particular type of content.
8. The method of claim 1, wherein generating the response to the request based on the corresponding outputs comprises:determining, based on the GUI input, a particular format for rendering of the response; andgenerating the response to the request according to the particular format.
9. The method of claim 1, wherein the GUI element is rendered subsequent to receiving at least part of the request.
10. The method of claim 9, further comprising:determining whether user interaction with the GUI element is predicted to occur; andcausing the GUI element to be rendered based on determining that user interaction with the GUI element is predicted to occur.
11. The method of claim 10, wherein determining whether user interaction with the GUI element is predicted to occur is based on processing historical interaction data that reflects one or more previous user interactions with one or more previous renderings of the GUI element.
12. The method of claim 10, wherein determining whether user interaction with the GUI element is predicted to occur is based on processing the request.
13. The method of claim 1, further comprising:determining, based on the GUI input, a first graphical output preview that reflects a first response format that corresponds to the GUI input; andcausing the first graphical output preview to be rendered at the client device via one or more of the interfaces.
14. The method of claim 13, further comprising:receiving an additional GUI input, the additional GUI input generated based on an additional interaction with the GUI element rendered at the client device via the interface; determining, based on the additional GUI input, a second graphical output preview that reflects a second response format that corresponds to the additional GUI input; andcausing the second graphical output preview to be rendered at the client device via one or more of the interfaces in lieu of the first graphical output preview.
15. The method of claim 1, further comprising:receiving, subsequent to causing the response to be rendered, a second GUI input generated based on a second interaction with the GUI element rendered at the client device via the interface;determining, based on the second GUI input, to generate a second response to the request; andgenerating the second response to the request; and causing the second response to the request to be rendered.
16. The method of claim 15, wherein generating the second response to the request comprises:determining, based on the second GUI input, one or more additional models to utilize in processing the request;generating, for the one or more additional models to be utilized in processing the request, one or more additional model prompts that are based on the request;in response to determining to utilize the one or more additional models in processing the request: causing one or more of the additional model prompts to be processed using the one or more additional models to generate additional corresponding output from each of the one or more additional models; andgenerating the second response to the request based on the additional corresponding outputs.
17. The method of claim 16, wherein generating the second response to the request based on the additional corresponding outputs comprises:determining, based on the second GUI input, a second particular format for rendering of the second response; andgenerating the second response to the request according to the second particular format.
18. The method of claim 15, wherein causing the second response to the request to be rendered comprises:causing the second response to be rendered in lieu of rendering of the response.
19. A system comprising: memory storing instructions; and one or more processors operable to execute the instructions to:receive a request, the request generated based on user interface input provided via one or more interfaces of a client device;receive a graphical user interface (GUI) input, the GUI input generated based on an interaction with a GUI element rendered at the client device via one or more of the interfaces;determine, based on the GUI input, to utilize multiple models in processing the request;generate, for the multiple models to be utilized in processing the request, one or more model prompts that are based on the request; andin response to determining to utilize the multiple models in processing the request: cause the one or more model prompts to be processed using the multiple models to generate corresponding output from each of the multiple models;generate a response to the request based on the corresponding outputs; andcause the response to be rendered responsive to the request.
20. A non-transitory computer readable storage medium configured to store instructions that, when executed by one or more processors, cause one or more of the processors to:receive a request, the request generated based on user interface input provided via one or more interfaces of a client device;receive a graphical user interface (GUI) input, the GUI input generated based on an interaction with a GUI element rendered at the client device via one or more of the interfaces;determine, based on the GUI input, to utilize multiple models in processing the request;generate, for the multiple models to be utilized in processing the request, one or more model prompts that are based on the request; andin response to determining to utilize the multiple models in processing the request: cause the one or more model prompts to be processed using the multiple models to generate corresponding output from each of the multiple models;generate a response to the request based on the corresponding outputs; andcause the response to be rendered responsive to the request.
