Chatbot diagnostic visualization method, system and storage medium
Through chatbot diagnostic visualization tools and middleware adapters, real-time debugging data visualization is provided, which solves the problems of repeated information provision, improper task status management and third-party application interaction complexity during chatbot debugging, and improves debugging efficiency and user experience.
Patent Information
- Application Number
- CN202080046281.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-04
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-05-04
AI Technical Summary
There are code errors in the debugging process of existing chatbots that lead to repeated provision of user information, improper task status management, offline debugging of the debugger restricts real-time conversation capabilities, developers need to manually check the code, which is time-consuming and labor-intensive, and conflicts with third-party applications/services. The interaction complexity is high, the protocol data is invisible, and it is difficult to understand the specific interaction context.
Design a chatbot diagnostic visualization tool to provide real-time debugging data visualization through a graphical user interface, implement middleware adapters to track data channels, observe and filter related data, display message activities and task status, and improve debugging efficiency and visibility.
Simplify the debugging process, improve chatbot debugging efficiency, reduce latency, enhance developers’ real-time insights into chatbot interactions, reduce debugging complexity, and improve user experience and application usability.
Smart Images

Figure CN114008600B_ABST
Abstract
Description
Background Art
[0001] A chatbot is a computer program that provides artificial intelligence trained to engage in conversation with a user. Although chatbots attempt to convincingly simulate the behavior of a human as a conversation partner, users are often frustrated by their interactions with chatbots. This is due in part to errors in the chatbot's code, which can lead to problems such as: 1) requiring users to re-provide information they have already provided to the chatbot; and 2) improper management of the chatbot's task state, such as improperly switching between states when important information has not been collected or not identifying that important information has been collected, as well as other technical issues. As a result, chatbots often require debugging to perform more efficiently and accurately.
[0002] When it comes to debugging code, debuggers typically require an offline debugger. This limits the chatbot's ability to adapt during real-time conversation processing. As a result, the user's experience interacting with the chatbot may be poor, and only hope that the problem will be resolved at a later point in time. In addition, when it comes to identifying and fixing technical issues for debugging purposes, developers must manually inspect the executed code and manually add breakpoints to inspect specific parts of the code to identify and debug the problem. This is not only inefficient from a processing perspective, but also very time-consuming and burdensome for developers, due to the fact that there is no visually identifiable association between messages received by or sent to the chatbot and the chatbot's task status. As a result, the debugging process can be improved to resolve such technical issues.
[0003] When a chatbot is integrated to work with a third-party application / service, technical complexity is added. Typically, the runtime active processing of specific protocol data of the application / service with which the chatbot can interact is not visible. Since many applications / services operate as closed systems, tools for observing protocol data are often not included in the same processing stack, making it difficult to understand the context of a specific interaction with the chatbot. Summary of the invention
[0004] In view of the aforementioned technical challenges, the present disclosure relates to processing operations configured to generate and present a chatbot diagnostic visualization that provides real-time visual insight into the operation of the chatbot for debugging assistance. For example, a chatbot diagnostic tool is programmed to launch a graphical user interface that displays a visual representation of diagnostic data for debugging the chatbot. This reflects a real-time (or, near real-time) conversation between the chatbot and the data channel of an application / service, regardless of whether the application / service is proprietary or a third-party application / service. In order to enable conversation-specific data to be viewed, the present disclosure is configured to implement a middleware adapter within the chatbot's runtime stack that is configured to track data traffic between the chatbot and the channel of the application / service. This enables the chatbot diagnostic tool to observe data traffic and filter the data traffic to identify relevant data for debugging the chatbot. The debugging data visualization of the chatbot interaction can be simulated by the graphical user interface of the chatbot diagnostic tool.
[0005] This summary is provided to introduce in simplified form a selection of concepts that are further described in the detailed description below. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to limit the scope of the claimed subject matter. Additional aspects, features, and / or advantages of the examples will be set forth in part in the description that follows, and in part will become apparent from the description, or may be learned through practice of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Non-limiting and non-exhaustive examples are described with reference to the following figures.
[0007] Figure 1A-Figure 1C An exemplary process flow of interaction between a chatbot's runtime stack and a diagnostic visualization status component as described herein is shown, which can be utilized to practice aspects of the present disclosure.
[0008] Figure 2 An exemplary method related to processing operations for generating and providing chatbot diagnostic visualizations is shown, which exemplary method can be utilized to practice aspects of the present disclosure.
[0009] Figure 3 An exemplary processing device view of a debug data visualization of an exemplary chatbot diagnostic tool is shown, which may be utilized to practice aspects of the present disclosure.
[0010] Figure 4 A computing system suitable for implementing the processing operations described herein related to the generation and presentation of chatbot diagnostic visualizations is shown, and which can be utilized to practice aspects of the present disclosure. DETAILED DESCRIPTION
[0011] The present disclosure relates to processing operations configured to generate and present a chatbot diagnostic visualization that provides real-time visual insights into the operation of the chatbot for debugging assistance. For example, a chatbot diagnostic tool is programmed to launch a graphical user interface that displays a visual representation of diagnostic data for debugging the chatbot. This reflects a real-time (or, near real-time) conversation between the chatbot and the data channel of an application / service, whether the application / service is proprietary or a third-party application / service. In order to enable conversation-specific data to be viewed, the present disclosure is configured to implement a middleware adapter within the chatbot's runtime stack that is configured to track data traffic between the chatbot and the channel of the application / service. This enables the chatbot diagnostic tool to observe data traffic and filter the data traffic to identify relevant data for debugging the chatbot. Examples of data that may be transmitted through the chatbot's runtime stack and may be useful for debugging the chatbot include, but are not limited to: message activity during chatbot interaction; and the chatbot's conversation task state during chatbot interaction, as well as other non-limiting examples. The visual association between message activity and conversation task state allows developers to efficiently identify errors in the chatbot's code for debugging purposes. Visualization of debugging data of chatbot interactions can be simulated through the graphical user interface of the chatbot diagnostic tool.
[0012] The simulation process used to generate the exemplary debugging data visualization can include simulating the message activity and the dialogue task state of the chatbot in real time (or, near real time) so that the developer can debug the chatbot. For example, the filtered message activity and the data related to the dialogue task state can be presented in a visually attractive manner through a graphical user interface, so that the user can easily and efficiently perform the debugging process, for example, by associating the message activity with the dialogue task state of the chatbot. In a non-limiting example, the chatbot diagnostic tool can be configured to display the debugging data visualization through a graphical user interface, which includes the dialogue task state of the message activity and the chatbot interaction, for example, what is happening through the data channel of the application / service. This may occur in different user interface elements (e.g., user interface panes / windows), so that developers can focus on specific types of content and related code.
[0013] In other non-limiting examples, codes related to the state of the conversation task of the chatbot and / or codes related to the user state (e.g., of the user interacting with the chatbot) can also be displayed through a graphical user interface. For example, a code representing a real-time representation of the state of the conversation task of the chatbot can be displayed, wherein the code includes a robot state difference indicating the point at which the chatbot changes the task in the chatbot interaction. This can help developers identify potential errors in the chatbot, because the point at which the chatbot performs the decision to change the task becomes the focus. In other non-limiting examples, the chatbot diagnostic tool can be configured to highlight specific message activities related to the change of the robot state difference through a graphical user interface to further help debug the chatbot. For example, a developer can select a portion of the code related to the robot state difference that indicates the change of the conversation task state of the chatbot. The chatbot diagnostic tool can be configured to highlight the message activity triggered by the change of the robot state difference through a graphical user interface.
[0014] In addition, the debugging data visualization can also include displaying the log of the tracked data business between the chatbot and the channel of the application or service. This can enable developers to view all data processed by the chatbot to help more fully understand the potential problems that may plague the chatbot during the chatbot interaction. The debugging data visualization can also be configured to display the state of the connection for tracking the data business through the runtime stack of the chatbot. For example, the chatbot diagnostic tool can be configured to enable developers to initiate the connection of the real-time chatbot interaction via the middleware adapter through the debugging data visualization. In other alternative examples, the chatbot diagnostic tool can be configured to automatically initiate the connection for tracking data business via the middleware adapter, wherein the display of the debugging data visualization can present insights into the chatbot interaction of the activity. In other examples, developers can modify the state of the connection through the debugging data visualization.
[0015] In addition, the chatbot diagnostic tool can also be configured to associate and display other types of data to help debug the chatbot. For example, other types of data services can be filtered and presented through debugging data visualization. Non-limiting examples of such data services may include, but are not limited to: data services related to the real-time state of the channel during the chatbot interaction; data services related to the changes of participants interacting with the chatbot through the channel; data services related to the modality of the input (e.g., voice, typing, handwriting) received; and data services related to the interaction between the user and the device during the chatbot interaction, as well as other examples. The chatbot diagnostic tool can also be configured to dock with other knowledge bases to obtain feedback data to help debug. For example, signal data can be collected and aggregated to one or more levels (e.g., application / service level, user level, device level, or a combination thereof), which can provide other insights to help debug chatbot problems. Telemetry data can be generated at one or more signal levels, where metrics can be presented in user interface elements (e.g., panes or windows) of a graphical user interface to help developers evaluate chatbots. In other cases, the debugging data visualization may additionally include the real-time status of the developer during the debugging process and / or the developer's feedback, which may be presented, for example, through a graphical user interface of a chatbot diagnostic tool. For example, the developers may be working together to resolve errors in real time. In this case, it would be helpful to understand the progress of other developers, such as the code they are checking, highlighting potential errors, changes to the code and / or developer comments during the debugging session, and other examples.
[0016] Exemplary technical advantages provided by the processing described in the present disclosure include, but are not limited to: implementation of a diagnostic visualization state component that presents a chatbot diagnostic tool that provides real-time visual insight into the operation of a chatbot for debugging purposes; generating and presenting debug data visualizations through the chatbot diagnostic tool through an adapted graphical user interface; generating and implementing a middleware adapter that communicates with the diagnostic visualization state component to interface in the chatbot's runtime stack, wherein the middleware adapter can be used to track data services for debug data visualization; improving processing efficiency during debugging of a chatbot in real time (or, near real time); improving processing efficiency of a computing device when debugging a chatbot (e.g., reducing processing cycles, saving resources / bandwidth); reducing delays during debugging processing by providing exemplary debug data visualizations; enabling the diagnostic visualization state component to interact with multiple applications / services (e.g., applications / services of a software application platform) to extend the functionality of a chatbot diagnostic tool during execution; and improving the usability of applications / services for users, as well as other technical advantages.
[0017] Figure 1A-Figure 1C 100, 120, and 140 are respectively shown as exemplary process flows 100, 120, and 140 for interaction between a runtime stack and a diagnostic visualization status component for a chatbot as described herein, which can be utilized to practice aspects of the present disclosure. Figure 4 The exemplary computing system (or, multiple computing systems) described in the description of the process flows 100, 120 and 140 performs the components shown in the process flows 100, 120 and 140. The exemplary components described in the process flows 100, 120 and 140 can be hardware and / or software components that are programmed to perform the processing operations described herein. In some examples, the components of the process flows 100, 120 and 140 can each be one or more computing devices associated with the execution of a specific service. The exemplary service can be managed by an application platform, which also provides the component with access to other components associated with the application / service and knowledge of the other components. In one case, the processing operations described in the process flows 100, 120 and 140 can be implemented by one or more components connected through a distributed network. The operations performed in the process flows 100, 120 and 140 can correspond to operations performed by a system and / or service that executes a computer program, an application programming interface (API), a neural network or machine learning process, a language understanding process, a search and filtering process, and generates content for presentation through a user interface of an application / service, as well as other examples. In the exemplary illustrations of process flows 100, 120, and 140, there are examples intended to emphasize Figure 1A-Figure 1C The process flow steps of the non-limiting examples of the interactions between the components shown. The process flows between the components can be changed without departing from the spirit of the present disclosure. In addition, the process flows 100, 120 and 140 describe the process flow steps that can be used to perform the method 200 ( Figure 2 ) and provide Figure 3 The user interface examples and the components described along with them are illustrated and described in .
[0018] Process flow 100 illustrates a runtime stack of a chatbot 102 for docking with a diagnostic visualization state component 104, which results in generating and providing debug data visualization through the diagnostic visualization state component 104. The runtime stack of the chatbot 102 includes a data channel component 106, a diagnostic middleware component 108, an application / service component 110, and an application state storage component 112. Traditional stack structures and docking of components for managing chatbot processing are known to those skilled in the art. For example, a runtime stack for chatbot processing may include multiple components that are configured to manage chatbot processing so that the chatbot can interface with one or more application / services to provide chatbot functionality. As is well known, the exemplary runtime stack of the chatbot 102 is adapted compared to the traditional stack structure because the runtime stack of the chatbot 102 incorporates components specifically for diagnostic analysis and debugging of the chatbot during, for example, real-time (or, near real-time) execution.
[0019] The application / service component 110 is configured to manage access to applications / services to enable chatbot functionality. In doing so, the application / service component 110 manages applications / services (including chatbot applications / services) through which a user can initiate an interaction (e.g., a conversation) with a chatbot. A chatbot can be directly invoked by the application / service in which the user is working, or can be directly invoked by the chatbot application / service. In one example, the application / service component 110 manages a chatbot application / service that interfaces with a data channel of another application / service, and a user can be working within the chatbot application / service to initiate a chatbot interaction.
[0020] The application / service managed by the application / service component 110 can be any type of programming software. An exemplary application / service is a productivity application / service that is configured to enable a user to complete tasks on a computing device through a personal application / service experience or a collaborative application / service experience. Examples of productivity services include, but are not limited to: word processing applications / services, spreadsheet applications / services, notes / note-taking applications / services, authoring applications / services, digital presentation applications / services, search engine applications / services, email applications / services, messaging applications / services, web browsing applications / services, collaborative team applications / services, digital assistant applications / services, web page building applications / services, directory applications / services, map services, calendar services, electronic payment services, digital data storage or distributed data storage applications / services, web conferencing applications / services, call communication applications / services, language understanding applications / services, robot framework applications / services, network applications / services, team collaboration applications / services, and social network applications / services, as well as other examples. In some examples, an exemplary productivity application / service can be a component of an application platform that provides a suite of productivity applications / services. The application platform suite is configured to provide access to multiple applications / services, thereby allowing cross-application / service usage to enhance the functionality of a specific application / service at runtime. In addition, specific applications / services and application platform suites (e.g., software application platforms that provide related access to multiple applications / services) can be configured to interface with other non-proprietary applications / services (e.g., third-party applications / services) to enable processing of chatbot interactions.
[0021] The exemplary data channel component 106 is configured to manage data channels across applications / services, where interactions with chatbots can occur in context-specific scenarios through data channels. A data channel corresponds to a specific message thread of an application / service. The application / service can be configured to enable a user to participate in one or more data channels. A message thread can include content that interacts with one or more users. For example, a data channel is a conversation that a user has had with one or more other users of an organization. A user can be part of a team set up to complete a task within an organization. Data channels can be set up for a team, with each data channel dedicated to a specific topic, department, project, etc. In an alternative example, a data channel can be a message thread managed by a single user, such as a situation where a user is maintaining a note page of content to organize a meeting, travel, etc. In such an example, a user may be using a message thread and interacting directly with a chatbot to help manage the message thread and / or share the message thread with other users, as well as other examples.
[0022] During runtime execution, the chatbot interaction occurring on a specific data channel of an application / service results in data transmission between the chatbot application / service and the application / service providing the data channel. The exemplary runtime stack of the chatbot 102 is configured to transmit protocol data so that the chatbot can be docked with the application / service providing the data channel. For example, the data channel component 106 can transmit protocol data to the application / service component 110 that manages the chatbot application / service. The docking between applications / services (including the transmission of protocol data for communication) is known to those skilled in the art. In the case where the data channel is provided by a third-party application / service, visibility to a specific data channel may not be provided. The state and business logic of the third-party application / service may make it difficult to debug the chatbot because the developer may not have full access to the necessary data and / or need to understand and comb through a large amount of coding that may not be related to the chatbot processing. Thus, the runtime stack of the chatbot 102 is configured to implement a diagnostic middleware component 108, which acts as an intermediary to focus the observation of data services on the communication related to the chatbot.
[0023] The diagnostic middleware component 108 is configured to observe or track the communication provided between the chatbot application / service and the data channel. In doing so, the diagnostic middleware component 108 implements a middleware adapter that is located between the data channel component 106 and the application / service component 110 in the runtime stack of the chatbot 102. The implementation of the middleware adapter can occur through a wired connection or through an application programming interface (API), wherein the middleware adapter is configured to execute a process that enables interaction with other components of the runtime state of the chatbot 102 and the diagnostic visualization state component 104. The process for implementing the middleware adapter is known to those skilled in the art.
[0024] Where known, an exemplary middleware adapter may be configured to observe data traffic (e.g., data traffic of protocol data transmitted between a chatbot application / service and an application / service providing a data channel) and filter specific types of data traffic related to chatbot processing. For example, the middleware adapter may be configured to: implement a listener to monitor data traffic; parse data traffic specific to data traffic executed by the chatbot for use in generating debug data visualizations for the chatbot; filter data traffic specific to data traffic executed by the chatbot; and transmit the filtered data traffic to the diagnostic visualization state component 104 for further simulation processing. In addition, the middleware adapter may be configured to send / receive control messages, including control messages for creating / maintaining connections for monitoring data traffic sent within the runtime stack of the chatbot 102, so that necessary data may be sent to the diagnostic visualization state component 104 to generate debug data visualizations for chatbot interactions. Control message processing may be received directly from the diagnostic visualization state component 104 and / or from the data channel component 106 (wherein control messages are multiplexed with inbound channel traffic), respectively. Figure 1B and 1C as shown in .
[0025] The exemplary middleware adapter is also configured to dock with the application / service component 110 to receive data from the application / service, which can further help generate debugging data visualization for the chatbot. For example, the middleware adapter is configured to dock with the chatbot application / service to obtain data related to the chatbot's dialogue task state during the chatbot interaction. In doing so, the middleware adapter is configured to dock with the application / service component 110 during the chatbot interaction to obtain data identifying the dialogue task state of the chatbot. The data identifying the dialogue task state (e.g., the runtime code of the chatbot) can be stored in the application state storage component 112, where the middleware adapter is configured to request and receive such data to propagate it to the diagnostic visualization state component 104. In other examples, the middleware adapter is configured to retrieve other types of data from the application / service, knowledge base (e.g., the knowledge base of the application platform), which can further diagnose and evaluate the chatbot during the chatbot interaction. For example, signal data and / or telemetry data can be collected and aggregated to one or more levels, and then provided to the diagnostic visualization state component 104 for inclusion in the debugging data visualization of the chatbot. An exemplary middleware adapter may be configured to interface with the application / service component 110 to obtain such supplemental data and propagate it to the diagnostic visualization status component 104 .
[0026] As indicated in the foregoing description, the diagnostic middleware component 108 can also be configured to interface with the diagnostic visualization state component 104. The diagnostic visualization state component 104 is configured as a chatbot diagnostic tool that processes the received diagnostic data and generates debugging data visualization to help developers debug the chatbot. Figure 3 A non-limiting example of a debug data visualization is provided in FIG. It should be understood that the representation of the debug data visualization may be similar to Figure 3 , to include any data described herein. In some examples, the chatbot diagnostic tool can be configured to provide data visualization in different modes. For example, the chatbot diagnostic tool can present a diagnostic view mode to view the simulated data of the chatbot and diagnose potential errors. In another example, the chatbot diagnostic tool can be configured to enter a debug mode that enables developers to implement fixes when errors are identified by customized user interface features, thereby making it easier to perform debugging processing. However, it should be understood that the chatbot diagnostic tool can provide the functionality described herein in any type of mode without departing from the spirit of the present disclosure.
[0027] In any example, the diagnostic middleware component 108 can be configured to copy inbound and outbound activities from the chatbot's 102 runtime stack, including state information related to the operation of the chatbot during the chatbot interaction (e.g., the chatbot's dialog task state), and propagate such data to the diagnostic visualization state component 104 for subsequent diagnostic processing. Examples of subsequent diagnostic processing include, but are not limited to: simulating data traffic (e.g., inbound and outbound activities of components of the chatbot's 102 runtime stack) within a graphical user interface of a chatbot diagnostic tool (provided by the diagnostic visualization state component 104); generating debug data visualizations for chatbot interactions with chatbot applications / services; visually correlating activities of the chatbot's 102 runtime stack in a graphical user interface via a graphical user interface; enabling debugging processing of the chatbot, including programmatic user interface features that can enhance debugging processing; and providing diagnostic data related to the operation of the chatbot (e.g., during the chatbot interaction) and / or developer-specific interactions for debugging the chatbot's processing, as well as other examples.
[0028] As indicated in the foregoing description, while the middleware adapter can be configured to observe any type of data traffic transmitted through the runtime stack of the chatbot 102, specific types of data traffic related to the operation of the chatbot can be filtered and propagated to the diagnostic visualization state component 104. The diagnostic visualization state component 104 uses the filtered data traffic to provide debugging data visualization of the chatbot through a graphical user interface. The simulation of the filtered data traffic can include simulating message activity and the chatbot's dialogue task state for developers to debug the chatbot in a visual representation of diagnostic data related to the chatbot interaction. For example, the filtered message activity and data related to the dialogue task state can be presented in a visually attractive manner through a graphical user interface, so that the user can easily and efficiently perform the debugging process. By simulating the message activity and the chatbot's dialogue task state, the debugging process can be enhanced by visual association of the message activity with the dialogue task state to identify how the chatbot processes data and makes decisions during a specific chatbot interaction. In one non-limiting example, the chatbot diagnostic tool can be configured to display message activity and dialog task status of chatbot interactions in different user interface panes / windows, so that developers can focus on specific types of content and related code and visually correlate what is happening when the code is applied to process received message activity. The visual correlation between message activity and dialog task status allows developers to efficiently identify errors in chatbot code for debugging purposes.
[0029] In other non-limiting examples, the diagnostic visualization state component 104 can also be configured to visually display code related to the chatbot's dialogue task state and / or code related to the user state (e.g., the user state of the user interacting with the chatbot) in the debugging data visualization. For example, a code representing a real-time representation of the chatbot's dialogue task state can be displayed, wherein the code includes a robot state difference indicating the point at which the chatbot changes the task in the chatbot interaction. This can help developers identify potential errors in the chatbot, because the point at which the chatbot performs the decision to change the task becomes the focus. In addition, the chatbot application / service can be configured to detect the user state of one or more users interacting with the chatbot. For example, the chatbot mainly includes a trained artificial intelligence that can predictively detect the user's tone (e.g., by analyzing voice input or analyzing text input), which can help determine whether the chatbot operates correctly during the chatbot interaction. In another example, the user state data can be related to the number of times a user interacts with the chatbot to meet a specific task or goal. For example, a user may be planning a trip to Paris, where the user is using a chatbot to help him book a flight to Paris. The user may have initially provided the chatbot with a destination in a first message, so it may be important to track the number of queries to and responses from the user to efficiently complete the chatbot's tasks. Detecting the user state in a chatbot interaction (e.g., counting how many queries the user made and / or how many responses were received in a chatbot interaction) can help determine whether the chatbot needs to provide certain responses (e.g., an apology) or whether a developer needs to debug the chatbot in real time by changing the chatbot's dialog task state, among other examples.
[0030] In addition, the chatbot diagnostic tool can be configured to highlight specific message activities through a graphical user interface to further assist in debugging the chatbot, the specific message activities being associated with changes in robot state differences (or, user state differences). For example, a developer can select a portion of code associated with a robot state difference that indicates a change in the chatbot's dialog task state or a change in the user state during a chatbot interaction. The chatbot diagnostic tool can be configured to highlight message activities through a graphical user interface that are triggers for changes in robot state differences or changes in user state.
[0031] In addition, the debugging data visualization can also include displaying the log of the tracked data business between the chatbot and the channel of the application or service. This can enable developers to view all data processed by the chatbot to help more fully understand the potential problems that may plague the chatbot during the chatbot interaction. The debugging data visualization can also be configured to display the state of the connection for tracking the data business through the runtime stack of the chatbot. For example, the chatbot diagnostic tool can be configured to enable developers to initiate the connection of the real-time chatbot interaction via the middleware adapter through the debugging data visualization. In other alternative examples, the chatbot diagnostic tool can be configured to automatically initiate the connection for tracking data business via the middleware adapter, wherein the display of the debugging data visualization can present insights into the chatbot interaction of the activity. In other examples, developers can modify the state of the connection through the debugging data visualization.
[0032] As described in the foregoing description, the diagnostic visualization status component 104 can also be configured to interface with a knowledge base, which can be managed by the application / service component 110. The knowledge resource includes software application platforms (e.g., ) and data obtained by interfacing with resources through network connections (including third-party applications / services). This can help obtain signal data, telemetry data, to generate a richer version of the debug data visualization.
[0033] Figure 1BAn exemplary process flow 120 for interaction between a runtime stack of a chatbot 102 and a diagnostic visualization state component 104 as described herein is shown, wherein control messages can be transmitted between the diagnostic visualization state component 104 and the middleware component 108 to enable monitoring, filtering, and providing data services in an exemplary debug data visualization provided by a graphical user interface of the diagnostic visualization state component 104. In a non-limiting example, the diagnostic visualization state component 104 can interface with a middleware adapter of the diagnostic middleware component 108 to transmit control messages 122 directly to the middleware adapter. The exemplary control messages 122 can include communications to manage queries of the diagnostic visualization state component 104, such as to initiate a connection to monitor / track data services of the runtime stack of the chatbot 102 or to update the status of a connection. For example, the diagnostic visualization state component 104 can be configured to transmit one or more control messages 122 to the diagnostic middleware component 108 to initiate a connection for tracking of data services of the runtime stack of the chatbot 102. This can be a trigger for monitoring data services related to chatbot interactions during real-time processing. Based on the processing of one or more control messages 122, data services can be tracked, filtered and provided to the chatbot diagnostic tool. During the presentation of the exemplary debugging data visualization, the diagnostic visualization state component 104 can be configured to present the state of the connection through the graphical user interface of the chatbot diagnostic tool. In some examples, developers can select user interface features through the graphical user interface to manage the state of the connection to track / monitor the data services of the runtime stack of the chatbot 102. In other examples, the diagnostic visualization state component 104 is configured to enable the transmission of subsequent control messages to modify the state of the connection for monitoring / tracking data services. In such an example, the state of the connection can be updated through the graphical user interface of the chatbot diagnostic tool based on the processing of subsequent control messages.
[0034] Figure 1CAn exemplary process flow 140 for interaction between a runtime stack of a chatbot 102 and a diagnostic visualization state component 104 as described herein is shown, providing an alternative method for transmitting control messages between the diagnostic visualization state component 104 and the diagnostic middleware component 108. In the example shown in the process flow 140, an exemplary control message 142 can be multiplexed with inbound data traffic of a data channel, where the data channel component 106 is configured to provide control messages along with the inbound traffic of the data channel to a middleware adapter of the diagnostic middleware component 108. In such a case, the middleware adapter tracks inbound activity from the data channel to detect the transmission of one or more control messages 142. Like the control messages 122, the control messages 142 can include communications of queries to manage the diagnostic visualization state component 104, for example, to initiate a connection to monitor / track data traffic of the runtime stack of the chatbot 102 or to update the state of a connection.
[0035] Figure 2 An exemplary method 200 is shown that relates to processing operations for generating and providing a chatbot diagnostic visualization, which can be used to practice aspects of the present disclosure. The processing operations described in method 200 can be performed by process flows 100, 120, and 140 ( Figure 1A-Figure 1C ), wherein the detailed descriptions in process flows 100, 120, and 140 support and supplement the recorded processing operations in method 200. Interfacing and communication between exemplary components such as those described in flows 100, 120, and 140 are known to those skilled in the art. For example, data requests and responses can be transmitted between applications / services to enable a particular application / service to process data retrieved from other applications / services. The format of such communications can be changed according to the programming protocol implemented by the developer without departing from the spirit of the present disclosure.
[0036] As an example, the method 200 may be performed across Figure 4 The exemplary computing system 401 (or, multiple computing systems) described in the description of method 200 is executed. The exemplary components described in method 200 can be hardware and / or software components programmed to perform the processing operations described herein. The operations performed in method 200 can correspond to operations performed by systems and / or services that execute computer programs, software agents, intelligent robots, application programming interfaces (APIs), neural networks and / or machine learning processes, and other examples. In some examples, the processing operations described in method 200 can be performed by one or more applications / services associated with a network service that has access to multiple applications / services, devices, knowledge resources, etc. In one case, the processing operations described in method 200 can be implemented by one or more components connected via a distributed network.
[0037] Method 200 begins at process operation 202, where a chatbot diagnostic tool is launched. Figure 1A-Figure 1C ) is provided in the foregoing description of the description of the chatbot diagnostic tool. As indicated in the foregoing description, the chatbot diagnostic tool can be provided by the diagnostic visualization state component 104 and represents the state of the interaction with the runtime stack of the chatbot (102 of FIG. 1) for developers to debug the chatbot in real time (or, near real time) during the chatbot interaction. In doing so, a graphical user interface is presented that provides visualization of diagnostic data to assist in debugging the chatbot during the chatbot interaction. Figure 3 Non-limiting examples of graphical user interface representations (eg, debug data visualizations) are provided in .
[0038] The process of method 200 can proceed to processing operation 204, wherein initiates the connection of the data business of the runtime stack of the tracking chatbot.In some examples, processing operation 204 includes initiating the connection of the data business of the runtime stack of the tracking chatbot through the graphical user interface of the chatbot diagnostic tool.For example, a developer can select a user interface feature or provide a command through a command prompt to start monitoring / observing the data business associated with the runtime stack of the chatbot, and the command prompt is provided through a graphical user interface.This can be a trigger for providing filtered data business through the graphical user interface of the chatbot diagnostic tool, so that the developer can debug the chatbot during the chatbot interaction.In an alternative example, the diagnostic visualization state component 104 is configured to automatically dock with the diagnostic middleware component 108 to initiate the connection of the data business of the runtime stack for monitoring / tracking the chatbot, wherein the data processing generated by the connection is updated through the graphical user interface of the chatbot diagnostic tool.
[0039] In any example, processing operation 204 includes transmitting one or more control messages to a middleware adapter configured to monitor / track data traffic of a chatbot's runtime stack. Figure 1A-Figure 1C Examples related to control message processing are provided in the foregoing description of the description of . In one example, processing operation 204 includes transmitting a control message from the chatbot diagnostic tool to the diagnostic middleware to initiate a connection for tracking of data services. Processing operation 204 may also include presenting a status of the connection through a graphical user interface of the chatbot diagnostic tool. In an alternative example, processing operation 204 includes multiplexing the control message with the inbound data service of the data channel to initiate a connection for tracking of the data service, and then presenting the status of the connection through a graphical user interface of the chatbot diagnostic tool.
[0040] Once a connection is established between the middleware adapter and the chatbot diagnostic tool, the flow of method 200 can proceed to processing operation 206. At processing operation 206, the data business of the chatbot's runtime stack is tracked. Tracking of data business includes monitoring / observing the data business transmitted between the chatbot application / service and the application / service that provides the data channel. In some examples, the processing operation of the connection for initiating tracking of the data business of the chatbot's runtime stack can be a programming operation that occurs when code is executed to track the data business of the chatbot's runtime stack. Tracking of data business can include checking communications propagated between components of the chatbot's runtime stack. For example, the middleware adapter can be programmed to perform processing operations to parse and analyze protocol data transmitted between chatbot stack components. Processing for checking network data (such as, protocol data transmitted between service components) is known to those skilled in the art.
[0041] At processing operation 208, the tracked data traffic is filtered. The tracked data traffic (processing operation 208) is filtered to identify chatbot interactions of the chatbot within the data channel. The chatbot interactions may include interactions with a chatbot application / service that includes one or more users. The filtering of the tracked data traffic (processing operation 208) includes processing operations such as: identifying message activity during the chatbot interaction; and identifying the chatbot's dialog task state during the chatbot interaction. As described in the foregoing description, other types of data traffic related to chatbot interactions may also be filtered and included in the debug data visualization provided by the chatbot diagnostic tool.
[0042] The process of method 200 can proceed to processing operation 210, wherein debugging data visualization of chatbot interaction is generated and presented in the graphical user interface of the chatbot diagnostic tool. The processing for generating and presenting exemplary debugging data visualization has been described in the foregoing description. For example, processing operation 210 includes simulating message activity and the dialog task state of the chatbot in the debugging data visualization presented by the graphical user interface of the chatbot diagnostic tool based on the filtered data business. For example, the filtered message activity and the data related to the dialog task state can be presented in a visually attractive manner through the graphical user interface, so that the user can easily and efficiently perform the debugging process, for example, by associating the message activity with the dialog task state of the chatbot. In a non-limiting example, the chatbot diagnostic tool can be configured to display the dialog task state of the message activity and the chatbot interaction in the debugging data visualization. This can occur in different user interface panes / windows, so that developers can focus on specific types of content and related code.
[0043] In other non-limiting examples, code related to the chatbot's conversation task state and / or code related to the user state (e.g., of the user interacting with the chatbot) may also be displayed via a graphical user interface during presentation of the debug data visualization. For example, code representing a real-time representation of the chatbot's conversation task state may be displayed, where the code includes robot state differences indicating the point at which the chatbot changed tasks in the chatbot interaction. This may help developers identify potential bugs in the chatbot because the point at which the chatbot made the decision to change tasks becomes the focus. As previously described, similar functionality may be provided to drill down into the user state of one or more users during a chatbot interaction.
[0044] In addition, the chatbot diagnostic tool can be configured to further assist in debugging the chatbot by highlighting specific message activities through debug data visualization, which are associated with changes in robot state differences. For example, a developer can select a portion of code associated with a robot state difference (or, user state difference) that indicates a change in the chatbot's dialog task state. The chatbot diagnostic tool can be configured to highlight message activities through a graphical user interface that are triggers for changes in robot state differences.
[0045] In addition, the debugging data visualization can also include displaying the log of the tracked data business between the chatbot and the channel of the application or service. This can enable developers to view all data processed by the chatbot to help more fully understand the potential problems that may plague the chatbot during the chatbot interaction. The debugging data visualization can also be configured to display the state of the connection for tracking the data business through the runtime stack of the chatbot. For example, the chatbot diagnostic tool can be configured to enable developers to initiate the connection of the real-time chatbot interaction via the middleware adapter through the debugging data visualization. In other alternative examples, the chatbot diagnostic tool can be configured to automatically initiate the connection for tracking data business via the middleware adapter, wherein the display of the debugging data visualization can present insights into the chatbot interaction of the activity. In other examples, developers can modify the state of the connection through the debugging data visualization.
[0046] In addition, the chatbot diagnostic tool can also be configured to associate and display other types of data to help debug the chatbot. For example, other types of data services can be filtered and presented through debugging data visualization. Non-limiting examples of such data services may include, but are not limited to: data services related to the real-time state of the channel during the chatbot interaction; data services related to the changes of participants interacting with the chatbot through the channel; data services related to the modality of the input (e.g., voice, typing, handwriting) received; and data services related to the interaction between the user and the device during the chatbot interaction, as well as other examples. The chatbot diagnostic tool can also be configured to dock with other knowledge bases to obtain feedback data to help debug. For example, signal data can be collected and aggregated to one or more levels (e.g., application / service level, user level, device level, or a combination thereof), which can provide other insights to help debug chatbot problems. Telemetry data can be generated at one or more signal levels, where metrics can be presented in user interface elements (e.g., panes or windows) of a graphical user interface to help developers evaluate chatbots. In other cases, the debugging data visualization may additionally include the real-time status of the developer during the debugging process and / or the developer's feedback, which may be presented, for example, through a graphical user interface of a chatbot diagnostic tool. For example, the developers may be working together to resolve an error in real time. In this case, it would be helpful to understand the progress of other developers, such as the code they are reviewing, highlighting potential errors, changes to the code and / or developer comments during the debugging session, and other examples.
[0047] The flow of method 200 may proceed to decision operation 212, where a determination is made as to whether there is an issue to debug based on the analysis of the chatbot interaction through debugging data visualization. In examples where no error or issue is identified, the flow branch of decision operation 212 is "no" and the processing of method 200 proceeds to processing operation 216. In examples where an error or issue is identified during the analysis of the chatbot interaction, the flow branch of decision operation 212 is "yes" and the processing of method 200 proceeds to processing operation 214.
[0048] In processing operation 214, the chatbot application / service is debugged to fix the identified error / problem. In some examples, the debugging data visualization can be configured to enable developers to directly perform debugging processing by debugging data visualization. For example, debugging data visualization can be bound to an integrated development environment to edit the code of the chatbot application / service. In one case, this may occur when a developer switches between a diagnostic mode and a debugging mode of a chatbot diagnostic tool. In other examples, a user interface element can be programmed into the debugging data visualization, which enables developers to directly perform debugging processing by debugging data visualization. In other examples, the chatbot diagnostic tool is configured to start another application / service so that developers can perform debugging processing.
[0049] The flow of method 200 can then proceed to decision operation 216, where it is determined whether the connection for tracking the data business of the runtime stack of the chatbot has ended. In an example where the chatbot interaction is still active and / or the developer is still checking the chatbot interaction (e.g., which may have occurred recently), the flow of decision operation 216 branches to "no", and the processing of method 200 remains idle until subsequent actions are taken by the chatbot diagnostic tool. In other cases, the developer can terminate the connection for tracking the data business of the runtime stack of the chatbot. For example, a control message can be initiated from the chatbot diagnostic tool to end the tracking of the data business. This can occur when the developer decides to stop checking the chatbot interaction (e.g., because the error has been fixed) or the actual real-time chatbot interaction is completed. In such an example, the flow of decision operation 216 can branch to "yes" and the processing of method 200 can proceed to decision operation 218. At processing operation 218, the state of the connection for tracking the data business of the runtime stack of the chatbot can be updated in the chatbot diagnostic tool. Processing operation 218 can include updating the graphical user interface for debugging data visualization to illustrate that the real-time connection has ended.
[0050] Figure 3 An exemplary process device view 300 of debugging data visualization of an exemplary chatbot diagnostic tool is shown, which can be used to practice aspects of the present disclosure. The process device view 300 provides a non-limiting illustrative example of visualization based on the process flows 100, 120, and 140 ( Figure 1A-Figure 1C ) and Method 200( Figure 2 )'s description, generating and presenting the visualization through a graphical user interface of a chatbot diagnostic tool.
[0051] The processing device view 300 includes a chatbot message pane 302 that provides a visual representation of the message activity that occurs through real-time (or, near real-time) chatbot interaction. The chatbot message pane 302 provides developers with a view of the message activity provided by the user (or, the developer in the test scenario) that occurs in the chatbot interaction. The chatbot message pane 302 can be presented side by side with other diagnostic panes such as the connection transcript pane 304, the chatbot code pane 306, and the activity log pane 308 so that developers can visualize how the message activity affects the state of the chatbot. The chatbot message pane 302 can be configured to provide real-time interaction with the chatbot. For example, the developer may be able to track the messages of the real-time interaction with the chatbot that occurred in the data channel. In an alternative case, the developer may be able to directly enter a message to affect the operation of the chatbot. For example, this can occur when the developer manually debugs the chatbot application / service or just tests the operation of the chatbot application / service.
[0052] The connection transcript pane 304 provides filtered activity insights in a visual representation, where the filtered activity insights are useful for developers to determine how the chatbot application / service operates. The connection transcript pane 304 is configured to update the developer with the status of the connection for tracking data services related to chatbot interactions (e.g., data services transmitted in the runtime stack of the chatbot). As shown in the processing device view 300, a connection status indicator 310 is provided to indicate that a connection for tracking data related to chatbot interactions has been initiated. In some examples, the connection status indicator 310 can be a selectable user interface element in the debug data visualization. For example, the selection of the connection status indicator 310 can turn on / off the connection for tracking data related to chatbot interactions. The connection transcript pane 304 can also provide a visual representation of the robot state (e.g., the chatbot's conversation task state) associated with the message activity received from the user. This provides developers with a visual way to track the robot state during the chatbot interaction.
[0053] The processing device view 300 also includes a chatbot code pane 306. The chatbot code pane 306 provides a visual representation of the coding of the conversation task state of the chatbot application / service related to the message activity that the chatbot has received and processed. When the conversation task state of the chatbot application / service changes, the chatbot code pane 306 provides developers with a way to visualize through the code of the chatbot application / service. Thus, the chatbot code pane 306 provides a real-time view of the change of the conversation task state of the chatbot, and the developer can easily associate it with other diagnostic panes (such as the chatbot message pane 302 and the connection transcript pane 304). The pane 306 may include code representing a real-time representation of the conversation task state of the chatbot, wherein the code includes a robot state difference, which indicates the point at which the chatbot changes the task in the chatbot interaction. This can help developers identify potential errors in the chatbot, because the point at which the chatbot performs the decision to change the task becomes the focus. As described in the foregoing description, in some alternative examples, user states (and user state differences) can also be tracked. In this case, the code representing the user state during the chatbot interaction may also be presented through the chatbot code pane 306 or through a separate user interface pane specific to managing user state.
[0054] The debug data visualization shown in the processing device view 300 also includes an activity log pane 308. The activity log pane 308 is configured to display any activity detected and managed by the chatbot diagnostic tool. This can include the state of any data business observed and / or tracked, as well as providing a log view of the chatbot interaction (e.g., control messages transmitted and / or received; the state of the connection for tracking data business related to the chatbot interaction; tracking data including received message activity and the corresponding dialogue task state of the chatbot; developer comments and status updates; and user states detected during the chatbot interaction, as well as other examples). As previously described, the debug data visualization can be adapted to provide other types of data that can help developers debug chatbot applications / services. Examples of such data have been provided previously.
[0055] Figure 4A computing system 401 suitable for implementing the processing operations related to the generation and presentation of the chatbot diagnostic visualization described herein is shown, and the computing system can be used to practice aspects of the present disclosure. The computing system 401 can be implemented as a single device, system or device, or can be implemented as multiple devices, systems or devices in a distributed manner. For example, the computing system 401 may include one or more computing devices that perform the processing of applications and / or services through a distributed network to enable the processing operations described herein to be performed by one or more services. The computing system 401 may include a set of devices that perform the processing of front-end applications / services, back-end applications / services, or a combination thereof. The computing system 401 includes, but is not limited to, a processing system 402, a storage system 403, software 405, a communication interface system 407, and a user interface system 409. The processing system 402 is operably coupled to the storage system 403, the communication interface system 407, and the user interface system 409. The processing system 402 loads and executes the software 405 from the storage system 403. Software 405 includes one or more software components 406 configured as (multiple) relevance suggestion components that perform processing operations as described herein, including identification and presentation of context-related productivity features for users accessing electronic documents. In some examples, computing system 401 can be a device used by users to access applications / services in which context-related suggestions appear. When executed by processing system 402, software 405 directs processing system 402 to operate as described herein for at least the various processes, operating scenarios, and sequences discussed in the aforementioned implementations. Computing system 401 may optionally include additional devices, features, or functions that are not discussed for the sake of brevity. Computing system 401 may also be used to perform exemplary process flows 100-140 ( Figure 1A-Figure 1C ) and method 200( Figure 2 ), wherein processing operations related to the generation and provision of chatbot diagnostic visualizations may be specifically performed, as described in the foregoing description.
[0056] Still reference Figure 4 , processing system 402 may include a processor, microprocessor, and other circuitry that retrieves and executes software 405 from storage system 403. Processing system 402 may be implemented within a single processing device, but may also be distributed across multiple processing devices or subsystems that collaborate to execute program instructions. Examples of processing system 402 include general-purpose central processing units, graphics processing units, special-purpose processors and logic devices, and any other type of processing device, combination, or variation thereof.
[0057] Storage system 403 may include any computer-readable storage medium that is readable by processing system 402 and capable of storing software 405. Storage system 403 may include volatile and nonvolatile removable and non-removable media implemented in any method or technology for storing information such as computer-readable instructions, data structures, program modules, cache or other data. Examples of storage media include random access memory, read-only memory, magnetic disks, optical disks, flash memory, virtual and non-virtual memory, cassettes, magnetic tape, disk storage or other magnetic storage devices, or other suitable storage media, except for propagated signals. In any case, a propagated signal is not a computer-readable storage medium.
[0058] In addition to computer-readable storage media, in some implementations, storage system 403 may also include computer-readable communication media through which at least some of software 405 may communicate internally or externally. Storage system 403 may be implemented as a single storage device, but may also be implemented across multiple storage devices or subsystems that are co-located or distributed relative to each other. Storage system 403 may include additional elements, such as a controller, that can communicate with processing system 402 or possibly other systems.
[0059] The software 405 may be implemented in program instructions and, when executed by the processing system 402, may direct the processing system 402 to operate as described with respect to the various operational scenarios, sequences, and processes illustrated herein, among other functions. For example, the software 405 may include program instructions for (multiple) diagnostic visualization status components 406a, (multiple) application / service components 406b (e.g., application / service components of a software application platform), and other service-based components, including interactions with third-party applications / services, as described in the foregoing description.
[0060] In particular, program instructions may include various components or modules that cooperate or otherwise interact to perform various processes and operation scenarios described herein. Various components or modules may be specifically implemented in compiled or interpreted instructions, or in some other variant or combination of instructions. Various components or modules may be performed in a synchronous or asynchronous manner, serially or in parallel, in a single-threaded environment or multithreaded, or according to any other suitable execution paradigm, variant or combination thereof. Software 405 may include additional processes, programs or components, such as operating system software, virtual machine software or other application software. Software 405 may also include firmware executable by processing system 402 or some other form of machine-readable processing instructions.
[0061] In general, software 405, when loaded into processing system 402 and executed, can transform the entirety of a suitable device, system, or apparatus (of which computing system 401 is representative) from a general-purpose computing system to a special-purpose computing system customized to process data and respond to queries. In practice, the encoded software 405 on storage system 403 can transform the physical structure of storage system 403. The specific transformation of the physical structure can depend on various factors in different implementations of the present description. Examples of such factors can include, but are not limited to, the technology of the storage medium used to implement storage system 403 and whether the computer storage medium is characterized as a primary storage device or a secondary storage device, as well as other factors.
[0062] For example, if the computer-readable storage medium is implemented as a semiconductor-based memory, when program instructions are encoded therein, the software 405 can transform the physical state of the semiconductor memory, such as by transforming the state of transistors, capacitors, or other discrete circuit elements that make up the semiconductor memory. Similar transformations can occur for magnetic or optical media. Other transformations of the physical medium are possible without departing from the scope of this specification, and the foregoing examples are provided only to facilitate this discussion.
[0063] Communication interface system 407 may include communication connections and devices that allow communication with other computing systems (not shown) through a communication network (not shown). Communication interface system 407 may also be used to cover interfaces between processing components described herein. Examples of connections and devices that allow inter-system communication together may include network interface cards or devices, antennas, power amplifiers, RF circuit systems, transceivers, and other communication circuit systems. Connections and devices may communicate through a communication medium to exchange communications with other computing systems or system networks, such as metal, glass, air, or any other suitable communication medium. The above-mentioned media, connections, and devices are well known and need not be discussed at length here.
[0064] The user interface system 409 is optional and may include a keyboard, a mouse, a voice input device, a touch input device for receiving touch gestures from a user, a motion input device for detecting non-touch gestures and other movements of the user, and other similar input devices and associated processing elements capable of receiving user input from the user. Output devices such as displays, speakers, tactile devices, and other types of output devices may also be included in the user interface system 409. In some cases, input and output devices may be combined in a single device, such as a display capable of displaying images and receiving touch gestures. The aforementioned user input and output devices are well known in the art and need not be discussed at length here.
[0065] The user interface system 409 may also include associated user interface software that is executable by the processing system 402 to support the various user input and output devices described above. The user interface software and user interface devices may support a graphical user interface, a natural user interface, or any other type of user interface, alone or separately or in combination with other hardware and software elements, e.g., that enables front-end processing of the exemplary applications / services described herein, including productivity applications / services. The user interface system 409 includes a graphical user interface that presents a chatbot diagnostic visualization.
[0066] The communication between computing system 401 and other computing systems (not shown) can occur through one or more communication networks and according to various communication protocols, protocol combinations or their variants. Examples include intranets, the Internet, the Internet, local area networks, wide area networks, wireless networks, wired networks, virtual networks, software-defined networks, data center buses, computing backplanes, or any other type of network, network combinations or their variants. The above-mentioned communication networks and protocols are well-known and do not need to be discussed at length here. However, some communication protocols that can be used include but are not limited to Internet Protocol (IP, IPv4, IPv6, etc.), Transmission Control Protocol (TCP) and User Datagram Protocol (UDP), and any other suitable communication protocols, variants or their combinations.
[0067] In any of the above examples in which data, content, or any other type of information is exchanged, the information exchange may occur according to any of a variety of protocols including FTP (File Transfer Protocol), HTTP (Hypertext Transfer Protocol), REST (Representational State Transfer), WebSocket, DOM (Document Object Model), HTML (Hypertext Markup Language), CSS (Cascading Style Sheets), HTML5, XML (Extensible Markup Language), JavaScript, JSON (JavaScript Object Notation), and AJAX (Asynchronous JavaScript and XML), as well as any other suitable protocol, variants, or combinations thereof.
[0068] The functional block diagrams, operation scenarios and sequences, and flow charts provided in the figure represent exemplary systems, environments, and methods for executing the novel aspects of the present disclosure. Although for the purpose of simple explanation, the methods included herein may be in the form of functional diagrams, operation scenarios, or sequences or flow charts, and may be described as a series of actions, it should be understood and appreciated that the methods are not limited by the order of actions, because some actions may occur in an order different from the order shown and described herein and / or simultaneously with other actions. For example, those skilled in the art will understand and appreciate that the methods may alternatively be represented as a series of interrelated states or events, such as in a state diagram. In addition, for novel implementations, not all actions described in the methods are necessary.
[0069] The description and drawings included herein depict specific implementations to teach those skilled in the art how to make and use the best options. For the purpose of teaching the principles of the invention, some conventional aspects have been simplified or omitted. Those skilled in the art will understand the body of these implementations that fall within the scope of the present invention. Those skilled in the art will also understand that the above features can be combined in various ways to form a variety of implementations. Therefore, the present invention is not limited to the above specific implementations, but is only limited by the claims and their equivalents.
[0070] References throughout this specification to "one example" or "an example" indicate that a particular described feature, structure, or characteristic is included in at least one example. Thus, use of such a phrase may refer to more than just one example. Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more examples.
[0071] However, one skilled in the relevant art may recognize that the examples may be practiced without one or more of the specific details, or with other methods, resources, materials, etc. In other instances, well-known structures, resources, or operations are not shown or described in detail simply to avoid obscuring aspects of the examples.
[0072] Although sample examples and applications have been illustrated and described, it should be understood that the examples are not limited to the precise configuration and resources described above. Various modifications, changes and variations that are apparent to those skilled in the art may be made to the arrangement, operation and details of the methods and systems disclosed herein without departing from the scope of the claimed examples.
Claims
1. A method comprising: launching a chatbot diagnostic tool, wherein the launching presents a graphical user interface configured to display diagnostic data for debugging the chatbot; Transmitting a control message from the chat robot diagnostic tool to a diagnostic middleware adapter of a runtime stack of the chat robot to establish a connection between the chat robot diagnostic tool and the diagnostic middleware adapter; tracing data traffic between a data channel of the chat robot and an application or service using the diagnostic middleware adapter; Filtering the tracked data services using the diagnostic middleware adapter to identify chatbot interactions of the chatbot within the data channel, wherein the filtering comprises: identifying message activity during said chatbot interaction, and identifying a corresponding dialog task state of the chatbot during the chatbot interaction; transmitting the filtered data traffic from the diagnostic middleware adapter to the chatbot diagnostic tool via the connection; and The chatbot diagnostic tool simulates the message activity and the corresponding dialogue task status of the chatbot in the debugging data visualization in real time based on the filtered data business, wherein the simulation includes displaying the message activity and the corresponding dialogue task status as a chatbot interaction process through the graphical user interface of the chatbot diagnostic tool.
2. The method according to claim 1, further comprising: Based on the debugging data visualization, the chatbot is debugged through the graphical user interface.
3. The method according to claim 1, further comprising: The status of the connection is presented via the graphical user interface of the chatbot diagnostic tool.
4. The method according to claim 3, further comprising: transmitting a second control message from the chatbot diagnostic tool to the diagnostic middleware adapter to terminate the connection for tracing of the data service; as well as Based on processing of the second control message, the status of the connection is updated through the graphical user interface of the chatbot diagnostic tool.
5. The method of claim 1, wherein the tracking further comprises: multiplexing the control message with inbound data traffic of the data channel to initiate the connection for tracking of the data traffic; as well as The status of the connection is displayed via the graphical user interface of the chatbot diagnostic tool.
6. The method of claim 1, wherein the simulation further comprises displaying, via the graphical user interface, robot state differences indicating points at which the chatbot changes tasks in the chatbot interaction.
7. The method of claim 6, wherein the chatbot diagnostic tool highlights specific message activity through the graphical user interface to assist in debugging the chatbot, the specific message activity being associated with changes in the robot state variance.
8. The method of claim 1, wherein the simulation further comprises displaying, through the graphical user interface, a log of the tracked data traffic between the chatbot and the data channel of the application or service.
9. A system comprising: at least one processor; as well as A memory, operatively connected to the at least one processor, storing computer executable instructions, which when executed by the at least one processor cause the at least one processor to perform a method, the method comprising: launching a chatbot diagnostic tool, wherein the launching presents a graphical user interface configured to display diagnostic data for debugging the chatbot; transmitting a control message from the chatbot diagnostic tool to a diagnostic middleware adapter of a runtime stack of the chatbot to establish a connection between the chatbot diagnostic tool and the diagnostic middleware adapter; Tracking data traffic between the chatbot and a data channel of an application or service using the diagnostic middleware adapter; Filtering the tracked data services using the diagnostic middleware adapter to identify chatbot interactions of the chatbot within the data channel, wherein the filtering comprises: identifying message activity during said chatbot interaction, and identifying a corresponding dialog task state of the chatbot during the chatbot interaction; The filtered data service is transmitted from the diagnostic middleware adapter to the chat robot diagnostic tool via the connection; and the chat robot diagnostic tool simulates the message activity and the corresponding dialogue task status of the chat robot in the debugging data visualization in real time based on the filtered data service, wherein the simulation includes displaying the message activity and the corresponding dialogue task status as a chat robot interaction process through the graphical user interface of the chat robot diagnostic tool.
10. The system of claim 9, wherein the method performed by the at least one processor further comprises: Based on the debugging data visualization, the chatbot is debugged through the graphical user interface.
11. The system of claim 9, wherein the method performed by the at least one processor further comprises: The status of the connection is presented via the graphical user interface of the chatbot diagnostic tool.
12. The system of claim 11, wherein the method performed by the at least one processor further comprises: transmitting a second control message from the chatbot diagnostic tool to the diagnostic middleware adapter to terminate the connection for tracing of the data service; as well as Based on processing of the second control message, the status of the connection is updated through the graphical user interface of the chatbot diagnostic tool.
13. The system of claim 9, wherein the tracking further comprises: multiplexing the control message with inbound data traffic of the data channel to initiate the connection for tracking of the data traffic; as well as The status of the connection is displayed via the graphical user interface of the chatbot diagnostic tool.
14. The system of claim 9, wherein the simulation further comprises displaying, via the graphical user interface, robot state differences indicating points at which the chatbot changes tasks in the chatbot interaction.
15. The system of claim 14, wherein the chatbot diagnostic tool highlights specific message activity via the graphical user interface to aid in debugging the chatbot, the specific message activity being associated with changes in the robot state variance.
16. The system of claim 9, wherein the simulation further comprises displaying, through the graphical user interface, a log of the tracked data traffic between the chatbot and the data channel of the application or service.
17. A computer-readable storage medium storing computer-executable instructions which, when executed by at least one processor, cause the at least one processor to perform a method comprising: launching a chatbot diagnostic tool, wherein the launching presents a graphical user interface configured to display diagnostic data for debugging the chatbot; transmitting a control message from the chatbot diagnostic tool to a diagnostic middleware adapter of a runtime stack of the chatbot to establish a connection between the chatbot diagnostic tool and the diagnostic middleware adapter; Tracking data traffic between the chatbot and a data channel of an application or service using the diagnostic middleware adapter; Filtering the tracked data services using the diagnostic middleware adapter to identify chatbot interactions of the chatbot within the data channel, wherein the filtering comprises: identifying message activity during said chatbot interaction, and identifying a corresponding dialog task state of the chatbot during the chatbot interaction; transmitting the filtered data traffic from the diagnostic middleware adapter to the chatbot diagnostic tool via the connection; and The chatbot diagnostic tool simulates the message activity and the corresponding dialogue task status of the chatbot in the debugging data visualization in real time based on the filtered data business, wherein the simulation includes displaying the message activity and the corresponding dialogue task status as a chatbot interaction process through the graphical user interface of the chatbot diagnostic tool.
18. The computer-readable storage medium of claim 17, wherein the method performed further comprises: Based on the debugging data visualization, the chatbot is debugged through the graphical user interface.
19. The computer-readable storage medium of claim 17, wherein the simulation further comprises displaying, via the graphical user interface, robot state differences indicating points in the chatbot interaction at which the chatbot changes tasks.
20. The computer-readable storage medium of claim 17, wherein the simulation further comprises displaying, through the graphical user interface, a log of the tracked data traffic between the chatbot and the data channel of the application or service.
Citation Information
Patent Citations
System and method for automated chat testing
CN105637812A
Forming chatbot output based on user state
CN107870977A
Systems and methods for responding to an online user query
CN109478196A
System and method for collecting user question
CN109525480A
Collaborative Software Debugging In A Distributed System With Dynamically Displayed Chat Sessions
US20120117541A1
