WO2022259497A1 - Scenario setting device, scenario setting method, and scenario setting program - Google Patents

Scenario setting device, scenario setting method, and scenario setting program Download PDF

Info

Publication number
WO2022259497A1
WO2022259497A1 PCT/JP2021/022222 JP2021022222W WO2022259497A1 WO 2022259497 A1 WO2022259497 A1 WO 2022259497A1 JP 2021022222 W JP2021022222 W JP 2021022222W WO 2022259497 A1 WO2022259497 A1 WO 2022259497A1
Authority
WO
WIPO (PCT)
Prior art keywords
scenario
setting
state
node
gui
Prior art date
Application number
PCT/JP2021/022222
Other languages
French (fr)
Japanese (ja)
Inventor
真実 小宮山
明 片岡
英毅 小矢
Original Assignee
日本電信電話株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 日本電信電話株式会社 filed Critical 日本電信電話株式会社
Priority to PCT/JP2021/022222 priority Critical patent/WO2022259497A1/en
Publication of WO2022259497A1 publication Critical patent/WO2022259497A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services

Definitions

  • the present invention relates to a scenario setting device, a scenario setting method, and a scenario setting program.
  • chatbots that not only responds to inquiries such as FAQs, but also supports user operations such as proxy operations for business systems.
  • Patent Document 1 there is a known technology that uses peripheral information acquired by a chatbot to operate business systems on behalf of others (see Patent Document 1, for example).
  • chatbots In the execution of support for user operations by chatbots, it is necessary to specify (narrow down) the status of the user to be supported, and rule-based chatbots are sometimes used.
  • a rule-based chatbot operates based on a predefined response flow (scenario) for user input.
  • the contents of the dialogue including the bot utterance and the user utterance can be set in the flow (Reference: Repl-AI (https://repl-ai.jp/)).
  • Non-Patent Documents 1 and 2, for example There is also a known technique for generating a dialogue scenario by creating a state transition diagram on a GUI when setting the dialogue scenario.
  • the chatbot described in Patent Document 1 in addition to conversation information (text) with the user, the state of the user (whether the target application is running or whether necessary data has been input) can be determined from the acquired peripheral information.
  • the operation scenario is transitioned under conditions such as whether or not there is
  • Non-Patent Documents 1 and 2 nodes are grouped as composite states to reduce the number of apparent edges, but it is not possible to omit the actual edge settings.
  • a scenario setting device includes a setting unit that receives scenario settings regarding chatbot operations for a hierarchical state, and based on information received by the setting unit. and a scenario generator that generates a scenario for each state.
  • FIG. 1 is a diagram showing a configuration example of a scenario setting device according to the first embodiment.
  • FIG. 2 is a diagram showing an image of hierarchization of transition states.
  • FIG. 3 is a diagram showing an example of a state transition diagram screen.
  • FIG. 4 is a diagram showing an example of a state transition diagram screen.
  • FIG. 5 is a diagram showing an example of a property screen.
  • FIG. 6 is a diagram showing an example of a transition condition setting screen.
  • FIG. 7 is a diagram showing an example of a state transition diagram screen.
  • FIG. 8 is a diagram for explaining the orientation of edges.
  • FIG. 9 is a diagram for explaining the orientation of edges.
  • FIG. 10 is a diagram showing an example of the property screen.
  • FIG. 11 is a diagram showing an example of an operation setting screen.
  • FIG. 11 is a diagram showing an example of an operation setting screen.
  • FIG. 12 is a diagram for explaining how to open the operation setting screen.
  • FIG. 13 is a diagram showing an image of scenario setting.
  • FIG. 14 is a flow chart showing the processing flow of the scenario setting device according to the first embodiment.
  • FIG. 15 is a diagram illustrating an example of a computer that executes a scenario setting program;
  • FIG. 1 is a diagram showing an example of the configuration of a scenario setting device according to the first embodiment.
  • the scenario setting device 10 provides a GUI (Graphical User Interface) to the user, and sets a chatbot scenario through the user's operation via the GUI.
  • GUI Graphic User Interface
  • chatbots can assist users in their work.
  • the scenario setting device 10 has an input unit 11, an output unit 12, a control unit 13 and a storage unit 14.
  • the input unit 11 is an interface for inputting data.
  • the input unit 11 may be an input device such as a mouse or a keyboard.
  • the output unit 12 is an interface for outputting data.
  • the output unit 12 is, for example, a display.
  • the input unit 11 and the output unit 12 may constitute a touch panel display.
  • the storage unit 14 is a storage device such as an HDD (Hard Disk Drive), an SSD (Solid State Drive), an optical disc, or the like.
  • the storage unit 14 may be a rewritable semiconductor memory such as RAM (Random Access Memory), flash memory, NVSRAM (Non Volatile Static Random Access Memory).
  • the storage unit 14 stores an OS (Operating System) and various programs executed by the scenario setting device 10 .
  • the storage unit 14 stores GUI configuration information 141 and scenario information 142, for example.
  • the GUI configuration information 141 is information for the scenario setting device 10 to provide the user with a GUI.
  • the GUI configuration information 141 is program data defining GUI parts and processing for each part.
  • the scenario information 142 is a scenario generated by the scenario setting device 10 saved in a predetermined format (for example, Json format).
  • the control unit 13 controls the scenario setting device 10 as a whole.
  • the control unit 13 includes, for example, electronic circuits such as CPU (Central Processing Unit), MPU (Micro Processing Unit), GPU (Graphics Processing Unit), ASIC (Application Specific Integrated Circuit), FPGA (Field Programmable Gate Array), etc. It is an integrated circuit.
  • the control unit 13 also has an internal memory for storing programs defining various processing procedures and control data, and executes each processing using the internal memory.
  • the control unit 13 functions as various processing units by running various programs.
  • the control unit 13 has a setting unit 131 , a GUI display control unit 132 and a scenario generation unit 133 .
  • the setting unit 131, the GUI display control unit 132, and the scenario generation unit 133 perform processing related to scenario setting.
  • FIG. 2 is a diagram showing an image of hierarchization of transition states.
  • the hierarchy can be divided according to the granularity of tasks and user statuses, for example.
  • the hierarchy can be divided according to the granularity of tasks and user statuses, for example.
  • the first layer which has the coarsest granularity, includes the physical state of the user who performs the task.
  • the physical state is, for example, "Working on PC", "Away from desk”, or the like.
  • the second level of granularity includes the status of the work in progress.
  • the third layer which has the finest granularity, includes the state of work being performed. It should be noted that work is an element that constitutes work.
  • the transition state is managed for each layer. For example, when a transition occurs in the parent layer, the transition state in the child layer is reset.
  • the parent hierarchy corresponds to a hierarchy that is coarser in granularity than the child hierarchy.
  • the first hierarchy is the parent hierarchy of the second and third hierarchies.
  • the third hierarchy is a child hierarchy of the first hierarchy and the second hierarchy.
  • transition conditions can be set between states in one hierarchy, making it easier to understand the flow of state transitions.
  • GUI displayed screens
  • the setting unit 131 accepts scenario settings related to the behavior of the chatbot for the hierarchized state.
  • the GUI display control unit 132 displays a GUI regarding each state for each layer. Also, the setting unit 131 can receive settings via the GUI.
  • the scenario generation unit 133 generates a scenario for each state based on the information received by the setting unit 131.
  • the scenario setting device 10 displays a screen according to the specified setting mode.
  • the setting mode includes flow definition, state setting, and operation setting.
  • FIG. 3 is a diagram showing an example of a state transition diagram screen. The example of FIG. 3 indicates that the setting mode is "flow definition".
  • the GUI display control unit 132 displays the state transition diagram list 211 and the node type list 212 on the state transition diagram screen 21.
  • the GUI display control unit 132 displays the state transition diagram of the selected layer.
  • the setting unit 131 receives scenario settings for each layer. For example, the setting unit 131 receives the setting of the scenario of the layer on which the state transition diagram is displayed.
  • nodes corresponding to states are represented by circles, and edges between nodes are represented by lines. Edge arrows indicate the direction of state transitions.
  • the user can add a node to the state transition diagram by dragging and dropping any node displayed in the node type list 212 on the state transition diagram screen 21 .
  • users can connect edges between nodes by drag and drop.
  • the GUI display control unit 132 opens a transition condition setting screen. Also, when a node is right-clicked, the GUI display control unit 132 displays a right-click menu 213.
  • FIG. 1 When the node is double-clicked, the GUI display control unit 132 opens a transition condition setting screen. Also, when a node is right-clicked, the GUI display control unit 132 displays a right-click menu 213. FIG.
  • the GUI display control unit 132 opens the property screen of the target node.
  • the GUI display control unit 132 opens the state transition diagram screen 21 of the upper node and lower node of the target node, respectively. That is, the GUI display control unit 132 switches the canvas during selection.
  • a higher node means a node existing in a parent hierarchy (higher hierarchy)
  • a lower node means a node existing in a child hierarchy (lower hierarchy).
  • the GUI display control unit 132 opens the operation setting screen of the target node.
  • FIG. 4 is a diagram showing an example of the state transition diagram screen.
  • FIG. 4 shows the state transition diagram screen 21 when "ROOT" is selected.
  • Task A, task B, task C, and task D are nodes immediately below the node "ROOT" in the highest hierarchy.
  • GUI display control unit 132 switches the canvas and displays the screen of FIG. .
  • GUI display control unit 132 may change the color and shape of nodes that have child hierarchies, or display the names of lower nodes corresponding to the state transition diagram list 211 .
  • FIG. 5 shows an example of the property screen in flow definition mode.
  • FIG. 5 is a diagram showing an example of a property screen.
  • the setting unit 131 accepts the setting of the node name for each node, chatbot utterance content, and transition conditions on the property screen 22 .
  • the setting item "utterance content” is the content to be spoken by the chatbot, and may be null. With this setting item, the setting unit 131 receives setting of the utterance content of the chatbot corresponding to the node included in the state transition diagram.
  • any of the nodes displayed in the state transition diagram can be selected as the transition destination of the transition condition. Further, when the setting button is pressed, the GUI display control unit 132 opens a transition condition setting screen corresponding to the transition destination node.
  • the scenario generation unit 133 Based on the settings accepted by the setting unit 131 on the property screen 22, the scenario generation unit 133 generates a scenario in which the utterance content is linked to the nodes included in the state transition diagram.
  • the scenario generation unit 133 generates, for example, the following basic node information as a scenario, based on the setting of the utterance content "Work A has started.” ⁇ “id”:”node0000”, “name”:”node 1”, “botTalk”:”You have started task A.”, “conditionList”:[ ⁇ “(node 2 id)”, “(transition condition id)” ⁇ , ⁇ “(node 3 id)”, “(transition condition id)” ⁇ , ... ] “parent”:”(parent node id)”, “child”:”(child node id)”, ... “action”:”(action setting id)”, ... ⁇
  • “botTalk” corresponds to the utterance content. Also, “parent” and “child” are set when there are nodes in the parent hierarchy and child hierarchy, respectively. Transition conditions and operation contents will be described later.
  • FIG. 6 is a diagram showing an example of a transition condition setting screen.
  • transition condition setting screen is opened not only when the setting button on the property screen is pressed, but also when an edge of the state transition diagram is double-clicked.
  • the setting unit 131 receives setting of conditions for each context.
  • context includes user utterances, URLs, and the like.
  • the scenario generation unit 133 generates the following transition conditions from the setting contents of the transition condition setting screen 23 .
  • transition condition id “transition condition1-1”
  • Transition condition name “Open ⁇ system and start task A”
  • URL Open page “xxx” ⁇
  • This transition condition corresponds to the transition destination "node 2" on the property screen 22 in FIG. Therefore, the transition condition means "transition from node 1 to node 2 when the user utters 'Start task A' or when a page with URL 'xxx' is opened”. do.
  • FIG. 7 is a diagram showing an example of a state transition diagram screen. The example of FIG. 7 indicates that the setting mode is "state definition".
  • edges do not have to be displayed on the GUI on the premise that edges are connected between all nodes (full mesh).
  • the state definition mode is a mode for setting transition conditions from the transition source to the target node.
  • FIGS. 8 and 9 are diagrams for explaining the orientation of the edge.
  • the higher the hierarchy the setting is made such that the edge direction is inward as shown in FIG. 8
  • the lower hierarchy is the setting such that the edge direction is outward as shown in FIG.
  • the state transition in the lower layer is reset. Then, the state transition is re-evaluated at the node below the transition destination node in the higher hierarchy.
  • the transition conditions in the state transition diagram are re-evaluated in the upper hierarchy, or the state transition diagram in the upper hierarchy returns to the start.
  • FIG. 10 is a diagram showing an example of the property screen.
  • the state definition mode property screen 22 differs from the flow definition mode in that transition conditions are set for transition source nodes.
  • the operation setting mode it is possible to set the content of support implementation and scenarios related to support implementation (such as asking the user if it is okay to perform support).
  • processing logic can be set by combining blocks using visual programming.
  • FIG. 11 is a diagram showing an example of an operation setting screen.
  • the setting unit 131 accepts settings for support content to be executed by the chatbot corresponding to the node included in the state transition diagram. Then, the scenario generation unit 133 generates a scenario in which the support contents are linked to the nodes included in the state transition diagram.
  • the scenario generation unit 133 generates the following operation settings from the setting contents of the operation setting screen 24 .
  • actions [ ⁇ “id”:“(action setting id)”, “action”: ”(Action settings)“ ⁇ , ... ⁇
  • the operation settings include the script language itself such as JavaScript (registered trademark), the execution file (example: exe) for executing the RPA (Robotic Process Automation) application, the path of the scenario to be read, and the agent included in the chatbot. It is a dedicated instruction set or the like for operating the operation execution system.
  • the setting modes described so far may be switched according to the user's GUI operation (for example, setting mode pull-down list).
  • the setting mode may be selected by the user at the time of initial setting for each hierarchy (upper or lower). Furthermore, the initial setting mode may be determined according to the past usage frequency, the nature of the canvas to be set, and the like (for example, state definition mode for upper nodes and flow definition mode for lower nodes).
  • the GUI display control unit 132 switches the GUI to be displayed according to the hierarchy for which the setting unit 131 has accepted the setting of the scenario.
  • the scenario setting device 10 of this embodiment can provide a GUI for scenario setting in a setting mode corresponding to the hierarchy.
  • the GUI display control unit 132 provides a GUI according to the setting mode based on the GUI configuration information 141. Therefore, by changing the GUI configuration information 141, the GUI in each setting mode can be changed. Furthermore, information may be added to the GUI configuration information 141 to provide a new setting mode.
  • FIG. 12 is a diagram for explaining how to open the operation setting screen.
  • FIG. 13 is a diagram showing an image of scenario setting. As shown in FIG. 13, it is assumed that layers L11 and L12 exist below layer L1, and layer 121 exists below them.
  • the status is determined with coarse granularity, and for example, the work in progress is defined.
  • the scenario setting device 10 provides a state transition diagram screen for layer L1.
  • the scenario setting device 10 provides state transition diagram screens for the layers L11 and L12.
  • the scenario setting device 10 provides an operation setting screen for task D.
  • the scenario setting device 10 provides a state transition diagram screen for the layer L121 that is lower than the layer L12, and provides an operation setting screen 24 for nodes that do not have a layer lower than the layer L121.
  • the scenario setting device 10 of this embodiment finally generates the following data as the scenario information 142 .
  • the scenario information 142 is in Json format. ⁇ “node”:[ ⁇ “id”:”(node id)”, “name”:”(node name)”, “botTalk”:”(utterance content)”, “conditionList”:[ ⁇ “(id of transition destination node)”, “(id of transition condition)” ⁇ , ... ], “parent”:”(parent node id)”, “child”:”(child node id)”, ... “action”:”(action setting id)”, ], “conditions”:[ ⁇ “id”:”(id of transition condition)”, “name”:“(condition name)” “condition”:“(transition condition)” ⁇ , ... ], “actions”:[ ⁇ “id”:“(action setting id)”, “action”: ”(Action settings)“ ⁇ , ...
  • node corresponds to one scenario in which it is stored in one file.
  • “parent” and “child” are information representing hierarchical relationships. “action” is information that associates action settings.
  • condition is information about transition conditions, and the details of the conditions corresponding to the id of the transition conditions in the "conditionList" of the basic information are described.
  • Actions is information about action settings, and details of the action corresponding to the action setting id in "action" of the basic information are described.
  • FIG. 14 is a flow chart showing the processing flow of the scenario setting device according to the first embodiment.
  • the scenario setting device 10 displays a list of nodes for each layer (step S101).
  • the scenario setting device 10 also displays the state transition diagram of the selected node (step S102).
  • the scenario setting device 10 displays the state transition diagram in either the flow definition mode or the state definition mode according to the hierarchy of the selected node.
  • the scenario setting device 10 adds nodes and edges to the state transition diagram (step S103). Then, the scenario setting device 10 sets properties and operations for each node (step S104).
  • the function of the property screen for setting properties differs depending on whether you are in flow definition mode or state definition mode.
  • the setting unit 131 receives setting of a scenario relating to the operation of the chatbot for the hierarchized state.
  • Scenario generation unit 133 generates a scenario for each state based on the information received by setting unit 131 .
  • the GUI display control unit 132 displays a GUI regarding each state for each layer.
  • the setting unit 131 receives settings via the GUI.
  • the setting unit 131 receives scenario settings for each layer.
  • the GUI display control unit 132 switches the GUI to be displayed according to the hierarchy for which the setting unit 131 has accepted the setting of the scenario.
  • the scenario setting can be made more efficient.
  • the GUI display control unit 132 displays a state transition diagram with each state of a specific hierarchy as a node.
  • the setting unit 131 receives setting of the utterance content of the chatbot corresponding to the node included in the state transition diagram.
  • the scenario generation unit 133 generates a scenario in which utterance contents are linked to nodes included in the state transition diagram.
  • the GUI display control unit 132 displays a state transition diagram with each state of a specific hierarchy as a node.
  • the setting unit 131 receives settings for the support content to be executed by the chatbot corresponding to the node included in the state transition diagram.
  • the scenario generation unit 133 generates a scenario in which support contents are linked to nodes included in the state transition diagram.
  • each component of each device illustrated is functionally conceptual, and does not necessarily need to be physically configured as illustrated.
  • the specific form of distribution and integration of each device is not limited to the illustrated one, and all or part of them can be functionally or physically distributed or Can be integrated and configured.
  • all or any part of each processing function performed by each device is realized by a CPU (Central Processing Unit) and a program analyzed and executed by the CPU, or hardware by wired logic can be realized as Note that the program may be executed not only by the CPU but also by other processors such as a GPU.
  • CPU Central Processing Unit
  • the scenario setting device 10 can be implemented by installing a scenario setting program for executing the above scenario setting process as package software or online software on a desired computer.
  • the information processing device can function as the scenario setting device 10 by causing the information processing device to execute the above scenario setting program.
  • the information processing apparatus referred to here includes a desktop or notebook personal computer.
  • information processing devices include mobile communication terminals such as smartphones, mobile phones and PHS (Personal Handyphone Systems), and slate terminals such as PDAs (Personal Digital Assistants).
  • the scenario setting device 10 can also be implemented as a scenario setting server device that uses a terminal device used by a user as a client and provides the client with a service related to the above scenario setting process.
  • the scenario setting server device is implemented as a server device that provides a scenario setting service in which a hierarchical state of work is input and scenario information is output.
  • the scenario setting server device may be implemented as a web server, or may be implemented as a cloud that provides services related to the scenario setting process by outsourcing.
  • FIG. 15 is a diagram showing an example of a computer that executes a scenario setting program.
  • the computer 1000 has a memory 1010 and a CPU 1020, for example.
  • Computer 1000 also has hard disk drive interface 1030 , disk drive interface 1040 , serial port interface 1050 , video adapter 1060 and network interface 1070 . These units are connected by a bus 1080 .
  • the memory 1010 includes a ROM (Read Only Memory) 1011 and a RAM (Random Access Memory) 1012 .
  • the ROM 1011 stores a boot program such as BIOS (Basic Input Output System).
  • BIOS Basic Input Output System
  • Hard disk drive interface 1030 is connected to hard disk drive 1031 .
  • Disk drive interface 1040 is connected to disk drive 1041 .
  • a removable storage medium such as a magnetic disk or optical disk is inserted into the disk drive 1041 .
  • the serial port interface 1050 is connected to a mouse 1051 and a keyboard 1052, for example.
  • Video adapter 1060 is connected to display 1061, for example.
  • the hard disk drive 1031 stores, for example, an OS 1091, application programs 1092, program modules 1093, and program data 1094. That is, the program that defines each process of the scenario setting device 10 is implemented as a program module 1093 in which computer-executable code is described. Program modules 1093 are stored, for example, in hard disk drive 1031 .
  • the hard disk drive 1031 stores a program module 1093 for executing processing similar to the functional configuration of the scenario setting device 10 .
  • the hard disk drive 1031 may be replaced by an SSD (Solid State Drive).
  • the setting data used in the processing of the above-described embodiment is stored as program data 1094 in the memory 1010 or the hard disk drive 1031, for example. Then, the CPU 1020 reads out the program modules 1093 and program data 1094 stored in the memory 1010 and the hard disk drive 1031 to the RAM 1012 as necessary, and executes the processes of the above-described embodiments.
  • the program modules 1093 and program data 1094 are not limited to being stored in the hard disk drive 1031, but may be stored in a removable storage medium, for example, and read by the CPU 1020 via the disk drive 1041 or the like. Alternatively, the program modules 1093 and program data 1094 may be stored in another computer connected via a network (LAN (Local Area Network), WAN (Wide Area Network), etc.). Program modules 1093 and program data 1094 may then be read by CPU 1020 through network interface 1070 from other computers.
  • LAN Local Area Network
  • WAN Wide Area Network

Landscapes

  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A setting unit (131) receives scenario settings for the behavior of a chatbot, for hierarchical states. A scenario generation unit (133) generates a scenario for each state, on the basis of information received by the setting unit (131).

Description

シナリオ設定装置、シナリオ設定方法及びシナリオ設定プログラムScenario setting device, scenario setting method and scenario setting program
 本発明は、シナリオ設定装置、シナリオ設定方法及びシナリオ設定プログラムに関する。 The present invention relates to a scenario setting device, a scenario setting method, and a scenario setting program.
 昨今、チャットボットの業務利用が進んでいる。FAQのような問い合わせ対応だけでなく、業務システムに対する代行操作等、ユーザ操作を支援するチャットボットが求められている。 Recently, business use of chatbots is increasing. There is a demand for a chatbot that not only responds to inquiries such as FAQs, but also supports user operations such as proxy operations for business systems.
 例えば、チャットボットが取得した周辺情報を利用し、業務システムを代行操作する技術が知られている(例えば特許文献1を参照)。 For example, there is a known technology that uses peripheral information acquired by a chatbot to operate business systems on behalf of others (see Patent Document 1, for example).
 チャットボットによるユーザ操作の支援の実行においては、支援するユーザの状態を特定する(絞り込む)必要があり、ルールベース型のチャットボットが用いられることがある。 In the execution of support for user operations by chatbots, it is necessary to specify (narrow down) the status of the user to be supported, and rule-based chatbots are sometimes used.
 ルールベース型チャットボットは、あらかじめ定義したユーザからの入力に対する対応フロー(シナリオ)に基づいて動作する。また、その際に、ボット発話及びユーザ発話を含む対話内容はフローで設定可能である(参考文献:Repl-AI(https://repl-ai.jp/))。 A rule-based chatbot operates based on a predefined response flow (scenario) for user input. In addition, at that time, the contents of the dialogue including the bot utterance and the user utterance can be set in the flow (Reference: Repl-AI (https://repl-ai.jp/)).
 また、対話シナリオを設定する際に、GUI上の状態遷移図を作成することによって対話シナリオを生成する技術が知られている(例えば、非特許文献1及び2を参照)。 There is also a known technique for generating a dialogue scenario by creating a state transition diagram on a GUI when setting the dialogue scenario (see Non-Patent Documents 1 and 2, for example).
国際公開第2021/070292号WO2021/070292
 しかしながら、従来の技術には、チャットボットの動作シナリオが複雑化する場合があるという問題がある。 However, conventional technologies have the problem of complicating chatbot operation scenarios.
 例えば、特許文献1に記載のチャットボットにおいては、ユーザとの対話情報(text)に加え、取得する周辺情報から判定できるユーザの状態(対象アプリが起動されているか、必要なデータが入力されているか等)を条件に動作シナリオを遷移させていく。 For example, in the chatbot described in Patent Document 1, in addition to conversation information (text) with the user, the state of the user (whether the target application is running or whether necessary data has been input) can be determined from the acquired peripheral information. The operation scenario is transitioned under conditions such as whether or not there is
 その際、様々な業務や状態に応じた支援をチャットボットが行う場合、割り込みのような遷移が頻発し、シナリオ(状態遷移)が複雑化する。特に割り込み処理を状態遷移図で表現すると、遷移(エッジ)の数が増加し、複雑になる。 At that time, when chatbots provide support according to various tasks and states, transitions such as interruptions occur frequently, complicating scenarios (state transitions). In particular, when interrupt processing is represented by a state transition diagram, the number of transitions (edges) increases and becomes complicated.
 例えば、「業務Aを始めたが中断し、業務Bを開始する」という場面のシナリオ(状態遷移)を定義したいとき、割り込みに対応する遷移を設定する必要がある。 For example, if you want to define a scenario (state transition) in which "Work A has started, is interrupted, and then starts Work B," it is necessary to set transitions corresponding to interrupts.
 その結果、動作シナリオが複雑化し、チャットボットのシナリオ設定を効率良く行うことが難しくなる。 As a result, the operating scenarios become more complicated, making it difficult to efficiently configure chatbot scenarios.
 非特許文献1及び2では、複合状態としてノードをグループ化して見た目上のエッジの数を減らしているが、実際のエッジの設定を省略できるわけではない。 In Non-Patent Documents 1 and 2, nodes are grouped as composite states to reduce the number of apparent edges, but it is not possible to omit the actual edge settings.
 上述した課題を解決し、目的を達成するために、シナリオ設定装置は、階層化された状態について、チャットボットの動作に関するシナリオの設定を受け付ける設定部と、前記設定部によって受け付けられた情報を基に、前記状態ごとのシナリオを生成するシナリオ生成部と、を有することを特徴とする。 In order to solve the above-described problems and achieve the object, a scenario setting device includes a setting unit that receives scenario settings regarding chatbot operations for a hierarchical state, and based on information received by the setting unit. and a scenario generator that generates a scenario for each state.
 本発明によれば、チャットボットの動作シナリオの複雑化を抑止することができる。 According to the present invention, it is possible to prevent chatbot operation scenarios from becoming more complicated.
図1は、第1の実施形態に係るシナリオ設定装置の構成例を示す図である。FIG. 1 is a diagram showing a configuration example of a scenario setting device according to the first embodiment. 図2は、遷移状態の階層化のイメージを示す図である。FIG. 2 is a diagram showing an image of hierarchization of transition states. 図3は、状態遷移図画面の例を示す図である。FIG. 3 is a diagram showing an example of a state transition diagram screen. 図4は、状態遷移図画面の例を示す図である。FIG. 4 is a diagram showing an example of a state transition diagram screen. 図5は、プロパティ画面の例を示す図である。FIG. 5 is a diagram showing an example of a property screen. 図6は、遷移条件設定画面の例を示す図である。FIG. 6 is a diagram showing an example of a transition condition setting screen. 図7は、状態遷移図画面の例を示す図である。FIG. 7 is a diagram showing an example of a state transition diagram screen. 図8は、エッジの向きについて説明する図である。FIG. 8 is a diagram for explaining the orientation of edges. 図9は、エッジの向きについて説明する図である。FIG. 9 is a diagram for explaining the orientation of edges. 図10は、プロパティ画面の例を示す図である。FIG. 10 is a diagram showing an example of the property screen. 図11は、動作設定画面の例を示す図である。FIG. 11 is a diagram showing an example of an operation setting screen. 図12は、動作設定画面の開き方を説明する図である。FIG. 12 is a diagram for explaining how to open the operation setting screen. 図13は、シナリオ設定のイメージを示す図である。FIG. 13 is a diagram showing an image of scenario setting. 図14は、第1の実施形態に係るシナリオ設定装置の処理の流れを示すフローチャートである。FIG. 14 is a flow chart showing the processing flow of the scenario setting device according to the first embodiment. 図15は、シナリオ設定プログラムを実行するコンピュータの一例を示す図である。FIG. 15 is a diagram illustrating an example of a computer that executes a scenario setting program;
 以下に、本願に係るシナリオ設定装置、シナリオ設定方法及びシナリオ設定プログラムの実施形態を図面に基づいて詳細に説明する。なお、本発明は、以下に説明する実施形態により限定されるものではない。 Embodiments of the scenario setting device, scenario setting method, and scenario setting program according to the present application will be described below in detail based on the drawings. In addition, this invention is not limited by embodiment described below.
[第1の実施形態の構成]
 まず、図1を用いて、第1の実施形態に係るシナリオ設定装置の構成について説明する。図1は、第1の実施形態に係るシナリオ設定装置の構成の一例を示す図である。
[Configuration of the first embodiment]
First, the configuration of the scenario setting device according to the first embodiment will be described using FIG. FIG. 1 is a diagram showing an example of the configuration of a scenario setting device according to the first embodiment.
 シナリオ設定装置10は、ユーザにGUI(Graphical User Interface)を提供し、当該GUIを介したユーザの操作により、チャットボットのシナリオを設定する。例えば、チャットボットはユーザの業務を支援することができる。 The scenario setting device 10 provides a GUI (Graphical User Interface) to the user, and sets a chatbot scenario through the user's operation via the GUI. For example, chatbots can assist users in their work.
 図1に示すように、シナリオ設定装置10は、入力部11、出力部12、制御部13及び記憶部14を有する。 As shown in FIG. 1, the scenario setting device 10 has an input unit 11, an output unit 12, a control unit 13 and a storage unit 14.
 入力部11はデータの入力のためのインタフェースである。入力部11は、例えばマウスやキーボード等の入力装置であってもよい。 The input unit 11 is an interface for inputting data. The input unit 11 may be an input device such as a mouse or a keyboard.
 出力部12はデータの出力のためのインタフェースである。出力部12は、例えばディスプレイである。また、入力部11及び出力部12は、タッチパネルディスプレイを構成するものであってもよい。 The output unit 12 is an interface for outputting data. The output unit 12 is, for example, a display. Moreover, the input unit 11 and the output unit 12 may constitute a touch panel display.
 記憶部14は、HDD(Hard Disk Drive)、SSD(Solid State Drive)、光ディスク等の記憶装置である。なお、記憶部14は、RAM(Random Access Memory)、フラッシュメモリ、NVSRAM(Non Volatile Static Random Access Memory)等のデータを書き換え可能な半導体メモリであってもよい。 The storage unit 14 is a storage device such as an HDD (Hard Disk Drive), an SSD (Solid State Drive), an optical disc, or the like. The storage unit 14 may be a rewritable semiconductor memory such as RAM (Random Access Memory), flash memory, NVSRAM (Non Volatile Static Random Access Memory).
 記憶部14は、シナリオ設定装置10で実行されるOS(Operating System)や各種プログラムを記憶する。記憶部14は、例えばGUI構成情報141及びシナリオ情報142を記憶する。 The storage unit 14 stores an OS (Operating System) and various programs executed by the scenario setting device 10 . The storage unit 14 stores GUI configuration information 141 and scenario information 142, for example.
 GUI構成情報141は、シナリオ設定装置10がユーザにGUIを提供するための情報である。例えば、GUI構成情報141は、GUIのパーツ及び各パーツに関する処理を定義したプログラムデータである。 The GUI configuration information 141 is information for the scenario setting device 10 to provide the user with a GUI. For example, the GUI configuration information 141 is program data defining GUI parts and processing for each part.
 シナリオ情報142は、シナリオ設定装置10が生成したシナリオを所定の形式(例えばJson形式)で保存したものである。 The scenario information 142 is a scenario generated by the scenario setting device 10 saved in a predetermined format (for example, Json format).
 制御部13は、シナリオ設定装置10全体を制御する。制御部13は、例えば、CPU(Central Processing Unit)、MPU(Micro Processing Unit)、GPU(Graphics Processing Unit)等の電子回路や、ASIC(Application Specific Integrated Circuit)、FPGA(Field Programmable Gate Array)等の集積回路である。また、制御部13は、各種の処理手順を規定したプログラムや制御データを格納するための内部メモリを有し、内部メモリを用いて各処理を実行する。 The control unit 13 controls the scenario setting device 10 as a whole. The control unit 13 includes, for example, electronic circuits such as CPU (Central Processing Unit), MPU (Micro Processing Unit), GPU (Graphics Processing Unit), ASIC (Application Specific Integrated Circuit), FPGA (Field Programmable Gate Array), etc. It is an integrated circuit. The control unit 13 also has an internal memory for storing programs defining various processing procedures and control data, and executes each processing using the internal memory.
 制御部13は、各種のプログラムが動作することにより各種の処理部として機能する。例えば、制御部13は、設定部131、GUI表示制御部132及びシナリオ生成部133を有する。 The control unit 13 functions as various processing units by running various programs. For example, the control unit 13 has a setting unit 131 , a GUI display control unit 132 and a scenario generation unit 133 .
 設定部131、GUI表示制御部132及びシナリオ生成部133は、シナリオの設定に関する処理を行う。 The setting unit 131, the GUI display control unit 132, and the scenario generation unit 133 perform processing related to scenario setting.
 ここで、本実施形態では、業務に関する各状態を例として、階層ごとに状態を定義している。図2を用いて、状態の階層化について説明する。図2は、遷移状態の階層化のイメージを示す図である。 Here, in this embodiment, states are defined for each layer, taking each state related to work as an example. Hierarchization of states will be described with reference to FIG. FIG. 2 is a diagram showing an image of hierarchization of transition states.
 図2に示すように、階層は、例えば業務やユーザ状態の粒度によって分けることができる。図2の例では、階層は3つである。 As shown in Figure 2, the hierarchy can be divided according to the granularity of tasks and user statuses, for example. In the example of FIG. 2, there are three hierarchies.
 図2の例では、粒度が最も荒い第1階層は、業務を行うユーザの物理的な状態を含む。物理的な状態は、例えば「PC作業中」、「離席中」等である。また、粒度が中程度の第2階層は、実施中の業務の状態を含む。また、最も粒度が細かい第3階層は、実施中の作業の状態を含む。なお、作業は業務を構成する要素であるものとする。 In the example of FIG. 2, the first layer, which has the coarsest granularity, includes the physical state of the user who performs the task. The physical state is, for example, "Working on PC", "Away from desk", or the like. In addition, the second level of granularity includes the status of the work in progress. In addition, the third layer, which has the finest granularity, includes the state of work being performed. It should be noted that work is an element that constitutes work.
 本実施形態では、遷移状態はそれぞれの階層ごとに管理され、例えば親階層で遷移が起こると、子階層での遷移状態はリセットされる。 In this embodiment, the transition state is managed for each layer. For example, when a transition occurs in the parent layer, the transition state in the child layer is reset.
 なお、図2の例では、子階層よりも粒度が荒い階層が親階層に相当する。例えば、第1階層は、第2階層及び第3階層の親階層である。また、第3階層は、第1の階層及び第2の階層の子階層である。 In addition, in the example of FIG. 2, the parent hierarchy corresponds to a hierarchy that is coarser in granularity than the child hierarchy. For example, the first hierarchy is the parent hierarchy of the second and third hierarchies. Also, the third hierarchy is a child hierarchy of the first hierarchy and the second hierarchy.
 また、本実施形態では、1つの階層において状態間で遷移条件を設定できるため、状態遷移の流れが理解しやすくなる。 Also, in this embodiment, transition conditions can be set between states in one hierarchy, making it easier to understand the flow of state transitions.
 また、本実施形態では、同一階層では状態の粒度が同じであるため、割り込み処理等を表現しやすくなる。すなわち、本実施形態では異なる粒度の状態に対する遷移(遷移先+遷移条件)を設定する必要がない。 In addition, in this embodiment, since the state granularity is the same in the same layer, it becomes easier to express interrupt processing and the like. That is, in this embodiment, there is no need to set transitions (transition destinations+transition conditions) for states with different granularities.
 言い換えると、本実施形態では同じ階層のノード間の遷移を設定すればよく、互いに階層が異なるノード間の遷移を設定する必要がない。 In other words, in this embodiment, it is sufficient to set transitions between nodes in the same hierarchy, and there is no need to set transitions between nodes in different hierarchies.
 また、本実施形態では、状態ごとにチャットボットの発話内容及び実行する支援内容が設定可能である。 In addition, in this embodiment, it is possible to set the utterance content of the chatbot and the support content to be executed for each state.
 さらに、本実施形態では、「どういった粒度の状態を判定したいか」や「その階層を設定する目的」によって、各階層ごとに設定しやすいGUI(後述する設定モード)を選択できる。 Furthermore, in this embodiment, it is possible to select a GUI (setting mode, which will be described later) that is easy to set for each layer, depending on "what kind of granular state you want to determine" and "the purpose of setting that layer".
 これは、状態の遷移条件として設定できる内容や扱えるデータ値が全階層及び状態で共通であっても、どういった粒度の状態を管理したいかにより、実際に設定するルール(状態間の遷移条件)や設定しやすい方法が異なると考えられるためである。 Even if the contents that can be set as state transition conditions and the data values that can be handled are common to all hierarchies and states, the rules that are actually set (transition conditions between states) depend on the granularity of state management. ) and easy setting methods are considered to be different.
 ここで、表示される画面(GUI)の例を示しつつ、シナリオ設定装置10の各部の処理について説明する。 Here, the processing of each part of the scenario setting device 10 will be described while showing examples of displayed screens (GUI).
 設定部131は、階層化された状態について、チャットボットの動作に関するシナリオの設定を受け付ける。 The setting unit 131 accepts scenario settings related to the behavior of the chatbot for the hierarchized state.
 GUI表示制御部132は、階層ごとの各状態に関するGUIを表示する。また、設定部131はGUIを介して設定を受け付けることができる。 The GUI display control unit 132 displays a GUI regarding each state for each layer. Also, the setting unit 131 can receive settings via the GUI.
 シナリオ生成部133は、設定部131によって受け付けられた情報を基に、状態ごとのシナリオを生成する。 The scenario generation unit 133 generates a scenario for each state based on the information received by the setting unit 131.
 シナリオ設定装置10は、指定された設定モードに応じて画面を表示する。設定モードには、フロー定義、状態設定、動作設定がある。 The scenario setting device 10 displays a screen according to the specified setting mode. The setting mode includes flow definition, state setting, and operation setting.
(設定モード:フロー定義)
 設定モードがフロー定義である場合の各画面について説明する。図3は、状態遷移図画面の例を示す図である。図3の例では、設定モードが「フロー定義」であることが示されている。
(Setting mode: flow definition)
Each screen when the setting mode is flow definition will be explained. FIG. 3 is a diagram showing an example of a state transition diagram screen. The example of FIG. 3 indicates that the setting mode is "flow definition".
 図3の例では、GUI表示制御部132は、状態遷移図画面21に状態遷移図リスト211及びノード種別リスト212を表示する。また、GUI表示制御部132は、選択された階層の状態遷移図を表示する。 In the example of FIG. 3, the GUI display control unit 132 displays the state transition diagram list 211 and the node type list 212 on the state transition diagram screen 21. FIG. Also, the GUI display control unit 132 displays the state transition diagram of the selected layer.
 ここで、設定部131は、階層ごとにシナリオの設定を受け付ける。例えば、設定部131は、状態遷移図が表示されている階層のシナリオの設定を受け付ける。 Here, the setting unit 131 receives scenario settings for each layer. For example, the setting unit 131 receives the setting of the scenario of the layer on which the state transition diagram is displayed.
 状態遷移図リスト211には、選択可能な階層が表示される図3の例では、「業務A」が選択され、「業務A」の状態遷移図が表示されている。 In the example of FIG. 3 where selectable hierarchies are displayed in the state transition diagram list 211, "Work A" is selected and the state transition diagram of "Work A" is displayed.
 状態遷移図では、状態に相当するノードが円で表され、ノード間のエッジが線で表されている。エッジの矢印は状態遷移の方向を表している。 In the state transition diagram, nodes corresponding to states are represented by circles, and edges between nodes are represented by lines. Edge arrows indicate the direction of state transitions.
 選択中キャンバスには「ROOT->業務A」が表示されている。これは、「ROOT」の状態遷移図上で定義されている「業務A」というノード配下の階層の状態遷移図がメイン画面上で表示されていることを意味する。 "ROOT -> Work A" is displayed on the selected canvas. This means that the state transition diagram of the hierarchy under the node "task A" defined on the state transition diagram of "ROOT" is displayed on the main screen.
 ユーザは、状態遷移図画面21において、ノード種別リスト212に表示されているいずれかのノードをドラッグアンドドロップすることで、状態遷移図にノードを追加することができる。さらに、ユーザはドラッグアンドドロップによりノード間のエッジをつなげることができる。 The user can add a node to the state transition diagram by dragging and dropping any node displayed in the node type list 212 on the state transition diagram screen 21 . In addition, users can connect edges between nodes by drag and drop.
 ノードがダブルクリックされると、GUI表示制御部132は、遷移条件設定画面を開く。また、ノードが右クリックされると、GUI表示制御部132は、右クリックメニュー213を表示する。 When the node is double-clicked, the GUI display control unit 132 opens a transition condition setting screen. Also, when a node is right-clicked, the GUI display control unit 132 displays a right-click menu 213. FIG.
 右クリックメニュー213の「プロパティ設定」が選択されると、GUI表示制御部132は対象のノードのプロパティ画面を開く。 When "property setting" in the right-click menu 213 is selected, the GUI display control unit 132 opens the property screen of the target node.
 また、右クリックメニュー213の「上位ノード設定」及び「下位ノード設定」が選択されると、GUI表示制御部132は、それぞれ対象のノードの上位ノード及び下位ノードの状態遷移図画面21を開く。すなわち、GUI表示制御部132は選択中キャンバスを切り替える。 Also, when "upper node setting" and "lower node setting" of the right-click menu 213 are selected, the GUI display control unit 132 opens the state transition diagram screen 21 of the upper node and lower node of the target node, respectively. That is, the GUI display control unit 132 switches the canvas during selection.
 なお、上位及び下位の関係は、前述の親及び子の関係と同様である。例えば、上位ノードは、親階層(上位の階層)に存在するノードを意味し、下位ノードは、子階層(下位の階層)に存在するノードを意味する。 It should be noted that the upper and lower relationships are the same as the parent and child relationships described above. For example, a higher node means a node existing in a parent hierarchy (higher hierarchy), and a lower node means a node existing in a child hierarchy (lower hierarchy).
 右クリックメニュー213の「動作設定」が選択されると、GUI表示制御部132は対象のノードの動作設定画面を開く。 When "operation setting" of the right-click menu 213 is selected, the GUI display control unit 132 opens the operation setting screen of the target node.
 図4は、状態遷移図画面の例を示す図である。図4には、「ROOT」が選択された場合の状態遷移図画面21が示されている。 FIG. 4 is a diagram showing an example of the state transition diagram screen. FIG. 4 shows the state transition diagram screen 21 when "ROOT" is selected.
 業務A、業務B、業務C、業務Dは、最上位の階層のノード「ROOT」の直下のノードである。 Task A, task B, task C, and task D are nodes immediately below the node "ROOT" in the highest hierarchy.
 例えば、「業務A」がダブルクリックされるか、「業務A」の右クリックメニューから「下位ノード設定」が選択されると、GUI表示制御部132はキャンバスを切り替え、図3の画面を表示する。 For example, when "work A" is double-clicked or "lower node setting" is selected from the right-click menu of "work A", the GUI display control unit 132 switches the canvas and displays the screen of FIG. .
 なお、GUI表示制御部132は、子階層が存在するノードについては、色、形状を変化させたり、状態遷移図リスト211と対応する下位のノードの名称を表示させたりしてもよい。 It should be noted that the GUI display control unit 132 may change the color and shape of nodes that have child hierarchies, or display the names of lower nodes corresponding to the state transition diagram list 211 .
 図5に、フロー定義モードにおけるプロパティ画面の例を示す。図5は、プロパティ画面の例を示す図である。 Fig. 5 shows an example of the property screen in flow definition mode. FIG. 5 is a diagram showing an example of a property screen.
 図5に示すように、フロー定義モードの場合、設定部131は、プロパティ画面22において、ノードごとのノード名、チャットボットの発話内容及び遷移条件の設定を受け付ける。 As shown in FIG. 5, in the case of the flow definition mode, the setting unit 131 accepts the setting of the node name for each node, chatbot utterance content, and transition conditions on the property screen 22 .
 設定項目の「発話内容」は、チャットボットに発話させる内容であり、nullであってもよい。この設定項目により、設定部131は、状態遷移図に含まれるノードに対応するチャットボットの発話内容の設定を受け付ける。 The setting item "utterance content" is the content to be spoken by the chatbot, and may be null. With this setting item, the setting unit 131 receives setting of the utterance content of the chatbot corresponding to the node included in the state transition diagram.
 遷移条件の遷移先には、状態遷移図で表示されているノードのいずれかを選択することができる。また、設定ボタンが押下されると、GUI表示制御部132は、遷移先のノードに対応する遷移条件設定画面を開く。 Any of the nodes displayed in the state transition diagram can be selected as the transition destination of the transition condition. Further, when the setting button is pressed, the GUI display control unit 132 opens a transition condition setting screen corresponding to the transition destination node.
 プロパティ画面22において設定部131が受け付けた設定を基に、シナリオ生成部133は、状態遷移図に含まれるノードに、発話内容を紐付けたシナリオを生成する。 Based on the settings accepted by the setting unit 131 on the property screen 22, the scenario generation unit 133 generates a scenario in which the utterance content is linked to the nodes included in the state transition diagram.
 図5の例では、シナリオ生成部133は、「作業Aを開始しましたね。」という発話内容の設定を基に、例えば下記のようなノードの基本情報をシナリオとして生成する。
 
{
 “id”:”node0000”,
 “name”:”ノード1”,
 “botTalk”:”作業Aを開始しましたね。”,
 “conditionList”:[
  {“(ノード2のid)”, “(遷移条件のid)”},
  {“(ノード3のid)”, “(遷移条件のid)”},
  …
 ]
 “parent”:”(親ノードのid)”,
 “child”:”(子ノードのid)”,
  …
 “action”:”(動作設定のid)”,
 …
}
 
In the example of FIG. 5, the scenario generation unit 133 generates, for example, the following basic node information as a scenario, based on the setting of the utterance content "Work A has started."

{
“id”:”node0000”,
“name”:”node 1”,
“botTalk”:”You have started task A.”,
“conditionList”:[
{“(node 2 id)”, “(transition condition id)”},
{“(node 3 id)”, “(transition condition id)”},

]
“parent”:”(parent node id)”,
“child”:”(child node id)”,

“action”:”(action setting id)”,

}
 上記の基本情報において、「botTalk」が発話内容に相当する。また、「parent」及び「child」は、それぞれ親階層及び子階層のノードが存在する場合は設定される。遷移条件及び動作内容については後述する。 In the above basic information, "botTalk" corresponds to the utterance content. Also, "parent" and "child" are set when there are nodes in the parent hierarchy and child hierarchy, respectively. Transition conditions and operation contents will be described later.
 図5のプロパティ画面で、遷移先の「ノード2」に対応する設定ボタンが押下された場合を例に、遷移条件設定画面について説明する。図6は、遷移条件設定画面の例を示す図である。 The transition condition setting screen will be explained using the case where the setting button corresponding to the transition destination "node 2" is pressed on the property screen in FIG. 5 as an example. FIG. 6 is a diagram showing an example of a transition condition setting screen.
 なお、遷移条件設定画面は、プロパティ画面の設定ボタンが押下された場合だけでなく、状態遷移図のエッジがダブルクリックされた場合にも開かれる。 Note that the transition condition setting screen is opened not only when the setting button on the property screen is pressed, but also when an edge of the state transition diagram is double-clicked.
 図6に示すように、遷移条件設定画面23において、設定部131は、コンテキストごとの条件の設定を受け付ける。例えば、コンテキストには、ユーザ発話、URL等がある。 As shown in FIG. 6, on the transition condition setting screen 23, the setting unit 131 receives setting of conditions for each context. For example, context includes user utterances, URLs, and the like.
 例えば、シナリオ生成部133は、遷移条件設定画面23の設定内容から、下記のような遷移条件を生成する。
 
{
 “遷移条件id”:”condition1-1”,
 “遷移条件名”:“○○システムを開き、業務Aを開始”
 “遷移条件”: ユーザ発話=”業務Aを開始” OR URL=“xxx”のページを開く
}
 
For example, the scenario generation unit 133 generates the following transition conditions from the setting contents of the transition condition setting screen 23 .

{
“transition condition id”:”condition1-1”,
“Transition condition name”: “Open ○○ system and start task A”
“Transition condition”: User utterance = “Start work A” OR URL = Open page “xxx”
}
 この遷移条件は、図5のプロパティ画面22の遷移先の「ノード2」にに対応している。このため、当該遷移条件は、「ユーザが「業務Aを開始」という発話をするか、URLが「xxx」であるページが開かれた場合に、ノード1からノード2に遷移する」ことを意味する。 This transition condition corresponds to the transition destination "node 2" on the property screen 22 in FIG. Therefore, the transition condition means "transition from node 1 to node 2 when the user utters 'Start task A' or when a page with URL 'xxx' is opened". do.
(設定モード:状態定義)
 設定モードが状態定義である場合の各画面について説明する。図7は、状態遷移図画面の例を示す図である。図7の例では、設定モードが「状態定義」であることが示されている。
(Setting mode: state definition)
Each screen when the setting mode is state definition will be described. FIG. 7 is a diagram showing an example of a state transition diagram screen. The example of FIG. 7 indicates that the setting mode is "state definition".
 設定モードが状態定義である場合も、状態遷移図画面21からダブルクリック及び右クリック等により呼び出せる機能は同様である。 Even if the setting mode is state definition, the functions that can be called by double-clicking, right-clicking, etc. from the state transition diagram screen 21 are the same.
 ただし、フロー定義モードでは対象ノードに対してエッジの向きが外向きとみなされていたのに対し、状態定義モードではエッジの向きが内向きとみなされる。また、状態定義モードでは、エッジが全てのノード間で接続されること(フルメッシュ)を前提として、GUI上でエッジを表示しなくてもよい。 However, in the flow definition mode, the direction of the edge was considered to be outward with respect to the target node, whereas in the state definition mode, the direction of the edge was considered to be inward. Also, in the state definition mode, edges do not have to be displayed on the GUI on the premise that edges are connected between all nodes (full mesh).
 言い換えると、フロー定義モードが対象ノードから遷移先への遷移条件を設定するモードであるのに対し、状態定義モードは対象ノードへの遷移元からの遷移条件を設定するモードであるということができる。 In other words, while the flow definition mode is a mode for setting transition conditions from the target node to the transition destination, the state definition mode is a mode for setting transition conditions from the transition source to the target node. .
 図7の例では、「業務A」が対象ノードである場合、「業務B」、「業務C」、「業務D」から「業務A」に向かうエッジについて設定が行われる。 In the example of FIG. 7, when "business A" is the target node, settings are made for edges from "business B", "business C", and "business D" to "business A".
 図8及び図9は、エッジの向きについて説明する図である。例えば、上位の階層ほど図8のようにエッジの向きを内向きとみなした設定がされ、下位の階層ほど図9のようにエッジの向きを外向きとみなした設定がされる場合がある。  FIGS. 8 and 9 are diagrams for explaining the orientation of the edge. For example, the higher the hierarchy, the setting is made such that the edge direction is inward as shown in FIG. 8, and the lower hierarchy is the setting such that the edge direction is outward as shown in FIG.
 例えば、下位の階層で状態遷移が行われている際に、上位の階層で状態遷移があった場合、下位の階層での状態遷移はリセットされる。そして、上位の階層での遷移先のノードの下位のノードで状態遷移が再評価される。 For example, if a state transition occurs in a higher layer while a state transition is being performed in a lower layer, the state transition in the lower layer is reset. Then, the state transition is re-evaluated at the node below the transition destination node in the higher hierarchy.
 また、下位の階層で状態が完了ノードに遷移した場合、上位の階層で状態遷移図状の遷移条件が再評価されるか、上位の階層の状態遷移図のスタートに戻る。 Also, when the state transitions to the completion node in the lower hierarchy, the transition conditions in the state transition diagram are re-evaluated in the upper hierarchy, or the state transition diagram in the upper hierarchy returns to the start.
 図10を用いて、状態定義モードにおけるプロパティ画面について説明する。図10は、プロパティ画面の例を示す図である。 The property screen in the state definition mode will be explained using FIG. FIG. 10 is a diagram showing an example of the property screen.
 図10に示すように、状態定義モードのプロパティ画面22は、遷移元のノードについて遷移条件を設定する点でフロー定義モードの場合と異なる。 As shown in FIG. 10, the state definition mode property screen 22 differs from the flow definition mode in that transition conditions are set for transition source nodes.
 また、状態定義モードのプロパティ画面22では、遷移元のノードとして「上記以外」のような一括設定も可能である。図10の例では、「上記以外」は、「ノード2以外の同じ階層のノード」を意味する。 Also, on the property screen 22 in the state definition mode, it is possible to collectively set "other than the above" as the transition source node. In the example of FIG. 10, "other than the above" means "nodes in the same hierarchy other than node 2".
(設定モード:動作設定)
 設定モードが動作設定である場合の各画面について説明する。フロー定義モードと状態定義モードにおいて共通してノードの右クリックメニューで「動作設定」が選択された場合、設定モードが動作設定になる。
(Setting mode: Operation setting)
Each screen when the setting mode is the operation setting will be described. In both the flow definition mode and the state definition mode, when "operation setting" is selected in the right-click menu of a node, the setting mode becomes operation setting.
 動作設定モードでは、支援実施内容や、支援実施に関わるシナリオ(支援実行してよいかユーザに伺う等)を設定することができる。 In the operation setting mode, it is possible to set the content of support implementation and scenarios related to support implementation (such as asking the user if it is okay to perform support).
 例えば、図11に示すように、動作設定モードにおける動作設定画面24では、ビジュアルプログラミングを使って、ブロックを組み合わせることにより処理ロジックを設定できる。図11は、動作設定画面の例を示す図である。 For example, as shown in FIG. 11, on the operation setting screen 24 in the operation setting mode, processing logic can be set by combining blocks using visual programming. FIG. 11 is a diagram showing an example of an operation setting screen.
 動作設定画面24では、設定部131は、状態遷移図に含まれるノードに対応するチャットボットが実行する支援内容の設定を受け付ける。そして、シナリオ生成部133は、状態遷移図に含まれるノードに、支援内容を紐付けたシナリオを生成する。 On the operation setting screen 24, the setting unit 131 accepts settings for support content to be executed by the chatbot corresponding to the node included in the state transition diagram. Then, the scenario generation unit 133 generates a scenario in which the support contents are linked to the nodes included in the state transition diagram.
 例えば、シナリオ生成部133は、動作設定画面24の設定内容から、下記のような動作設定を生成する。
 
{
  “actions”:[
  {
   “id”:“(動作設定のid)”,
   “action”: ”(動作設定内容)“
  },
  …
}
 
For example, the scenario generation unit 133 generates the following operation settings from the setting contents of the operation setting screen 24 .

{
“actions”:[
{
“id”:“(action setting id)”,
“action”: ”(Action settings)“
},

}
 例えば、動作設定内容は、JavaScript(登録商標)のようなスクリプト言語そのもの、RPA(Robotic Process Automation)アプリケーションを実行するための実行ファイル(例:exe)や読み込むシナリオのパス、チャットボットが内包する代行操作実行系を動作せるための専用の命令セット等である。 For example, the operation settings include the script language itself such as JavaScript (registered trademark), the execution file (example: exe) for executing the RPA (Robotic Process Automation) application, the path of the scenario to be read, and the agent included in the chatbot. It is a dedicated instruction set or the like for operating the operation execution system.
 これまでに説明した設定モード(フロー定義モード、状態定義モード、動作設定モード)は、ユーザのGUI操作に応じて切り替えられてもよい(例えば、設定モードプルダウンリスト)。 The setting modes described so far (flow definition mode, state definition mode, operation setting mode) may be switched according to the user's GUI operation (for example, setting mode pull-down list).
 また、設定モードは、階層ごと(上位又は下位)の初回設定時に、ユーザによって選択されてもよい。さらに、過去の利用頻度、設定するキャンバスの性質等(例えば上位ノードは状態定義モード、下位ノードはフロー定義モード)によって初期の設定モードが決定されてもよい。 Also, the setting mode may be selected by the user at the time of initial setting for each hierarchy (upper or lower). Furthermore, the initial setting mode may be determined according to the past usage frequency, the nature of the canvas to be set, and the like (for example, state definition mode for upper nodes and flow definition mode for lower nodes).
 このように、GUI表示制御部132は、設定部131がシナリオの設定を受け付けた階層に応じて、表示するGUIを切り替える。いずれの切り替え方法であっても、本実施形態のシナリオ設定装置10は、階層に応じた設定モードで、シナリオ設定のためのGUIを提供することができる。 In this way, the GUI display control unit 132 switches the GUI to be displayed according to the hierarchy for which the setting unit 131 has accepted the setting of the scenario. Regardless of the switching method, the scenario setting device 10 of this embodiment can provide a GUI for scenario setting in a setting mode corresponding to the hierarchy.
 GUI表示制御部132は、GUI構成情報141を基に設定モードに応じたGUIを提供する。そのため、GUI構成情報141を変更することで、各設定モードにおけるGUIを変更できる。さらにGUI構成情報141に情報を追加し、新たな設定モードを設けてもよい。 The GUI display control unit 132 provides a GUI according to the setting mode based on the GUI configuration information 141. Therefore, by changing the GUI configuration information 141, the GUI in each setting mode can be changed. Furthermore, information may be added to the GUI configuration information 141 to provide a new setting mode.
 なお、図12に示すように、状態遷移図において子階層を持たないノードがダブルクリック等で選択された場合、設定モードが動作設定モードに切り替わり、動作設定画面24が開かれてもよい。図12は、動作設定画面の開き方を説明する図である。 As shown in FIG. 12, when a node without a child hierarchy is selected in the state transition diagram by double-clicking or the like, the setting mode may be switched to the operation setting mode and the operation setting screen 24 may be opened. FIG. 12 is a diagram for explaining how to open the operation setting screen.
 図13は、シナリオ設定のイメージを示す図である。図13に示すように、階層L1の下位に階層L11及びL12が存在し、さらにその下位に階層121が存在するものとする。 FIG. 13 is a diagram showing an image of scenario setting. As shown in FIG. 13, it is assumed that layers L11 and L12 exist below layer L1, and layer 121 exists below them.
 階層L1では荒い粒度で状態が判定され、例えば実施中の業務が定義される。シナリオ設定装置10は、階層L1については状態遷移図画面を提供する。 At level L1, the status is determined with coarse granularity, and for example, the work in progress is defined. The scenario setting device 10 provides a state transition diagram screen for layer L1.
 階層L11及びL12では中程度の粒度で状態が判定され、例えば業務に含まれる作業が定義される。シナリオ設定装置10は、階層L11及びL12については状態遷移図画面を提供する。 At levels L11 and L12, the status is determined with medium granularity, and for example, the work included in the business is defined. The scenario setting device 10 provides state transition diagram screens for the layers L11 and L12.
 ただし、階層L1の業務Dには下位の階層がないため、シナリオ設定装置10は、業務Dについては動作設定画面を提供する。 However, since task D of layer L1 does not have a lower layer, the scenario setting device 10 provides an operation setting screen for task D.
 同様に、シナリオ設定装置10は、階層L12の下位の階層L121については状態遷移図画面を提供し、階層L121の下位の階層がないノードについては動作設定画面24を提供する。 Similarly, the scenario setting device 10 provides a state transition diagram screen for the layer L121 that is lower than the layer L12, and provides an operation setting screen 24 for nodes that do not have a layer lower than the layer L121.
 本実施形態のシナリオ設定装置10は、最終的に下記のようなデータをシナリオ情報142として生成する。例えば、シナリオ情報142はJson形式である。
 
{
 “node”:[
  {
   “id”:”(ノードid)”,
   “name”:”(ノード名)”,
   “botTalk”:”(発話内容)”,
   “conditionList”:[
     {“(遷移先ノードのid)”, “(遷移条件のid)”},
     …
   ],
   “parent”:”(親ノードのid)”,
   “child”:”(子ノードのid)”,
   …
   “action”:”(動作設定のid)”,
  ],
 “conditions”:[
  {
   “id”:”(遷移条件のid)”,
   “name”:“(条件名)”
   “condition”:“(遷移条件)”
  },
  …
 ],
 “actions”:[
  {
   “id”:“(動作設定のid)”,
   “action”: ”(動作設定内容)“
  },
  …
}
 
The scenario setting device 10 of this embodiment finally generates the following data as the scenario information 142 . For example, the scenario information 142 is in Json format.

{
“node”:[
{
“id”:”(node id)”,
“name”:”(node name)”,
“botTalk”:”(utterance content)”,
“conditionList”:[
{“(id of transition destination node)”, “(id of transition condition)”},

],
“parent”:”(parent node id)”,
“child”:”(child node id)”,

“action”:”(action setting id)”,
],
“conditions”:[
{
“id”:”(id of transition condition)”,
“name”:“(condition name)”
“condition”:“(transition condition)”
},

],
“actions”:[
{
“id”:“(action setting id)”,
“action”: ”(Action settings)“
},

}
 上記の「node」内のデータが、1つのファイルに格納される1つのシナリオに相当する。  The data in the above "node" corresponds to one scenario in which it is stored in one file.
 「id」、「name」、「botTalk」、「conditionList」は、ノードの基本情報である。 "id", "name", "botTalk", and "conditionList" are the basic information of the node.
 「parent」及び「child」は階層関係を表す情報である。「action」は動作設定を紐付ける情報である。 "parent" and "child" are information representing hierarchical relationships. “action” is information that associates action settings.
 「conditions」は、遷移条件に関する情報であり、基本情報の「conditionList」内の遷移条件のidに対応する条件の詳細が記載される。 "conditions" is information about transition conditions, and the details of the conditions corresponding to the id of the transition conditions in the "conditionList" of the basic information are described.
 「actions」は、動作設定に関する情報であり、基本情報の「action」内の動作設定のidに対応する動作の詳細が記載される。 "actions" is information about action settings, and details of the action corresponding to the action setting id in "action" of the basic information are described.
[第1の実施形態の処理]
 図14は、第1の実施形態に係るシナリオ設定装置の処理の流れを示すフローチャートである。
[Processing of the first embodiment]
FIG. 14 is a flow chart showing the processing flow of the scenario setting device according to the first embodiment.
 まず、シナリオ設定装置10は、シナリオ設定装置10は、階層ごとのノードのリストを表示する(ステップS101)。また、シナリオ設定装置10は、選択されたノードの状態遷移図を表示する(ステップS102)。 First, the scenario setting device 10 displays a list of nodes for each layer (step S101). The scenario setting device 10 also displays the state transition diagram of the selected node (step S102).
 このとき、シナリオ設定装置10は、状態遷移図を、選択されたノードの階層におうじて、フロー定義モード又は状態定義モードのいずれかで表示する。 At this time, the scenario setting device 10 displays the state transition diagram in either the flow definition mode or the state definition mode according to the hierarchy of the selected node.
 シナリオ設定装置10は、状態遷移図へのノード及びエッジの追加する(ステップS103)。そして、シナリオ設定装置10は、ノードごとのプロパティ及び動作の設定する(ステップS104)。 The scenario setting device 10 adds nodes and edges to the state transition diagram (step S103). Then, the scenario setting device 10 sets properties and operations for each node (step S104).
 例えば、プロパティを設定するプロパティ画面の機能は、フロー定義モードであるか状態定義モードであるかによって異なる。 For example, the function of the property screen for setting properties differs depending on whether you are in flow definition mode or state definition mode.
[第1の実施形態の効果]
 これまで説明してきたように、設定部131は、階層化された状態について、チャットボットの動作に関するシナリオの設定を受け付ける。シナリオ生成部133は、設定部131によって受け付けられた情報を基に、状態ごとのシナリオを生成する。
[Effects of the first embodiment]
As described so far, the setting unit 131 receives setting of a scenario relating to the operation of the chatbot for the hierarchized state. Scenario generation unit 133 generates a scenario for each state based on the information received by setting unit 131 .
 このように、状態が階層化されていることにより、チャットボットの動作シナリオが複雑化することを抑止することができる。例えば、遷移を同一階層内に限定することで、階層間の遷移を考慮する必要がなくなる。 By hierarchizing the states in this way, it is possible to prevent the operational scenario of the chatbot from becoming complicated. For example, by limiting transitions within the same hierarchy, it is not necessary to consider transitions between hierarchies.
 GUI表示制御部132は、階層ごとの各状態に関するGUIを表示する。設定部131はGUIを介して設定を受け付ける。 The GUI display control unit 132 displays a GUI regarding each state for each layer. The setting unit 131 receives settings via the GUI.
 設定部131は、階層ごとにシナリオの設定を受け付ける。GUI表示制御部132は、設定部131がシナリオの設定を受け付けた階層に応じて、表示するGUIを切り替える。 The setting unit 131 receives scenario settings for each layer. The GUI display control unit 132 switches the GUI to be displayed according to the hierarchy for which the setting unit 131 has accepted the setting of the scenario.
 例えば、階層によって、遷移先への遷移条件を設定した方が良いか、又は遷移元からの遷移条件を設定した方が良いかが変化する。このため、階層に応じたGUIを提供することで、シナリオの設定を効率化することができる。 For example, depending on the hierarchy, it changes whether it is better to set transition conditions to the transition destination or to set transition conditions from the transition source. Therefore, by providing a GUI according to the hierarchy, the scenario setting can be made more efficient.
 GUI表示制御部132は、特定の階層の各状態をノードとする状態遷移図を表示する。設定部131は、状態遷移図に含まれるノードに対応するチャットボットの発話内容の設定を受け付ける。シナリオ生成部133は、状態遷移図に含まれるノードに、発話内容を紐付けたシナリオを生成する。 The GUI display control unit 132 displays a state transition diagram with each state of a specific hierarchy as a node. The setting unit 131 receives setting of the utterance content of the chatbot corresponding to the node included in the state transition diagram. The scenario generation unit 133 generates a scenario in which utterance contents are linked to nodes included in the state transition diagram.
 これにより、ユーザの状況(状態)に応じてチャットボットの発話内容を設定することができる。 As a result, it is possible to set the content of the chatbot's utterances according to the user's situation (state).
 GUI表示制御部132は、特定の階層の各状態をノードとする状態遷移図を表示する。設定部131は、状態遷移図に含まれるノードに対応するチャットボットが実行する支援内容の設定を受け付ける。シナリオ生成部133は、状態遷移図に含まれるノードに、支援内容を紐付けたシナリオを生成する。 The GUI display control unit 132 displays a state transition diagram with each state of a specific hierarchy as a node. The setting unit 131 receives settings for the support content to be executed by the chatbot corresponding to the node included in the state transition diagram. The scenario generation unit 133 generates a scenario in which support contents are linked to nodes included in the state transition diagram.
 これにより、ユーザの状況(状態)に応じてチャットボットが実行する支援内容を設定することができる。 As a result, it is possible to set the content of support to be provided by the chatbot according to the user's situation (state).
[システム構成等]
 また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示のように構成されていることを要しない。すなわち、各装置の分散及び統合の具体的形態は図示のものに限られず、その全部又は一部を、各種の負荷や使用状況等に応じて、任意の単位で機能的又は物理的に分散又は統合して構成することができる。さらに、各装置にて行われる各処理機能は、その全部又は任意の一部が、CPU(Central Processing Unit)及び当該CPUにて解析実行されるプログラムにて実現され、あるいは、ワイヤードロジックによるハードウェアとして実現され得る。なお、プログラムは、CPUだけでなく、GPU等の他のプロセッサによって実行されてもよい。
[System configuration, etc.]
Also, each component of each device illustrated is functionally conceptual, and does not necessarily need to be physically configured as illustrated. In other words, the specific form of distribution and integration of each device is not limited to the illustrated one, and all or part of them can be functionally or physically distributed or Can be integrated and configured. Furthermore, all or any part of each processing function performed by each device is realized by a CPU (Central Processing Unit) and a program analyzed and executed by the CPU, or hardware by wired logic can be realized as Note that the program may be executed not only by the CPU but also by other processors such as a GPU.
 また、本実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部又は一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部又は一部を公知の方法で自動的に行うこともできる。この他、上記文書中や図面中で示した処理手順、制御手順、具体的名称、各種のデータやパラメータを含む情報については、特記する場合を除いて任意に変更することができる。 Further, among the processes described in the present embodiment, all or part of the processes described as being automatically performed can be performed manually, or the processes described as being performed manually can be performed manually. All or part of this can also be done automatically by known methods. In addition, information including processing procedures, control procedures, specific names, various data and parameters shown in the above documents and drawings can be arbitrarily changed unless otherwise specified.
[プログラム]
 一実施形態として、シナリオ設定装置10は、パッケージソフトウェアやオンラインソフトウェアとして上記のシナリオ設定処理を実行するシナリオ設定プログラムを所望のコンピュータにインストールさせることによって実装できる。例えば、上記のシナリオ設定プログラムを情報処理装置に実行させることにより、情報処理装置をシナリオ設定装置10として機能させることができる。ここで言う情報処理装置には、デスクトップ型又はノート型のパーソナルコンピュータが含まれる。また、その他にも、情報処理装置にはスマートフォン、携帯電話機やPHS(Personal Handyphone System)等の移動体通信端末、さらには、PDA(Personal Digital Assistant)等のスレート端末等がその範疇に含まれる。
[program]
As one embodiment, the scenario setting device 10 can be implemented by installing a scenario setting program for executing the above scenario setting process as package software or online software on a desired computer. For example, the information processing device can function as the scenario setting device 10 by causing the information processing device to execute the above scenario setting program. The information processing apparatus referred to here includes a desktop or notebook personal computer. In addition, information processing devices include mobile communication terminals such as smartphones, mobile phones and PHS (Personal Handyphone Systems), and slate terminals such as PDAs (Personal Digital Assistants).
 また、シナリオ設定装置10は、ユーザが使用する端末装置をクライアントとし、当該クライアントに上記のシナリオ設定処理に関するサービスを提供するシナリオ設定サーバ装置として実装することもできる。例えば、シナリオ設定サーバ装置は、業務の階層化された状態を入力とし、シナリオ情報を出力とするシナリオ設定サービスを提供するサーバ装置として実装される。この場合、シナリオ設定サーバ装置は、Webサーバとして実装することとしてもよいし、アウトソーシングによって上記のシナリオ設定処理に関するサービスを提供するクラウドとして実装することとしてもかまわない。 The scenario setting device 10 can also be implemented as a scenario setting server device that uses a terminal device used by a user as a client and provides the client with a service related to the above scenario setting process. For example, the scenario setting server device is implemented as a server device that provides a scenario setting service in which a hierarchical state of work is input and scenario information is output. In this case, the scenario setting server device may be implemented as a web server, or may be implemented as a cloud that provides services related to the scenario setting process by outsourcing.
 図15は、シナリオ設定プログラムを実行するコンピュータの一例を示す図である。コンピュータ1000は、例えば、メモリ1010、CPU1020を有する。また、コンピュータ1000は、ハードディスクドライブインタフェース1030、ディスクドライブインタフェース1040、シリアルポートインタフェース1050、ビデオアダプタ1060、ネットワークインタフェース1070を有する。これらの各部は、バス1080によって接続される。 FIG. 15 is a diagram showing an example of a computer that executes a scenario setting program. The computer 1000 has a memory 1010 and a CPU 1020, for example. Computer 1000 also has hard disk drive interface 1030 , disk drive interface 1040 , serial port interface 1050 , video adapter 1060 and network interface 1070 . These units are connected by a bus 1080 .
 メモリ1010は、ROM(Read Only Memory)1011及びRAM(Random Access Memory)1012を含む。ROM1011は、例えば、BIOS(Basic Input Output System)等のブートプログラムを記憶する。ハードディスクドライブインタフェース1030は、ハードディスクドライブ1031に接続される。ディスクドライブインタフェース1040は、ディスクドライブ1041に接続される。例えば磁気ディスクや光ディスク等の着脱可能な記憶媒体が、ディスクドライブ1041に挿入される。シリアルポートインタフェース1050は、例えばマウス1051、キーボード1052に接続される。ビデオアダプタ1060は、例えばディスプレイ1061に接続される。 The memory 1010 includes a ROM (Read Only Memory) 1011 and a RAM (Random Access Memory) 1012 . The ROM 1011 stores a boot program such as BIOS (Basic Input Output System). Hard disk drive interface 1030 is connected to hard disk drive 1031 . Disk drive interface 1040 is connected to disk drive 1041 . For example, a removable storage medium such as a magnetic disk or optical disk is inserted into the disk drive 1041 . The serial port interface 1050 is connected to a mouse 1051 and a keyboard 1052, for example. Video adapter 1060 is connected to display 1061, for example.
 ハードディスクドライブ1031は、例えば、OS1091、アプリケーションプログラム1092、プログラムモジュール1093、プログラムデータ1094を記憶する。すなわち、シナリオ設定装置10の各処理を規定するプログラムは、コンピュータにより実行可能なコードが記述されたプログラムモジュール1093として実装される。プログラムモジュール1093は、例えばハードディスクドライブ1031に記憶される。例えば、シナリオ設定装置10における機能構成と同様の処理を実行するためのプログラムモジュール1093が、ハードディスクドライブ1031に記憶される。なお、ハードディスクドライブ1031は、SSD(Solid State Drive)により代替されてもよい。 The hard disk drive 1031 stores, for example, an OS 1091, application programs 1092, program modules 1093, and program data 1094. That is, the program that defines each process of the scenario setting device 10 is implemented as a program module 1093 in which computer-executable code is described. Program modules 1093 are stored, for example, in hard disk drive 1031 . For example, the hard disk drive 1031 stores a program module 1093 for executing processing similar to the functional configuration of the scenario setting device 10 . The hard disk drive 1031 may be replaced by an SSD (Solid State Drive).
 また、上述した実施形態の処理で用いられる設定データは、プログラムデータ1094として、例えばメモリ1010やハードディスクドライブ1031に記憶される。そして、CPU1020は、メモリ1010やハードディスクドライブ1031に記憶されたプログラムモジュール1093やプログラムデータ1094を必要に応じてRAM1012に読み出して、上述した実施形態の処理を実行する。 Also, the setting data used in the processing of the above-described embodiment is stored as program data 1094 in the memory 1010 or the hard disk drive 1031, for example. Then, the CPU 1020 reads out the program modules 1093 and program data 1094 stored in the memory 1010 and the hard disk drive 1031 to the RAM 1012 as necessary, and executes the processes of the above-described embodiments.
 なお、プログラムモジュール1093やプログラムデータ1094は、ハードディスクドライブ1031に記憶される場合に限らず、例えば着脱可能な記憶媒体に記憶され、ディスクドライブ1041等を介してCPU1020によって読み出されてもよい。あるいは、プログラムモジュール1093及びプログラムデータ1094は、ネットワーク(LAN(Local Area Network)、WAN(Wide Area Network)等)を介して接続された他のコンピュータに記憶されてもよい。そして、プログラムモジュール1093及びプログラムデータ1094は、他のコンピュータから、ネットワークインタフェース1070を介してCPU1020によって読み出されてもよい。 The program modules 1093 and program data 1094 are not limited to being stored in the hard disk drive 1031, but may be stored in a removable storage medium, for example, and read by the CPU 1020 via the disk drive 1041 or the like. Alternatively, the program modules 1093 and program data 1094 may be stored in another computer connected via a network (LAN (Local Area Network), WAN (Wide Area Network), etc.). Program modules 1093 and program data 1094 may then be read by CPU 1020 through network interface 1070 from other computers.
 10 シナリオ設定装置
 11 入力部
 12 出力部
 13 制御部
 14 記憶部
 21 状態遷移図画面
 22 プロパティ画面
 23 遷移条件設定画面
 24 動作設定画面
 131 設定部
 132 GUI表示制御部
 133 シナリオ生成部
 141 GUI構成情報
 142 シナリオ情報
 211 状態遷移図リスト
 212 ノード種別リスト
 213 右クリックメニュー
10 scenario setting device 11 input unit 12 output unit 13 control unit 14 storage unit 21 state transition diagram screen 22 property screen 23 transition condition setting screen 24 operation setting screen 131 setting unit 132 GUI display control unit 133 scenario generation unit 141 GUI configuration information 142 Scenario information 211 State transition diagram list 212 Node type list 213 Right-click menu

Claims (7)

  1.  階層化された状態について、チャットボットの動作に関するシナリオの設定を受け付ける設定部と、
     前記設定部によって受け付けられた情報を基に、前記状態ごとのシナリオを生成するシナリオ生成部と、
     を有することを特徴とするシナリオ設定装置。
    a setting unit that receives scenario settings related to the behavior of the chatbot for the hierarchized state;
    a scenario generation unit that generates a scenario for each state based on the information received by the setting unit;
    A scenario setting device characterized by comprising:
  2.  階層ごとの各状態に関するGUIを表示するGUI表示制御部をさらに有し、
     前記設定部は前記GUIを介して設定を受け付けることを特徴とする請求項1に記載のシナリオ設定装置。
    further comprising a GUI display control unit that displays a GUI for each state of each layer;
    2. The scenario setting device according to claim 1, wherein said setting unit receives settings via said GUI.
  3.  前記設定部は、前記階層ごとにシナリオの設定を受け付け、
     前記GUI表示制御部は、前記設定部がシナリオの設定を受け付けた階層に応じて、表示するGUIを切り替えることを特徴とする請求項2に記載のシナリオ設定装置。
    The setting unit receives scenario settings for each of the layers,
    3. The scenario setting device according to claim 2, wherein the GUI display control unit switches the GUI to be displayed according to the hierarchy for which the setting unit receives the scenario setting.
  4.  前記GUI表示制御部は、特定の階層の各状態をノードとする状態遷移図を表示し、
     前記設定部は、前記状態遷移図に含まれるノードに対応する前記チャットボットの発話内容の設定を受け付け、
     前記シナリオ生成部は、前記状態遷移図に含まれるノードに、前記発話内容を紐付けたシナリオを生成することを特徴とする請求項2又は3に記載のシナリオ設定装置。
    The GUI display control unit displays a state transition diagram with each state of a specific hierarchy as a node,
    The setting unit receives setting of utterance content of the chatbot corresponding to a node included in the state transition diagram,
    4. The scenario setting device according to claim 2, wherein the scenario generation unit generates a scenario in which the contents of the utterance are linked to nodes included in the state transition diagram.
  5.  前記GUI表示制御部は、特定の階層の各状態をノードとする状態遷移図を表示し、
     前記設定部は、前記状態遷移図に含まれるノードに対応する前記チャットボットが実行する支援内容の設定を受け付け、
     前記シナリオ生成部は、前記状態遷移図に含まれるノードに、前記支援内容を紐付けたシナリオを生成することを特徴とする請求項2又は3に記載のシナリオ設定装置。
    The GUI display control unit displays a state transition diagram with each state of a specific hierarchy as a node,
    The setting unit receives settings for support content to be executed by the chatbot corresponding to nodes included in the state transition diagram,
    4. The scenario setting device according to claim 2, wherein the scenario generation unit generates a scenario in which the content of support is linked to a node included in the state transition diagram.
  6.  シナリオ設定装置によって実行されるシナリオ設定方法であって、
     階層化された状態について、チャットボットの動作に関するシナリオの設定を受け付ける設定工程と、
     前記設定工程によって受け付けられた情報を基に、前記状態ごとのシナリオを生成するシナリオ生成工程と、
     を含むことを特徴とするシナリオ設定方法。
    A scenario setting method executed by a scenario setting device, comprising:
    a setting step of receiving scenario settings related to the operation of the chatbot for the hierarchized state;
    a scenario generation step of generating a scenario for each state based on the information received by the setting step;
    A scenario setting method comprising:
  7.  コンピュータを、請求項1から5のいずれか1項に記載のシナリオ設定装置として機能させるためのシナリオ設定プログラム。 A scenario setting program for causing a computer to function as the scenario setting device according to any one of claims 1 to 5.
PCT/JP2021/022222 2021-06-10 2021-06-10 Scenario setting device, scenario setting method, and scenario setting program WO2022259497A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2021/022222 WO2022259497A1 (en) 2021-06-10 2021-06-10 Scenario setting device, scenario setting method, and scenario setting program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2021/022222 WO2022259497A1 (en) 2021-06-10 2021-06-10 Scenario setting device, scenario setting method, and scenario setting program

Publications (1)

Publication Number Publication Date
WO2022259497A1 true WO2022259497A1 (en) 2022-12-15

Family

ID=84425089

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/022222 WO2022259497A1 (en) 2021-06-10 2021-06-10 Scenario setting device, scenario setting method, and scenario setting program

Country Status (1)

Country Link
WO (1) WO2022259497A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020109612A (en) * 2019-08-22 2020-07-16 株式会社コンシェルジュ Interactive service provision system, scenario generation editing system, and program
JP2021043716A (en) * 2019-09-11 2021-03-18 エヌ・ティ・ティ・アドバンステクノロジ株式会社 Scenario execution device, scenario execution method, and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020109612A (en) * 2019-08-22 2020-07-16 株式会社コンシェルジュ Interactive service provision system, scenario generation editing system, and program
JP2021043716A (en) * 2019-09-11 2021-03-18 エヌ・ティ・ティ・アドバンステクノロジ株式会社 Scenario execution device, scenario execution method, and program

Similar Documents

Publication Publication Date Title
US10346143B2 (en) Systems and methods for transforming service definitions in a multi-service containerized application
US20180101371A1 (en) Deployment manager
US9857955B2 (en) Dynamic, optimized placement of computer-based windows
CN111614490B (en) Management system and method for managed container cluster based on top-level container cluster
US11403196B2 (en) Widget provisioning of user experience analytics and user interface / application management
JP2016224923A (en) Method and system for automated generation of user form interface
KR102651083B1 (en) MANAGING MULTI-SINGLE-TENANT SaaS SERVICES
KR100755253B1 (en) System and method for interactive wireless applications with conditional ui controls and screen navigation
WO2013109858A1 (en) Design canvas
US10725795B2 (en) Systems, methods, and apparatuses for dynamic creation of an external code segment within a cloud based computing environment
CN112506854B (en) Page template file storage and page generation methods, devices, equipment and media
JP6750124B2 (en) Terminal device, UI expansion method, and UI expansion program
US9208058B2 (en) Providing directional debugging breakpoints
US20150347098A1 (en) Extending a development environment with add-ins
US7500250B2 (en) Configurable event handling for user interface components
JP2016066355A (en) Web application generating system, control method of web application generating system, program for web application generating system, web application generating device, control method of web application generating device, and program for web application generating device
WO2022259497A1 (en) Scenario setting device, scenario setting method, and scenario setting program
EP3585000A1 (en) Systems and methods for interactive filtering of configuration management database (cmdb) data
US20190227678A1 (en) Providing document feature management in relation to communication
US11061664B2 (en) Code management system and code management method
US11023216B2 (en) Storage medium, information processing apparatus, and control method
US11354006B2 (en) Generation and use of application templates
KR102385381B1 (en) Method and system for generating script forcamera effect
US20230409291A1 (en) Generating applications for various platforms by use of a no code environment
US20230229402A1 (en) Intelligent and efficient pipeline management

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21945171

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21945171

Country of ref document: EP

Kind code of ref document: A1