Example-based voicebot development techniques

The voicebot development platform trains voicebots using diverse training instances and machine learning layers, overcoming limitations of predefined schemas, resulting in efficient and scalable voicebots that understand human speech nuances.

JP7549677B2Active Publication Date: 2024-09-11GOOGLE LLC

Patent Information

Application Number
JP2022571846
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-12-02
Filing Date
2021-12-03
Publication Date
2024-09-11
Estimated Expiration
2041-12-03

AI Technical Summary

Technical Problem

Existing voicebots are limited by predefined intent schemas, requiring extensive manual definition and memory to handle the virtually unlimited nuances of human speech, making them inefficient and non-extensible.

Method used

A voicebot development platform that trains voicebots using multiple machine learning layers based on diverse training instances, including feature enhancement inputs and remote procedure calls, allowing for flexible and efficient learning without extensive predefined schemas.

Benefits of technology

The platform enables voicebots to be trained more quickly and accurately, consuming less memory and resources while better understanding human speech nuances, thus enhancing scalability and robustness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007549677000008
    Figure 0007549677000008
  • Figure 0007549677000006
    Figure 0007549677000006
  • Figure 0007549677000007
    Figure 0007549677000007
Patent Text Reader

Abstract

An embodiment is to provide a voicebot development platform that enables a third-party developer to train a voicebot based on training instances. Each training instance may include training inputs and training outputs. The training inputs may include a portion of a corresponding conversation and a preceding context of the corresponding conversation. The training outputs may include corresponding ground truth responses to the portion of the corresponding conversation. After training, the voicebot can be deployed to conduct conversations on behalf of a third party. In certain embodiments, the voicebot is further trained based on corresponding feature highlighting inputs that direct the voicebot to focus on particular features of the portion of the corresponding conversation. In certain additional or alternative embodiments, the voicebot is further trained to interact with a third-party system via remote procedure calls (RPCs).
Need to check novelty before this filing date? Find Prior Art

Description

[Background technology]

[0001] Humans may participate in human-computer interactions through various computing devices with interactive software applications called "bots," "chatbots," "automated assistants," "interactive personal assistants," "intelligent personal assistants," "conversational agents," and the like. As an example, these bots can initiate or answer phone calls and converse with humans to perform activities on behalf of third parties. However, the functionality of these bots may be limited by predefined intent schemas that the bots utilize to perform their activities. In other words, if a human participating in an interaction with a bot provides a spoken utterance that includes an intent that is not defined by the predefined intent schema, the bot will fail. Furthermore, to update these bots, existing intent schemas may be modified and new intent schemas may be added. However, there are virtually infinite intent schemas that may need to be defined so that the bot is robust to various nuances of human speech. Extensive computational resources are required to manually define and / or manually refine such intent schemas. Furthermore, even if a large number of intent schemata are defined, a large memory is required to store and / or utilize the large number of intent schemata, so that the intent schemata are not practically scalable to the extent of learning the nuances of human speech. Summary of the Invention [Means for solving the problem]

[0002] The disclosed embodiments are directed to providing a voicebot development platform that allows a voicebot associated with a third party to be trained based on multiple training instances. The voicebot may correspond to one or more processors that utilize multiple ML layers of one or more machine learning (ML) models for calls associated with a third party to conduct a conversation on behalf of the third party. The voicebot development platform may obtain multiple training instances from a third-party developer based on user input by a client device associated with the third-party developer targeted to the voicebot development platform. Calls associated with a third party may include person-initiated incoming calls to the third party via each client device and / or voicebot-initiated outgoing calls to the person or additional third parties associated with the person via the voicebot development platform. Additionally, calls associated with a third party may be conducted using a variety of voice communication protocols (e.g., Voice over Internet Protocol (VoIP), Public Switched Telephone Network (PSTN), and / or other telephony communication protocols).

[0003] For example, assume that the third party on which the voicebot is being trained is a fictitious restaurateur named Virtual Cafe. It is further assumed that multiple training instances for training the voicebot associated with the virtual cafe are obtained through a voicebot development platform. In this example, the voicebot may then answer the incoming call and perform one or more activities related to restaurant reservations, inquiring about opening hours, ordering takeout, and / or other activities that may be performed during a call associated with the incoming call addressed to the virtual cafe. Further, the voicebot may additionally or alternatively initiate making an outgoing call and perform one or more activities related to ordering inventory, information technology requests, and / or other activities that may be performed during a call associated with the outgoing call on behalf of the virtual cafe. In particular, multiple instances of a voicebot may be deployed such that an instance of a voicebot is engaged in a conversation with a corresponding person at any given time in each of multiple conversations. For example, each instance of a voicebot may include a corresponding processor that utilizes a corresponding instance of the voicebot's ML layer.

[0004] In various embodiments, each of the multiple training instances may include a training instance input and a training instance output. The training instance input may include a portion of the corresponding conversation and a prior context associated with the corresponding conversation. For example, the portion of the corresponding conversation may include audio data capturing a verbal input of a user (e.g., a third-party developer or other person), a number of voice hypotheses generated based on processing the audio data with one or more automatic speech recognition (ASR) models, and / or text provided by a third-party developer. Furthermore, the prior context associated with the corresponding conversation may include prior audio data of the corresponding conversation preceding the portion of the conversation, a number of prior voice hypotheses generated based on processing the prior audio data with one or more ASR models, text provided by a third-party developer, and / or metadata associated with the corresponding conversation. The training instance output may include a corresponding ground truth response for at least the portion of the corresponding conversation. For example, the corresponding ground truth responses to at least a portion of the corresponding conversation may include audio data capturing a verbal response of a user (e.g., a third-party developer or another person), multiple voice hypotheses generated based on processing the audio data with one or more ASR models, ground truth embeddings associated with the ground truth responses, and / or text provided by the third-party developer.

[0005] In certain of the embodiments, the training instance input may be processed with multiple ML layers of the one or more ML models to generate a predicted embedding associated with a predicted response to at least a portion of the conversation. Furthermore, the predicted embedding may be compared in the embedding space to a ground truth embedding associated with the training instance output. One or more losses may be generated based on a distance metric (e.g., cosine distance, Euclidean distance, and / or other distance metric) between the predicted embedding and the ground truth embedding, and one or more of the multiple ML layers may be updated based on the one or more losses. In additional or alternative examples of the embodiments, a first ML layer of the multiple ML layers may be utilized to process at least a portion of the corresponding conversation to generate a first embedding, a second ML layer of the multiple ML layers may be utilized to process a prior context of the corresponding conversation to generate a second embedding, and the first and second embeddings may be concatenated to generate an embedding associated with a current state of the corresponding conversation. In other words, the embedding associated with the current state of the corresponding conversation encodes the corresponding conversation relative to the history of the corresponding conversation. In further additional or alternative examples of each embodiment, multiple speech hypotheses included in at least a portion of the conversation or generated based on audio data included in at least a portion of the conversation may be adjusted and / or annotated prior to processing.

[0006] In various embodiments, one or more of the training instances may be associated with one or more corresponding feature highlighting inputs. The corresponding feature highlighting inputs may be obtained based on user input from a third-party developer and may be provided as an indication of why a particular feature of the corresponding training instance is important. The corresponding feature highlighting inputs may be used as part of the training instance inputs to train the ML layers as described above to bias the updates of the ML layers after processing the training instance inputs, and / or may be used as inputs to a pointer network to direct the ML layers to the corresponding feature highlighting inputs during training. For example, if a portion of a corresponding conversation used as a training instance input for a voicebot associated with a virtual cafe corresponds to "I would like to make a reservation for four people at 6:00 PM," the corresponding feature highlighting input may include an indication that the portion of the corresponding conversation includes the time and number of people features of the restaurant reservation. As a result, the voicebot may be trained to pay attention to the particular features during inference.

[0007] By using the corresponding feature highlighting input described herein, various technical advantages can be achieved. As one non-limiting example, a voicebot can achieve a given level of accuracy and / or robustness based on a given amount of training instances by including the corresponding feature highlighting input. Without including the corresponding feature highlighting input, a much larger number of training instances would be required to achieve the given level of accuracy and / or robustness that would otherwise be unattainable. Rather than requiring a predefined intent schema for each of the virtually infinite number of inputs, even if the inputs processed by a given voicebot were virtually infinite, for example, the response discrepancy may be limited to the degree of candidate responses of the given voicebot. As a result, the voicebot may be trained more quickly and efficiently, thereby conserving the computational resources of the client device utilized to train the voicebot, and / or the network resources of an embodiment in which the training instances, training loss, and / or other training data are transmitted over one or more networks.

[0008] In various embodiments, a voicebot may be trained to make remote procedure calls (RPCs) to one or more third-party systems. The third-party systems may include, for example, a reservation system, an inventory system, a status update system, and / or any other third-party system capable of receiving RPC outbound requests from a voicebot and sending responsive RPC inbound requests to the voicebot. The multiple training instances obtained by the voicebot development platform may include RPC training instances. Each RPC training instance may be an RPC outbound training instance or an RPC inbound training instance. In embodiments where a given RPC training instance is an RPC outbound training instance, the training instance input may include a portion of the corresponding conversation and the preceding context of the corresponding conversation as described above. However, the training instance output may include instructions to generate and send the RPC outbound request and, optionally, a ground truth response. Continuing with the virtual café example above, the RPC outbound request may be a structured request for [time=6:00PM, party size=4], sent to a reservation system in response to a corresponding conversation part, "I'd like to make a reservation for 4 people at 6:00 PM." Additionally, the training instance output may include a corresponding ground truth response of "I'll confirm," to inform the human that the voicebot is inquiring about the availability of a restaurant reservation. In an embodiment where a given RPC training instance is an RPC inbound training instance, the training instance input may include an RPC inbound request from one or more third-party systems. Additionally, the training instance output may include a corresponding ground truth response to the RPC inbound request. Continuing with the virtual café example above, the RPC inbound request may be a structured request indicating the availability of the desired time (e.g., reservation for 4 people at 6:00 PM) and, optionally, one or more alternative times if the desired time is unavailable.Additionally, the training instance output may inform a human that the voicebot is enquiring about the availability of a restaurant reservation by including the corresponding ground truth response, "6:00 PM is free, name please" or "6:00 PM is free, but 7:00 PM or 8:00 PM are free."

[0009] By using the RPC training instances described herein, various technical advantages can be achieved. As one non-limiting example, a voicebot may learn how and / or when to send requests to a third-party system and how to use responses to the requests to solve a task of a call being made by the voicebot. As a result, the task can be solved by the voicebot during a conversation, efficiently, and without the need to involve another person in the conversation. Furthermore, by using the RPC training instances, the amount of RPC requests can be reduced due to fewer erroneous RPC requests, thereby saving computer resources that would otherwise be used to generate RPC requests and / or network resources that would otherwise be used to transmit RPC requests over one or more networks.

[0010] In certain embodiments, one or more of the training instances can be obtained from a corpus of outgoing calls based on user input from a third-party developer via the voicebot development platform. The third-party developer can be requested to label one or more training instances from the corpus of outgoing calls with another user input. For example, the voicebot development platform may request the third-party developer to define corresponding feature highlighting inputs for one or more of the training instances, define RPC requests (if any) for one or more of the training instances, and / or define other labels for one or more of the training instances. The outgoing calls can include audio data capturing corresponding conversations between multiple people and / or one person and a corresponding voicebot. The outgoing calls can be processed to generate one or more of the training instances. For example, assume that the outgoing calls include audio data capturing corresponding conversations between a first type of person (e.g., a customer) and a second type of person (e.g., an employee). In this example, audio data corresponding to a portion of the interaction associated with the customer can be identified. Also, audio data responsive to the portion of the interaction associated with the customer can be identified in response to an interaction response associated with the employee. The portion of the interaction associated with the customer is available as part of the training instance input, and the interaction response associated with the employee is available as part of the training instance output. Additionally, the antecedent context of the interaction conversation at any given point in the interaction conversation is also available as part of the training instance input. In embodiments where RPCs are made during the interaction call, a third-party developer may need to embed RPC outbound or inbound requests into the training instance. In certain of each embodiment, the outgoing call may be associated with the third party for which the voicebot is being trained. In additional or alternative examples of each embodiment, the outgoing call may be associated with one or more other third parties distinct from the third party for which the voicebot is being trained.

[0011] In certain additional or alternative embodiments, one or more of the training instances can be obtained from a demo conversation based on user input from a third-party developer via a voicebot development platform. The demo conversation can include audio data and / or text capturing a corresponding demo conversation between one or more people (e.g., which may or may not include a third-party developer). Continuing with the virtual cafe example above, a person can provide user input to initiate a corresponding conversation from the perspective of a customer of the virtual cafe, and that person and another person can provide subsequent user input from the perspective of an employee of the virtual cafe, who can provide further subsequent user input from the employee's perspective, and that person or another person can provide yet another subsequent user input from the customer's perspective, until the demo conversation is terminated. The demo conversation can be processed in the same or similar manner as described above, taking into account the previously placed calls in the corpus of previously placed calls, to generate one or more of the training instances.

[0012] In certain additional or alternative embodiments, one or more of the multiple training instances can be obtained based on user input directly from a third-party developer via a voicebot development platform. For example, the third-party developer may define at least a portion of the corresponding conversation for a given training instance to be used as a training instance input, and may define a ground truth response to the portion of the corresponding conversation for a given training instance to be used as a training instance output. In addition, the third-party developer may optionally define a prior context of the corresponding conversation for a given training instance, or a conversation summary of the "prior" portion of the corresponding conversation, which is also used as part of the training instance input. Notably, even if the third-party developer defines these portions of the conversation, the third-party developer does not need to define the entire conversation, such as the demo conversation. As a result, a third-party developer may define one or more training instances that are directed to specific portions of a conversation, such as soliciting specific values ​​for parameters of a task (e.g., a restaurant reservation task, a flight change task, an inventory check task, and / or any other task performed during a corresponding call), performance of an RPC, an introduction, and / or other aspects of a corresponding conversation.

[0013] In various embodiments, a corresponding conversation summary of each call made by the voicebot may be generated during deployment. The corresponding conversation summary may be presented to a third party developer by the voicebot development platform for monitoring the performance of the voicebot. In certain embodiments, the corresponding conversation summary may include, for example, a natural language summary of each corresponding call, the duration of the corresponding call, the outcome or outcome of the corresponding call, financial information associated with the corresponding call, and / or other information associated with the corresponding call. Continuing with the virtual cafe example, the corresponding conversation summary may be, for example, "user calls to make a reservation, time available, reservation completed." In certain additional or alternative embodiments, the corresponding conversation summary, and if selected, a transcript of the corresponding call, may be presented to a third party developer through the voicebot development platform. The corresponding conversation summary may be stored in a voice activity database.

[0014] By using the techniques described herein, various technical advantages can be achieved. As a non-limiting example, the voicebot development platform allows a voicebot to be trained based on conversational examples rather than predefined intent schemata. This allows the voicebot's behavior to be easily added or modified by adding new training instances or modifying existing training instances. As a result, a voicebot trained using the voicebot development platform described herein is more scalable and consumes less memory since it is not necessary to define a large number of intent schemata. As a result, the ML models trained and utilized may consume less memory and be more robust and / or accurate. Furthermore, a voicebot trained using the voicebot development platform may achieve a high level of accuracy and recall, thereby allowing calls to be made more quickly and efficiently. This is because a voicebot trained using the voicebot development platform may be better able to understand the nuances of human speech and therefore be able to respond better.

[0015] The above has been provided as a general description of certain embodiments disclosed herein. These and other embodiments are described in more detail herein. [Brief description of the drawings]

[0016] [Figure 1] FIG. 1 shows a block diagram of an exemplary embodiment that illustrates various aspects of the present disclosure, by which the embodiments disclosed herein may be implemented. [Figure 2A] FIG. 2A illustrates an example process flow for training a voicebot, according to various embodiments. [Figure 2B] FIG. 2A illustrates an example process flow using a trained voicebot, according to various embodiments. [Figure 3A] FIG. 3A illustrates various non-limiting examples of user interfaces associated with a voicebot development platform, according to various embodiments. [Figure 3B] FIG. 3B illustrates various non-limiting examples of user interfaces associated with a voicebot development platform, according to various embodiments. [Figure 3C] FIG. 3C illustrates various non-limiting examples of user interfaces associated with a voicebot development platform, according to various embodiments. [Figure 4] FIG. 4 is a flow chart illustrating an example method for training a voicebot based, at least in part, on feature highlight input, according to various embodiments. [Diagram 5] FIG. 5 is a flow chart illustrating an example method for training a voicebot based, at least in part, on remote procedure calls, according to various embodiments. [Figure 6] FIG. 6 illustrates an example architecture of a computing device in accordance with various embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] 1, a block diagram of an exemplary embodiment is shown that illustrates various aspects of the present disclosure and in which the disclosed embodiments may be implemented. A client device 110 is shown in FIG. 1 and, in various embodiments, includes a user input engine 111, a rendering engine 112, and a voicebot development system client 113. The client device 110 may be, for example, a standalone assistant device (e.g., equipped with a microphone, speaker, and / or display), a laptop, a desktop computer, a tablet, a wearable computing device, a vehicle computing device, and / or any other client device capable of implementing the voicebot development system client 113.

[0018] The user input engine 111 can detect various types of user input at the client device 110. User input detected at the client device 110 may include oral input detected by a microphone of the client device 110, touch input detected by a user interface input device (e.g., a touch screen) of the client device 110, and / or key input detected by a user interface input device of the client device 110 (e.g., a virtual keyboard on a touch screen, a physical keyboard, a mouse, a stylus, and / or any other user interface input device at the client device 110).

[0019] The rendering engine 112 can render output visually and / or audibly via user interface output at the client device 110. The output can include, for example, various user interfaces associated with the voicebot development system client 113, which may be visually rendered via various user interfaces of the client device 110 (e.g., as described with reference to FIGS. 3A, 3B, and 3C), notifications associated with the voicebot development system client 113, which may be visually rendered via a user interface of the client device 110 and / or audibly rendered via a speaker of the client device 110, and / or any other output described herein that is visually and / or audibly rendered.

[0020] The voicebot development system client 113 may include an automatic speech recognition (ASR) engine 130A, a natural language understanding (NLU) engine 140A1, and a text-to-speech (TTS) engine 150A1 in various embodiments. Additionally, the voicebot development system client 113 may communicate with the voicebot development system 120 through one or more networks 1991 (e.g., any combination of Wi-Fi, Bluetooth, near field communication (NFC), local area network (LAN), wide area network (WAN), Ethernet, Internet, and / or other networks). The voicebot development system client 113 and the voicebot development system 120 are logical instances of a voicebot development platform from the perspective of a user interacting with the client device 110. The voicebot development system 120 shown in FIG. 1 is implemented remotely from the client device 110 (e.g., via one or more servers), but this should be understood as an example and not as a limitation. For example, alternatively, the voicebot development system 120 may be implemented locally on the client device 110 .

[0021] The voicebot development platform may be utilized by a third party developer (e.g., a user of the client device 110) to train a voicebot that is deployed to conduct a conversation for a call associated with a third party on behalf of the third party associated with the third party developer, as described herein. In particular, the voicebot development platform may be provided by a first party, and the third party developer may utilize the voicebot development platform to train a voicebot for a third party associated with the third party developer. As used herein, the term first party refers to an entity that issues the voicebot development platform, whereas the term third party refers to an entity that does not issue the voicebot development system, as distinguished from an entity associated with the first party. Thus, a third party developer refers to a user that interacts with the voicebot development platform to train a voicebot associated with a third party.

[0022] The calls described herein may be conducted using a variety of voice communication protocols (e.g., voice over Internet Protocol, Public Switched Telephone Network (PSTN), and / or other telephony communication protocols). As described herein, synthetic voice may be rendered as part of an assisted telephone call. An assisted telephone call may include embedding synthetic voice into the call so that it is perceptible to at least one of the participants in the assisted call. The synthetic voice may be generated and / or embedded by a client device 110 at one end of a given call and / or generated and / or embedded by a server connected to the call (e.g., implementing a voicebot development system 120).

[0023] The voicebot development system 120 includes, in various embodiments, an ASR engine 130A2, an NLU engine 140A2, a TTS engine 150A2, a voicebot training engine 160, a voicebot engine 170, an error identification engine 180, and a conversation summary engine 185. The voicebot training engine 160 can be utilized to train a voicebot that is deployed to converse on behalf of a third party for calls associated with the third party, and in various embodiments may comprise a training instance engine 161 and a training engine 162. Additionally, the voicebot engine 170 can then utilize the trained voicebot to converse on behalf of a third party for calls associated with the third party, and in various embodiments may comprise a response engine 171 and a remote procedure call (RPC) engine 172.

[0024] The training instance engine 161 can obtain multiple training instances, which are provided by a third-party developer and are for training the voicebot based on user inputs detected at the client device 110 via the user input engine 111. The multiple training instances can be stored in the training instance database 161A in association with instructions for the voicebot to be trained based on the multiple training instances. Each of the multiple training instances can include a training instance input and a training instance output. The training instance input can include one or more of a portion of the corresponding conversation (e.g., audio data and / or multiple voice hypotheses corresponding thereto), a preceding context associated with the corresponding conversation, an instruction for an incoming call, an activity or command to initiate an outgoing execution, an RPC inbound request, or one or more feature highlighting inputs. The training instance output can include one or more of a ground truth response to the portion of the corresponding conversation (e.g., audio data and / or multiple voice hypotheses corresponding thereto), an introduction to an incoming call, an initiation of an outgoing execution, or an RPC outbound request.

[0025] In certain implementations, one or more of the training instances can be obtained from a corpus of outgoing calls based on user input. A third-party developer may need to label one or more training instances from the corpus of outgoing calls with user input. The outgoing calls may include audio data capturing an action conversation between multiple people and / or one person and an action voicebot. The training instance engine 161 may process the outgoing calls to generate one or more of the training instances. For example, assume that the outgoing calls include audio data capturing an action conversation between a first type of person (e.g., a customer) and a second type of person (e.g., an employee). In this example, the training instance engine 161 can identify audio data corresponding to a portion of the action conversation associated with the customer and can identify audio data responding to the portion of the action conversation associated with the customer in response to an action response associated with the employee. The portion of the action conversation associated with the customer is available as part of the training instance input, and the action response associated with the employee is available as part of the training instance output. Additionally, prior context of the response conversation may also be available as part of the training instance input, which may include prior audio data for the response conversation (and / or corresponding speech hypotheses or corresponding recognized text), metadata associated with the conversation (e.g., the location of the customer, the time the response call began, whether parameter values ​​were sought, etc.), and / or other contextual information associated with the outgoing call.

[0026] In certain of the embodiments, the outgoing call may be associated with the third party for which the voicebot is being trained. For example, assume that the third party is a fictitious retailer named Virtual Market that sells various products. The outgoing call may include audio data capturing a corresponding conversation between a first type of person (e.g., a customer) and one or more of the second type of person (e.g., employees of the virtual market), a voicebot associated with the virtual market, or an interactive voice response (IVR) system associated with the virtual market. In additional or alternative examples of the embodiments, the outgoing call may be associated with one or more other third parties distinct from the third party for which the voicebot is being trained. In another of these embodiments, the outgoing call associated with the one or more other third parties obtained by the training instance engine 161 may be limited to other third parties that are the same type of entity as the third party for which the voicebot is being trained (e.g., a retailer, an airline operator, a restaurant operator, a school or university, a supplier, a shipper, a government agency, and / or any other type of person, place, or thing). Continuing with the above example, the outgoing calls available for generating training instances for a voicebot associated with a virtual market may be limited to those associated with other retailers, and possibly other retailers selling the same or optionally similar products.

[0027] In additional or alternative embodiments, one or more of the training instances can be obtained from a demo conversation made based on user input. The demo conversation can include audio data and / or text capturing a corresponding demo conversation between one or more people (e.g., which may or may not include a third-party developer). For example, assume that the third party is a fictitious retailer named Virtual Market that sells various products. In this example, a person can provide user input to initiate a corresponding conversation from the perspective of a customer of the virtual market, that person and another person can provide subsequent user input from the perspective of an employee of the virtual market, that person can provide further subsequent user input from the perspective of the employee, that person or another person can provide yet another subsequent user input from the perspective of the customer, and so on (e.g., as described with reference to FIG. 3B). The training instance engine 161 can process the demo conversation to reference a corpus of training instances and generate one or more of the training instances in a similar manner as described above.

[0028] In additional or alternative embodiments, one or more of the multiple training instances can be obtained based directly on user input. For example, a third-party developer may define at least a portion of the corresponding conversation for a given training instance to be used as a training instance input, and may define a ground truth response to the portion of the corresponding conversation for a given training instance to be used as a training instance output. In addition, a third-party developer may optionally define a prior context of the corresponding conversation for a given training instance to be used as a part of the training instance input, or a conversation summary of the "prior" portion of the corresponding conversation. Notably, even if the third-party developer defines these portions of the conversation, the third-party developer does not need to define all of the conversation, such as the demo conversation. As a result, the third-party developer may define one or more training instances directed to a particular portion of the conversation, such as requesting a particular value of a parameter of a task (e.g., a restaurant reservation task, a flight change task, an inventory check task, and / or other tasks made during the corresponding call), the performance of an RPC, an introduction, and / or other aspects of the corresponding conversation.

[0029] In various embodiments, one or more corresponding feature highlighting inputs may be associated with one or more of the training instances. The one or more corresponding feature highlighting inputs may be, for example, natural language inputs (e.g., spoken and / or keyed inputs) indicating why one or more parts of a particular training instance are important for training a voicebot, such as one or more parts of the training instance input, such as a time feature, a date feature, a name feature, an account number feature, an email address feature, a phone number feature, a monetary feature, a quantity feature, a product name feature, a location feature, an RPC request feature, and / or any other feature of the training instance input or training instance output for a given training instance. The one or more corresponding feature highlighting inputs may be included in the training instance input for the corresponding training instance and used to bias updates of the multiple ML layers corresponding to the voicebot trained after processing the training instance input, and / or may be used as inputs to a pointer network to identify the voicebot to pay attention to the one or more corresponding feature highlighting inputs during training. As a result, the trained voicebot can then take note of the occurrence of these characteristics when the voicebot is then deployed to conduct conversations by third parties.

[0030] In embodiments where one or more corresponding feature highlighting inputs are utilized as inputs to the pointer network, the portion of the corresponding conversation (or a representation thereof, such as, for example, a conversation encoding, a conversation embedding, a conversation vector, and / or other representation) and / or a prior context of the corresponding conversation (or a representation thereof, such as, for example, a context encoding, a context embedding, a context vector, and / or other representation) may be processed with the pointer network during training. One or more tokens of the portion of the corresponding conversation may be labeled with one or more values ​​(e.g., probabilities, log-likelihoods, binary values, and / or other values), where the one or more values ​​indicate whether the one or more tokens of the portion of the corresponding conversation are predicted to correspond to the one or more corresponding feature highlighting inputs. Additionally, the one or more values ​​indicating whether the one or more tokens of the portion of the corresponding conversation are predicted to correspond to the one or more corresponding feature highlighting inputs may be compared to one or more ground truth values ​​determined based on the one or more feature highlighting inputs provided by a third-party developer.

[0031] For example, assume that the voicebot to be trained is associated with a virtual market, assume that the training instance input includes at least a portion of a corresponding conversation corresponding to "I would like to buy product X if available," and assume that one or more corresponding feature highlighting inputs provided by a third-party developer indicate the features and availability of the product. In this example, one or more tokens corresponding to "product X" and "available" may be associated with values ​​indicating that these features are meaningful to respond accurately to the portion of the corresponding conversation. However, the pointer network determines that "purchase" is predicted to correspond to the feature highlighting input based on processing with the prediction value (e.g., a probability of 0.5 that "purchase" should be focused on), and "product X" is predicted to correspond to the feature highlighting input based on processing with the prediction value (e.g., a probability of 0.6 that "product X" should be focused on). In this example, the predicted value 0.5 associated with "Purchase" may be compared to a ground truth value, such as a probability of 0.0, when "Purchase" is not provided by the third-party developer as a corresponding feature emphasis input, to generate a first loss, and the predicted value 0.6 associated with "Product X" may be compared to a ground truth value, such as a probability of 1.0, when "Product X" is provided by the third-party developer as a corresponding feature emphasis input, to generate a second loss. These ground truth values ​​may be determined based on one or more corresponding feature emphasis inputs provided by the third-party developer. Furthermore, the pointer network may be updated (e.g., by backpropagation) based on at least the first loss and the second loss. In other words, the pointer network may process the training instance input for a given training instance to learn the specific portion of the corresponding conversation and / or the prior context of the corresponding conversation (or a representation thereof) contained within the training instance input to be focused on. Thus, during training, the pointer network may be trained based on the same training instances utilized to train multiple ML layers for the voicebot.

[0032] In certain embodiments, the ML layers corresponding to the voicebot may further include an ML layer corresponding to a pointer network. The ML layer corresponding to the pointer network may be similar to that corresponding to the attention layer, but may include differences. For example, an attention layer of a transformation ML model is traditionally used for sequence-by-sequence processing to focus the transformation ML model on an input sequence (e.g., a stream of audio data) while generating an output sequence (e.g., a stream of text corresponding to the stream of audio data). Similarly, an ML layer corresponding to a pointer network may be used to focus the transformation ML model on an input sequence and generate an output sequence. However, the pointer network focuses the transformation ML model on a particular portion of the input sequence (e.g., a particular phrase contained in the input sequence). In certain embodiments, the ML layer corresponding to the pointer network may be part of the transformation ML model described herein. In additional or alternative embodiments, the ML layer corresponding to the pointer network may be distinct from, but used in combination with, the transformation ML model described herein.

[0033] Thus, the pointer network can be utilized to predict portions of the conversation that are meaningful to the ML layers corresponding to the voicebot in terms of the response to the user and / or explaining why the voicebot responded to the user in a particular manner. Furthermore, the ML layers corresponding to the voicebot can utilize these predicted portions determined by the pointer network to bias the selection of the candidate responses provided to respond. Continuing with the virtual market example, assume that the corresponding conversation portion corresponding to "I would like to buy product X if it exists" is utilized as a training instance input, and further assume that "product X" is actually "available" for sale. Based on this availability, the predicted response may correspond to "It is available", "It is available, would you like to buy product X?", etc. In selecting the predicted response of this example, one or more corresponding feature highlighting inputs provided by a third-party developer may be utilized to bias toward the predicted response. Thus, one or more feature highlighting inputs may not only be used to initially train the pointer network to predict one or more particular portions of meaningful conversational responses during training, but may also be used by multiple ML layers corresponding to the voicebot to select predicted responses to portions of conversational responses.

[0034] In other words, a third party developer can interact with the voicebot development system 120 to provide feature highlighting input. Not only does the voicebot learn certain features of the corresponding conversation that are important to the corresponding conversation by using the pointer network in the inference, but the voicebot can also learn how to modify or bias a predicted response based on the output generated by using the pointer network in the inference. As a result, the trained voicebot can provide an indication to the third party developer (e.g., via the conversation summarization engine 185 as described below) as to why it responded in a particular way in the inference.

[0035] By using the corresponding feature highlighting input described herein, various technical advantages can be achieved. As one non-limiting example, by including the corresponding feature highlighting input, a voicebot can achieve a given level of accuracy and / or robustness based on a given amount of training instances. Without including the corresponding feature highlighting input, a larger number of training instances would be required to achieve the given level of accuracy and / or robustness that would otherwise be unattainable. As a result, the voicebot may be trained more quickly and efficiently, which may conserve computational resources of a client device utilized to train the voicebot, and / or network resources in embodiments where training instances, training loss, and / or other training data are transmitted over one or more networks.

[0036] In various embodiments, one or more of the training instances may be an RPC training instance. As used herein, an RPC training instance includes a training instance having a corresponding training instance input including at least a corresponding RPC inbound request, and / or a corresponding training instance output including at least a corresponding RPC outbound request. An RPC outbound request included in the corresponding training instance output may indicate that the voicebot should generate an RPC request and send the RPC request to one or more third party systems 190 (e.g., a reservation system, an inventory system, a status check system, and / or any other third party system) via one or more networks 1992. An RPC inbound request included in the corresponding training instance input may indicate that the voicebot should receive a response to the RPC request from one or more third party systems 190 via one or more networks 1992, process the response, and generate an output based on the response. Network 1992 is shown as distinct from network 1991 of FIG. 1, but should be understood by way of example and not by way of limitation. For example, network 1992 and network 1991 may be the same network or another combination of networks described herein. Because the RPC requests are not directly associated with the corresponding conversation from which multiple training instances are generated for training the voicebot (e.g., are not directly captured in the conversation's spoken or keyed input), the third-party developer may need to define the RPC outbound and inbound requests for the training instances, the particular third-party system(s) of one or more third-party systems 190 to which the RPC outbound requests are directed, the format of the RPC requests, the format of the responses to the RPC requests, and / or any other information associated with the RPCs.

[0037] In embodiments where the user input engine 111 detects the user's verbal input via a microphone of the client device 110 to obtain the training instances as described above, audio data capturing the verbal input may be processed. In certain embodiments, the ASR engine 130A1 of the client device 110 may process the audio data capturing the verbal input using the ASR model 130A. In additional or alternative embodiments, the client device 110 may transmit audio data to the voicebot development system 120 via the network 1991, and the ASR engine 130A2 may process the audio data capturing the verbal input using the ASR model 130A. The speech recognition engines 130A1 and / or 130A2 may generate multiple voice hypotheses for the verbal input based on processing the audio data, and may optionally select a particular voice hypothesis as the recognized text for the verbal input based on a corresponding value (e.g., a probability value, a log-likelihood value, and / or other value) associated with each of the multiple voice hypotheses. In various embodiments, ASR model 130A is an end-to-end speech recognition model that allows ASR engines 130A1 and / or 130A2 to directly use the model to generate multiple phonetic hypotheses. For example, ASR model 130A may be an end-to-end model used to generate each of multiple phonetic hypotheses character by character (or other token by token). One non-limiting example of such an end-to-end model used to generate recognized text character by character is a recurrent neural network transducer (RNN-T) model. RNN-T models are a form of sequence-by-sequence model that does not use attention mechanisms. In other embodiments, ASR model 130A is not an end-to-end speech recognition model, allowing ASR engines 130A1 and / or 130A2 to generate predicted phonemes (and / or other representations) instead. The predicted phonemes (and / or other representations) may then be utilized by ASR engines 130A1 and / or 130A2, for example, to determine multiple speech hypotheses that conform to the predicted phonemes.In this manner, ASR engines 130A1 and / or 130A2 may optionally employ decoding graphs, lexicons, and / or other resources. In various embodiments, the corresponding transcriptions can be rendered at client device 110 (e.g., associated with training instance inputs, training instance outputs, corresponding feature highlight inputs, demo conversations, and / or other aspects of the voicebot development platform).

[0038] In certain embodiments, the NLU engine 140A1 of the client device 110 and / or the NLU engine 140A2 of the voicebot development system 120 can use the NLU model 140A to process the recognized text generated by the ASR engines 130A1 and / or 130A2 to determine the intent included in the spoken input. For example, the client device 110 can detect a spoken input from a third-party developer (e.g., as part of a standalone spoken input that defines the training instance input) of "Add training instance input: 'Do you have an appointment for 2 people at 6:30 PM'", the client device 110 can use the ASR models 130A1 and / or 130A2 to process the audio data that incorporates the spoken input and generates recognized text corresponding to the spoken input, and the NLU model 140A can process the recognized text to determine at least the intent to add the training instance input (which may include, e.g., the audio data and / or a corresponding speech hypothesis for the spoken input).

[0039] In certain embodiments, the TTS engine 150A1 of the client device 110 and / or the TTS engine 150A2 of the voicebot development system 120 can generate synthetic voice audio data incorporating the synthetic voice. The synthetic voice can be rendered by the client device 110 using the rendering engine 112 through the speaker of the client device 110. The synthetic voice can incorporate any output generated by the voicebot development described herein, including, for example, an indication that a training instance has been added (or repeats a particular training instance input, training instance output, feature highlight input, etc.), a notification that a third party developer has requested to add one or more additional training instances or training instances (possibly associated with a particular feature), a notification that a third party developer has requested to modify one or more existing training instances or training instances (possibly associated with a particular feature), an indication that training of the voicebot has begun and completed, or a status update of the voicebot training, and / or any other information related to the voicebot or the voicebot development platform that can be communicated audibly to a third party developer.

[0040] The training engine 162 can utilize multiple training instances (e.g., stored in the training instance database 161A) obtained by the training instance engine 161 to train the voicebot (e.g., its ML layer). The voicebot can correspond to one or more processors that utilize multiple ML layers of one or more machine learning (ML) models (e.g., stored in the ML layer database 170A1) to conduct a conversation on behalf of a third party for a call associated with the third party. The multiple ML layers may correspond to those in a transformed ML model (e.g., input layer, encoding layer, decoding layer, feedforward layer, attention layer, output layer, and / or other ML layers), unidirectional and / or bidirectional RNN models (e.g., input layer, hidden layer, output layer, and / or other ML layers), and / or other ML layers of other ML models. In certain embodiments, the ML layer corresponding to the pointer network may be part of the transformed ML model described herein. In additional or alternative embodiments, the ML layer corresponding to the pointer network may be distinct from, but used in combination with, the transformed ML model described herein.

[0041] For example, referring to FIG. 2A, an example process flow 200A for training a voicebot is shown. In certain embodiments, the training instance engine 161 can obtain a given training instance from a plurality of training instances associated with the voicebot stored in the training instance database 161A. In certain embodiments, for a given training instance, the training instance input can include at least audio data 201 corresponding to a portion of a corresponding conversation and a conversation context 202 for the corresponding conversation. Additionally, for a given training instance, the training instance output can include a ground truth response 203 to the portion of the conversation. The audio data 201 can be processed by the ASR engines 130A1 and / or 130A2 using the ASR model 130A to generate a plurality of voice hypotheses 204. In other embodiments, the training instance input can include a plurality of voice hypotheses 204 generated based on the audio data 201, but not the audio data 201 itself.

[0042] In certain embodiments, the coding engine 162A1 can generate a first encoding using a first ML layer of the multiple ML layers in the ML layer database 170A1, the multiple speech hypotheses 204. The coding engine 162A1 can process the conversation context 202 using a second ML layer of the multiple ML layers stored in the ML layer database 170A1 to generate a second encoding. Furthermore, the concatenation engine 162A2 can concatenate the first encoding and the second encoding to generate a concatenated encoding. The concatenated encoding may represent a current state of the corresponding conversation. For example, the concatenated encoding can encode the history of the conversation and the most recent portion of the conversation to encode the entire conversation as a whole.

[0043] By encoding the current state of the response conversation, the dialogue portion of the conversation may be tracked, which allows the voicebot to model and / or learn the state of the response conversation. Thus, the resulting trained voicebot may learn to determine corresponding values ​​for parameters associated with the task being performed by the response call. For example, assume that the training instance input includes at least a portion of the response conversation corresponding to "Excuse me, do you have product X?" In this example, the voicebot is trained to understand that the person is requesting an inventory check for product X. Furthermore, by encoding the conversation context 202 of the response conversation, the voicebot is also trained to understand that if product X is available, the person has not provided any corresponding values ​​for a name parameter associated with purchasing or laying aside product X, for a monetary parameter associated with purchasing product X, for an address parameter if the person wants product X delivered to their home, etc. In this way, the voicebot may then be trained to determine corresponding values ​​for one or more of these parameters by tracking the state of the response conversation for the person.

[0044] Further, the embedding engine 162A3 may process the concatenated encoding using one or more of the multiple ML layers to generate a predicted embedding associated with a predicted response 205 (e.g., performing an RPC in a third party system, providing synthetic speech or text in response to training instance inputs, answering an incoming call, initiating an outgoing call, and / or other response predicted in response to training instance inputs). The predicted response 205 may be selected from a number of candidate responses in the candidate response database 171A (e.g., including the ground truth response 203 and a number of additional candidate responses). In generating the predicted embedding, the scale of the concatenated encoding may be reduced to a prescribed size, which allows the predicted embedding associated with the predicted response 205 to be easily comparable in the embedding space to other embeddings described for the loss engine 162A4.

[0045] In certain of these embodiments, prior to processing the plurality of speech hypotheses 204, the training engine 162 may adjust the plurality of speech hypotheses. For example, assume that the plurality of speech hypotheses captures the spoken input "at 4 p.m." In this example, the plurality of speech hypotheses may be adjusted as [at, #empty, 4PM. at, 4, p.m. 4, 4, p.m.] such that each of the plurality of adjusted speech hypotheses are then processed in combination with one another. In another of these embodiments, the training engine 162 may further annotate the plurality of adjusted speech hypotheses. Continuing with the example above, the plurality of adjusted speech hypotheses are annotated as [at, #empty (@null), 4PM (@time). at, 4 (@time), p.m. (@time). 4 (@time), 4 (@time), p.m. (@time)].

[0046] In embodiments where the training instance input also includes audio data 201, encoding engine 162A1 may generate encodings associated with audio data 201 in addition to, or instead of, the encodings generated based on the multiple speech hypotheses. In these embodiments, concatenation engine 162A2 may process the encodings associated with audio data 201 and the encodings associated with speech context 202 to generate concatenated encodings. Additionally, embedding engine 162A3 may process the concatenated encodings using one or more of the multiple ML layers to generate predictive embeddings associated with predicted responses 205.

[0047] In various embodiments, not shown in FIG. 2A, the training engine 162 can further train a pointer network corresponding to the ML layer stored in the ML layer database 170A1. In these embodiments, during training, one or more corresponding feature highlighting inputs can be received from a third-party developer and utilized to train the pointer network. First, the training engine 162 can cause the pointer network to process the audio data 201, the conversation context 202, and / or the plurality of speech hypotheses 204 to generate an output. The output can include, for example, an indication of one or more features of the conversation (e.g., date features, time features, RPC features, etc.) that are predicted to be meaningful in determining how to respond to the portion of the conversation captured in the audio data 201, and a corresponding value (e.g., a binary value, a probability, a log-likelihood, etc.) that indicates how meaningful a particular portion of the conversation is predicted to be in determining how to respond to the portion of the conversation captured in the audio data 201. One or more features (and corresponding values) may be compared to one or more corresponding feature emphasis inputs (and corresponding ground truth values ​​for each of the one or more corresponding feature emphasis inputs) to generate one or more losses in updating the pointer network.

[0048] Furthermore, in addition to training the pointer network based on one or more corresponding feature highlighting inputs for a given training instance, the encoding engine 162A1 and / or the embedding engine 162A3 may process one or more corresponding feature highlighting inputs associated with the given training instance provided as supplemental input along with the audio data 201, the conversational context, and / or the plurality of speech hypotheses 204. In processing the one or more corresponding feature highlighting inputs, the resulting predicted embeddings may be biased toward candidate responses associated with the one or more corresponding feature highlighting inputs. For example, if the one or more corresponding feature highlighting inputs include a temporal feature for a restaurant reservation, the candidate responses may be biased toward candidate responses associated with the initiation of an outbound RPC request to determine whether the time indicated by the temporal feature is available for the restaurant reservation.

[0049] Additionally, although the encoding engine 162A1, the concatenation engine 162A2, and the embedding engine 162A3 are described herein as performing certain functions in a particular order, it should be understood that these specific executions may be reordered and / or one or more of these engines may be omitted. For example, the encoding engine 162A1 may be omitted, and the embedding engine 162A3 may process the plurality of voice hypotheses 204 and the conversation context 202 with the ML layers of each of the plurality of ML models to generate predictive embeddings associated with predicted responses to at least a portion of the corresponding conversation associated with the plurality of voice hypotheses.

[0050] Additionally, the loss engine 162A4, in various embodiments, may compare a predicted embedding associated with the predicted response 205 to a ground truth embedding associated with the ground truth response 203 in an embedding space to generate one or more losses 206. The predicted embedding and the ground truth embedding may correspond to lower dimensional representations of the predicted response 205 and the ground truth response 203, respectively. The embedding space allows these lower dimensional embeddings to be comparable. Furthermore, the predicted embedding associated with the predicted response 205 is intended to be close in the embedding space to the corresponding ground truth embedding associated with the corresponding ground truth response 203. In other words, when processing at least a portion of the corresponding conversation and the preceding context of the conversation, the system is adapted to predict a response that resembles an actual response to at least a portion of the corresponding conversation. For example, a distance metric (e.g., cosine similarity distance, Euclidean distance, and / or other distance metric) between the predicted embedding and the corresponding ground truth embedding may be determined in the embedding space, and one or more losses 206 may be generated based on the distance metric.

[0051] In certain embodiments, ground truth embeddings associated with the ground truth responses 203 can be generated and the voicebot trained using separate ML layers of a separate ML model (not shown) that are distinct from the multiple ML layers used to generate the predicted embeddings associated with the predicted responses 205 based on a given training instance (e.g., dot product architecture). The ground truth embeddings can then be stored in the candidate response database 171A to be used as one of the multiple candidate responses during estimation. In particular, the separate ML layers may additionally or alternatively be updated based on one or more losses 206 such that the separate ML layers learn and assign respective portions of the embedding space to the ground truth embeddings (one or more of the multiple ML layers and / or the separate ML layers may be fixed in some cases). Furthermore, corresponding embeddings associated with one or more responses that are incorrect responses to a portion of the corresponding conversation can additionally or alternatively be used as negative examples to further Furthermore, within the embedding space, the exact embedding for a portion of the corresponding conversation may be differentiated. After updating the separate ML layers, multiple additional candidate responses may be processed with the updated separate ML layers to generate corresponding candidate response embeddings. These candidate response embeddings and corresponding candidate responses may also be stored in the candidate response database 171A without being utilized in training the voicebot. Thus, during inference, the separate ML layers may be omitted since the candidate response embeddings and corresponding candidate responses are known. In additional or alternative embodiments, the ground truth embeddings may be stored in the training instance database 161A in association with the ground truth responses for a given training instance.

[0052] The update engine 162A5 can update one or more of the ML layers based on one or more losses 206 (one or more of the ML layers may be fixed in some cases). For example, the update engine 162A5 can back-propagate one or more losses 206 through one or more ML layers to update the respective weights of one or more of the ML layers. In certain embodiments, the update engine 162A5 can bias the update of one or more of the ML layers using one or more of the corresponding feature emphasis inputs for a given training instance. One or more of the ML layers can be further updated based on additional training instances obtained by the training instance engine 161 in the same or similar manner as described above. In certain embodiments, the voicebot may be trained in this manner until one or more conditions are met. The one or more conditions may include, for example, validation of one or more of the updated ML layers or additional ML layers, aggregation of one or more of the updated ML layers or additional ML layers (e.g., zero loss or within a threshold range of zero loss), a determination that one or more of the ML layers or additional ML layers are better (e.g., accuracy and / or recall) than currently utilized voicebot instances (if any), occurrence of training based on at least a threshold amount of training instances, and / or duration of training based on training instances.

[0053] Although the voicebots are described as being trained in a particular manner and with a particular architecture, it should be understood that this is for purposes of illustration and not limitation. For example, in training a voicebot associated with a virtual market, a voicebot associated with a fictitious restaurant named Virtual Cafe may be utilized as a base voicebot. In this example, one or more transfer learning techniques (e.g., meta-learning) may be employed to adapt the voicebot associated with the virtual cafe (or outputs generated based on those training instances) to the voicebot associated with the virtual market. For example, the training instance inputs may include additional inputs indicating that the original voicebot associated with the virtual cafe was trained for restaurant purposes, whereas additional inputs indicating the voicebot associated with the virtual market is trained for other retail-related purposes.

[0054] Briefly referring back to FIG. 1, after training the voicebot, the voicebot engine 170 can then utilize the trained voicebot to converse on behalf of a third party for calls associated with the third party, which in various embodiments may comprise a response engine 171 and a remote procedure call (RPC) engine 172. The trained voicebot can then initiate calls with a person or additional voicebots, either initiating an incoming call or answering an outgoing call, via a respective additional client device. The calls may be made using a voice communication protocol (e.g., Voice over Internet Protocol (VoIP), Public Switched Telephone Network (PSTN), and / or other telecommunication protocols) over one or more networks 1993. Notably, these calls may be cloud-based calls, such that the client device 110 being utilized to train the voicebot is not the termination of the corresponding call. Alternatively, the voicebot development system 120 (e.g., one or more servers) may act as a termination of the call, along with one of the additional client devices 195.

[0055] For example, with particular reference to FIG. 2B, assume that the third party on which the voicebot is being trained is a fictitious retailer named Virtual Market that sells various products. It is further assumed that a person provides user input at a respective one of the additional client devices 195 to initiate a call with the Virtual Market, and that the voicebot answers the incoming call initiated by the person, and aurally renders at one of the additional client devices 195 synthetic voice audio data (e.g., generated using TTS model 150A) incorporating a synthetic voice corresponding to a particular lead-in for the voicebot, such that the synthetic voice is perceivable to the person through a speaker at one of the additional client devices 195. It is further assumed that the person provides an oral utterance of "Excuse me, do you sell product X" in response to the aural rendering of the synthetic voice audio data. The oral utterance may be incorporated into audio data 207 transmitted over one or more networks to the voicebot development system 120 of FIG. 1.

[0056] ASR engine 130A2 can process audio data 207 using ASR model 130A to generate a plurality of voice hypotheses 209 corresponding to the verbal utterance. Voicebot engine 170 can optionally allow the plurality of voice hypotheses 209 to be refined and / or annotated. Additionally, response engine 171 can process one or more of the plurality of voice hypotheses 209 using the plurality of ML layers stored in ML layer database 170A1, the conversation context 208 for the person-initiated call (e.g., stored in voice activity database 170A2), and / or the audio data 207 to generate a response embedding. In certain embodiments, audio data 207 processed only by ASR engine 130A2 and / or the plurality of voice hypotheses 209 may be processed only by response engine 171 in response to determining that the verbal utterance provided by the user is complete. For example, the voicebot development system 120 can process audio data with a termination model that has been trained to detect when a person provides a verbal utterance and after the person utters the word "sale."

[0057] In certain implementations, answer engine 171 can compare the answer embedding to a plurality of candidate answer embeddings associated with a plurality of candidate answers stored in candidate answer database 171A. Furthermore, answer engine 171 can select a given one of the plurality of candidate responses as a response 210 to the spoken utterance based on a distance metric in the embedding space between the corresponding embedding and one or more of the plurality of candidate answer embeddings associated with the plurality of candidate responses. For example, a candidate response associated with a corresponding distance metric that satisfies a distance threshold may be selected as response 210. Response 210 can be processed by TTS engine 150A2 using TTS model 150A to generate synthetic speech audio data 212 incorporating response 210. Furthermore, synthetic speech audio data 212 can be aurally rendered at one of additional client devices 195.

[0058] In various embodiments, the audio data 207, the conversation context 208, and / or the plurality of speech hypotheses 209 may be processed using a trained pointer network, trained as described above with reference to FIG. 1 and FIG. 2A. The pointer network may identify certain parts of the conversation or conversation context that are predicted to be meaningful for selecting a response to be provided in response to the audio data 207 and / or for generating an RPC outbound request in response to the audio data 207 (e.g., feature highlighting output). In these embodiments, the certain parts of the conversation or conversation context identified using the pointer network may be provided as input to the answer engine 171 (e.g., as supplemental input to the plurality of ML layers corresponding to the trained voicebot). Furthermore, the answer engine 171 may bias the selection of the response 210 and / or the generation of the RPC outbound request 211A. Moreover, as further detailed with respect to the conversation summary engine 185, the feature highlighting output may be utilized to generate a conversation summary of the conversation that provides an overview of the conversation and explanations as to why the trained voicebot behaves in a particular manner.

[0059] In certain embodiments, response engine 171 may determine that an RPC request is required in response to the verbal utterance captured in audio data 207. In certain embodiments, RPC engine 172 may generate RPC outbound request 211A and send the RPC outbound request to one or more third party systems 190. Continuing with the example above, response engine 171 may determine that an RPC request is required to determine whether there is inventory of "Product X" for sale in the virtual market. Thus, RPC engine 172 may generate a structured request (e.g., inventory=Product X, intent=sale) as RPC outbound request 211A that is sent to inventory third party system 190. RPC engine 172 may receive RPC inbound request 211B in response to RPC outbound request 211B. For example, RPC inbound request 211B may indicate that "Product X" is available or unavailable for sale in the virtual market. In embodiments in which response engine 171 determines that an RPC request is necessary, one or more instances of synthesized voice audio data associated with RPC outbound request 211A (e.g., "Please wait while we check") and / or one or more instances of synthesized voice audio data associated with RPC inbound request 211B (e.g., "Yes, we have product X for sale. Would you like to buy it?") may be rendered at one of additional client devices 195 in the same or similar manner as described above.

[0060] This process may be repeated until the call is completed to generate a corresponding response to the verbal utterances provided by the person. The calls with the person may be stored in the voice activity database 170A2. For example, the voice activity database 170A2 may include, for a given call, audio data corresponding to the verbal utterances of the person, synthesized voice audio data corresponding to the synthesized voice of the voice call, the outcome of the given call, the duration of the given call, the time and / or date associated with the given call, and / or other information obtained from the given call. In certain embodiments, the voicebot may request consent from the person to interact with the voicebot before starting a conversation. In embodiments where the person consents to conversing with the voicebot during the call, the voicebot may engage in a conversation with the user. In embodiments where the person does not consent to conversing with the voicebot during the call, the voicebot may end the call or request that another person associated with a third party join the call.

[0061] Referring again to FIG. 1, the error identification engine 180 can process the voicebot activities stored in the voicebot activity database 170A2 using multiple ML layers of the ML model stored in the ML layer database 180A to identify any behavioral errors of the voicebot. The identified behavioral errors can be classified into one or more individual error categories based on the output generated using the multiple ML layers. The one or more individual error categories can include, for example, the voicebot prematurely disconnects the call, the voicebot fails to respond and times out, the voicebot fails to determine the corresponding value of a parameter required to complete a desired activity with a person, the voicebot fails to recognize the corresponding value of a parameter provided by a person to complete a desired activity of the person, the voicebot fails to execute an RPC when required, the voicebot executes an RPC with a wrong third-party system, and / or any other behavioral errors of the voicebot that may occur during a response call. In other words, if the primary cause of the identified behavioral errors is the same, the identified behavioral errors can be classified into one or more of the same individual error categories.

[0062] In certain embodiments, the error identification engine 180 may automatically perform one or more actions to correct these identified behavioral problems. The one or more actions may include, for example, synthesizing new training instances for retraining the voicebot and / or modifying existing training instances for retraining the voicebot. For example, the error identification engine 180 may determine that the voicebot was confused about features included in the corresponding conversational portion, but the training instances have a sparsity issue that includes features that prevent the voicebot from being able to consistently distinguish the features. In this example, the error identification engine 180 may generate a synthesized training instance that includes one or more of the features that address the sparsity issue and that allows the voicebot to be retrained based on the training instances associated with the voicebot, and may include the generated synthesized training instance. In other examples, the error identification engine 180 may additionally or alternatively modify and relabel one or more existing training instances to further distinguish one or more of the features.

[0063] In certain additional or alternative embodiments, the error identification engine 180 causes a notification to be presented to the third-party developer. The notification, when performed by the third-party developer, may include instructions for one or more actions to correct the identified behavioral problem. The notification may be rendered together with a conversation summary of the corresponding call or through a separate interface (e.g., a pop-up notification, a notification interface, etc.). The one or more actions may include, for example, adding a new training instance for retraining the voicebot and / or modifying an existing training instance for retraining the voicebot. For example, the error identification engine may present one or more training instances, prompt the third-party developer to identify one or more corresponding feature highlighting inputs for one or more of the multiple training instances, add one or more training instances including one or more features of the training instance, relabel the training instance to include one or more individual labels, and / or perform any other action to correct the identified causative factor of the behavioral error.

[0064] The conversation summary engine 185 can generate a corresponding conversation summary of each call made by the voicebot based on the voicebot activity stored in the voicebot activity database 170A2. The corresponding conversation summary can be rendered using the rendering engine 112 in the user interface of the client device 110. In certain embodiments, the corresponding conversation summary can include, for example, a natural language summary of each corresponding call, the duration of the corresponding call, the outcome or outcome of the corresponding call, financial information associated with the corresponding call, and / or other information associated with the call, such as a specific reason why the voicebot provided a particular output based on one or more feature highlighting outputs generated during the conversation. Continuing with the virtual market example, the corresponding conversation summary can be, for example, "user calls to inquire about availability of product X, I confirm that product X is available, and user purchases product X for $100." In certain additional or alternative embodiments, the corresponding conversation summary can be rendered in the user interface of the client device 110 using the rendering engine 112, along with a transcript of the corresponding call, if selected. A corresponding conversation summary is described below (see, for example, FIG. 3C).

[0065] Thus, the voicebot development platform described herein allows a third-party developer associated with a third party to train a voicebot, monitor the execution of the voicebot, and then update the voicebot based on any identified behavioral errors of the voicebot. In particular, the voicebot development platform is example-based, where the voicebot is trained based on portions of a conversation, and the voicebot is updated based on adding more examples or modifying existing examples. As a result, the third-party developer does not need to have extensive knowledge of ML or know how to define various intent schemas, which is required for rule-based voicebot development.

[0066] It should be understood that while the voicebots are described herein as being deployed for calls associated with a third party and hereafter to conduct conversations on behalf of the third party, this is by way of example and not by way of limitation. For example, the voicebots described herein can be deployed in any scenario in which a person can initiate a human-computer interaction with a given voicebot. For example, a given voicebot can be trained to converse with a person at a drive-thru, with a drive-thru system, with the person as an automated assistant, with the person's client device, and / or in any other area outside of a call in which the person can participate in a human-computer interaction with a given voicebot. Thus, it should be understood that the behavior of these voicebots may be based on the training instances utilized to train the corresponding voicebot.

[0067] By using the techniques described herein, various technical advantages can be achieved. As a non-limiting example, the voicebot development platform allows a voicebot to be trained based on conversational examples rather than predefined intent schemata. This allows the voicebot's behavior to be easily added or modified by adding new training instances or modifying existing training instances. As a result, a voicebot trained using the voicebot development platform described herein is more scalable and consumes less memory since it is not necessary to define a large number of intent schemata. As a result, the ML models trained and utilized may consume less memory and be more robust and / or accurate. Furthermore, a voicebot trained using the voicebot development platform may achieve a high level of accuracy and recall, thereby allowing calls to be made more quickly and efficiently. This is because a voicebot trained using the voicebot development platform may be better able to understand the nuances of human speech and therefore be able to respond better.

[0068] 3A, 3B, and 3C, various non-limiting examples of user interfaces 300 associated with a voicebot developer platform are shown. A third-party developer can interact with the voicebot development platform using a voicebot development system client or a client device with a voicebot development system (e.g., client device 110 of FIG. 1). By interacting with the voicebot development platform, the third-party developer can train a voicebot that, when deployed, can conduct conversations on behalf of a third party associated with the third-party developer for incoming calls to the third party and / or outgoing calls initiated on behalf of the third party. For purposes of illustration through FIGS. 3A, 3B, and 3C, assume that a third-party developer is creating a new voicebot to conduct conversations in calls associated with a fictional restaurant, a virtual cafe.

[0069] With particular reference to FIG. 3A, a home screen or landing page of the voicebot development platform is illustrated as visually rendered on a user interface 300. In various embodiments, a third-party developer may be presented with various graphic elements on the home screen or landing page. For example, the user interface 300 may include a voicebot graphic element 310 that provides a snippet of any unique identifier associated with any voicebot developed by the third-party developer and / or associated with a third party (e.g., virtual cafe). When creating a new voicebot, the third-party developer may provide in a text input field 318 a unique identifier associated with the new voicebot under development. For example, as shown in FIG. 3A, the third-party developer may provide in the text input field 318 a keyed input "virtual cafe" or a spoken input (possibly in response to a user selecting a microphone interface element 350) that captures audio data corresponding to "virtual cafe." In certain embodiments, a third-party developer may select a "read more" graphical element, as shown in FIG. 3A, to expand a voicebot snippet (if any) and include additional voicebots or launch a voicebot interface on the user interface 300.

[0070] Further, the user interface 300 may additionally or alternatively include a training instance graphic element 320 that provides a plurality of training instance snippets that are utilized to create a new voicebot. Each of the plurality of training instances may include a training instance input and a training instance output. The training instance input may include, for example, at least a portion of a corresponding conversation and a prior context of the corresponding conversation, and the training instance output may include, for example, a corresponding ground truth response to at least a portion of the corresponding conversation. The plurality of training instances may be available, for example, from an existing corpus of calls associated with the virtual cafe (or other restaurant operator), from a demo conversation between one or more persons (e.g., which may or may not include a developer), and / or from one or more other verbal utterances of one or more persons (e.g., which may or may not include a developer) that correspond to the conversation snippet. Obtaining the plurality of training instances and training a voicebot associated with the virtual cafe is described below (see, for example, FIG. 3B). In certain embodiments, a third-party developer may add a training instance or launch a training instance interface on user interface 300 to train a voicebot associated with the virtual cafe by selecting a graphical element shown in FIG. 3A titled “Add Training Instance.”

[0071] Further, the user interface 300 may additionally or alternatively include a voicebot activity graphical element 330 that provides snippets of voicebot activity associated with the trained voicebot. The voicebot activity may include information associated with each handled call made on behalf of the virtual cafe by the trained voicebot. For example, the voicebot activity may include a time and / or date associated with each handled call, a duration of each handled call, a summary associated with each handled call, a transcription associated with each handled call, and / or any other information associated with each handled call made on behalf of the virtual cafe by the trained voicebot. In certain embodiments, the voicebot activity may be generated during and / or after each handled call. The voicebot activity allows third-party developers to monitor the execution of the voicebot. Voicebot activity is described below (see, e.g., FIG. 3C). In certain embodiments, a third-party developer may select a "read more" graphical element, as shown in FIG. 3A, to expand a voicebot activity snippet (if any) and include additional voice activities on the user interface 300 or launch a voicebot activity interface.

[0072] Moreover, the user interface 300 may additionally or alternatively comprise a voicebot behavior error graphical element 330 that provides snippets of identified voicebot behavior errors associated with the trained voicebot. The voicebot behavior errors may include errors made by the trained voicebot during the service call made on behalf of the virtual cafe. The voicebot behavior errors may include, for example, accepting or suggesting unavailable times for restaurant reservations, providing incorrect business hours, accepting an order for unavailable food, and / or any other errors corresponding to incorrect behavior of the trained voicebot. The voicebot behavior errors enable the voicebot development platform to identify the corresponding causes of these voicebot behavior errors. In certain embodiments, the voicebot development platform may undertake one or more actions to automatically correct the response root causes, such as, for example, relabeling one or more of the multiple training instances used to retrain the voicebot, adding one or more feature highlighting inputs to one or more of the multiple training instances used to retrain the voicebot, and / or any other actions undertaken by the voicebot development platform to correct the response root causes of the identified voicebot behavior error. In additional or alternative embodiments, the voicebot development platform may generate one or more notifications to inform a third party developer of the root causes of the identified voicebot behavior error.These notifications may optionally include instructions for one or more actions to be taken by the third-party developer to correct the identified voicebot behavior error response causes, such as requesting the third-party developer to relabel one or more of the training instances used to retrain the voicebot, requesting the third-party developer to add one or more feature highlighting inputs to one or more of the training instances used to retrain the voicebot, requesting the third-party developer to add one or more additional training instances (possibly with one or more specific labels or specific feature highlighting inputs) used to retrain the voicebot, and / or other actions that may be taken by the third-party developer to correct the identified voicebot behavior error response causes. In certain embodiments, the third-party developer may select a "more" graphical element as shown in FIG. 3A to expand a snippet (if any) of the identified voicebot behavior error or to launch a voicebot behavior error interface on the user interface 300.

[0073] A third-party developer browses to a home or landing page for a voicebot, as shown in Figure 3A, to create a new voicebot. For example, assume that the third-party developer provides a unique identifier for the voicebot in the text input field 318, called "Virtual Cafe," and selects the "Add Training Instance" graphical element. A training instance interface is presented to the third-party developer through the user interface 300, as shown in Figure 3B. The third-party developer may interact with the training instance interface to define training instances for training the voicebot.

[0074] In certain embodiments, the training instances may be obtained from a corpus of training instances. The corpus of training instances may include, for example, one or more previously-conversations during a corresponding previously-convened call between a user (e.g., an employee) associated with the virtual café and an additional user (e.g., a customer), one or more previously-conversations during a corresponding previously-convened call between other users not associated with the virtual café (e.g., calls associated with other restaurant operators), and / or other conversations from which training instances may be generated. For example, in response to receiving a user input to the training instance corpus interface element 380, a third-party developer may access the corpus of training instances to select a portion of the corresponding conversation to use as a training instance input 321A (any preceding context of the corresponding conversation) for the given training instance, and may select a corresponding response to the portion of the corresponding conversation to use as a training instance output 322A for the given training instance. The user input to the training instance corpus interface element 380 may be, for example, touch input detected through a touch screen or through a user interface input device (e.g., a mouse or stylus) and / or verbal input detected by a microphone of the client device (possibly in response to user input to the speech interface element 350). In various embodiments, a third party developer may optionally define the feature highlighting input 323A for a given training instance. In these embodiments, the feature highlighting input 323A may be utilized to train a pointer network and / or multiple ML layers corresponding to a voicebot, as described above with reference to Figures 1 and 2A. The pointer network may be part of multiple ML layers corresponding to a voicebot, or a separate ML layer utilized in combination with multiple ML layers corresponding to a voicebot.

[0075] In certain additional or alternative embodiments, the training instances can be obtained from user input received at a training instance interface presented to a user through user interface 300. The user input received at the training instance interface can be, for example, touch or key input detected through a touch screen or through a user interface input device (e.g., mouse, stylus, keyboard, etc.) and / or verbal input detected by a microphone of a client device (possibly in response to user input to speech interface element 350). For example, a user can provide user input including one or more training instance inputs 321A and training instance outputs 322A (possibly feature emphasis inputs 323A) in the table of training instances shown in FIG. 3B.

[0076] In certain additional or alternative embodiments, the training instance can be obtained from the demo conversation 352B, which can then be utilized to generate multiple training instances for training a voicebot associated with the virtual cafe. For example, as also illustrated by the demo conversation in FIG. 3B, a third-party developer (and possibly others) can act according to separate roles to provide user input (e.g., keyed or spoken input) to the demo conversation to simulate an actual conversation between a person (e.g., an employee) and another person (e.g., a customer) associated with the virtual cafe. For example, a third-party developer may select employee graphic element 362A and provide user input 352B1 "Welcome to the virtual cafe," select customer graphic element 362B and provide user input 354B1 "Hi, I'd like to reserve a table for four at 6pm tonight," select employee graphic element 362A and provide user input 352B2 "I'll confirm," followed by user input 352B3 "Sorry, for four we are only available at 7pm and 8pm," select customer graphic element 362B and provide user input 354B2 "7pm is fine," select employee graphic element 362A and provide user input 352B4 "What's your name please," select customer graphic element 362B and provide user input 354B3 "This is John Smith," and select employee graphic element 362A and provide user input 352B5 "Oh, John, thank you. I look forward to seeing you tomorrow evening." The voicebot development platform may automatically generate multiple training instances based on the demo conversation 352B, but the third-party developer may need to specify any feature highlighting inputs for the training instances generated based on the demo conversation 352B.

[0077] For example, assume that the training instance input 321A1 generated based on the demo conversation 352B includes an indication that an incoming call is coming, and assume that the training instance output 322A1 includes a corresponding response to the incoming call, such as responding to the incoming call and providing an output corresponding to the user input 352B1. In this example, the feature highlighting input 323A1 may correspond to a feature of an introductory portion for the incoming call. The introductory portion for the incoming call may be the user input 352B1, possibly a choice provided through an interactive voice response (IVR) system, and / or other introductory portion that a third-party developer wants the voicebot to learn. Notably, there is no prior conversational context for the training instance input 321A1, since there is no prior portion in the demo conversation 352B. As a result, a voicebot trained on this training instance can learn how to respond to an incoming call. In an embodiment in which the training instance input and / or the training instance output are based on a user input, the user input may correspond to audio data incorporating the user input, a number of voice hypotheses generated based on processing the audio data, and / or text corresponding to the user input.

[0078] As another example, assume that training instance input 321A2 generated based on demo conversation 352B includes a portion of demo conversation 352B corresponding to user input 354B1 and a preceding conversation context (e.g., user inputs in demo conversation 352B occurring before user input 354B1 and / or metadata associated with demo conversation 352B) indicated by "$context," and training instance output 322A1 includes user input 352B2 and a corresponding response to user input 354B1, such as an instruction to initiate a remote procedure call (RPC) outbound request for availability. In this example, feature highlighting input 323A2 may correspond to features of user input 354B1, such as constituent number features (e.g., "4 people" as indicated by the dashed box in training instance input 321A2), time features (e.g., "6:00 PM" as indicated by the dashed box in training instance input 321A2), and RPC outbound request features. In particular, the training instance output 322A2 may also include an instruction to initiate an RPC outbound request for availability. The training instance may be considered an RPC training instance, and the type of RPC training instance may be considered an RPC outbound request training instance.

[0079] The RPC outbound request for availability may include, for example, generating a structured request (e.g., Available: [Number of guests] = 4; [Time] = 6pm, or any other form of structured request) inquiring about the availability of a restaurant at a requested time with a particular number of guests, and sending the structured request to a third-party system associated with the restaurant reservation management of the virtual cafe. Although the RPC outbound request is not explicitly included in the demo conversation 352B, a third-party developer can add or embed the RPC outbound request for availability in the training instance output 322A2. Also, although the RPC outbound request is sent to a third-party system (rather than to the "customer" in the demo conversation 352B), the voicebot can still be trained during the demo conversation 352B to generate and send an RPC outbound request for availability, which is based on the training instance input 321A2 requesting availability of a restaurant, which input is an RPC outbound request training instance. Additionally, while the RPC outbound request is described as being associated with restaurant reservation availability, it should be understood that this is for purposes of illustration and not limitation. For example, the RPC outbound request may be associated with food / inventory availability, business hours inquiry, call transfer, and / or any other functionality that requires interaction with one or more third-party systems during a call. As a result, a voicebot trained on this RPC outbound request training instance can learn when and how to initiate an RPC outbound request.

[0080] As yet another example, assume that the training instance input 321A3 generated based on the demo conversation 352B includes a portion of the demo conversation 352B corresponding to the RPC inbound request and a prior conversation context, indicated by "$context" (e.g., a user input in the demo conversation 352B that occurred prior to the RPC inbound request and / or metadata associated with the demo conversation 352B), and assume that the training instance output 322A3 includes a corresponding response to the RPC inbound request, such as the user input 352B3. In this example, the feature highlighting input 323A3 may correspond to a feature of the RPC inbound request. In particular, the training instance output 322A2 may also include an instruction to initiate an RPC outbound request for availability. The training instance may be considered an RPC training instance, and the type of the RPC training instance may be considered an RPC inbound request training instance.

[0081] An RPC inbound request for availability may include, for example, receiving a structured response including an indication of whether there is a restaurant reservation that meets the parameters of the reservation request (e.g., 4 party size and time 6:00 PM) and, optionally, whether there is an alternative one or more alternative times or time slots that meet the parameters of the reservation request. In certain embodiments, one or more affinity features may be generated based on the current state of demo conversation 352B. For example, assume that the requested time for the restaurant reservation is 6:00 PM as included in demo conversation 352B and that the requested time is available. In this example, one or more affinity features may be generated that indicate that the requested time is available. Conversely, assume that the requested time for the restaurant reservation is unavailable. In this example, one or more affinity features would indicate that the requested time is unavailable and associate the requested time with alternative times (e.g., 1 hour after the requested time and 2 hours after the requested time if availability corresponds to 7:00 PM and 8:00 PM instead of the requested time of 6:00 PM).

[0082] Similar to the RPC outbound requests described above, RPC inbound requests are not explicitly included in the demo conversation 352B, but a third-party developer can add or embed an RPC inbound request for availability in the training instance input 321A3. Also, although the RPC inbound request is received from a third-party system (rather than a "customer" in the demo conversation 352B), the voicebot can still be trained during the demo conversation 352B to receive an RPC inbound request for availability, which is based on the training instance input 321A3 including the restaurant reservation availability, resulting in an RPC inbound request training instance. Furthermore, while the RPC inbound request is described as being associated with the restaurant reservation availability, it should be understood that this is for purposes of illustration and not limitation. For example, the RPC inbound request may be based on a corresponding RPC outbound request sent to one or more third-party systems. As a result, a voicebot trained on the RPC inbound request training instance can learn how to process RPC inbound requests and how to respond based on the conversation context and the data contained in the RPC inbound request.

[0083] Various technical advantages can be achieved with the RPC training instances described herein. As one non-limiting example, a voicebot may learn how and / or when to send requests to a third-party system and how to use responses to the requests to solve a task of a call being made by the voicebot. As a result, the task can be solved by the voicebot during a conversation, efficiently, and without the need to involve another person in the conversation. Furthermore, by utilizing the RPC training instances, the volume of RPC requests can be reduced due to fewer erroneous RPC requests, thereby saving computer resources that would otherwise be used to generate RPC requests and / or network resources that would otherwise be used to transmit RPC requests over one or more networks.

[0084] As yet another example, assume that the training instance input 321A4 generated based on the demo conversation 352B includes a portion of the demo conversation 352B corresponding to the user input 354B3 and a prior conversation context, indicated by "$context" (e.g., a user input in the demo conversation 352B that occurred before the user input 354B3 and / or metadata associated with the demo conversation 352B), and assume that the training instance output 322A4 includes a corresponding response to the incoming call, such as a response corresponding to the user input 352B5. In this example, the feature highlighting input 323A4 may correspond to a name feature (e.g., "John Smith" shown in the dashed box of the training instance input 321A4). In particular, in the demo conversation 352B, the "customer" does not provide a name for the restaurant reservation until prompted to do so by the "employee". As a result, a voicebot trained on this training instance can learn that if the "customer" does not provide a value for the name parameter (e.g., John Smith), then the value of the name parameter should be required to make the restaurant reservation.

[0085] In various embodiments, after the training instances are defined, a voicebot associated with the virtual cafe may be trained. For example, in response to receiving a user input directed to the train voicebot graphic element 382, ​​the voicebot may be trained based on the training instances defined by the user input (e.g., as described with reference to the voicebot training engine 160 of FIG. 1). The voicebot associated with the virtual cafe may correspond to multiple layers of an ML model (e.g., an RNN model, a transformation model, a pointer network, an LSTM model, and / or other ML models). In particular, in the training voicebot, one or more of the multiple layers of the ML model may be directed to corresponding feature highlighting inputs associated with one or more of the multiple training instances through the use of a pointer network. For example, the voicebot may be directed to at least the member population features, the time features, the name features, the RPC outbound request features, the RPC inbound request features, and / or other features defined by the corresponding feature highlighting inputs of the training instances described in conjunction with FIG. 3B, and additional training instances not described in conjunction with FIG. 3B. The pointer network can be trained to identify those features that are predicted to be meaningful in determining how to respond based on the training instance input 312A.

[0086] After voicebot deployment, the third-party developer can monitor the voicebot's progress. For example, in response to receiving user input directed to the voicebot activity interface element 384, the user interface 300 may provide the voicebot activity interface shown in FIG. 3C. As another example, in response to receiving user input directed to the home interface element 386, the user interface 300 may return to the home or landing page shown in FIG. 3A, and in response to a selection of the voicebot activity graphic element 330 (or the corresponding "read more" graphic element described above with reference to FIG. 3A) from the third-party developer, the user interface 300 may present the voicebot activity interface shown in FIG. 3C. The third-party developer may interact with the voicebot activity interface to view voicebot activity for the voicebot associated with the virtual cafe. The voicebot activity may be stored in one or more databases (e.g., the voice activity database 170A2 of FIG. 1) accessible to the client device.

[0087] For example, a user may view a conversation summary 331A of a call made on behalf of a virtual café by a trained voicebot. In certain embodiments, a third-party developer may view all of a voicebot's voicebot activity, as shown at 330A in FIG. 3C. In certain additional or alternative embodiments, a third-party developer may switch between viewing all of the voicebot's activity and viewing only the voicebot activity that includes the voicebot's identified behavioral errors, as shown at 330B. The text associated with 330A and 330B may be selectable, allowing a third-party developer to switch between these different views of the voicebot's activity. In various embodiments, a third-party developer may search the voicebot activity log. For example, a third-party developer may enter one or more terms into text entry field 330C to search for voicebot activity. Additionally, in various embodiments, one or more sorting criteria may be utilized to sort the conversation summary 331A presented to a user. The one or more sorting criteria may include, for example, recency of the corresponding call, recency since the corresponding conversation summary was viewed by a third-party developer, and / or any other sorting criteria.

[0088] In certain examples, the conversation summary provides a natural language description of the corresponding call made by the voicebot on behalf of the virtual cafe. For example, conversation summary 331A1 indicates that "user called to make a reservation, requested time was unavailable, I proposed an alternative time, user accepted the proposed alternative time for the reservation, and reservation was completed." In this example, conversation summary 331A1 indicates that the call is similar to demo conversation 352B of FIG. 3B. Conversation summary 331A1 may additionally or alternatively include an indication that an RPC was made to confirm availability of the requested time, identify the alternative time, and / or other information associated with the corresponding call (e.g., based on feature highlighting output generated using a pointer network), such as the time and date the corresponding call was made, the duration of the corresponding call, financial information associated with the corresponding call (e.g., cost of a take-out order), reservation information associated with the corresponding call, and / or any other information obtained from the corresponding call.

[0089] In certain additional or alternative embodiments, a transcription associated with a corresponding call made by a voicebot on behalf of the virtual cafe is accessible from a voice call activity interface (possibly only if the person conversing with the voicebot has consented to monitoring of the voicebot activity of the corresponding call). For example, conversation summary 331A2 may indicate "user calls to place a takeaway order, I confirm that all food is available, and the takeaway order is completed." The conversation summary 331A2 may be generated based on the conversation 352C shown in FIG. 3C. For example, assume that the voicebot answers an incoming call addressed to the virtual cafe and that it was initiated by a person through a respective client device. Further assume that in response to the call, the voicebot renders synthetic voice audio data incorporating synthetic voice 352C1 "Welcome to the virtual cafe." Further assume that the voicebot processes the audio data incorporating the verbal utterance 354C1, "Hey, I'd like to order some take-out please" (and the preceding context of the conversation 352C) and generates synthetic speech audio data incorporating the synthetic speech 352C2, "OK, what would you like?" as a response to the verbal utterance 352C2. The conversation 352C may continue as shown in FIG. 3C. In particular, the conversation includes an RPC-related third-party inventory system to verify availability of certain items included in the take-out order in the verbal utterance 354C2 (e.g., Peas on Earth Soup and today's pick, Gone Tomato Lasagna). The RPC related third party inventory system may include RPC outbound requests, as shown in conversation 352 with synthesized voice 352C3 (e.g., "Let me see if they have soup"), and RPC inbound requests, as shown in conversation 352 with synthesized voice 352C4 (e.g., "Yes, we do"), and the voicebot may include an estimated time that the to-go order will be ready, also shown in the synthesized voice (e.g., "40 minutes").

[0090] In certain additional or alternative embodiments, any voicebot behavioral errors identified for a given call may be included in the corresponding conversation summary. For example, conversation summary 331A3 may indicate that "the user asked on the call if there was outdoor seating and the call was disconnected." Conversation summary 331A3 may indicate that the call was disconnected when the voicebot was unable to generate a response to a human-provided verbal utterance or was unable to generate a response to a sufficiently credible verbal utterance (e.g., as described with reference to error identification engine 180 of FIG. 1). In embodiments where voicebot behavioral errors are identified for a given call, conversation summary 331A3 may include one or more actions that are automatically performed by the voicebot development platform to correct the identified behavioral errors of the voicebot. In additional or alternative embodiments where voicebot behavioral errors are identified for a given call, conversation summary 331A3 may include one or more actions that, if performed by a third-party developer, would correct the identified behavioral errors of the voicebot. The one or more activities may include retraining the voicebot with one or more additional training instances or modifying an existing training instance utilized to train the voicebot associated with the virtual cafe. For example, in response to receiving user input directed to the training instance interface element 388, the user interface 300 may return to the training instance interface illustrated in FIG. 3B. As another example, in response to receiving user input directed to the home interface element 386, the user interface 300 may return to the home or landing page illustrated in FIG. 3A, and in response to a selection of the training instance graphic element 320 (or the corresponding "read more" graphic element described above with reference to FIG. 3A) from a third-party developer, the user interface 300 may present the training instance interface illustrated in FIG. 3B. One or more additional training instances may be added to the training instance for the voicebot associated with the virtual cafe, and / or the existing training instance may be modified.In response to receiving user input directed to the training voicebot graphic element 382, ​​the voicebot may be retrained based on additional training instances and / or modified training instances (e.g., as described with reference to the voicebot training engine 160 of FIG. 1).

[0091] Although only a single instance of a voicebot associated with a virtual café is described with reference to Figures 3A, 3B, and 3C, it should be understood that this is for illustrative purposes and not meant to be limiting. For example, multiple instances of a voicebot may be executed simultaneously by one or more computing devices (e.g., client devices, servers, and / or other computing devices) such that multiple instances of a voicebot may simultaneously participate in a conversation with a corresponding person (or other voicebot). Each instance of a voicebot may include a corresponding processor that utilizes corresponding instances of multiple ML layers of the voicebot. Furthermore, while a voicebot associated with a virtual café is described with reference to Figures 3A, 3B, and 3C as responding to an incoming call, it should be understood that this is for illustrative purposes and not meant to be limiting. For example, a voice may additionally or alternatively be trained to initiate outgoing calls to various parties. For example, for a given training example, the training instance inputs may include an activity or command that initiates a corresponding call with a particular entity to perform a particular task, and the training instance outputs may include a corresponding ground truth response associated with the initiation of the call for the given training instance. In this manner, the voicebot associated with the virtual cafe can be utilized to initiate and perform calls, order more products from suppliers, inquire about software issues with information technology, confirm restaurant reservations for patrons, and / or perform any other function for which the voicebot is trained.

[0092] Referring to FIG. 4, a flow chart illustrating an example method 400 of training a voicebot based at least in part on feature highlighting input is shown. For convenience, the operations of the method 400 are described with reference to a system on which the operations are performed. The system of the method 400 includes at least one processor, at least one memory, and / or other components of a computing device (e.g., the client device 110 of FIG. 1, the voicebot development system 120 of FIG. 1, and / or the computing device 610 of FIG. 6, a server, and / or other computing devices). Furthermore, although the operations of the method 400 are shown in a particular order, this is not meant to be limiting. One or more operations may be reordered, eliminated, and / or added.

[0093] At block 452, the system obtains a plurality of training instances to train the voicebot, each of the plurality of training instances including a training instance input and a training instance output. In certain embodiments, the training instance input may include at least a portion of a corresponding conversation and a preceding context of the corresponding conversation, and the training instance output may include a corresponding ground truth response to the portion of the conversation. In certain additional or alternative embodiments, the training instance input may include an instruction for an incoming call, and the training instance output may include a corresponding ground truth response associated with a response to the incoming call (and possibly an introduction associated with the response to the incoming call). In certain additional or alternative embodiments, the training instance input may include an activity or command to initiate execution of a call with a particular entity to perform a particular task, and the training instance output may include a corresponding ground truth response associated with the initiation of the call. In various embodiments, the multiple training instances can be obtained from a corpus of training instances generated based on existing calls associated with the third party for which the voicebot is being trained (or other third parties that are the same type of entity (e.g., restaurant operators, airline operators, retailers, etc.)), user input from a third-party developer associated with the third party, and / or demo conversations provided by one or more persons (e.g., which may or may not include third-party developers). Obtaining multiple training instances for training a voicebot is described above with reference to Figures 3A, 3B, and 3C.

[0094] At block 454, the system obtains corresponding feature highlight inputs associated with one or more of the multiple training instances. The corresponding feature highlight inputs may be defined by a third-party developer for one or more of the multiple training instances. Furthermore, the feature highlight inputs cause the voicebot to focus on certain features of a portion of a corresponding conversation for a given training instance. For example, assuming that the third party for which the voicebot is being trained is a fictitious airline named Virtual Airlines, for a given training instance, the training instance inputs include a portion of a corresponding conversation: "I would like to change my flight from SDF to DCA from noon today to noon tomorrow." In this example, the feature highlight inputs may include flight change features (e.g., "change my flight"), departure features (e.g., "SDF"), destination features (e.g., "DCA"), original time and date (e.g., "noon today"), and desired time and date features (e.g., "noon tomorrow"). These feature emphasis inputs associated with the training instance inputs can be stored in association with a given training instance in one or more databases (e.g., training instance database 161A of FIG. 1) and optionally utilized to train a pointer network as described herein (see, e.g., FIGS. 1 and 2A).

[0095] At block 456, the system processes the training instance input (and possibly corresponding feature highlight input provided by a third party developer) for a given training instance using multiple ML layers of a machine learning (ML) model to generate an embedding associated with a current state of the corresponding conversation associated with the given training instance. In certain embodiments, the portion of the corresponding conversation included within the training instance input corresponds to multiple voice hypotheses for at least the portion of the corresponding conversation. In certain of these embodiments, the multiple voice hypotheses may be processed with a first ML layer of the multiple ML layers to generate a first embedding, and the prior conversation context may be processed with a second ML layer of the multiple ML layers to generate a second embedding. The first embedding and the second embedding may be concatenated to generate an embedding associated with a current state of the corresponding conversation. In certain additional or alternative embodiments, the portion of the corresponding conversation included within the training instance input corresponds to audio data capturing a portion of the corresponding conversation. In certain of these embodiments, the audio data may be processed using an automatic speech recognition (ASR) model to generate a plurality of voice hypotheses for at least a portion of the corresponding conversation. In certain of these embodiments, the plurality of voice hypotheses (and possibly along with the audio data) may be processed using a first ML layer of the plurality of ML layers to generate a first embedding, and the prior conversation context may be processed using a second ML layer of the plurality of ML layers to generate a second embedding. The first and second embeddings may be concatenated to generate an embedding associated with a current state of the corresponding conversation.

[0096] In block 458, the system generates one or more affinity features based on the current state of the corresponding conversation. The one or more affinity features may represent relationships between features included in the prior context of the corresponding conversation and / or features associated with the current state of the conversation. For example, assume that the third party for which the voicebot is being trained is a fictitious airline operator named Virtual Airlines, and for a given training instance, the training instance input includes "I would like to change my flight from SDF to DCA from noon today to noon tomorrow" which is part of the corresponding conversation. In this example, the affinity features may include a time affinity feature associated with the 24-hour difference between the original date and time feature ("noon today") and the desired date and time feature (e.g., "noon tomorrow"), an account affinity feature associated with the flight change request for the user associated with the corresponding regular flight number (assuming that the corresponding regular flight number was previously provided and included in the prior context of the corresponding conversation), and / or other affinity features.

[0097] At block 460, the system processes the embeddings associated with the current state of the corresponding conversation and the one or more affinity features using the ML model or multiple additional ML layers of the additional ML models to generate predictive embeddings associated with predicted responses to at least the portion of the corresponding conversation. In certain embodiments, such as when a third-party developer provides one or more corresponding feature highlighting inputs, the predictive embeddings associated with predicted responses to at least the portion of the corresponding conversation may be biased based on the one or more corresponding feature highlighting inputs provided by the third-party developer.

[0098] At block 462, the system compares a predicted embedding associated with the predicted response and a corresponding ground truth embedding associated with the corresponding ground truth response in an embedding space to generate one or more losses. The predicted embedding and the ground truth embedding may correspond to lower dimensional representations of the predicted response and the ground truth response, respectively. The embedding space allows these lower dimensional embeddings to be compared. Furthermore, the predicted embedding associated with the predicted response is to be close to the corresponding ground truth embedding associated with the corresponding ground truth response in the embedding space. In other words, upon processing at least a portion of the corresponding conversation and the preceding context of the conversation, the system is to predict a response that resembles an actual response to at least a portion of the corresponding conversation. For example, a distance metric (e.g., cosine distance, Euclidean distance, and / or other distance metric) between the predicted embedding and the corresponding ground truth embedding may be determined in the embedding space, and one or more losses may be generated based on the distance metric.

[0099] In block 464, the system updates one or more of the ML layers or the additional ML layers at a given training instance based on one or more of the losses. For example, the system may back-propagate one or more losses across the ML layers or the additional ML layers. Furthermore, by updating the ML layers or the additional ML layers, the ML layers or the additional ML layers may focus on features in the given training instance that are important as indicated by a third-party developer for the given training instance, such as features indicated by one or more corresponding feature highlighting inputs. As a result, the ML layers or the additional ML layers are trained to identify these particular features and what they collectively mean in the context of the conversation.

[0100] In block 466, the system determines whether there are additional training instances for training the voicebot. If, in the repetition of block 466, the system determines that there are additional training instances for the voicebot, the system may return to block 456 and repeat the processing of blocks 456-464 based on the additional training instances. In certain embodiments, when additional training instances are available, the system may continue updating one or more of the ML layers or the additional ML layers until one or more conditions are met. The one or more conditions may include, for example, validation of one or more of the updated ML layers or the additional ML layers, aggregation of one or more of the updated ML layers or the additional ML layers (e.g., zero loss or within a threshold range of zero loss), a determination that one or more of the ML layers or the additional ML layers is better (e.g., accuracy and / or recall) than a currently utilized instance of the voicebot (if any), occurrence of training based on at least a threshold amount of training instances, and / or duration of training based on the training instances. In certain additional or alternative embodiments, the system may continue updating one or more of the ML layers or additional ML layers until the voicebot has been trained on each of the training instances obtained for training the voicebot. When, upon repetition of block 466, the system determines that there are no additional training instances for the voicebot or when one or more conditions are met, the system may proceed to block 468.

[0101] At block 468, the system deploys the trained voicebot to conduct conversations on behalf of the third party. For example, the trained voicebot may be deployed to conduct conversations on behalf of the third party for calls associated with the third party. In certain embodiments, the trained voicebot may answer incoming calls on behalf of the third party and conduct a corresponding conversation with a person (or an additional voicebot associated with the person). In additional or alternative embodiments, the trained voicebot may initiate outgoing calls on behalf of the third party and conduct a corresponding conversation with a person or entity (or an additional voicebot associated with the person or an interactive voice response (IVR) system associated with the person). In other examples, the trained voicebot may be deployed to conduct conversations on behalf of the third party in a drive-thru or in any other service scenario. Notably, multiple instances of the trained voicebot may be deployed by a third party simultaneously. By deploying multiple instances of the trained voicebot, any combination of multiple incoming calls and multiple outgoing calls may be handled simultaneously.

[0102] Referring to FIG. 5, a flow chart illustrating an exemplary method 500 of training a voicebot based at least in part on remote procedure calls (RPCs) is shown. For convenience, the operations of the method 500 are described with reference to a system on which the operations are performed. The system of the method 500 includes at least one processor, at least one memory, and / or other components of a computing device (e.g., the client device 110 of FIG. 1, the voicebot development system 120 of FIG. 1, and / or the computing device 610 of FIG. 6, a server, and / or other computing devices). Furthermore, although the operations of the method 500 are shown in a particular order, this is not meant to be limiting. One or more operations may be reordered, eliminated, and / or added.

[0103] In block 552, the system obtains a plurality of RPC training instances for training the voicebot, each of the plurality of training instances including a training instance input and a training instance output. The plurality of RPC training instances may be selected from a superset of training instances associated with the voicebot (e.g., training instance database 161A of FIG. 1). In block 554, the system determines a type of RPC request for a given RPC training instance of the plurality of RPC training instances for training the voicebot.

[0104] In certain embodiments, for a given RPC training instance, the type of the RPC request may be an RPC outbound request. The system may determine that the type of the RPC request is an RPC outbound request based on the training instance output for the given RPC training instance, including at least a corresponding ground truth RPC outbound request, as shown in sub-block 552A1. If, in the iteration of block 554, the system determines that the type of the RPC request is an RPC outbound request for the given training instance, the system may proceed to block 556A.

[0105] At block 556A, the system processes training instance inputs using multiple ML layers of a machine learning (ML) model for a given RPC training instance to generate an embedding associated with the current state of the corresponding conversation. The training instance inputs may include at least a portion of the corresponding conversation. The training instance inputs may be processed in the same or similar manner as described above with reference to block 456 of FIG. 4.

[0106] At block 558A, the system processes the embedding and one or more affinity features using multiple additional ML layers of the ML model or additional ML models to generate a predictive embedding associated with a predicted response to at least a portion of the corresponding conversation included in the training instance input. The system may generate one or more of the affinity features in the same or similar manner as described above with reference to block 458 of Figure 4. Additionally, the system may process the embedding and one or more affinity features associated with the current state of the corresponding conversation utilizing multiple additional ML layers in the same or similar manner as described above with reference to block 460 of Figure 4.

[0107] At block 560A, the system compares the predicted embeddings with ground truth embeddings associated with corresponding ground truth RPC outbound requests in the embedding space to generate one or more losses. The system may compare the predicted embeddings with the ground truth embeddings to generate one or more losses in the same or similar manner as described above with reference to block 462 of FIG. 4. In particular, the ground truth embeddings are associated with RPC outbound requests (as opposed to ground truth responses to at least a portion of the corresponding conversation described above with reference to FIG. 4). The RPC outbound requests may be associated with a particular third party system (e.g., a third party reservation system, a third party inventory system, and / or other particular third party systems) for a given RPC training instance. As a result, the RPC outbound requests associated with each of these particular third party systems may be associated with a respective portion of the embedding space. For example, assume that the corresponding RPC outbound request is associated with a third party reservation system. In this example, the ground truth embeddings may be associated with a third party reservation system, as opposed to the embeddings associated with a third party inventory system, for example. The system proceeds to block 562, which is described below.

[0108] In another embodiment, for a given RPC training instance, the type of RPC request may be an RPC inbound request. The system may determine that the type of RPC request is an RPC inbound request based on the training instance input for a given RPC training instance that includes at least a corresponding RPC inbound request, as shown in sub-block 552A2. If, in the repetition of block 554, the system determines that the type of RPC request is an RPC inbound request for a given training instance, the system may proceed to block 556B.

[0109] At block 556B, the system processes at least the corresponding RPC inbound request using multiple ML layers of the ML model to generate an embedding associated with the current state of the corresponding conversation. The training instance input may additionally include at least a portion of the corresponding conversation. The training instance input may be processed in the same or similar manner as described above with reference to block 456 of FIG. 4. In particular, the training instance input includes an RPC inbound request (as opposed to just at least a portion of the corresponding conversation described above with reference to FIG. 4). The RPC inbound request may be associated with a particular third party system (e.g., a third party reservation system, a third party inventory system, and / or other particular third party system) for a given RPC training instance. As a result, the RPC inbound request may be structured information carried in a conversation and received as opposed to a corresponding RPC outbound request as described above with reference to block 560A.

[0110] At block 558B, the system processes the embeddings and one or more affinity features using multiple additional ML layers of the ML model or additional ML models to generate at least a predicted embedding associated with a predicted response to the RPC inbound request. The system may generate one or more of the affinity features in the same or similar manner as described above with reference to block 458 of Figure 4. Additionally, the system may process the embeddings and one or more affinity features associated with the current state of the corresponding conversation utilizing multiple additional ML layers in the same or similar manner as described above with reference to block 460 of Figure 4.

[0111] At block 560B, the system compares the predicted embeddings in the embedding space to ground truth embeddings associated with the training instance outputs to generate one or more losses. The training instance outputs may include corresponding ground truth responses to the RPC inbound requests. The system may compare the predicted embeddings to the ground truth embeddings to generate one or more losses in the same or similar manner as described above with reference to block 462 of FIG. 4. The system proceeds to block 562.

[0112] At block 562, the system updates one or more of the multiple ML layers or multiple additional ML layers based on one or more of the losses generated at block 560A or 560B. The system may update the multiple ML layers or one or more of the multiple additional ML layers in the same or similar manner as described above with reference to block 464 of FIG.

[0113] In block 564, the system determines whether there are additional RPC training instances for training the voicebot. If, in the repetition of block 564, the system determines that there are additional RPC training instances for the voicebot, the system may return to block 554 and repeat the processing of blocks 554-562 based on the additional RPC training instances. In certain embodiments, when additional RPC training instances are available, the system may continue updating one or more of the ML layers or the additional ML layers until one or more conditions are met. The one or more conditions may include, for example, validation of one or more of the updated ML layers or the additional ML layers, aggregation of one or more of the updated ML layers or the additional ML layers (e.g., zero loss or within a threshold range of zero loss), a determination that one or more of the ML layers or the additional ML layers is better (e.g., accuracy and / or recall) than the currently utilized voicebot (if any) instance, occurrence of training based on at least a threshold amount of training instances, and / or duration of training based on the training instances. In certain additional or alternative embodiments, the system may continue updating one or more of the ML layers or additional ML layers until the voicebot has been trained on each of the RPC training instances obtained for training the voicebot. When, in the repetition of block 564, the system determines that there are no additional training instances for the voicebot or when one or more conditions are met, the system may proceed to block 556.

[0114] In block 556, the system deploys the trained voicebot to conduct conversations on behalf of the third party. For example, the trained voicebot may be deployed to conduct conversations on behalf of the third party for calls associated with the third party. In certain embodiments, the trained voicebot may answer incoming calls on behalf of the third party and conduct a corresponding conversation with a person (or an additional voicebot associated with the person). In additional or alternative embodiments, the trained voicebot may initiate outgoing calls on behalf of the third party and conduct a corresponding conversation with a person or entity (or an additional voicebot associated with the person or an interactive voice response (IVR) system associated with the person). In other examples, the trained voicebot may be deployed to conduct conversations on behalf of the third party in a drive-thru or in any other service scenario. Notably, multiple instances of the trained voicebot may be deployed by a third party simultaneously. By deploying multiple instances of the trained voicebot, any combination of multiple incoming calls and multiple outgoing calls may be handled simultaneously.

[0115] It should be understood that while Figure 5 has been described herein with reference to only multiple RPC training instances, this is for purposes of explanation and not limitation. For example, the multiple RPC training instances may be intermixed with additional non-RPC training instances utilized to train a voicebot for a third party, such as those described above in Figure 4. Additionally, one or more of the multiple RPC training instances may also be associated with a corresponding feature highlighting input. (See, e.g., Figures 1, 2A, 3B, and 4).

[0116] 6 is a block diagram of an example of a computing device 610 that may optionally be utilized to perform one or more aspects of the techniques described herein. In certain embodiments, one or more client devices, cloud-based automated assistant components, and / or other components may comprise one or more components of the example computing device 610.

[0117] Computing device 610 typically includes at least one processor 614 that communicates with a number of peripheral devices via a bus subsystem 612. These peripheral devices may include, for example, a storage subsystem 624 including a memory subsystem 625 and a file storage subsystem 626, user interface output devices 620, user interface input devices 622, and a network interface subsystem 616. The input and output devices allow a user to interact with computing device 610. The network interface subsystem 616 provides an interface to external networks and connects to corresponding interface devices in other computing devices.

[0118] The user interface input devices 622 may include a keyboard, a pointing device such as a mouse, a trackball, a touchpad or a graphics tablet, a scanner, a touch screen integrated into a display, an audio input device such as a voice recognition system, a microphone, and / or other types of input devices. In general, use of the term "input device" is intended to include any type of device and method for inputting information into the computing device 610 or a communications network.

[0119] The user interface output devices 620 may include a display subsystem, a printer, a fax machine, or a non-visual display, such as an audio output device. The display subsystem may include a mechanism for producing a visible image, such as a flat panel device, such as a cathode ray tube (CRT), a liquid crystal display (LCD), a projection device, or other mechanism. The display subsystem may also provide a non-visual display, such as through an audio output device. In general, use of the term "output device" is intended to include any type of device and method for outputting information from the computing device 610 to a user or other equipment or computing device.

[0120] The storage subsystem 624 stores programs and data that provide some or all of the functionality of the modules described herein. For example, the storage subsystem 624 may include logic for performing selected aspects of the methods disclosed herein as well as implementing the various components shown in FIG.

[0121] Software modules are typically executed by the processor 614 alone or in combination with other processors. The memory 625 used within the storage subsystem 624 may comprise any number of memories, including a main random access memory (RAM) 630 for storing instructions and data during program execution, and a read-only memory (ROM) 632 in which fixed instructions are stored. The file storage subsystem 626 may provide persistent storage for storing program and data files, and may comprise hard disk drives, floppy disk drives, as well as associated removable media, CD-ROM drives, optical drives, and removable media cartridges. Modules that implement the functionality of certain embodiments may be stored by the file storage subsystem 626 within the storage subsystem 624, or within other devices accessible to the processor 614.

[0122] Bus subsystem 612 provides a mechanism by which the various components and subsystems of computing device 610 can communicate as intended. Although bus subsystem 612 is illustrated diagrammatically as a single bus, alternative embodiments of bus subsystem 612 may use multiple buses.

[0123] Computing device 610 can be of many different types, such as a workstation, a server, a computer cluster, a blade server, a server farm, or any other data processing system or computing device. Because the nature of computers and networks is constantly changing, the illustration of computing device 610 shown in Figure 6 is intended only as an example for purposes of illustrating some embodiments. There are many other configurations of computing device 610 possible, with more or fewer components than the computing device shown in Figure 6.

[0124] In situations where the systems described herein collect or monitor personal information of a user (or may utilize personal and / or monitored information), the user may be provided with the opportunity to control whether a program or feature collects user information (e.g., the user's social network information, social activities or behavior, occupation, user preferences, or the user's current geographic location) or whether and / or how the user may receive content from content servers that are more relevant to the user. Also, certain data may be handled in one or more ways before storage or use to remove personally identifiable information. For example, the user's identity may be handled such that personally identifiable information is not determined about the user, or such that the user's geographic location from which geographic location information is obtained is generalized (such as to the city, zip code, or state level) so that the user's specific geographic location is not determined. In this manner, the user may have control over how information is collected about the user and / or used.

[0125] In certain embodiments, a method is provided that is executed by one or more processors, the method including obtaining, through a voicebot development platform, a plurality of training instances. Each of the plurality of training instances includes a training instance input and a training instance output. The training instance input includes at least a portion of a corresponding conversation and a prior context of the corresponding conversation, and the training instance output includes a corresponding ground truth response to at least the portion of the corresponding conversation. The method further includes obtaining, through the voicebot development platform, a corresponding feature highlight input associated with one or more of the plurality of training instances, and training, through the voicebot development platform, a voicebot based on the plurality of training instances and the corresponding feature highlight input associated with the one or more of the plurality of training instances. The corresponding feature highlight input associated with the one or more of the plurality of training instances focuses the voicebot on specific features of the portion of the corresponding conversation. The method includes, after training the voicebot, causing the trained voicebot to be deployed to conduct a conversation on behalf of a third party.

[0126] These and other implementations of the technology disclosed herein can optionally include one or more of the following features.

[0127] In certain embodiments, training the voicebot may include processing at least a portion of the corresponding conversation and a prior context of the corresponding conversation for a given training instance of the multiple training instances using multiple ML layers of a machine learning (ML) model to generate an embedding associated with a current state of the corresponding conversation.

[0128] In certain of these embodiments, the portion of the corresponding conversation may include a plurality of speech hypotheses for at least the portion of the corresponding conversation. Processing at least the portion of the corresponding conversation and a prior context of the corresponding conversation to generate an embedding associated with a current state of the corresponding conversation may include processing the plurality of speech hypotheses with a first ML layer of the plurality of ML layers to generate a first embedding, processing the prior context of the corresponding conversation with a second ML layer of the plurality of ML layers to generate a second embedding, and concatenating the first embedding and the second embedding to generate an embedding associated with the current state of the corresponding conversation.

[0129] In another example of these embodiments, the method may further include generating, by the voicebot development platform, a plurality of affinity features based on the embeddings associated with the current state of the corresponding conversation. In yet another example of these embodiments, training the voicebot may further include processing the plurality of affinity features and the embeddings associated with the current state of the corresponding conversation with a plurality of additional ML layers of the ML model or additional ML models to generate a predicted embedding associated with a predicted response to at least the portion of the corresponding conversation. In yet another example of these embodiments, training the voicebot may further include comparing, in an embedding space, a predicted embedding associated with a predicted response to the portion of the corresponding conversation and a corresponding ground truth embedding associated with a corresponding ground truth response to at least the portion of the corresponding conversation, generating one or more losses based on a comparison of the predicted embedding and the corresponding ground truth embedding, and updating the ML model based on one or more of the losses and the corresponding feature highlighting inputs associated with the given training instance. In yet another example of these embodiments, the ML model may be a transformation model including one or more attention mechanisms, and updating the transformation model based on the one or more losses and corresponding feature highlighting inputs associated with the given training instance may include updating one or more weights of the multiple ML layers or multiple additional ML layers based on the one or more losses, and focusing one or more of the attention mechanisms of the transformation model on one or more features of at least a portion of the corresponding speech based on the corresponding feature highlighting inputs associated with the given training instance.

[0130] In another additional or alternative example of these embodiments, the portion of the corresponding conversation may include audio data corresponding to an oral utterance capturing at least the portion of the corresponding conversation. The plurality of voice hypotheses may be generated based on processing the audio data corresponding to the oral utterance with an automatic speech recognition (ASR) model to generate the plurality of voice hypotheses for at least the portion of the corresponding conversation. In yet another example of these embodiments, the method may further include adjusting one or more corresponding text segments associated with each of the plurality of voice hypotheses and annotating each of the one or more corresponding text segments with at least one corresponding label to generate the plurality of annotated voice hypotheses. Processing the plurality of voice hypotheses to generate a first embedding using a first ML layer of the plurality of ML layers may include processing the plurality of annotated voice hypotheses to generate the first embedding.

[0131] In another additional or alternative embodiment of these embodiments, the antecedent context of the corresponding conversation may include at least one or more antecedent portions of the corresponding conversation that occur in the corresponding conversation prior to at least a portion of the corresponding conversation.

[0132] In certain examples, obtaining a corresponding feature highlight input associated with one or more of the plurality of training instances may include receiving a natural language input from one or more persons associated with a third party and processing the natural language input to obtain a corresponding feature highlight input associated with one or more of the plurality of training instances. The natural language input may be one or more of a free-form verbal input or a free-form keyed input.

[0133] In certain embodiments, one or more of the plurality of training instances may be obtained from a corpus of training instances. The corpus of training instances may include a plurality of previously-discussed conversations between a plurality of people. In certain additional or alternative embodiments, one or more of the plurality of training instances may be obtained from a corresponding demo conversation between one or more people. One or more of the plurality of people may be associated with a third party. In certain additional or alternative embodiments, one or more of the plurality of training instances may be obtained from spoken utterances received through voicebot development. The spoken utterances may be received from one or more people associated with a third party.

[0134] In certain embodiments, deploying the trained voicebot to converse on behalf of the third party may include deploying the trained voicebot to conduct a conversation for a call associated with the third party, and deploying the trained voicebot to conduct a conversation for a call associated with the third party includes having the voicebot answer the corresponding incoming call and conduct a conversation through the respective client device with a corresponding person who initiated the corresponding incoming call. In certain of these embodiments, the method may further include generating a corresponding conversation summary of the conversation conducted during the corresponding incoming call after the call is completed, and having the corresponding conversation summary of the conversation rendered by the voicebot development platform.

[0135] In certain embodiments, deploying the trained voicebot to converse on behalf of the third party may include deploying the trained voicebot to conduct a conversation for a call associated with the third party, and deploying the trained voicebot to conduct a conversation for a call associated with the third party includes having the voicebot initiate a corresponding call and conduct a conversation through each client device with a corresponding person who responded to the corresponding call. In certain of these embodiments, the method may further include generating a corresponding conversation summary of the conversation conducted during the corresponding call after the call is completed, and having the voicebot development platform render the corresponding conversation summary of the conversation.

[0136] In certain embodiments, the voicebot development platform is provided by a first party that is distinct from a third party that deploys voicebots.

[0137] In certain embodiments, a method is provided that is executed by one or more processors, the method including obtaining, through a voicebot development platform, a plurality of remote procedure call (RPC) training instances. Each of the plurality of RPC training instances includes a training instance input and a training instance output. The training instance input includes at least a portion of a corresponding conversation and a prior context of the corresponding conversation, and the training instance output includes a corresponding ground truth response to at least the portion of the corresponding conversation. The method further includes training, through the voicebot development platform, a voicebot based on at least the plurality of RPC training instances. Training the voicebot based on the plurality of RPC training instances causes the voicebot to interact with a third-party system. The method includes causing the trained voicebot to be deployed to conduct a conversation on behalf of a third party after training the voicebot.

[0138] These and other implementations of the technology disclosed herein can optionally include one or more of the following features.

[0139] In certain embodiments, the corresponding ground truth response for a given RPC training instance of the plurality of RPC training instances may include at least the corresponding RPC outbound request. Training the voicebot may include processing at least a portion of the corresponding conversation and a prior context of the corresponding conversation for the given training instance using a plurality of ML layers of a machine learning (ML) model to generate an embedding associated with a current state of the corresponding conversation.

[0140] In certain of these embodiments, the portion of the corresponding conversation may include a plurality of speech hypotheses for at least the portion of the corresponding conversation. Processing at least the portion of the corresponding conversation and a prior context of the corresponding conversation to generate an embedding associated with a current state of the corresponding conversation may include processing the plurality of speech hypotheses with a first ML layer of the plurality of ML layers to generate a first embedding, processing the prior context of the corresponding conversation with a second ML layer of the plurality of ML layers to generate a second embedding, and concatenating the first embedding and the second embedding to generate an embedding associated with the current state of the corresponding conversation.

[0141] In another example of these embodiments, the method may further include generating, by the voicebot development platform, a plurality of affinity traits based on the embeddings associated with the current state of the corresponding conversation.

[0142] In yet another of these embodiments, training the voicebot may further include processing the plurality of affinity features and embeddings associated with a current state of the response conversation using a plurality of additional ML layers of the ML model or additional ML models to generate predictive embeddings associated with a predicted response to at least a portion of the response conversation.

[0143] In yet another example of these embodiments, training the voicebot may further include comparing, in the embedding space, predicted embeddings associated with the predicted response to the portion of the corresponding conversation with corresponding ground truth embeddings associated with the corresponding RPC outbound request, generating one or more losses based on the comparison of the predicted embeddings and the corresponding ground truth embeddings, and updating the ML model based on one or more of the losses.

[0144] In certain embodiments, at least a portion of a corresponding conversation for a given RPC training instance of the plurality of RPC training instances may include at least a corresponding RPC inbound request. Training the voicebot may include processing at least the corresponding RPC inbound request and a prior context of the corresponding conversation for the given training instance using a plurality of ML layers of a machine learning (ML) model to generate an embedding associated with a current state of the corresponding conversation.

[0145] In certain of these embodiments, processing at least a portion of the corresponding conversation and a prior context of the corresponding conversation to generate an embedding associated with a current state of the corresponding conversation may include processing at least the RPC inbound request using a first ML layer of the multiple ML layers to generate a first embedding, processing the prior context of the corresponding conversation using a second ML layer of the multiple ML layers to generate a second embedding, and concatenating the first embedding and the second embedding to generate a predicted embedding associated with a predicted response to at least the portion of the corresponding conversation.

[0146] In another example of these embodiments, training the voicebot may include comparing, in an embedding space, a predicted embedding associated with a predicted response to a portion of the corresponding conversation with a corresponding ground truth embedding associated with the corresponding ground truth response, generating one or more losses based on the comparison of the predicted embedding and the corresponding ground truth embedding, and updating an ML model based on one or more of the losses.

[0147] In certain embodiments, a third party deploying a voicebot is distinct from additional third parties associated with the third party system.

[0148] In certain embodiments, deploying the trained voicebot to converse on behalf of the third party may include deploying the trained voicebot to conduct a conversation for a call associated with the third party, and deploying the trained voicebot to conduct a conversation for a call associated with the third party includes having the voicebot answer the corresponding incoming call and converse with the corresponding person who initiated the corresponding incoming call through each client device. The voicebot may interact with the third party system through the corresponding RPC during the conversation with the corresponding person. In certain of these embodiments, the method may further include generating a corresponding conversation summary of the conversation conducted during the corresponding incoming call after the call is completed, and having the voicebot development platform render the corresponding conversation summary of the conversation. One or more of the corresponding conversation summaries may include an indication that the corresponding RPC occurred based on the corresponding verbal utterance of the corresponding person received during the corresponding incoming call.

[0149] In certain embodiments, a voicebot development platform is provided, comprising at least one processor, at least one memory, at least one database including a plurality of training instances, and at least one user interface, which allows a third-party developer associated with a third party interacting with the voicebot development platform to obtain the plurality of training instances, train a voicebot based on the plurality of training instances to generate a plurality of corresponding actions for the voicebot, and after training the voicebot, allows the third-party developer to add additional training instances stored in the at least one database to add new actions to the plurality of corresponding actions for the voicebot, and allows the third-party developer to modify existing training instances stored in the at least one database to modify existing actions of the plurality of corresponding actions in the voicebot. Each of the plurality of training instances includes a training instance input and a training instance output. The training instance input includes at least a portion of the corresponding conversation and a prior context of the corresponding conversation, and the training instance output includes a corresponding ground truth response to at least the portion of the corresponding conversation.

[0150] Additionally, certain embodiments include a computing device comprising one or more processors (e.g., a central processing unit (CPU), a graphics processing unit (GPU and / or a tensor processing unit (TPU)) operable to execute instructions stored in associated memory, the instructions configured to perform any of the above methods. Certain embodiments also include one or more non-transitory computer-readable storage media having computer instructions stored thereon that are executable by the one or more processors to perform any of the above methods. Certain embodiments also include a computer program product including instructions that, when executed by the one or more processors, perform any of the above methods.

[0151] It should be understood that any combination of the above concepts, and additional concepts described in more detail herein, is contemplated as part of the presently disclosed subject matter, for example, any combination of claimed subject matter appearing at the end of this disclosure is contemplated as part of the presently disclosed subject matter. [Explanation of symbols]

[0152] 110 Client Devices 111 User Input Engine 112 Rendering Engine 113 Voicebot Development System Client 120 Voicebot Development System 160 Voicebot Training Engine 161 Training Instance Engine 162 Training Engine 170 Voicebot Engine 171 Response Engine 180 Error Identification Engine 185 Conversation Summarization Engine 190 Third Party Systems 195 additional client devices 201 Audio Data 202 Conversational Context 204 Audio Assumptions 205 Predicted Response 206 Ross 207 Audio Data 208 Conversational Context 209 Audio Assumptions 210 Response 212 Synthetic voice audio data 300 User Interface 310 Voicebot Graphic Elements 318 Text Input Field 320 Training Instance Graphic Elements 330 Voicebot Activity Graphic Elements 350 Interface Elements 380 Training Instance Corpus Interface Elements 382 Voicebot Graphic Elements 384 Voicebot Activity Interface Elements 386 Home Interface Elements 610 Computer Equipment 616 Network Interface Subsystem 620 User interface output device 622 User Interface Input Device 624 Memory Subsystem 625 Memory Subsystem 626 File Storage Subsystem 130A ASR model 130A1 ASR engine 130A2 ASR engine 140A NLU model 140A1 NLU engine 140A2 NLU engine 150A TTS model 150A1 TTS engine 150A2 TTS engine 161A Training Instance Database 162A1 encoding engine 162A2 Combined Engine 162A3 Embedded Engine 162A4 Ross Engine 162A5 updated engine 170A1 ML Layer Database 170A2 Speech Activity Database 170A2 Voicebot Activity Database 171A Candidate Response Database 199_1 Network 199_2 Network 199_3 Network 211A RPC outbound request 211B RPC inbound request 321A Training instance input 322A Training instance output 323A Feature Emphasis Input 330C Text input field 331A Conversation Summary 352B Demo Conversation 352B1 User Input 352B2 User Input 352B3 User Input 352B4 User Input 352B5 User Input 354B1 User Input 354B2 User Input 354B3 User Input 362A Employee Graphic Elements 362B Customer Graphic Elements

Claims

1. 1. A method implemented by one or more processors, comprising: obtaining, by the voicebot development platform, a plurality of training instances from a client device associated with the third-party developer; Each of the plurality of training instances comprises: training instance inputs, the training instance inputs including at least a portion of a corresponding conversation and a preceding context of the corresponding conversation; training instance output, the training instance output including corresponding ground truth responses to at least a portion of the corresponding conversation; and obtaining, by the voicebot development platform, corresponding feature highlight inputs associated with one or more of the plurality of training instances; training, by the voicebot development platform, a voicebot for a third party associated with the third party developer based on the plurality of training instances and the corresponding feature highlight input associated with one or more of the plurality of training instances; the corresponding feature highlighting input associated with one or more of the plurality of training instances directs the voicebot to focus on a particular feature in a portion of the corresponding conversation; After the step of training the voicebot, deploying the trained voicebot to conduct conversations on behalf of the third party; A method comprising:

2. The step of training the voicebot comprises:

2. The method of claim 1, comprising: processing at least a portion of the correspondence conversation and the prior context of the correspondence conversation for a given training instance of the plurality of training instances using a plurality of machine learning (ML) layers of a ML model to generate an embedding associated with a current state of the correspondence conversation.

3. the portion of the corresponding conversation includes a plurality of speech hypotheses for at least the portion of the corresponding conversation; processing at least a portion of the corresponding conversation and the antecedent context of the corresponding conversation to generate the embedding associated with the current state of the corresponding conversation, processing the plurality of speech hypotheses with a first ML layer of the plurality of ML layers to generate a first embedding; processing the antecedent context of the corresponding conversation with a second ML layer of the plurality of ML layers to generate a second embedding; concatenating the first embedding and the second embedding to generate the embedding associated with the current state of the corresponding conversation; 3. The method of claim 2, comprising:

4. The method of claim 3 , further comprising generating, by the voicebot development platform, a plurality of affinity traits based on the embeddings associated with the current state of the response conversation.

5. The step of training the voicebot comprises:

5. The method of claim 4, further comprising processing the plurality of affinity features and the embeddings associated with the current state of the response conversation with a plurality of additional ML layers of the ML model or additional ML models to generate predictive embeddings associated with a predicted response to at least a portion of the response conversation.

6. The step of training the voicebot comprises: comparing, in an embedding space, the predicted embedding associated with the predicted response to at least the portion of the corresponding conversation with a corresponding ground truth embedding associated with the corresponding ground truth response to at least the portion of the corresponding conversation; generating one or more losses based on a comparison of the predicted embeddings and the corresponding ground truth embeddings; updating the ML model based on one or more of the losses and the corresponding feature emphasis input associated with the given training instance; 6. The method of claim 5, further comprising:

7. the ML model is a transformation model including one or more attention mechanisms; updating the transformation model based on one or more of the losses and the corresponding feature emphasis input associated with the given training instance, causing weights of one or more of the plurality of ML layers or the plurality of additional ML layers to be updated based on one or more of the losses; focusing the one or more of the attention mechanisms of the transformation model on one or more features of at least a portion of the corresponding conversation based on the corresponding feature highlighting input associated with the given training instance; 7. The method of claim 6, comprising:

8. the portion of the response conversation further comprises audio data corresponding to an oral utterance capturing at least the portion of the response conversation; 4. The method of claim 3, wherein the plurality of voice hypotheses are generated based on processing the audio data corresponding to the oral utterance with an automatic speech recognition (ASR) model to generate the plurality of voice hypotheses for at least a portion of the corresponding conversation.

9. adjusting one or more corresponding text segments associated with each of the plurality of speech hypotheses; annotating each of the one or more corresponding text segments with at least one corresponding label to generate a plurality of annotated speech hypotheses; Further comprising: Processing the plurality of speech hypotheses with the first ML layer of the plurality of ML layers to generate the first embedding comprises: The method of claim 8 , further comprising processing the plurality of annotation speech hypotheses to generate the first embedding.

10. the antecedent context of the corresponding conversation includes at least one or more antecedent portions of the corresponding conversation; The method of claim 3 , wherein the one or more preceding portions of the corresponding conversation occur within the corresponding conversation prior to at least a portion of the corresponding conversation.

11. The step of obtaining the corresponding feature highlight input associated with one or more of the plurality of training instances includes: receiving natural language input from one or more persons associated with the third party; the natural language input being one or more of a free-form verbal input or a free-form keyed input; processing the natural language input to obtain the corresponding feature highlight input associated with one or more of the plurality of training instances; 11. The method of any one of claims 1 to 10, comprising:

12. one or more of the plurality of training instances is obtained from a corpus of training instances; The method of claim 1 , wherein the corpus of training instances comprises a plurality of previously-discussed conversations between a plurality of people.

13. one or more of the plurality of training instances are obtained from corresponding demo conversations between one or more persons; The method of claim 1 , wherein one or more of the persons are associated with the third party.

14. one or more of the plurality of training instances are obtained from a verbal utterance received by the voicebot development platform; The method of claim 1 , wherein the spoken utterance is received from one or more persons associated with the third party.

15. deploying the trained voicebot to conduct the conversation on behalf of the third party includes deploying the trained voicebot to conduct the conversation for calls associated with the third party; deploying the trained voicebot for calls associated with the third party to conduct the conversation; 15. The method of claim 1, further comprising the step of: causing the trained voicebot to answer a queued call and conduct a conversation with a queued person who initiated the queued call through a respective client device.

16. After the completion of the corresponding call, generating a corresponding conversation summary for said conversation conducted during said corresponding call; causing the voicebot development platform to render the corresponding conversation summary of the conversation; 16. The method of claim 15, further comprising:

17. deploying the trained voicebot to conduct the conversation on behalf of the third party includes deploying the trained voicebot to conduct the conversation for calls associated with the third party; deploying the trained voicebot for calls associated with the third party to conduct the conversation; 17. The method of claim 1, further comprising the step of: causing the trained voicebot to initiate a response call and engage in a conversation with a respondent who responds to the response call through each client device.

18. After the completion of the response transmission, generating a corresponding conversation summary of said conversation occurring during said corresponding outgoing call; causing the voicebot development platform to render the corresponding conversation summary of the conversation; 20. The method of claim 17, further comprising:

19. 19. The method of claim 1, wherein the voicebot development platform is provided by a first party distinct from the third party that deploys the voicebot.

20. 1. A method implemented by one or more processors, comprising: obtaining, by the voicebot development platform, a plurality of remote procedure call (RPC) training instances from a client device associated with a third-party developer; Each of the plurality of RPC training instances comprises: training instance inputs, the training instance inputs including at least a portion of a corresponding conversation and a preceding context of the corresponding conversation; training instance output, the training instance output including corresponding ground truth responses to at least a portion of the corresponding conversation; and training, by the voicebot development platform, a voicebot for a third party associated with the third party developer based on at least the plurality of RPC training instances; training the voicebot based on the plurality of RPC training instances includes: causing the voicebot to interact with a third-party system; After the step of training the voicebot, deploying the trained voicebot to conduct conversations on behalf of the third party; A method comprising:

21. the corresponding ground truth response for a given RPC training instance of the plurality of RPC training instances includes at least a corresponding RPC outbound request; The step of training the voicebot comprises:

21. The method of claim 20, comprising: processing at least a portion of the response conversation and the prior context of the response conversation for the given training instance using multiple ML layers of a machine learning (ML) model to generate an embedding associated with a current state of the response conversation.

22. the portion of the corresponding conversation includes a plurality of speech hypotheses for at least the portion of the corresponding conversation; processing at least a portion of the corresponding conversation and the antecedent context of the corresponding conversation to generate the embedding associated with the current state of the corresponding conversation, processing the plurality of speech hypotheses with a first ML layer of the plurality of ML layers to generate a first embedding; processing the antecedent context of the corresponding conversation with a second ML layer of the plurality of ML layers to generate a second embedding; concatenating the first embedding and the second embedding to generate the embedding associated with the current state of the corresponding conversation; 22. The method of claim 21 , comprising:

23. 23. The method of claim 22, further comprising generating, by the voicebot development platform, a plurality of affinity traits based on the embeddings associated with the current state of the response conversation.

24. The step of training the voicebot comprises:

24. The method of claim 23, further comprising processing the plurality of affinity features and the embeddings associated with the current state of the engagement conversation with a plurality of additional ML layers of the ML model or additional ML models to generate predictive embeddings associated with a predicted response to at least a portion of the engagement conversation.

25. The step of training the voicebot comprises: comparing, in an embedding space, the predicted embedding associated with the predicted response to at least a portion of the corresponding conversation with a corresponding ground truth embedding associated with the corresponding RPC outbound request; generating one or more losses based on a comparison of the predicted embeddings and the corresponding ground truth embeddings; updating the ML model based on one or more of the losses.

25. The method of claim 24, further comprising:

26. at least the portion of the corresponding conversation for a given RPC training instance of the plurality of RPC training instances includes at least a corresponding RPC inbound request; The step of training the voicebot comprises:

26. The method of claim 20, comprising: processing, for the given training instance, at least the corresponding RPC inbound request and the antecedent context of the corresponding conversation using multiple ML layers of a machine learning (ML) model to generate an embedding associated with a current state of the corresponding conversation.

27. processing at least a portion of the corresponding conversation and the antecedent context of the corresponding conversation to generate the embedding associated with the current state of the corresponding conversation, processing at least the corresponding RPC inbound request with a first ML layer of the plurality of ML layers to generate a first embedding; processing the antecedent context of the corresponding conversation with a second ML layer of the plurality of ML layers to generate a second embedding; concatenating the first embedding and the second embedding to generate a predictive embedding associated with a predicted response to at least a portion of the response conversation; 27. The method of claim 26, comprising:

28. The step of training the voicebot comprises: comparing, in an embedding space, the predicted embedding associated with the predicted response to at least a portion of the corresponding conversation with a corresponding ground truth embedding associated with the corresponding ground truth response; generating one or more losses based on a comparison of the predicted embeddings and the corresponding ground truth embeddings; updating the ML model based on one or more of the losses.

28. The method of claim 27, further comprising:

29. 29. The method of claim 20, wherein the third party deploying the voicebot is distinct from additional third parties associated with the third party system.

30. deploying the trained voicebot to conduct the conversation on behalf of the third party includes deploying the trained voicebot to conduct the conversation for calls associated with the third party; deploying the trained voicebot for calls associated with the third party to conduct the conversation; causing the trained voicebot to answer the incoming call and converse with the person who initiated the incoming call through each client device; 30. The method of claim 20, further comprising: the voicebot interacting with the third-party system via corresponding RPCs during a conversation with the corresponding person.

31. After the completion of the corresponding call, generating a corresponding conversation summary of the conversation conducted during the corresponding call, one or more of the corresponding conversation summaries are based on corresponding oral utterances of the corresponding person received during the corresponding call and include an indication that the corresponding RPC occurred; causing the voicebot development platform to render the corresponding conversation summary of the conversation; 31. The method of claim 30, further comprising:

32. 1. A voicebot development platform, comprising: At least one processor at least one user interface for allowing a third-party developer associated with a third party to interact with the voicebot development platform; Obtaining a plurality of training instances from at least one database, Each of the plurality of training instances comprises: training instance inputs, the training instance inputs including at least a portion of a corresponding conversation and a preceding context of the corresponding conversation; training instance output, the training instance output including corresponding ground truth responses to at least a portion of the corresponding conversation; and training a voicebot based on the training instances to generate a plurality of corresponding actions for the voicebot; Let them do so, After training the voicebot, having the third party developer add additional training instances stored in the at least one database to add new behaviors, the plurality of corresponding behaviors, for the voicebot; A voicebot development platform operable to provide a user interface that allows the third party developer to modify existing training instances stored in the at least one database to modify existing actions among the plurality of response actions of the voicebot.

Citation Information

Patent Citations

  • Training of speech recognition system utilizing telephone line

    JP1994204952A

  • Method and system for generating interactive response by using deep-learning generation model and multi-modal distribution

    JP2020030403A

  • Method, apparatus, device and medium for identifying key phrase in audio

    JP2020030408A

  • Inference unit, learning method and learning program

    JP2020154076A

  • Method and apparatus for training of conversational agents

    US20190043483A1

Cited By

  • AI-controlled voice optimization CTI

    JP7843587B1