Servicely Capability
...
Virtual Agent
Dialog Manager
14 min
the sofi virtual agent engages with customers through a multi channel conversational interaction to resolve issues without human intervention the sofi virtual agent is comprised of one or more dialog flows where each flow is designed to manage the actions to resolve or address a specific intent or a collection of intents each dialog flow is comprised of natural language elements (eg utterances, intents and entities) a series of dialog elements that are connected via branches to form an end to end dialog these are all configured using the dialog manager the following section will provide an overview of each of the design elements that make up the dialog manager navigation & control the dialog manager provides an intuitive tool to design, building and maintain all the aspects of a conversational dialog between the user and sofi 1823 flows the flow menu option controls the creation, saving and publishing of specific flows within the virtual agent new creates a new flow edit opens an existing flow import imports flows that have been exported from other dialog manager instances save saves changes made to the configuration of a flow (but does not publish them) publish activates new or updates existing flows on the virtual agent train initiates the nlu model to be trained (or re trained) only required for changes made to entry point utterances saving vs publishing a flow the save menu option saves the current design work of the flow the publish option publishes the changes to the live environment the publish option will turn red indicating changes have been made that require publishing to take effect model this menu option controls the entry points (intents) and entities that are configured across the flow note only intents and entities specific to the currently open dialog flow are shown entry points the list of entry points / intents for the selected flow click on an entry point to edit the entry points associated utterances entities the list of entities associated with the virtual agent misses allows you to review and assign utterances (as suggested by the nlu backend) to entry points flow changes the focus from the model back to the design paper interface export exports the current flow to an xml file which can be imported into another dialog manager instance refer nlu model for more details dialog designer menu the dialog designer menu contains the building stencils that an administrator uses to build a flow these stencils are grouped by function flow entry point an entry point element has a one to one relationship to an intent whilst an entry point always occurs at the beginning of a flow, they can also occur at any point within a flow where a more explicit intent (typically containing entities) signifies and alternative entry into the flow topic topic elements are the work horse of the conversational interaction between the user and sofi they typically pose a question and take action based on the users response branches of topics are configured to wait for a natural language response ( response intent ) from a user continuation point a continuation point allows you to define a point in a conversation (flow) where you need the customer to 'go away' to perform some task with the expectation they will return to the flow at some later point exit point an exit point indicates an end to a flow there can be multiple exit points within a flow for more information visit dialog manager flow elements sub flows subflow subflows are flows referenced by the current flow to perform specific actions and return results to the current flow subflow exit an exit subflow exits a subflow (a flow called from another flow) and returns the conversation to the previous (calling) flow for more information visit dialog manager flow elements actions lookup lookup actions provide a mechanism to execute server actions on the servicely instance service actions are typically used to perform lookups of servicely tables such as the user table knowledge article allows the flow to display a specific knowledge article knowledge search performs a search against a knowledge classifier and returns the results catalogue item allows the flow to display a specific catalog item catalogue search performs a search against a catalogue classifier and returns the results choice list choice list actions creates a servicely query and returns the data to be displayed in the choice list user input allows information to be collected from user that can be referenced within the flow yes/no response provides a easy way to build questions with yes/no answers create ticket create a record within servicely based on information contained within the flow, and return a defined set of information which can be used to provide the end user with the updated ticket information custom flow custom flow actions enable a custom flow (typically developed by servicely professional services) to be called from within a flow set field value enables the flow to set field values on a servicely form, catalog item or record producer for more information visit dialog manager action elements training nlu model the train menu option saves the nlu model changes and submits a request to train the model this could take a few seconds or minutes depending on the size of the model working with elements on the paper the paper is the design area for your dialog it will automatically expand as your dialog grows use the zoom tools on the toolbar (or mouse controls) to control the size of your design area working with elements to add new dialog elements, simply drag them onto the paper from the dialog builder menu view element configuration details by hovering over the area of the element taht you want to inspect edit and element configuration by clicking on the element and updating the configuration panel on the right connect elements by selecting (clicking) on the output of one element and dragging the branch connection to the input of another element you can multi select or group select a number of elements by holding down the control key as you select each element and then dragging the group tabs you can open up to 5 flows within the dialog manager each flow is opened in a tab if nlu or configuration changes are made on a flow, these will be indicated in the tab, to inform you that changes must be published and or trained configuration inspector the configuration inspector activates when you hover over or select a design element the configuration inspector enables the configuration of the element each element will have a different set of configuration options by hovering over or selecting different sections of the design element, will determine the focus of the configuration inspector dashboard the dialog manager dashboard provides analytics on the performance of the sofi virtual agent settings the settings screen provides options to control the global behaviour the virtual agent controls the message to display when a user's response is not understood the response from sofi if the user's response to a question is not valid repeat the previous question in the event that the user's response is invalid, repeat the previous question repeat retry limit the number of times that sofi will repeat the question before taking the fallthrough branch default fallthrough flow the flow to call if no fallthrough branch is configured intent miss the deafult flow to run if the initial nlu intent match misses export all exports the configuration settings to an xml file