AUTOMATIC BOT CREATION BASED ON SCRIPTS

Information

  • Patent Application
  • 20200159991
  • Publication Number
    20200159991
  • Date Filed
    November 14, 2019
    5 years ago
  • Date Published
    May 21, 2020
    4 years ago
Abstract
Methods and systems for transcript-based bot creation are provided. Information may be stored in memory regarding different automation templates associated with different statement types. A transcript may be imported that includes statements, which may be analyzed and classified as one or more of the different statement types. The imported transcript may be displayed in a graphic user interface with its statements displayed in accordance with the automation templates associated with the respective statement type. User input may be received, including modification input that modifies at least one automation template associated with at least one statement of the displayed transcript designated as an integration point. A custom bot may thereafter be generated based on the modification input and configured to conduct a conversation based on the imported template and to initiate a workflow at the integration point in accordance with the modified automation template.
Description
BACKGROUND OF THE INVENTION
1. Field of the Invention

The present invention generally relates to bot creation. More specifically, the present invention relates to automatic bot creation based on scripts.


2. Description of the Related Art

Presently, most contact center operations occur by manual means and are performed by human agents. Such agents may be trained to answer questions and provide answers and basic services on behalf of a specific brand. Part of agent training may therefore include how to interact with a consumer in a conversation that reflects well on the brand. Such conversations may therefore not only be responsive to a particular consumer query or request, but may be informative, solves problems, and otherwise engage the consumer. Due to the training requirements of providing effective service, contact centers cannot scale well by just adding more people.


Meanwhile, presently available chat bots are not as effective as human agents at engaging the consumer, discerning the precise query or request, and being responsive thereto. FIG. 1, for example, illustrates a number of different chat bot failures, resulting from inability to identify precisely what the user is asking. Such failure to properly and accurately identify the purpose of the user query or request thereafter leads to failure to respond appropriately or in a way that satisfies the user. Further, creating a bot is generally a complex and time-intensive engineering process performed by bot coders and developers who do not have firsthand knowledge or training in contact center operations. Such a process is likewise not scalable, and the resulting bots may lack the engagement ability of human agents.


There is, therefore, a need in the art for improved systems and methods for intelligence-driven automatic bot creation based on scripts and agent interaction.


SUMMARY OF THE CLAIMED INVENTION

Embodiments of the present invention include methods and systems for transcript-based bot creation. Information may be stored in memory regarding a set of different automation templates associated with different statement types. A transcript may be imported that includes a plurality of statements, which may be analyzed to classify the statements as one or more of the different statement types. The imported transcript may be displayed in a graphic user interface with its statements displayed in accordance with the automation templates associated with the respective statement type. User input may be received, including modification input that modifies at least one automation template associated with at least one statement of the displayed transcript. Designated as an integration point. A custom bot may thereafter be generated based on the modification input and configured to conduct a conversation based on the imported template and to initiate a workflow at the integration point in accordance with the at least one modified automation template.





BRIEF DESCRIPTION OF THE FIGURES


FIG. 1 illustrates a number of different chat bot failures, resulting from inability to identify precisely what the user is asking.



FIG. 2 illustrates an exemplary successful conversation with a consumer/user and analysis thereof.



FIG. 3A-3F illustrate a variety of dashboards that provide different analyses of statements and conversations.



FIG. 4 is a flowchart that illustrates an exemplary method for automated bot creation.



FIG. 5 is a diagram illustrating an exemplary system architecture for automated bot creation.



FIG. 6A-6D are diagrams illustrating exemplary analytic processes performed during certain steps in automated bot creation.



FIGS. 7A-7E illustrate exemplary graphic user interfaces (GUIs) providing customization tools by which a customized bot may be generated.





DETAILED DESCRIPTION

Embodiments of the present invention provide for intelligence-driven automatic bot creation based on scripts and agent interaction. Conversations between consumers and agents may be tracked in real-time and over time to discern insights as to which ones result in successful outcomes and which do not. Certain metrics and scores may be evaluated in real-time and over time to evaluate which statement types result in certain actions and result in consumer satisfaction. Certain queries may result in connecting the consumer with billing, marketing and sales, purchasing, or customer service, for example, and certain statements may indicate satisfaction with such results. As such, individuals with specialized knowledge (e.g., agents regarding customer service) may participate in bot creation without having to generate software code. Instead, automation templates may be intelligently identified and matched to scripts, as well as modified (on-the-fly or coordinated), trained, refined, and optimized without the need for code.


As such, analyses between conversations between consumers and agents may allow for better and more accurate discernment of consumer queries and requests, as well as better and more accurate responses from agents (or bots). As used herein, intent refers to a user desire to change something related to a brand or business. Such change may apply to a plan type, upgrade a product, to buy a shoe, to learn about a store's inventory for a certain product set, or to learn something about a product they don't understand today. From the business perspective, intent may be used as the unit of management by which contact centers initiate certain automated actions and/or automated workflows. It's a key concept for understanding key automations needed, how to route customer contacts, whether and how well agents are succeeding, how to best incentivize the agent team, etc. It also improves understand why customers are reaching out to the brand, as well as analyze recent trends and customer zeitgeists. Because of this, intent recognition may serve as the basis for intelligence-driven automated conversation building, management, and analyses.



FIG. 2 illustrates an exemplary successful conversation with a consumer/user and analysis thereof. The consumer statement may be identified as including certain indicators of intent, specifically the intent to obtain information (e.g., hours, product lines and options, billing) regarding the business' services under certain circumstances (e.g., in Switzerland during a time period of Aug. 24-Sep. 1, 2018). The agent thereafter successfully identified the proper result based on the intent and the applicable modifiers. The success of the conversation may be indicated by the last user response (e.g., including praise and thanks versus criticism). In addition to the actual content of the conversation, certain other parameters and metrics may be tracked and measured in order to evaluate success and improve how later conversations are designed. For example, information regarding text size, message length, timing and duration, different icons (to indicate bot or human agent), etc., may be tracked to evaluate the relative successes thereof. Sentiment scores may be assigned, for example, to quantify a degree of success of a conversation; such scores may be based on the language and statements provided by the consume/user during the conversation.



FIG. 3A-3F illustrate a variety of dashboards that provide different analyses of statements and conversations. Each statement or conversation may be associated with different intents (e.g., different actions or workflows), as well as different measured parameters (e.g., duration, sentiment scores, trends over time). The dashboards may further include different visual charts and plots based on certain selected metrics. In addition, filter tools may be applied by agents and other administrators to filter by selected parameters, metrics, and agents. Such analyses and filter tools may be applied in real-time to current conversations, as well as a collection of past conversations, to provide insights that aid subsequent conversation design. Such dashboards may be used by agents or other brand/business administrator to gain real-time insights across multiple conversations occurring in real-time, as well as the evolving set of historical conversational data and related metrics. The intent of a statement may be analyzed in accordance with such analytics, whether in real-time or a subsequent time. Such analysis may thereafter be used to intelligently analyze agent and bot performance, as well as scripts thereof. Such intelligence may further be used as described herein to guide creation of a customized bot.



FIG. 4 is a flowchart that illustrates an exemplary method for automated bot creation. In step 410 of such method, certain successful chat transcripts may be identified and used as the basis for creating a custom bot capable of identifying the specific user intent and initiating an automated workflow in response. The success may be identified based on various analytics, including those discussed in relation to FIGS. 3A-G.


In step 420, an agent or other administrator may select the identified transcript to upload or otherwise designate a specific transcript to a module executable to generate a customizable bot. Such transcript may have been identified, evaluated, scored, etc., based on intent analytical tools and selected from a dashboard such as illustrated in FIGS. 3A-3G.


In step 430, the selected transcript(s) may therefore be analyzed to classify the statements included therein. For example, statements made by consumer/user may be distinguished from those made by the agent (human or bot). Further, the statements by the user may be analyzed to detect all the relevant pieces of conversation (e.g., intents, interactions, goals). Such analyses may make use of one or more natural language understanding (NLU) tools that are available through third parties (e.g., Google, Watson, Microsoft, Amazon Lex) or a brand's own proprietary systems.


In step 440, a display of a dialogue may be generate based on the analysis. For example, the statements from a customer may be separated from those of the agent or bot. Visual indicators may be included in a graphic user interface (GUI) to illustrate representative statements of each participant.


In step 450, different intents and modifier options may be detected in the transcript and characterized by type (e.g., type of intent, type of modifier). In step 460, an automation (e.g., automated interaction) may be identified based on the identified intent and characterization(s) thereof.


In steps 470A-C, the automation may be assigned, modified, and used to create an interaction sequence or workflow that is responsive to the identified intent and characterization(s). In step 470A, such characterization may be used to identify a responsive statement (or set of statements) as in integration point where an automated action or workflow (collectively, automation) may be initiated in response. Such automations may be predefined and associated with specific types of statements (indicating different intents or modifiers). The automations may be predefined by the brand/business or may be provided through third party services. Various APIs may be made available that allow for integration with automations powered by different available and/or proprietary systems. In step 470B, the characterization(s) associated with the identified intent may be used as parameters to fill in slots of information needed to run an automation (e.g., where intent is search and the slots specify black shoes in size 7). In step 470C, a custom interaction sequence or automation may be generated. In step 480, the process may be repeated for other interaction or integration points and other intents.



FIG. 5 is a diagram illustrating an exemplary system architecture for automated bot creation. As illustrated, the system may include a variety of different client devices 510A-C that may be used to generate bots. Such clients may include, for example, web clients 510A, mobile clients 510B, and bot clients 510C. Load balancers 520 may be used to distribute network and/or application traffic to various servers.


Exemplary servers may include chat servers 530, micro services 540, and bot servers 550, as well as various supporting tools 560. As illustrated, multiple different services may be made accessible and integrated into bot creation and operation. The resulting bot may therefore be able to access existing services and tools in order to initiate and conduct conversations, as well as to initiate and conduct workflows responsive to the conversations.



FIG. 6A-6D are diagrams illustrating exemplary analytic processes performed during certain steps in automated bot creation. FIG. 6A illustrates an exemplary blueprint for a bot, which includes dialogues associated with one or more interactions. Each dialogue may be identified as associated with a particular intent, and each interaction may include one or more entities and slots. For example, FIG. 6B illustrates a “Shoe Finder” bot entity (e.g., associated with an intent to find shoes) that conducts an exemplary dialogue. Meanwhile, the customer responses (e.g., “Boots” and “Black” may be used to fill in the slots associated with the “Shoe Finder” bot entity.



FIG. 6C illustrates how an artificially intelligent (AI) assist widget may operate to guide creation of the bot in accordance with an automation associated with the intent and entity. For example, the illustrated AI assist widget that may assist in identifying the appropriate entity and slots in accordance with the requirements of the specific automated interaction. FIG. 6D further illustrates certain tools, including a product find tool (“Prod_Find”) associated with a specified image URL and item URL Such image may be retrieved for display when the associated tool is initiated, and the item data may be retrieved for further display upon selection.



FIGS. 7A-7E illustrate exemplary graphic user interfaces (GUIs) providing customization tools by which a customized bot may be generated. FIG. 7A illustrates a variety of different automation templates that may be available for incorporation and customization in a bot. In some instances, the automation templates may be identified from a store of pre-existing templates, which may be filtered by relevance and applicability to industry vertical (e.g., retail, telecommunications, and finance). Common automation templates may include lead generation, product/service search and filter, product/service promotion, appointment scheduling, order status, frequently asked questions (FAQs), etc.



FIG. 7B illustrates a GUI that may be generated to display an imported and selected transcript following analysis and characterization of the statements therein. The resulting GUI therefore presents an agent with a display of transcript statements associated with specified parameters and matched to an automation template (e.g., made available with API integration). Each automation template may allow for different modifiers to be selected and incorporated into the resulting automation initiated by the custom bot. As such, new or modified automations may be created from existing templates.


The GUI of FIG. 7B further includes the chat bot conversation that may result based on the selected and customized template. Such GUI allows an agent to further modify and tweak the conversation diagram before the custom bot is generated. Generation of the custom bot may thereafter be based on the imported transcript that has been selected, analyzed, and characterized based on real-time intelligent insights, as well as agent input, to match certain statements with custom automations. Such bot may be generated anew or based on pre-existing bots that are modified in accordance with the transcript, analysis, and agent input. The resulting custom bot therefore not only reflects the intelligence that comes from analyzing a growing and evolving store of previous conversations and analyses in order to detect intent of a conversation and also detect the proper interaction needed to intelligently route to the appropriate channel to enable a smooth conversation.



FIG. 7C illustrates the AI assist widget, which guides the agent based on the requirements of the automated interaction. For example, the AI assist widget may assist in identifying other intents associated with the entity, as well as the slots needed to be filled in order to run an automated interaction. FIG. 7D illustrates alternative ways to customize a bot response. Such exemplary responses may include listed options for shoe search, as well as illustrated options. Such data may be retrieved from designated product databases based on the identified intent and characterization parameters and presented to the customer for evaluation and selection.



FIG. 7E illustrates an exemplary conversations that include a change in slot parameters. For example, one conversation includes a change from “boots” to “pumps,” while the other conversation includes a change from “black” to “leopard.” Such changes may therefore remove the prior slot parameter from the automation templates and replace with the new slot parameter provided by the customer.


In some embodiments, a conversation manager dashboard may be provided that allows an agent to manage and further train multiple bots. Such dashboard may be based on real-time analysis of current conversations to identify points (e.g., where a handoff may be desired) at which to route to certain automations. Such handoff may allow a conversation conducted by a bot to hand off to an agent, and vice versa, to provide efficient results. Insights from the conversation manager may further be used to supervise bot learning and improve bot-driven conversations and general bot operation further.


AI may analyze each step of a conversation to assess consumer intent, taking available context and history into consideration. With these capabilities, conversations may be automatically routed to the best automations tuned specifically for the brand and minimize need human intervention over time. If a conversation needs to be routed to an agent based on real time sentiment or consumer request, all the consumer and conversation details may be made available in structured form for the agent after a warm hand-off. The consumer has to repeat nothing, and the agent instantly can see the history of the conversation. Additionally, intent analysis will be available in real-time, giving brands an instant view in the questions customers and asking and allowing them take quick action.


Exemplary system in which automated bot creation and management may be implemented may include a conversation builder (including GUI-based tools for intelligent bot creation by agents), a conversation manager (bot management analytical tools), and conversation intelligence module (analytical insights into conversations). Such conversation tools may make use of artificial intelligence and machine learning available through an AI engine applied to a selected set of data. In addition to being built and managed intelligently, conversation tools may make use to any combination or automations that may be made available, either through proprietary systems or made available from third party service providers (through APIs). Such AI engine may therefore analyze all the conversations and scans each turn for intent and next best action, which may enables a suite of features from smart routing between bots, agents, and automations, as well as intelligent handoffs; trend detection and reaction, analytics, recommendations, etc. Some embodiments may include an agent assist widget that recommends handoffs to certain bots/automations at certain points and handoffs from bots at other points based on real-time capacity, intent, and other insights. As such, existing automation templates may be customized by an agent to enhance branding, as well as integrate into the brand's systems or third party services. In addition, such agent may monitor the bot in real-time so as to flag any potential issues and to refine the bot based on the same


In addition, some of these capabilities may exist in adjacent platforms that may be integrated and available for agents and managers to use in one cohesive experience. The resulting platform may use AI to orchestrate conversations across all messaging channels (e.g., online, websites, SMS, social media and messaging applications such as WhatsApp or Facebook Messenger) that supports integrations through a powerful set of APIs.


The present invention may be implemented in an application that may be operable using a variety of computing devices. Non-transitory computer-readable storage media refer to any medium or media that participate in providing instructions to a central processing unit (CPU) for execution. Such media can take many forms, including, but not limited to, non-volatile and volatile media such as optical or magnetic disks and dynamic memory, respectively. Common forms of non-transitory computer-readable media include, for example, a floppy disk, a flexible disk, a hard disk, magnetic tape, any other magnetic medium, a CD-ROM disk, digital video disk (DVD), any other optical medium, RAM, PROM, EPROM, a FLASHEPROM, and any other memory chip or cartridge.


Various forms of transmission media may be involved in carrying one or more sequences of one or more instructions to a CPU for execution. A bus carries the data to system RAM, from which a CPU retrieves and executes the instructions. The instructions received by system RAM can optionally be stored on a fixed disk either before or after execution by a CPU. Various forms of storage may likewise be implemented as well as the necessary network interfaces and network topologies to implement the same.


The foregoing detailed description of the technology has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the technology to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. The described embodiments were chosen in order to best explain the principles of the technology, its practical application, and to enable others skilled in the art to utilize the technology in various embodiments and with various modifications as are suited to the particular use contemplated. It is intended that the scope of the technology be defined by the claim.

Claims
  • 1. A method for transcript-based bot creation, the method comprising: storing information in memory regarding a set of different automation templates associated with different statement types;importing a transcript via a communication interface, the imported transcript comprising a plurality of statements;analyzing the imported transcript to classify the statements as one or more of the different statement types;displaying the imported transcript in a graphic user interface, wherein the statement within the transcript are displayed in accordance with the automation templates associated with the respective statement type;receiving user input that modifies at least one automation template associated with the displayed transcript, the modified automation template associated with one of the statements designated as an integration point; andgenerating a custom bot configured to conduct a conversation based on the imported template and to initiate a workflow at the integration point in accordance with the at least one modified automation template.
  • 2. The method of claim 1, wherein the set of automation templates is associated with an industry vertical, wherein a different industry vertical is associated with a different set of automation templates.
  • 3. The method of claim 1, wherein the different statement types include statements by agent and statements by end-user.
  • 4. The method of claim 1, wherein at least one of the different statement types is matched to a predefined intent.
  • 5. The method of claim 1, further comprising tracking a plurality of live conversations with an end-user in real-time, and identifying an intent associated with one of the statements in one of the live conversations, wherein classifying the statement in the imported transcript comprises a comparison to tracked live conversations and the identified intent for the tracked live conversation.
  • 6. The method of claim 1, further comprising identifying an intent associated with a workflow initiated by an agent associated with a live conversation.
  • 7. The method of claim 1, wherein analyzing the imported transcript comprises making a prediction regarding a recommended workflow to initiate in response to one or more of the statements in the transcript.
  • 8. The method of claim 1, wherein analyzing the imported transcript comprises identifying a handoff point between the bot and an agent associated with a live conversation.
  • 9. The method of claim 1, further comprising generating an agent dashboard displaying current metrics regarding tracked conversations.
  • 10. The method of claim 1, further comprising providing a filter tool selectable to filter a plurality of tracked conversations based on one or more of the metrics.
  • 11. The method of claim 1, wherein analyzing the imported transcript comprises assigning a sentiment score.
  • 12. A system for transcript-based bot creation, the method comprising: memory that stores information regarding a set of different automation templates associated with different statement types;a communication interface that imports a transcript comprising a plurality of statements;a processor that executes instructions stored in memory to analyze the imported transcript to classify the statements as one or more of the different statement types;a graphic user interface that: displays the imported transcript, wherein the graphic user interface displays the statements within the transcript in accordance with the automation templates associated with the respective statement type, andreceives user input that modifies at least one automation template associated with the displayed transcript, the modified automation template associated with one of the statements designated as an integration point; andwherein the processor executes further instructions to generate a custom bot configured to conduct a conversation based on the imported template and to initiate a workflow at the integration point in accordance with the at least one modified automation template.
  • 13. The system of claim 12, wherein the set of automation templates is associated with an industry vertical, wherein a different industry vertical is associated with a different set of automation templates.
  • 14. The system of claim 12, wherein the different statement types include statements by agent and statements by end-user.
  • 15. The system of claim 12, wherein at least one of the different statement types is matched to a predefined intent.
  • 16. The system of claim 12, wherein the graphic user interface further tracks a plurality of live conversations with an end-user in real-time, and wherein the processor executes further instructions to identify an intent associated with one of the statements in one of the live conversations, wherein the processor classifies the statement in the imported transcript based on a comparison to tracked live conversations and the identified intent for the tracked live conversation.
  • 17. The system of claim 12, wherein the processor executes further instructions to identify an intent associated with a workflow initiated by an agent associated with a live conversation.
  • 18. A non-transitory, computer-readable storage medium, having embodied thereon a program executable by a processor to perform method for transcript-based bot creation, the method comprising: storing information in memory regarding a set of different automation templates associated with different statement types;importing a transcript via a communication interface, the imported transcript comprising a plurality of statements;analyzing the imported transcript to classify the statements as one or more of the different statement types;displaying the imported transcript in a graphic user interface, wherein the statement within the transcript are displayed in accordance with the automation templates associated with the respective statement type;receiving user input that modifies at least one automation template associated with the displayed transcript, the modified automation template associated with one of the statements designated as an integration point; andgenerating a custom bot configured to conduct a conversation based on the imported template and to initiate a workflow at the integration point in accordance with the at least one modified automation template.
CROSS-REFERENCE TO RELATED APPLICATIONS

The present invention claims the priority benefit of U.S. provisional patent application No. 62/768,699 filed Nov. 16, 2019, the disclosure of which is incorporated by reference herein.

Provisional Applications (1)
Number Date Country
62768699 Nov 2018 US