WO2022037019A1 - System, method and device for implementing man-machine multi-round conversation - Google Patents

System, method and device for implementing man-machine multi-round conversation Download PDF

Info

Publication number
WO2022037019A1
WO2022037019A1 PCT/CN2021/074352 CN2021074352W WO2022037019A1 WO 2022037019 A1 WO2022037019 A1 WO 2022037019A1 CN 2021074352 W CN2021074352 W CN 2021074352W WO 2022037019 A1 WO2022037019 A1 WO 2022037019A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
node
intent
dialogue
configuration
Prior art date
Application number
PCT/CN2021/074352
Other languages
French (fr)
Chinese (zh)
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 第四范式(北京)技术有限公司
Publication of WO2022037019A1 publication Critical patent/WO2022037019A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life
    • G06N3/008Artificial life, i.e. computing arrangements simulating life based on physical entities controlled by simulated intelligence so as to replicate intelligent life forms, e.g. based on robots replicating pets or humans in their appearance or behaviour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Definitions

  • the present disclosure relates to the field of artificial intelligence, and more particularly, to a system, method and apparatus for realizing multi-round dialogue between humans and machines.
  • multi-round human-machine dialogue is becoming more and more extensive, such as intelligent dialogue robots for hotel reservations, air tickets, etc.
  • the purpose of multi-round human-machine dialogue is to obtain the necessary information through a series of questions after obtaining the user's initial intention to finally provide information and services corresponding to the user's intention.
  • the purpose of the present disclosure is to provide a system, method and device for realizing multi-turn human-machine dialogue.
  • a first aspect of the present disclosure provides a system for implementing multi-turn human-machine dialogue including at least one computing device and at least one storage device, wherein the at least one storage device stores instructions, and the instructions, when executed by the at least one computing device, cause the At least one computing device executes the following steps of a method for implementing a multi-round human-machine dialogue: providing a user configuration interface, wherein multiple types of intent nodes are provided in the user configuration interface; selecting an intent node on the user configuration interface based on the first user, Configure the intent node and the operation of connecting the intent node, and construct the intent unit; realize the multi-round dialogue with the second user based on the intent unit, so as to obtain the key intention of the second user in the multi-round dialogue between the human and the computer, and realize the judgment and prediction of the dialogue .
  • a second aspect of the present disclosure provides a method for implementing a multi-turn human-machine dialogue, the method comprising: providing a user configuration interface, wherein multiple types of intent nodes are provided in the user configuration interface; based on the first user On the user configuration interface, select the intent node, configure the intent node, and connect the intent node to construct an intent unit; based on the intent unit, implement multiple rounds of human-machine dialogue with the second user to obtain the second user's human-computer Key intentions in multiple rounds of dialogue to realize judgment and prediction of dialogue.
  • a third aspect of the present disclosure provides an apparatus for implementing a multi-turn human-machine dialogue, the apparatus comprising: a user configuration interface providing unit for providing a user configuration interface, wherein the user configuration interface providing unit provides in the user configuration interface multiple types of intent nodes; an intent unit construction unit, based on the operation of the first user to select an intent node, configure an intent node, and connect an intent node on the user configuration interface, construct an intent unit; a man-machine multi-round dialogue implementation unit, Based on the intention unit, a multi-round dialogue with the second user is implemented, so as to obtain the key intention of the second user in the multi-round dialogue between the human and the computer, so as to realize the judgment and prediction of the dialogue.
  • a fourth aspect of the present disclosure provides a computer-readable storage medium having stored thereon a computer program that, when executed by one or more computing devices, causes the one or more computing devices
  • the apparatus implements any of the methods described above.
  • the present disclosure can flexibly select intent nodes, configure intent nodes, and connect intent nodes on the user configuration interface according to the first user's own business needs and business experience, so as to construct the second user-oriented intent for the dialog robot program. unit. Therefore, the dialog robot program can flexibly respond to the user's complex dialog situation based on the intent unit oriented to the second user, and effectively acquire the user's key intent, thereby providing accurate information and services.
  • FIG. 1 shows a flowchart of a method for implementing a multi-round dialogue between humans and machines according to an embodiment of the present disclosure
  • FIG. 3 shows a schematic diagram of a configuration of an input node according to an embodiment of the present disclosure
  • FIG. 4 shows a schematic diagram of a configuration of a judgment node according to an embodiment of the present disclosure
  • FIG. 5 shows a schematic diagram of the configuration of an input node according to an embodiment of the present disclosure
  • FIG. 6 shows a schematic diagram of the configuration of an assignment node according to an embodiment of the present disclosure
  • FIG. 7 shows a schematic diagram of the configuration of an interface node according to an embodiment of the present disclosure
  • FIG. 8 shows an apparatus for realizing multi-round dialogue between humans and machines according to an embodiment of the present disclosure
  • 10B shows the configuration of the input node and the configuration of the judgment node of the construction intent unit shown in 10A;
  • 10C shows the configuration of the output node corresponding to parameter logic 1 and the configuration of the output node corresponding to parameter logic 2 and the configuration of adding task parameters of the build intent unit shown in 10A;
  • FIG. 10D illustrates a configuration interface for adding task parameters according to an embodiment of the present disclosure
  • FIG. 11A shows a further constructed intent unit for the second-round dialogue of the example of the man-machine multi-round dialogue shown in FIG. 9;
  • 12B shows the configuration of the input node and the configuration of the judgment node of the construction intent unit shown in 12A;
  • 12C shows the configuration of the output node corresponding to parameter logic 1 and the configuration of the output node corresponding to parameter logic 2 of the build intent unit shown in 12A;
  • FIG. 13A shows a further constructed intent unit for the fourth round of the example of the man-machine multi-round dialogue shown in FIG. 9;
  • 13B shows the configuration of the input node and the configuration of the judgment node of the construction intent unit shown in 13A;
  • 13C shows the configuration of the output node corresponding to parameter logic 1 and the configuration of the output node corresponding to parameter logic 2 of the build intent unit shown in 13A;
  • Figure 14B shows the configuration of the fifth-round dialogue-based input node, the assignment node, and the judgment node with the construction intent unit shown in 14A;
  • Fig. 14E shows the configuration of the output node corresponding to parameter logic 1 and the configuration of the output node corresponding to parameter logic 2 based on the sixth round of dialogue of the construction intent unit shown in 14A;
  • 16B shows the configuration of the input node and the configuration of the judgment node of the construction intent unit shown in 16A;
  • FIG. 1 shows a flowchart of a method for implementing a multi-turn human-machine dialogue according to an embodiment of the present disclosure.
  • step S110 a user configuration interface is provided, wherein the user configuration interface provides multiple types of intent nodes.
  • the various types of intent nodes include one or more of the following: an input node, a judgment node, an output node, an assignment node, and an interface node. These nodes will be described in more detail later.
  • step S120 an intent unit is constructed based on the first user's operations of selecting an intent node, configuring an intent node, and connecting an intent node on the user configuration interface.
  • the first user may be the user who builds the intent unit.
  • the first user may be a service provider that provides information or services (eg, hotel reservation, bus ticket reservation, air ticket reservation, information consultation, etc.).
  • the first user can flexibly choose to select intent nodes, configure intent nodes, and connect intent nodes on the user configuration interface according to their own business needs and business experience, so as to build a flexible second-user-oriented dialog robot program.
  • Intent unit the first user can flexibly choose to select intent nodes, configure intent nodes, and connect intent nodes on the user configuration interface according to their own business needs and business experience, so as to build a flexible second-user-oriented dialog robot program.
  • the first user may be based on historical data (eg, related to needs, habits, and/or preferences, etc.) based on business context (eg, its target users (eg, second users using information or services provided by the first user) data)) to select intent nodes, configure intent nodes, and connect intent nodes on the user configuration interface, thereby constructing a flexible intent unit for the second user.
  • business context eg, its target users (eg, second users using information or services provided by the first user) data
  • the present disclosure is not limited thereto, and the first user may also select intent nodes, configure intent nodes, and connect intent nodes on the user configuration interface according to any other method, thereby constructing a flexible intent unit for the second user.
  • a single intent unit can execute multiple rounds of a single-intent human-machine dialogue.
  • step S130 based on the intention unit, the human-machine multi-round dialogue with the second user is realized, so as to obtain the key intention of the second user in the human-machine multi-round dialogue, so as to realize the judgment and prediction of the dialogue.
  • the conversational robot program can flexibly and effectively implement multi-turn human-machine conversations with the second user based on the intent unit, so as to Obtain explicit instructions from the second user.
  • the method of implementing a multi-turn dialogue between humans and machines may be performed by a dialogue robot program that provides services or information.
  • FIG. 2 shows a schematic diagram of constructing an intent unit in a user configuration interface according to an embodiment of the present disclosure.
  • a user configuration interface 200 may include a first area 210 in which various types of intent nodes are arranged and a second area 220 for constructing an intent unit.
  • the sizes and positions of the first area 210 and the second area 220 may be arbitrarily set, and are not limited to the example in FIG. 2 .
  • FIG. 2 shows five types of intent nodes (ie, input nodes, judgment nodes, output nodes, assignment nodes, and interface nodes), the intent nodes of the present disclosure are not limited to the above-mentioned nodes, or may include input nodes , one or more of a judgment node, an output node, an assignment node, and an interface node.
  • all the intent nodes here can be configured by the first user, so personalized services or functions can be provided according to the needs of the first user.
  • the first user may select (eg, drag, click, etc.) an intent node from the first area, so that the selected corresponding intent node appears in the second area.
  • the first user can flexibly configure the selected intent node, so that the intent node can perform respective functions or operations according to the flexible configuration, so that the key intent of the second user can be acquired and the usage requirements or intent requirements of the second user can be met. .
  • the first user can also connect the selected intent nodes, so that the connected intent nodes can perform operations corresponding to the intent units according to the connected logical relationship.
  • FIG. 3 shows a schematic diagram of the configuration of an input node according to an embodiment of the present disclosure.
  • the configuration item of the input node may include a trigger method for triggering the task "hotel reservation” (eg, the second user talks to the dialog robot program “please book hotel A for me” and “book hotel for me”) and similar questions to trigger questions (eg, the second user talks to the conversational bot “I want to book a hotel” and "help me book a hotel”).
  • a trigger method for triggering the task "hotel reservation” eg, the second user talks to the dialog robot program "please book hotel A for me” and “book hotel for me”
  • similar questions to trigger questions eg, the second user talks to the conversational bot "I want to book a hotel” and "help me book a hotel”).
  • configuration items of the input node may also include task parameters (eg, hotel name, check-in time, etc.) that are set based on the trigger method and/or a method similar to the trigger method.
  • task parameters eg, hotel name, check-in time, etc.
  • the symbol of the pen may indicate that information can be entered, and the trash can indicate that it can be deleted.
  • the configuration of the judgment node shown in FIG. 4 is schematic, and the present disclosure is not limited thereto.
  • the judgment node of the present disclosure may include one or more of the configuration items shown in FIG. 4 , or may include other configuration items.
  • the configuration item of the judgment node includes parameter logic, wherein the parameter logic performs logical condition judgment on the value obtained by the previous node and the known value or the user-defined value, and determines the judgment node based on the mutually exclusive judgment results the next node.
  • the parameter logic may include parameter logic corresponding to an empty slot. Therefore, when the slot of the second user is empty in the multi-round man-machine dialogue, the dialogue robot program can also provide a corresponding logical judgment mechanism, so that the multi-round man-machine dialogue can proceed smoothly.
  • the configuration items of the judgment node include parameter logic 1 and parameter logic 2 .
  • parameter logic 1 may correspond to the case where "hotel name” is empty
  • parameter logic 2 may correspond to the case where "hotel name” is A hotel.
  • the first user can save the configured parameter logic through the button "Save Logic”.
  • the task of the judgment node can be configured as "hotel”.
  • parameter logic 1 and parameter logic 2 are parallel parameter logics.
  • the judgment node can judge that parameter logic 2 (ie, the hotel name is empty) is established, and then judge the next node according to parameter logic 2.
  • the configuration items of the parameter logic may include a user-defined judgment value, a user-defined logical relationship, and a user-defined reference value, wherein the parameter logic is configured to determine whether the user-defined judgment value and the user-defined reference value satisfy the user-defined logic relationship , and determine the next node of the judgment node based on the determined result.
  • FIG. 5 shows a schematic diagram of a configuration of an input node according to an embodiment of the present disclosure.
  • the configuration of the output nodes shown in FIG. 5 is schematic, and the present disclosure is not limited thereto.
  • the output node of the present disclosure may include one or more of the configuration items shown in FIG. 5 , or may include other configuration items.
  • the output node is configured to perform the task "Robot asks for hotel name".
  • the first user can configure multiple reply contents.
  • the first user can configure the reply content "Which hotel would you like to book?”.
  • the first user may configure the reply content based on the second user's intent and the context of the conversation.
  • the predetermined form of outputting the reply content to the second user may include pictures, voices, links, menus and rich texts.
  • the output node can be configured to provide multi-form replies based on task parameters and interface return values to meet various needs of the second user.
  • the configuration of the assignment node shown in FIG. 6 is schematic, and the present disclosure is not limited thereto.
  • the value node of the present disclosure may include one or more of the configuration items shown in FIG. 6 , or may include other configuration items.
  • a custom assignment may be configured as a customer type of the second user, wherein the customer type is shown to include intended users, potential users, and invalid customers. Therefore, in the multi-round man-machine dialogue of the second user, the effective classification of customers can be realized.
  • FIG. 7 shows a schematic diagram of the configuration of an interface node according to an embodiment of the present disclosure.
  • the configuration of the interface node shown in FIG. 7 is schematic, and the present disclosure is not limited thereto.
  • the interface node of the present disclosure may include one or more of the configuration items shown in FIG. 7 , or may include other configuration items.
  • the configuration item of the interface node includes a configuration item configured to support interface information retrieval configuration.
  • the interface node may be configured to correspond to the task "vacancy query".
  • the configuration item "interface name” of the interface node can be configured to call the interface corresponding to the "interface name”
  • the configuration item "URL” of the interface node can be configured to call the uniform resource locator corresponding to the "URL” .
  • the configuration item "request type” of the interface node can be selected as different types according to the configuration of the first user. Currently, HTTP_GET and HTTP_POST are provided.
  • the first user can better provide the interface return value by setting input parameters and output parameters according to the regulations corresponding to the intention of the second user.
  • the first user can configure the parameter values obtained from the user (for example, information about hotel name, check-in time, room type, etc.), and the configuration items about the output parameters can be based on Enter the configuration item of the parameter to configure. (For example, based on the hotel name, check-in time, check-in room type and other information, the vacancy information that meets the corresponding conditions is called from the interface)
  • the apparatus 800 for implementing a multi-turn human-machine dialogue may include a user configuration interface providing unit 810 , an intention unit constructing unit 820 and a human-machine multi-turn dialogue implementing unit 830 .
  • the user configuration interface providing unit 810 may provide a user configuration interface, wherein the user configuration interface providing unit 810 provides various types of intent nodes in the user configuration interface.
  • the intent unit construction unit 820 may construct the intent unit based on the operations of the first user to select the intent node, configure the intent node, and connect the intent node on the user configuration interface.
  • the man-machine multi-turn dialogue realization unit 830 may implement the man-machine multi-turn dialogue with the second user based on the intention unit, so as to obtain explicit instructions of the second user.
  • USER may represent a second user who conducts multiple rounds of man-machine dialogue with the dialogue robot program ROBT.
  • the dialogue content of the second user in the first round of dialogue in the example of the man-machine multi-round dialogue shown in FIG. 9 is "please book a flight ticket for me”.
  • the first user can construct the intent unit shown in FIG. 10A based on the dialogue content of the second user "please book a flight ticket for me”.
  • the decision node may be configured to perform the task "vote count decision".
  • the second user can configure the parameter logic to include parameter logic 1 and parameter logic 2, where parameter logic 1 is configured to indicate the "votes are empty" condition, and parameter logic 2 is configured to indicate "the votes belong to (parameter dictionary) numbers. Dictionary" case.
  • a digital dictionary as an example of a parameter dictionary may record information on the number of votes.
  • the output node corresponding to parameter logic 1 may be configured to perform the task "parameter logic 1 votes”.
  • the output node corresponding to parameter logic 1 may be configured to output "Please confirm the number of votes you need" to the second user.
  • the reply content may be output using one or more of the output forms shown in FIG. 10C.
  • the output node corresponding to parameter logic 2 may be configured to perform the task "parameter logic 2 origin”.
  • the output node corresponding to parameter logic 2 may be configured to output "Where is your origin?" to the second user.
  • the dialogue robot program can output the content to the first user based on the intent units configured in FIGS. 10A to 10C , “May I ask your departure Where is it?".
  • FIG. 10D illustrates a configuration interface for adding task parameters according to an embodiment of the present disclosure.
  • “Add Task Parameters” may pop up.
  • parameter names can be configured, and parameter dictionaries (eg, system numbers) can be configured from built-in dictionary 1, built-in dictionary 2, user dictionary 1, and user dictionary 2.
  • parameter dictionaries can be added via "Parameter Dictionary+”.
  • the dialogue content of the second user in the second round of dialogue in the example of the man-machine multi-round dialogue shown in FIG. 9 is "Beijing".
  • the first user may construct the intent unit shown in FIG. 11A based on the conversation content "Beijing" of the second user.
  • the portion of the newly constructed intent unit of FIG. 11A compared to FIG. 10A may correspond to the portion in the block in FIG. 11A .
  • the input node is configured to perform the task "departure city”.
  • the second user can configure the configuration item "trigger question method” of the input node to include “Beijing” and “book air tickets for me”, and configure the configuration item "similar question method” of the input node to include “book air tickets”.
  • the second user can also configure the "departure place” of the slot, and the information of the slot can be the system location (eg, Beijing).
  • the slot may further include the number of tickets, and the information of the slot may be "one ticket”.
  • the decision node may be configured to perform the task "judgment at origin".
  • the second user can configure the parameter logic to include parameter logic 1 and parameter logic 2, where parameter logic 1 is configured to indicate the "Origin is empty" condition, and parameter logic 2 is configured to indicate "The departure belongs to (parameter dictionary) ) dictionary of the place of departure".
  • the departure place dictionary may record information on the departure place.
  • the intent unit may be configured to include two output nodes (ie, an output node corresponding to parameter logic 1 and an output node corresponding to parameter logic 2 ).
  • the output node corresponding to parameter logic 1 may be configured to perform the task "parameter logic 1 output".
  • the output node corresponding to the parameter logic 1 may be configured to output "Please confirm your origin and tell me again" to the second user.
  • the reply content may be output using one or more of the output forms shown in FIG. 11C.
  • the output node corresponding to parameter logic 2 may be configured to perform the task "parameter logic 2 output”.
  • the output node corresponding to parameter logic 2 may be configured to output "Which airport are you departing from, Beijing, please?" to the second user.
  • the dialogue robot program can output the content to the first user based on the intent unit configured in FIG. 11A to FIG. Departing from the airport?".
  • Fig. 12A shows a further constructed intent unit for the third round of the dialogue example shown in Fig. 9; 12C shows the configuration of the output node corresponding to the parameter logic 1 and the configuration of the output node corresponding to the parameter logic 2 of the build intent unit shown in 12A.
  • the dialogue content of the second user in the third round of dialogue of the man-machine multi-round dialogue example shown in FIG. 9 is "Capital International Airport".
  • the first user may construct the intent unit shown in FIG. 12A based on the dialogue content "capital international airport" of the second user.
  • the portion of the intent unit newly constructed in FIG. 12A compared to FIG. 11A may correspond to the portion in the block in FIG. 12A .
  • the input node is configured to perform the task "Departure Airport”.
  • the second user can configure the configuration item "trigger question method” of the input node to include “capital international airport” and "I want to go to the capital international airport”, and configure the configuration item "similar question method” of the input node to include "I The departure airport is the Capital International Airport”.
  • the second user can also configure the slot "Beijing Airport”.
  • the information of the slot may be Capital International Airport.
  • the jumping question method is triggered, and jumps to the previous input node corresponding to the flight booking or related to the departure city input node.
  • the first user can click OK to keep the corresponding configuration.
  • the decision node may be configured to perform the task "departure airport decision".
  • the second user may configure the parameter logic to include parameter logic 1 and parameter logic 2, wherein parameter logic 1 is configured to indicate a "departure is empty” situation or a "Beijing airport does not belong to the Beijing airport dictionary” situation.
  • Parameter logic 2 is configured to indicate the case of "Beijing airport belongs to Beijing airport dictionary".
  • the Beijing airport dictionary may record information on airports in Beijing.
  • the intent unit may be configured to include two output nodes (ie, an output node corresponding to parameter logic 1 and an output node corresponding to parameter logic 2).
  • the output node corresponding to parameter logic 1 may be configured to perform the task "parameter logic 1 output".
  • the output node corresponding to parameter logic 1 may be configured to output "Please confirm your departure airport and tell me again" to the second user.
  • the reply content may be output in one or more of the output forms shown in Figure 12C.
  • the output node corresponding to parameter logic 2 may be configured to perform the task "parameter logic 2 output”.
  • the output node corresponding to parameter logic 2 may be configured to output "What is your destination?" to the second user.
  • the dialogue robot program can output the content “May I ask your What is the destination?”.
  • Fig. 13A shows a further constructed intent unit for the fourth round of the dialogue example shown in Fig. 9; 13C shows the configuration of the output node corresponding to the parameter logic 1 and the configuration of the output node corresponding to the parameter logic 2 of the build intent unit shown in 13A.
  • the dialogue content of the second user in the fourth round of dialogue in the example of the man-machine multi-round dialogue shown in FIG. 9 is "Hangzhou".
  • the first user may construct the intent unit shown in FIG. 13A based on the dialogue content "Hangzhou" of the second user.
  • the portion of the newly constructed intent unit of FIG. 13A compared to FIG. 12A may correspond to the portion in the block in FIG. 13A .
  • the input node is configured to perform the task "Destination City".
  • the second user can configure the configuration item "trigger question method” of the input node to include “Hangzhou” and “I want to go to Hangzhou”, and configure the configuration item "similar question method” of the input node to include "my destination is Hangzhou”.
  • the second user can also configure the slot "destination”.
  • the information of the slot may be Hangzhou.
  • the content of the dialogue of the second user is the content related to the flight booking, the content related to the departure city or the content related to the departure airport, the jumping question method is triggered, and jumps to the previous corresponding to the flight booking.
  • the first user can click OK to keep the corresponding configuration.
  • the decision node may be configured to perform the task "Destination City Decision".
  • the second user may configure the parameter logic to include parameter logic 1 and parameter logic 2, where parameter logic 1 is configured to indicate a "destination is empty” condition or a "destination does not belong to the destination dictionary” condition.
  • Parameter logic 2 is configured to indicate the "destination belongs to the destination dictionary" case.
  • the destination dictionary may record information on the destination.
  • the intent unit may be configured to include two output nodes (ie, an output node corresponding to parameter logic 1 and an output node corresponding to parameter logic 2).
  • the output node corresponding to parameter logic 1 may be configured to perform the task "parameter logic 1 output".
  • the output node corresponding to parameter logic 1 may be configured to output "Please confirm your destination and tell me again" to the second user.
  • the reply content may be output using one or more of the output forms shown in Figure 13C.
  • the output node corresponding to parameter logic 2 may be configured to perform the task "parameter logic 2 output”.
  • the output node corresponding to parameter logic 2 may be configured to output "Which airport in Hangzhou are you going to?” to the second user.
  • FIG. 14A shows a further constructed intent unit for the fifth round of dialogue and sixth round of the example of the man-machine multi-round dialogue shown in Fig. 9;
  • FIG. 14C shows the configuration of the output node corresponding to the parameter logic 1 based on the fifth round of dialogue with the construction intent unit shown in 14A, and the parameter The configuration of the output node corresponding to logic 2.
  • the dialogue content of the second user in the fifth round of dialogue in the example of the multi-round dialogue between humans and machines shown in FIG. 9 is "I remembered it wrongly, instead of going to Hangzhou, I will go to Shanghai instead”.
  • the first user may construct the intent unit shown in FIG. 14A based on the dialogue content of the second user, "I remembered wrong, I will not go to Hangzhou, but go to Shanghai instead.”
  • the intent node is reset, and processing proceeds to the input node in FIG. 14B that is connected to the reset intent.
  • the input node is configured to perform the task "Destination City”.
  • the second user can configure the configuration item "triggering method” of the input node to include “go to Shanghai instead of Hangzhou”, and configure the configuration item "similar method” of the input node to include "my destination is Shanghai” ".
  • the second user can also configure the slot "destination”.
  • the information of the slot may be Shanghai.
  • the content of the dialogue of the second user is the content related to the flight booking, the content related to the departure city or the content related to the departure airport, the jumping question method is triggered, and jumps to the previous corresponding to the flight booking.
  • the first user can click OK to keep the corresponding configuration.
  • the value node after the input node may be configured to perform the task "parameter reset".
  • the first user can reset the parameter to the destination based on the dialogue content of the second user, "I remembered it wrong, I will not go to Hangzhou, but go to Shanghai instead.”
  • the conversation content of the second user it can be determined by selecting which of the intended customers, potential users and invalid users the second user belongs to in the "customer type”. Since the user's classification function can be implemented by configuring the assignment node, more refined services can be provided to the user.
  • Fig. 14D shows the configuration of the sixth-round dialogue-based input nodes and judgment nodes of the construction intent unit shown in 14A
  • Fig. 14E illustrates the sixth-round dialogue-based AND parameter logic 1 of the construction intent unit shown in 14A The configuration of the corresponding output node and the configuration of the output node corresponding to parameter logic 2.
  • the jump query method is triggered, and the jump to The previous input node corresponding to the flight booking, the input node related to the departure city, the input node related to the departure airport, or the input node related to the destination.
  • the first user can click OK to keep the corresponding configuration.
  • the output node corresponding to parameter logic 1 may be configured to perform the task "parameter logic 1 output".
  • the output node corresponding to the parameter logic 1 may be configured to output "Sorry, please select among optional flights, reconfirm your flight” to the second user.
  • the reply content may be output using one or more of the output forms shown in Figure 16C.
  • the output node corresponding to parameter logic 2 may be configured to perform the task "parameter logic 2 output”.
  • the output node corresponding to parameter logic 2 can be configured to output to the second user "Ok, China Southern Airlines AH123456 from Capital International Airport to Shanghai Hongqiao Airport has been booked for you on July 14, 2020, at 10:32 a.m.” .
  • the computer program when executed by one or more computing devices, causes the one or more computing devices to perform the steps of: providing a user configuration interface in which multiple types of intent nodes are provided ; Build an intent unit based on the first user's operations of selecting an intent node, configuring an intent node, and connecting an intent node on the user configuration interface; based on the intent unit, implement multiple rounds of human-machine dialogue with the second user to obtain the first Second, the key intentions of users in multi-round human-machine dialogues to realize the judgment and prediction of dialogues.
  • the computer program in the above-mentioned computer-readable storage medium can be executed in an environment deployed in computer equipment such as a client, a host, an agent device, a server, etc. It should be noted that the computer program, when executed, can also be used to perform steps other than those described above. Additional steps other than those described above are performed or more specific processing is performed when the above steps are performed. The contents of these additional steps and further processing have been mentioned in the description of the related methods and apparatuses with reference to FIG. 1 to FIG. 8 , so to avoid repetitions here No further description will be given.

Abstract

Provided are a system, a method and a device for implementing a man-machine multi-round conversation. The method comprises: providing a user configuration interface, a plurality of types of intention nodes being provided in the user configuration interface; constructing an intention unit on the basis of operations, including selecting the intention nodes, configuring the intention nodes and connecting the intention nodes, of a first user on the user configuration interface; and implementing a man-machine multi-round conversation with a second user on the basis of the intention unit, so as to acquire a key intention of the second user in the man-machine multi-round conversation, and achieve the determination and prediction of the conversation.

Description

实现人机多轮对话的系统、方法和装置System, method and device for realizing multi-round dialogue between man and machine
本申请要求申请号为202010844657.1,申请日为2020年8月20日,名称为“实现人机多轮对话的方法和装置”的中国专利申请的优先权,其中,上述申请公开的内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number of 202010844657.1 and the filing date of August 20, 2020, entitled "Method and Device for Realizing Human-Machine Multi-round Dialogue", wherein the content disclosed in the above application is incorporated by reference in this application.
技术领域technical field
本公开涉及人工智能领域,更具体地讲,涉及一种实现人机多轮对话的系统、方法和装置。The present disclosure relates to the field of artificial intelligence, and more particularly, to a system, method and apparatus for realizing multi-round dialogue between humans and machines.
背景技术Background technique
随着人工智能技术的发展,人机多轮对话的应用也越来越广泛,例如用于预定酒店、机票等的智能对话机器人。人机多轮对话旨在获取用户初步意图之后,通过一系列追问获取必要信息以最终提供与用户意图对应的信息和服务。With the development of artificial intelligence technology, the application of human-machine multi-round dialogue is becoming more and more extensive, such as intelligent dialogue robots for hotel reservations, air tickets, etc. The purpose of multi-round human-machine dialogue is to obtain the necessary information through a series of questions after obtaining the user's initial intention to finally provide information and services corresponding to the user's intention.
在人机多轮对话中,用户通常会带着初步意图而来,希望获得与自身意图对应的信息或服务(例如,订酒店、订车票、订机票、信息咨询等)。然而,面对用户的复杂对话情况,智能对话机器人程序往往难以灵活应对,无法有效地获取用户的关键意图,从而无法提供准确的信息和服务。In the multi-round human-machine dialogue, users usually come with initial intentions, hoping to obtain information or services corresponding to their intentions (for example, booking hotels, booking tickets, booking air tickets, information consultation, etc.). However, in the face of complex dialogue situations of users, intelligent dialogue bots are often difficult to deal with flexibly, and cannot effectively acquire the key intentions of users, thus failing to provide accurate information and services.
发明内容SUMMARY OF THE INVENTION
本公开的目的在于提供一种实现人机多轮对话的系统、方法和装置。The purpose of the present disclosure is to provide a system, method and device for realizing multi-turn human-machine dialogue.
本公开的第一方面提供了一种包括至少一个计算装置和至少一个存储装置的实现人机多轮对话的系统,至少一个存储装置上存储有指令,指令在被至少一个计算装置运行时,促使至少一个计算装置执行实现人机多轮对话的方法的以下步骤:提供用户配置界面,其中,用户配置界面中提供了多种类型的意图节点;基于第一用户在用户配置界面上选择意图节点、配置意图节点和连接意图节点的操作,构建意图单元;基于意图单元实现与第二用户的人机多轮对话,以获取第二用户在人机多轮对话中的关键意图,实现对话的判断预测。A first aspect of the present disclosure provides a system for implementing multi-turn human-machine dialogue including at least one computing device and at least one storage device, wherein the at least one storage device stores instructions, and the instructions, when executed by the at least one computing device, cause the At least one computing device executes the following steps of a method for implementing a multi-round human-machine dialogue: providing a user configuration interface, wherein multiple types of intent nodes are provided in the user configuration interface; selecting an intent node on the user configuration interface based on the first user, Configure the intent node and the operation of connecting the intent node, and construct the intent unit; realize the multi-round dialogue with the second user based on the intent unit, so as to obtain the key intention of the second user in the multi-round dialogue between the human and the computer, and realize the judgment and prediction of the dialogue .
本公开的第二方面提供了一种实现人机多轮对话的方法,所述方法包括:提供用户配置界面,其中,所述用户配置界面中提供了多种类型的意图节点;基于第一用户在所述用户配置界面上选择意图节点、配置意图节点和连接意图节点的操作,构建意图单元;基于所述意图单元实现与第二用户的人机多轮对话,以获取第二用户在人机多轮对话中的关键意图,实现对话的判断预测。A second aspect of the present disclosure provides a method for implementing a multi-turn human-machine dialogue, the method comprising: providing a user configuration interface, wherein multiple types of intent nodes are provided in the user configuration interface; based on the first user On the user configuration interface, select the intent node, configure the intent node, and connect the intent node to construct an intent unit; based on the intent unit, implement multiple rounds of human-machine dialogue with the second user to obtain the second user's human-computer Key intentions in multiple rounds of dialogue to realize judgment and prediction of dialogue.
本公开的第三方面提供了一种实现人机多轮对话的装置,所述装置包括:用户配置界面提供单元,提供用户配置界面,其中,用户配置界面提供单元在所述用户配置界面中提供了多种类型的意图节点;意图单元构建单元,基于第一用户在所述用户配置界面上选择意图节点、配置意图节点和连接意图节点的操作,构建意图单元;人机多轮对话实现单元,基于所述意图单元实现与第二用户的人机多轮对话,以获取第二用户在人机多轮对话中的关键意图,实现对话的判断预测。A third aspect of the present disclosure provides an apparatus for implementing a multi-turn human-machine dialogue, the apparatus comprising: a user configuration interface providing unit for providing a user configuration interface, wherein the user configuration interface providing unit provides in the user configuration interface multiple types of intent nodes; an intent unit construction unit, based on the operation of the first user to select an intent node, configure an intent node, and connect an intent node on the user configuration interface, construct an intent unit; a man-machine multi-round dialogue implementation unit, Based on the intention unit, a multi-round dialogue with the second user is implemented, so as to obtain the key intention of the second user in the multi-round dialogue between the human and the computer, so as to realize the judgment and prediction of the dialogue.
本公开的第四方面提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序在被一个或多个计算装置执行时使得所述一个或多个计算装置实现如上所述的任一方法。A fourth aspect of the present disclosure provides a computer-readable storage medium having stored thereon a computer program that, when executed by one or more computing devices, causes the one or more computing devices The apparatus implements any of the methods described above.
本公开这种可根据第一用户的自身业务需求和业务经验来灵活地在用户配置界面上 选择意图节点、配置意图节点和连接意图节点,从而构建为对话机器人程序所用的面向第二用户的意图单元。因此,对话机器人程序可以基于面向第二用户的意图单元灵活应对用户的复杂对话情况,有效地获取用户的关键意图,从而提供准确的信息和服务。The present disclosure can flexibly select intent nodes, configure intent nodes, and connect intent nodes on the user configuration interface according to the first user's own business needs and business experience, so as to construct the second user-oriented intent for the dialog robot program. unit. Therefore, the dialog robot program can flexibly respond to the user's complex dialog situation based on the intent unit oriented to the second user, and effectively acquire the user's key intent, thereby providing accurate information and services.
附图说明Description of drawings
通过下面结合示例性地示出一例的附图进行的描述,本公开的上述和其他目的和特点将会变得更加清楚,其中:The above and other objects and features of the present disclosure will become more apparent from the following description in conjunction with the accompanying drawings, which illustrate an example, wherein:
图1示出根据本公开的实施例的实现人机多轮对话的方法的流程图;1 shows a flowchart of a method for implementing a multi-round dialogue between humans and machines according to an embodiment of the present disclosure;
图2示出根据本公开的实施例的在用户配置界面构建意图单元的示意图;2 shows a schematic diagram of constructing an intent unit in a user configuration interface according to an embodiment of the present disclosure;
图3示出根据本公开的实施例的输入节点的配置的示意图;3 shows a schematic diagram of a configuration of an input node according to an embodiment of the present disclosure;
图4示出根据本公开的实施例的判断节点的配置的示意图;4 shows a schematic diagram of a configuration of a judgment node according to an embodiment of the present disclosure;
图5示出根据本公开的实施例的输入节点的配置的示意图;5 shows a schematic diagram of the configuration of an input node according to an embodiment of the present disclosure;
图6示出根据本公开的实施例的赋值节点的配置的示意图;6 shows a schematic diagram of the configuration of an assignment node according to an embodiment of the present disclosure;
图7示出根据本公开的实施例的接口节点的配置的示意图;7 shows a schematic diagram of the configuration of an interface node according to an embodiment of the present disclosure;
图8示出根据本公开的实施例的实现人机多轮对话的装置;FIG. 8 shows an apparatus for realizing multi-round dialogue between humans and machines according to an embodiment of the present disclosure;
图9示出根据本公开的实施例的人机多轮对话的示例;FIG. 9 shows an example of a multi-turn dialogue between humans and machines according to an embodiment of the present disclosure;
图10A示出针对图9示出的人机多轮对话的示例的第一轮对话的构建意图单元;Fig. 10A shows the construction intent unit of the first round of dialogue for the example of the man-machine multi-round dialogue shown in Fig. 9;
图10B示出与10A中示出的构建意图单元的输入节点的配置和判断节点的配置;10B shows the configuration of the input node and the configuration of the judgment node of the construction intent unit shown in 10A;
图10C示出与10A中示出的构建意图单元的与参数逻辑1对应的输出节点的配置和与参数逻辑2对应的输出节点的配置以及添加任务参数的配置;10C shows the configuration of the output node corresponding to parameter logic 1 and the configuration of the output node corresponding to parameter logic 2 and the configuration of adding task parameters of the build intent unit shown in 10A;
图10D示出根据本公开的实施例的添加任务参数的配置界面;10D illustrates a configuration interface for adding task parameters according to an embodiment of the present disclosure;
图11A示出针对图9示出的人机多轮对话的示例的第二轮对话的进一步构建的意图单元;FIG. 11A shows a further constructed intent unit for the second-round dialogue of the example of the man-machine multi-round dialogue shown in FIG. 9;
图11B示出与11A中示出的构建意图单元的输入节点的配置和判断节点的配置;11B shows the configuration of the input node and the configuration of the judgment node of the construction intent unit shown in 11A;
图11C示出与11A中示出的构建意图单元的与参数逻辑1对应的输出节点的配置和与参数逻辑2对应的输出节点的配置;11C shows the configuration of the output node corresponding to parameter logic 1 and the configuration of the output node corresponding to parameter logic 2 of the build intent unit shown in 11A;
图12A示出针对图9示出的人机多轮对话的示例的第三轮对话的进一步构建的意图单元;FIG. 12A shows a further constructed intent unit for the third-round dialogue of the example of the man-machine multi-round dialogue shown in FIG. 9;
图12B示出与12A中示出的构建意图单元的输入节点的配置和判断节点的配置;12B shows the configuration of the input node and the configuration of the judgment node of the construction intent unit shown in 12A;
图12C示出与12A中示出的构建意图单元的与参数逻辑1对应的输出节点的配置和与参数逻辑2对应的输出节点的配置;12C shows the configuration of the output node corresponding to parameter logic 1 and the configuration of the output node corresponding to parameter logic 2 of the build intent unit shown in 12A;
图13A示出针对图9示出的人机多轮对话的示例的第四轮对话的进一步构建的意图单元;FIG. 13A shows a further constructed intent unit for the fourth round of the example of the man-machine multi-round dialogue shown in FIG. 9;
图13B示出与13A中示出的构建意图单元的输入节点的配置和判断节点的配置;13B shows the configuration of the input node and the configuration of the judgment node of the construction intent unit shown in 13A;
图13C示出与13A中示出的构建意图单元的与参数逻辑1对应的输出节点的配置和与参数逻辑2对应的输出节点的配置;13C shows the configuration of the output node corresponding to parameter logic 1 and the configuration of the output node corresponding to parameter logic 2 of the build intent unit shown in 13A;
图14A示出针对图9示出的人机多轮对话的示例的第五轮对话和第六轮对话的进一步构建的意图单元;FIG. 14A shows a further constructed intent unit for the fifth-round dialogue and the sixth-round dialogue of the example of the human-machine multi-round dialogue shown in FIG. 9;
图14B示出与14A中示出的构建意图单元的基于第五轮对话的输入节点的配置、赋值节点和判断节点的配置;Figure 14B shows the configuration of the fifth-round dialogue-based input node, the assignment node, and the judgment node with the construction intent unit shown in 14A;
图14C示出与14A中示出的构建意图单元的基于第五轮对话的与参数逻辑1对应的输出节点的配置、与参数逻辑2对应的输出节点的配置;Fig. 14C shows the configuration of the output node corresponding to parameter logic 1 and the configuration of the output node corresponding to parameter logic 2 based on the fifth round of dialogue with the construction intent unit shown in 14A;
图14D示出14A中示出的构建意图单元的基于第六轮对话的输入节点和判断节点的配置;14D shows the configuration of the sixth-round dialogue-based input node and judgment node of the construction intent unit shown in 14A;
图14E示出14A中示出的构建意图单元的基于第六轮对话的与参数逻辑1对应的输出节点的配置和与参数逻辑2对应的输出节点的配置;Fig. 14E shows the configuration of the output node corresponding to parameter logic 1 and the configuration of the output node corresponding to parameter logic 2 based on the sixth round of dialogue of the construction intent unit shown in 14A;
图15A示出针对图9示出的人机多轮对话的示例的第八轮对话的进一步构建的意图单元;FIG. 15A shows a further constructed intent unit for the eighth-round dialogue of the example of the man-machine multi-round dialogue shown in FIG. 9;
图15B示出与15A中示出的构建意图单元的输入节点的配置和判断节点的配置;15B shows the configuration of the input node and the configuration of the judgment node of the construction intent unit shown in 15A;
图15C示出与15A中示出的构建意图单元的与参数逻辑1对应的输出节点的配置和与参数逻辑2对应的输出节点以及赋值节点的配置;Figure 15C shows the configuration of the output node corresponding to parameter logic 1 and the configuration of the output node corresponding to parameter logic 2 and the assignment node of the build intent unit shown in 15A;
图16A示出针对图9示出的人机多轮对话的示例的第九轮对话的进一步构建的意图单元;FIG. 16A shows a further constructed intent unit for the ninth round of the example of the man-machine multi-round dialogue shown in FIG. 9;
图16B示出与16A中示出的构建意图单元的输入节点的配置和判断节点的配置;16B shows the configuration of the input node and the configuration of the judgment node of the construction intent unit shown in 16A;
图16C示出与16A中示出的构建意图单元的与参数逻辑1对应的输出节点的配置和与参数逻辑2对应的输出节点以及赋值节点的配置。FIG. 16C shows the configuration of the output node corresponding to the parameter logic 1 and the configuration of the output node corresponding to the parameter logic 2 and the assignment node of the build intent unit shown in 16A.
具体实施方式detailed description
为了使本领域技术人员更好地理解本公开,下面结合附图和具体实施方式对本公开的示例性实施例作进一步详细说明,以帮助全面理解由权利要求及其等同物限定的本公开的示例性实施例。所述描述包括各种特定细节以帮助理解,但这些细节被认为仅是示例性的。因此,本领域的普通技术人员将认识到:在不脱离本公开的范围和精神的情况下,可对这里描述的实施例进行各种改变和修改。此外,为了清楚和简明,可省略已知功能和构造的描述。在此需要说明的是,在本公开中出现的“若干项之中的至少一项”均表示包含“该若干项中的任意一项”、“该若干项中的任意多项的组合”、“该若干项的全体”这三类并列的情况。在本公开中出现的“和/或”均表示被其连接的前后两项或多项中的至少一项。例如,“包括A和B之中的至少一个”、“包括A和/或B”即包括如下三种并列的情况:(1)包括A;(2)包括B;(3)包括A和B。又例如,“执行步骤一和步骤二之中的至少一个”、“执行步骤一和/或步骤二”即表示如下三种并列的情况:(1)执行步骤一;(2)执行步骤二;(3)执行步骤一和步骤二。也就是说,“A和/或B”也可被表示为“A和B之中的至少一个”,“执行步骤一和/或步骤二”也可被表示为“执行步骤一和步骤二之中的至少一个”。In order for those skilled in the art to better understand the present disclosure, the exemplary embodiments of the present disclosure will be described in further detail below in conjunction with the accompanying drawings and the specific embodiments, so as to help a comprehensive understanding of the examples of the present disclosure defined by the claims and their equivalents. Sexual Example. The description includes various specific details to assist in that understanding, but these details are considered to be exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions may be omitted for clarity and conciseness. It should be noted here that "at least one of several items" in the present disclosure all means including "any one of the several items", "a combination of any of the several items", The three categories of "the whole of the several items" are juxtaposed. In the present disclosure, "and/or" all means at least one of the preceding two or more items joined by it. For example, "including at least one of A and B" and "including A and/or B" include the following three parallel situations: (1) including A; (2) including B; (3) including A and B . For another example, "execute at least one of step 1 and step 2", "execute step 1 and/or step 2" means the following three parallel situations: (1) execute step 1; (2) execute step 2; (3) Execute step one and step two. That is to say, "A and/or B" can also be expressed as "at least one of A and B", and "execute step 1 and/or step 2" can also be expressed as "execute step 1 and step 2" at least one of".
图1示出根据本公开的实施例的实现人机多轮对话的方法的流程图。FIG. 1 shows a flowchart of a method for implementing a multi-turn human-machine dialogue according to an embodiment of the present disclosure.
参照图1,在步骤S110中,提供用户配置界面,其中,用户配置界面中提供了多种类型的意图节点。Referring to FIG. 1, in step S110, a user configuration interface is provided, wherein the user configuration interface provides multiple types of intent nodes.
这里,不同类型的意图节点可以用于执行不同的操作。根据本公开的实施例,多种类型的意图节点包括如下中的一种或多种:输入节点、判断节点、输出节点、赋值节点和接口节点。后面将对这些节点进行更详细的描述。Here, different types of intent nodes can be used to perform different actions. According to an embodiment of the present disclosure, the various types of intent nodes include one or more of the following: an input node, a judgment node, an output node, an assignment node, and an interface node. These nodes will be described in more detail later.
在步骤S120中,基于第一用户在用户配置界面上选择意图节点、配置意图节点和连接意图节点的操作,构建意图单元。In step S120, an intent unit is constructed based on the first user's operations of selecting an intent node, configuring an intent node, and connecting an intent node on the user configuration interface.
也就是说,第一用户可以是构建意图单元的用户。例如,第一用户可以是提供信息或服务(例如,订酒店、订车票、订机票、信息咨询等)的服务商。That is, the first user may be the user who builds the intent unit. For example, the first user may be a service provider that provides information or services (eg, hotel reservation, bus ticket reservation, air ticket reservation, information consultation, etc.).
这里,第一用户可根据自身业务需求和业务经验来灵活地选择来在用户配置界面上选择意图节点、配置意图节点和连接意图节点,从而构建为对话机器人程序所用的面向第二用户的灵活的意图单元。Here, the first user can flexibly choose to select intent nodes, configure intent nodes, and connect intent nodes on the user configuration interface according to their own business needs and business experience, so as to build a flexible second-user-oriented dialog robot program. Intent unit.
例如,第一用户可根据业务背景(例如,其目标用户(例如,使用由第一用户提供的信息或服务的第二用户)的历史数据(例如,与需求、习惯和/或偏好等相关的数据))来在用户配置界面上选择意图节点、配置意图节点和连接意图节点,从而构建面向第二用户的灵活的意图单元。然而,本公开不限于此,第一用户也可以根据任意其他方法来在用户配置界面上选择意图节点、配置意图节点和连接意图节点,从而构建面向第二用户的灵活的意图单元。在本公开中,单个意图单元可以执行单意图人机多轮对话。For example, the first user may be based on historical data (eg, related to needs, habits, and/or preferences, etc.) based on business context (eg, its target users (eg, second users using information or services provided by the first user) data)) to select intent nodes, configure intent nodes, and connect intent nodes on the user configuration interface, thereby constructing a flexible intent unit for the second user. However, the present disclosure is not limited thereto, and the first user may also select intent nodes, configure intent nodes, and connect intent nodes on the user configuration interface according to any other method, thereby constructing a flexible intent unit for the second user. In the present disclosure, a single intent unit can execute multiple rounds of a single-intent human-machine dialogue.
在步骤S130中,基于意图单元实现与第二用户的人机多轮对话,以获取第二用户在 人机多轮对话中的关键意图,实现对话的判断预测。In step S130, based on the intention unit, the human-machine multi-round dialogue with the second user is realized, so as to obtain the key intention of the second user in the human-machine multi-round dialogue, so as to realize the judgment and prediction of the dialogue.
由于意图单元被第一用户灵活配置为供对话机器人程序所用的面向第二用户的意图单元,因此,对话机器人程序可基于意图单元灵活并有效地实现与第二用户的人机多轮对话,以获取第二用户的明确指令。Since the intent unit is flexibly configured by the first user as an intent unit for the second user used by the conversational robot program, the conversational robot program can flexibly and effectively implement multi-turn human-machine conversations with the second user based on the intent unit, so as to Obtain explicit instructions from the second user.
作为示例,实现人机多轮对话的方法可由提供服务或信息的对话机器人程序来执行。As an example, the method of implementing a multi-turn dialogue between humans and machines may be performed by a dialogue robot program that provides services or information.
图2示出根据本公开的实施例的在用户配置界面构建意图单元的示意图。FIG. 2 shows a schematic diagram of constructing an intent unit in a user configuration interface according to an embodiment of the present disclosure.
参照图2,在图2中,用户配置界面200可包括布置有多种类型的意图节点的第一区域210和用于构建意图单元的第二区域220。Referring to FIG. 2, in FIG. 2, a user configuration interface 200 may include a first area 210 in which various types of intent nodes are arranged and a second area 220 for constructing an intent unit.
这里,请注意,第一区域210和第二区域220的大小和位置可以任意设置,而不限于图2中的示例。此外,虽然图2示出了五种类型的意图节点(即,输入节点、判断节点、输出节点、赋值节点和接口节点),然而,本公开的意图节点不限于上述节点,或者可包括输入节点、判断节点、输出节点、赋值节点和接口节点中的一个或多个。此外,这里的意图节点均是能够有第一用户进行配置,因此,可根据第一用户的需要提供个性化的服务或功能。Here, please note that the sizes and positions of the first area 210 and the second area 220 may be arbitrarily set, and are not limited to the example in FIG. 2 . Furthermore, although FIG. 2 shows five types of intent nodes (ie, input nodes, judgment nodes, output nodes, assignment nodes, and interface nodes), the intent nodes of the present disclosure are not limited to the above-mentioned nodes, or may include input nodes , one or more of a judgment node, an output node, an assignment node, and an interface node. In addition, all the intent nodes here can be configured by the first user, so personalized services or functions can be provided according to the needs of the first user.
这里,作为示例,当第一用户想要构建意图单元时,第一用户可从第一区域选择(例如,拖拽、点击等)意图节点,使得第二区域中出现选择的对应的意图节点。此外,第一用户可灵活地配置选择的意图节点,使得意图节点可根据灵活的配置来执行各自功能或操作,从而可获取第二用户的关键意图,并满足第二用户的使用需求或意图需求。Here, as an example, when a first user wants to build an intent unit, the first user may select (eg, drag, click, etc.) an intent node from the first area, so that the selected corresponding intent node appears in the second area. In addition, the first user can flexibly configure the selected intent node, so that the intent node can perform respective functions or operations according to the flexible configuration, so that the key intent of the second user can be acquired and the usage requirements or intent requirements of the second user can be met. .
另外,第一用户还可以对选择的意图节点进行连接,使得连接的意图节点可以按照连接的逻辑关系来执行与意图单元对应的操作。In addition, the first user can also connect the selected intent nodes, so that the connected intent nodes can perform operations corresponding to the intent units according to the connected logical relationship.
作为非限制性的示例,当意图节点被选择时,可出现贝塞尔曲线,直到拖入下一个意图节点,前后置节点可自动连接,并且连接完成的节点和箭头还可更改。然而,上述示例是非限制性的,本公开不对意图节点的具体选择方式和连接方式进行限制。As a non-limiting example, when an intent node is selected, a bezier curve can appear until the next intent node is dragged in, the front and rear nodes can be automatically connected, and the connected nodes and arrows can be changed. However, the above examples are non-limiting, and the present disclosure does not limit the specific selection manner and connection manner of the intended nodes.
由于第一用户可根据业务场景或实际需求灵活配置用于第二用户的意图单元,因此,具有灵活配置的意图单元的对话机器人程序能够有效地向第二用户提供与其意图相符的信息或服务。Since the first user can flexibly configure the intent unit for the second user according to business scenarios or actual needs, the dialogue robot program with the flexibly configured intent unit can effectively provide the second user with information or services consistent with his intent.
图3示出根据本公开的实施例的输入节点的配置的示意图。FIG. 3 shows a schematic diagram of the configuration of an input node according to an embodiment of the present disclosure.
这里,请注意,图3示出的输入节点的配置是示意性的,本公开不限于此。本公开的输入节点可包括图3中示出的配置项中的一个或多个,或者可包括其他配置项。Here, please note that the configuration of the input nodes shown in FIG. 3 is schematic, and the present disclosure is not limited thereto. An input node of the present disclosure may include one or more of the configuration items shown in FIG. 3 , or may include other configuration items.
在本公开的一个实施例中,输入节点的配置项包括:用于触发任务的触发问法和与触发问法相似的问法、槽位和任务参数,其中,槽位基于触发问法和与触发问法相似的问法来设置,其中,任务参数基于触发问法和/或与触发问法相似的问法来设置。In an embodiment of the present disclosure, the configuration items of the input node include: a trigger method for triggering a task, a method similar to the trigger method, a slot, and a task parameter, wherein the slot is based on the trigger method and the Trigger-like questions are set, wherein task parameters are set based on trigger questions and/or trigger-like questions.
参照图3,输入节点的配置项可包括用于触发任务“酒店预订”的触发问法(例如,第二用户向对话机器人程序对话“请帮我预订A酒店”和“帮我订酒店”)和与触发问法相似的问法(例如,第二用户向对话机器人程序对话“我要订酒店”和“帮我订酒店”)。Referring to FIG. 3, the configuration item of the input node may include a trigger method for triggering the task "hotel reservation" (eg, the second user talks to the dialog robot program "please book hotel A for me" and "book hotel for me") and similar questions to trigger questions (eg, the second user talks to the conversational bot "I want to book a hotel" and "help me book a hotel").
此外,输入节点的配置项可包括基于触发问法“请帮我预订A酒店”而设置的槽位“酒店名称”,此时,槽位“酒店名称”的信息可以是“A酒店”。In addition, the configuration item of the input node may include the slot "hotel name" set based on the triggering question "please help me book hotel A". In this case, the information of the slot "hotel name" may be "hotel A".
另外,输入节点的配置项还可包括基于触发问法和/或与触发问法相似的问法来设置的任务参数(例如,酒店名称、入住时间等)。In addition, the configuration items of the input node may also include task parameters (eg, hotel name, check-in time, etc.) that are set based on the trigger method and/or a method similar to the trigger method.
在第一用户配置输入节点的过程中,第一用户还可根据情况删除已配置的像或添加新的配置项,从而使得配置项能够满足第二用户的使用需求。During the process of configuring the input node by the first user, the first user can also delete the configured image or add a new configuration item according to the situation, so that the configuration item can meet the usage requirement of the second user.
优选地,输入节点的配置项还可包括用于跳转到其他输入节点的跳转问法。因此,即使第二用户的当前对话信息与当前输入节点不匹配时,也可以通过用于跳转到其他输入节点的跳转问法将第二用户的当前对话信息跳转到对应的输入节点,从而可以使多轮人机对话可正常进行,保证第二用户的顺畅使用。Preferably, the configuration item of the input node may further include a jumping method for jumping to other input nodes. Therefore, even when the current dialog information of the second user does not match the current input node, the current dialog information of the second user can be jumped to the corresponding input node by using the jumping method for jumping to other input nodes, Therefore, the multi-round man-machine dialogue can be carried out normally, and the smooth use of the second user can be ensured.
在一个示例中,初始输入节点不会出现前置跳转问法设置。In one example, the initial input node does not have a forward jump query setting.
此外,贯穿附图,笔的符号可表示可输入信息,垃圾桶可表示可删除。Furthermore, throughout the drawings, the symbol of the pen may indicate that information can be entered, and the trash can indicate that it can be deleted.
图4示出根据本公开的实施例的判断节点的配置的示意图。FIG. 4 shows a schematic diagram of a configuration of a judgment node according to an embodiment of the present disclosure.
这里,请注意,图4示出的判断节点的配置是示意性的,本公开不限于此。本公开的判断节点可包括图4中示出的配置项中的一个或多个,或者可包括其他配置项。Here, please note that the configuration of the judgment node shown in FIG. 4 is schematic, and the present disclosure is not limited thereto. The judgment node of the present disclosure may include one or more of the configuration items shown in FIG. 4 , or may include other configuration items.
在一个实施例中,判断节点的配置项包括参数逻辑,其中,参数逻辑对上一节点获得的值与已知值或自定义值进行逻辑条件判断,并基于互斥的判断结果来确定判断节点的下一节点。In one embodiment, the configuration item of the judgment node includes parameter logic, wherein the parameter logic performs logical condition judgment on the value obtained by the previous node and the known value or the user-defined value, and determines the judgment node based on the mutually exclusive judgment results the next node.
优选地,参数逻辑可包括与槽位为空对应的参数逻辑。因此,当第二用户在多轮人机对话中槽位为空的情况下,对话机器人程序也可提供对应的逻辑判断机制,从而使多轮人机对话顺利进行。Preferably, the parameter logic may include parameter logic corresponding to an empty slot. Therefore, when the slot of the second user is empty in the multi-round man-machine dialogue, the dialogue robot program can also provide a corresponding logical judgment mechanism, so that the multi-round man-machine dialogue can proceed smoothly.
参照图4,判断节点的配置项包括参数逻辑1和参数逻辑2。这里,参数逻辑1可对应于“酒店名称”为空的情况,参数逻辑2可对应于“酒店名称”为A酒店的情况。第一用户可通过按钮“保存逻辑”对配置好的参数逻辑进行保存。此时,判断节点的任务可被配置为“酒店”。这里,参数逻辑1和参数逻辑2是并行的参数逻辑。Referring to FIG. 4 , the configuration items of the judgment node include parameter logic 1 and parameter logic 2 . Here, parameter logic 1 may correspond to the case where "hotel name" is empty, and parameter logic 2 may correspond to the case where "hotel name" is A hotel. The first user can save the configured parameter logic through the button "Save Logic". At this time, the task of the judgment node can be configured as "hotel". Here, parameter logic 1 and parameter logic 2 are parallel parameter logics.
例如,在第二用户向对话机器人程序对话“请帮我预订A酒店”的情况下,判断节点可判断参数逻辑1(即,酒店名称=[A酒店])成立,然后根据参数逻辑1判断下一节点。又例如,在第二用户向对话机器人程序对话“请帮我预订酒店”的情况下,判断节点可判断参数逻辑2(即,酒店名称为空)成立,然后根据参数逻辑2判断下一节点。For example, when the second user talks to the dialogue robot program "Please help me book hotel A", the judgment node can judge that the parameter logic 1 (ie, hotel name=[A hotel]) is established, and then judge the following according to the parameter logic 1. a node. For another example, when the second user talks "please book a hotel for me" to the dialogue robot program, the judgment node can judge that parameter logic 2 (ie, the hotel name is empty) is established, and then judge the next node according to parameter logic 2.
在一个示例中,参数逻辑的配置项可包括自定义判断值、自定义逻辑关系和自定义参考值,其中,参数逻辑被配置为确定自定义判断值与自定义参考值是否满足自定义逻辑关系,并基于确定的结果来确定判断节点的下一节点。In one example, the configuration items of the parameter logic may include a user-defined judgment value, a user-defined logical relationship, and a user-defined reference value, wherein the parameter logic is configured to determine whether the user-defined judgment value and the user-defined reference value satisfy the user-defined logic relationship , and determine the next node of the judgment node based on the determined result.
换言之,当参数逻辑确定自定义判断值与自定义参考值满足自定义逻辑关系时,则判断节点的下一节点被确定为对应于自定义判断值与自定义参考值满足自定义逻辑关系的情况的下一节点;当参数逻辑确定自定义判断值与自定义参考值不满足自定义逻辑关系时,则判断节点的下一节点被确定为对应于自定义判断值与自定义参考值不满足自定义逻辑关系的情况的下一节点。In other words, when the parameter logic determines that the custom judgment value and the custom reference value satisfy the custom logic relationship, the next node of the judgment node is determined to correspond to the situation where the custom judgment value and the custom reference value satisfy the custom logic relationship When the parameter logic determines that the user-defined judgment value and the user-defined reference value do not satisfy the user-defined logical relationship, the next node of the judgment node is determined to correspond to the user-defined judgment value and the user-defined reference value that do not satisfy the self-defined logical relationship. The next node of the case that defines the logical relationship.
这里,自定义判断值包括从上一节点接收的数据中的任务参数值、参数词典中的参数值和接口返回值中的至少一个。这里,参数词典可以是预先设计的包括参数值的数据库。接口返回值可以从接口节点返回的值或数据集。请注意,参数字典由于具有多项参数值,因此,参数字典无法使用逻辑关系“等于”。Here, the custom judgment value includes at least one of the task parameter value in the data received from the previous node, the parameter value in the parameter dictionary, and the interface return value. Here, the parameter dictionary may be a pre-designed database including parameter values. The interface return value can be a value or data set returned from the interface node. Note that the parameter dictionary cannot use the logical relationship "equals" because it has multiple parameter values.
此外,自定义参考值可包括参数词典中的集合值、接口返回值和自定义值中的至少一个。自定义逻辑关系是由第一用户根据意图节点设置的自定义判断值与自定义参考值之间的逻辑关系。Additionally, the custom reference value may include at least one of a set value in the parameter dictionary, an interface return value, and a custom value. The custom logical relationship is the logical relationship between the custom judgment value set by the first user according to the intent node and the custom reference value.
作为非限制性的示例,自定义逻辑关系可包括“为空”、“非空”、“等于”、“不等于”、“大于”、“小于”、“属于”、“不属于”、“包含”、“不包含”、“且”和/或“或”。As non-limiting examples, custom logical relationships may include "is empty", "not empty", "equal to", "not equal to", "greater than", "less than", "belongs to", "does not belong to", " includes", "excluding", "and" and/or "or".
图5示出根据本公开的实施例的输入节点的配置的示意图。FIG. 5 shows a schematic diagram of a configuration of an input node according to an embodiment of the present disclosure.
这里,请注意,图5示出的输出节点的配置是示意性的,本公开不限于此。本公开的输出节点可包括图5中示出的配置项中的一个或多个,或者可包括其他配置项。Here, please note that the configuration of the output nodes shown in FIG. 5 is schematic, and the present disclosure is not limited thereto. The output node of the present disclosure may include one or more of the configuration items shown in FIG. 5 , or may include other configuration items.
根据本公开的实施例,输出节点的配置项包括以预定形式向第二用户输出回复内容的配置项。According to an embodiment of the present disclosure, the configuration item of the output node includes a configuration item of outputting the reply content to the second user in a predetermined form.
参照图5,输出节点被配置为执行任务“机器人询问酒店名称”。这里,第一用户可以配置多条回复内容。例如,第一用户可以配置回复内容“请问您想订哪家酒店?”。在一个示例中,第一用户可以基于第二用户的意图和对话上下文来配置回复内容。Referring to Figure 5, the output node is configured to perform the task "Robot asks for hotel name". Here, the first user can configure multiple reply contents. For example, the first user can configure the reply content "Which hotel would you like to book?". In one example, the first user may configure the reply content based on the second user's intent and the context of the conversation.
此外,参照图5,向第二用户输出回复内容的预定形式可包括图片、语音、链接、菜单和富文本。In addition, referring to FIG. 5 , the predetermined form of outputting the reply content to the second user may include pictures, voices, links, menus and rich texts.
在一个示例中,当第二用户通过机器人的显示屏幕与对话机器人程序进行多轮人机对话以提供信息查询服务时,对话机器人程序可通过显示屏幕来以图片、链接、菜单和富文本的形式向第二用户输出对话机器人程序的回复内容。在另一个示例中,当第二用户通过对话机器人程序的语音对话模块与对话机器人程序进行多轮人机对话以提供客服服务时,对话机器人程序可通过语音对话模块来以语音的形式向第二用户输出对话机器人程序的回复内容。In one example, when the second user conducts multiple rounds of man-machine dialogue with the dialogue robot program through the display screen of the robot to provide information query services, the dialogue robot program can display pictures, links, menus and rich text through the display screen. The reply content of the dialogue robot program is output to the second user. In another example, when the second user conducts multiple rounds of man-machine dialogue with the dialogue robot program through the voice dialogue module of the dialogue robot program to provide customer service, the dialogue robot program can use the voice dialogue module to speak to the second user in the form of voice. The user outputs the content of the reply from the dialog bot.
然而,上述示例是非限制性的,任何其他预定形式也是可行的。However, the above examples are non-limiting and any other predetermined form is possible.
其中,输出节点的内容编辑器默认状态下的文本框还支持添加已获得的任务参数及接口节点的输出参数,即接口返回值,回复更个性化的话术。例如回复:好的,已为您预定{时间},{出发机场}去往{目的机场}的{航班}。(符号{}内的内容表示参数值,此例中{时间}、{出发机场}、{目的机场}为任务参数,{航班}为接口返回值。)Among them, the text box in the default state of the content editor of the output node also supports adding the obtained task parameters and the output parameters of the interface node, that is, the return value of the interface, and replying to more personalized words. For example, reply: OK, {time}, {departure airport} to {destination airport} {flight} has been booked for you. (The content in the symbol {} represents the parameter value. In this example, {time}, {departure airport}, {destination airport} are task parameters, and {flight} is the return value of the interface.)
换言之,输出节点可被配置为基于任务参数和接口返回值来提供多形式回复,从而满足第二用户的各种各样的需求。In other words, the output node can be configured to provide multi-form replies based on task parameters and interface return values to meet various needs of the second user.
图6示出根据本公开的实施例的赋值节点的配置的示意图。FIG. 6 shows a schematic diagram of the configuration of a value node according to an embodiment of the present disclosure.
这里,请注意,图6示出的赋值节点的配置是示意性的,本公开不限于此。本公开的赋值节点可包括图6中示出的配置项中的一个或多个,或者可包括其他配置项。Here, please note that the configuration of the assignment node shown in FIG. 6 is schematic, and the present disclosure is not limited thereto. The value node of the present disclosure may include one or more of the configuration items shown in FIG. 6 , or may include other configuration items.
根据本公开的实施例,赋值节点的配置项可包括参数重置和自定义赋值中的至少一个,其中,参数重置包括基于从赋值节点的上一节点接收的数据的槽位信息更迭,自定义赋值用于支持用户标签功能。由于配置了自定义赋值以支持用户标签功能,从而对话机器人程序在支持的业务场景的同时,在场景节点支持业务标签功能,以实现用户画像的数据沉淀与反馈。According to an embodiment of the present disclosure, the configuration item of the assignment node may include at least one of parameter reset and self-defined assignment, wherein the parameter reset includes changing the slot information based on the data received from the previous node of the assignment node, and automatically Definition assignments are used to support the user tag functionality. Since the custom assignment is configured to support the user tag function, the dialogue robot program supports the business tag function in the scene node while supporting the business scenario, so as to realize the data precipitation and feedback of the user portrait.
参照图6,赋值节点被配置为执行任务“客户类型”。这里,槽位可以通过先前的节点来获取。在图6中,参数重置可包括酒店名称或入住时间。Referring to Figure 6, an assignment node is configured to perform the task "client type". Here, the slot can be obtained by the previous node. In Figure 6, the parameter reset may include hotel name or check-in time.
此外,在图6中,作为示例,自定义赋值可以被配置为第二用户的客户类型,其中,客户类型被示出为包括意向用户、潜在用户和无效客户。因此,可在第二用户的多轮人机对话中,实现对客户的有效分类。Furthermore, in FIG. 6, as an example, a custom assignment may be configured as a customer type of the second user, wherein the customer type is shown to include intended users, potential users, and invalid customers. Therefore, in the multi-round man-machine dialogue of the second user, the effective classification of customers can be realized.
图7示出根据本公开的实施例的接口节点的配置的示意图。FIG. 7 shows a schematic diagram of the configuration of an interface node according to an embodiment of the present disclosure.
这里,请注意,图7示出的接口节点的配置是示意性的,本公开不限于此。本公开的接口节点可包括图7中示出的配置项中的一个或多个,或者可包括其他配置项。Here, please note that the configuration of the interface node shown in FIG. 7 is schematic, and the present disclosure is not limited thereto. The interface node of the present disclosure may include one or more of the configuration items shown in FIG. 7 , or may include other configuration items.
根据本公开的实施例,接口节点的配置项包括被配置为支持接口信息调取配置的配置项。According to an embodiment of the present disclosure, the configuration item of the interface node includes a configuration item configured to support interface information retrieval configuration.
参照图7,接口节点可被配置为对应于任务“空房查询”。这里,接口节点的配置项“接口名称”可被配置为调用与“接口名称”对应的接口,这里,接口节点的配置项“URL”可被配置为调用与“URL”对应的统一资源定位符。接口节点的配置项“请求类型”可根据第一用户的配置而被选择为不同类型,目前提供HTTP_GET/HTTP_POST两种。Referring to FIG. 7, the interface node may be configured to correspond to the task "vacancy query". Here, the configuration item "interface name" of the interface node can be configured to call the interface corresponding to the "interface name", and here, the configuration item "URL" of the interface node can be configured to call the uniform resource locator corresponding to the "URL" . The configuration item "request type" of the interface node can be selected as different types according to the configuration of the first user. Currently, HTTP_GET and HTTP_POST are provided.
此外,第一用户还可根据与第二用户的意图对应的规定来设置输入参数和输出参数来更好地提供接口返回值。例如,当第二用户意图预定酒店时,第一用户可通过从用户处获取的参数值(例如,关于酒店名称、入住时间、入住房型等信息)的配置,并关于输出参数的配置项可基于输入参数的配置项来配置。(例如,基于酒店名称、入住时间、入住房型等信息从接口调用对应条件满足的空房信息)In addition, the first user can better provide the interface return value by setting input parameters and output parameters according to the regulations corresponding to the intention of the second user. For example, when the second user intends to book a hotel, the first user can configure the parameter values obtained from the user (for example, information about hotel name, check-in time, room type, etc.), and the configuration items about the output parameters can be based on Enter the configuration item of the parameter to configure. (For example, based on the hotel name, check-in time, check-in room type and other information, the vacancy information that meets the corresponding conditions is called from the interface)
图8示出根据本公开的实施例的实现人机多轮对话的装置。FIG. 8 shows an apparatus for realizing multi-turn dialogue between humans and machines according to an embodiment of the present disclosure.
参照图8,实现人机多轮对话的装置800可包括用户配置界面提供单元810、意图单元构建单元820和人机多轮对话实现单元830。Referring to FIG. 8 , the apparatus 800 for implementing a multi-turn human-machine dialogue may include a user configuration interface providing unit 810 , an intention unit constructing unit 820 and a human-machine multi-turn dialogue implementing unit 830 .
用户配置界面提供单元810可提供用户配置界面,其中,用户配置界面提供单元810在用户配置界面中提供了多种类型的意图节点。意图单元构建单元820可基于第一用户在用户配置界面上选择意图节点、配置意图节点和连接意图节点的操作,构建意图单元。人 机多轮对话实现单元830可基于意图单元实现与第二用户的人机多轮对话,以获取第二用户的明确指令。The user configuration interface providing unit 810 may provide a user configuration interface, wherein the user configuration interface providing unit 810 provides various types of intent nodes in the user configuration interface. The intent unit construction unit 820 may construct the intent unit based on the operations of the first user to select the intent node, configure the intent node, and connect the intent node on the user configuration interface. The man-machine multi-turn dialogue realization unit 830 may implement the man-machine multi-turn dialogue with the second user based on the intention unit, so as to obtain explicit instructions of the second user.
换言之,用户配置界面提供单元810可执行参照图1描述的步骤110,意图单元构建单元820可执行参照图1描述的步骤120,人机多轮对话实现单元830可执行参照图1描述的步骤130。因此,参照图2至图7描述的用户配置界面、各种类型的节点也可适用于图8的实现人机多轮对话的装置800。为了简洁,这里不再重复相同的描述。In other words, the user configuration interface providing unit 810 may perform step 110 described with reference to FIG. 1 , the intent unit building unit 820 may perform step 120 described with reference to FIG. 1 , and the human-machine multi-turn dialogue implementing unit 830 may perform step 130 described with reference to FIG. 1 . . Therefore, the user configuration interface and various types of nodes described with reference to FIG. 2 to FIG. 7 are also applicable to the apparatus 800 of FIG. 8 for realizing multi-round dialogue between humans and machines. For brevity, the same description is not repeated here.
图9示出根据本公开的实施例的人机多轮对话的示例。FIG. 9 shows an example of a human-machine multi-turn dialogue according to an embodiment of the present disclosure.
参照图9,人机多轮对话的示例(或目标对话)被示出为机票预订,然而,本公开不限于此,人机多轮对话的示例还可包括订酒店、订车票、信息咨询等。Referring to FIG. 9 , an example of a human-machine multi-turn dialogue (or a target dialogue) is shown as flight booking, however, the present disclosure is not limited thereto, and the example of the human-machine multi-turn dialogue may also include hotel reservation, train ticket reservation, information consultation, etc. .
在图9中,USER可表示与对话机器人程序ROBT进行多轮人机对话的第二用户。In FIG. 9 , USER may represent a second user who conducts multiple rounds of man-machine dialogue with the dialogue robot program ROBT.
后面将结合图10A至描述基于图9示出的人机多轮对话的示例配置意图单元的示例。请注意,图9至示出的示例是出于说明的示例,本公开的意图单元和意图节点的配置不限于上述示例。此外,应理解,图10A至图描述的意图节点的配置是参照图3至图7描述的意图节点的示例,因此,参照参照图3至图7描述的意图节点的配置的描述也适用于图10A至图描述的意图节点的配置。因此,为了描述的简洁,将省略重复的描述。An example of the configuration intent unit based on the example of the man-machine multi-turn dialogue shown in FIG. 9 will be described later with reference to FIG. 10A . Note that the examples shown in FIGS. 9 to 9 are for illustrative purposes, and the configurations of intent units and intent nodes of the present disclosure are not limited to the above examples. Furthermore, it should be understood that the configurations of the intent nodes described with reference to FIGS. 10A to 7 are examples of the intent nodes described with reference to FIGS. 3 to 7 , and thus, the descriptions of the configurations of the intent nodes described with reference to FIGS. 3 to 7 also apply to the graphs 10A to Figures describe the configuration of the intent node. Therefore, for the sake of brevity of description, repeated descriptions will be omitted.
图10A示出针对图9示出的人机多轮对话的示例的第一轮对话的构建意图单元;图10B示出与10A中示出的构建意图单元的输入节点的配置和判断节点的配置;图10C示出与10A中示出的构建意图单元的与参数逻辑1对应的输出节点的配置和与参数逻辑2对应的输出节点的配置以及添加任务参数的配置。FIG. 10A shows the construction intent unit for the first round of the example of the man-machine multi-round dialogue shown in FIG. 9 ; FIG. 10B shows the configuration of the input node and the configuration of the judgment node with the construction intent unit shown in 10A ; FIG. 10C shows the configuration of the output node corresponding to the parameter logic 1 and the configuration of the output node corresponding to the parameter logic 2 and the configuration of adding task parameters of the construction intent unit shown in 10A.
图9示出的人机多轮对话的示例的第一轮对话中的第二用户的对话内容为“请帮我订一张机票”。第一用户可基于第二用户的对话内容“请帮我订一张机票”构建图10A中所示的意图单元。The dialogue content of the second user in the first round of dialogue in the example of the man-machine multi-round dialogue shown in FIG. 9 is "please book a flight ticket for me". The first user can construct the intent unit shown in FIG. 10A based on the dialogue content of the second user "please book a flight ticket for me".
参照图10B,输入节点被配置为执行任务“订机票”。第二用户可将输入节点的配置项“触发问法”配置为包括“请帮我预定一张机票”和“帮我预定机票”,并将输入节点的配置项“相似问法”配置为包括“订机票”。这里,第二用户还可配置槽位“票数”。根据第二用户的对话内容“请帮我订一张机票”,槽位的信息可以是“一张”。在第二用户的对话内容为“请帮我订一张机票”的情况下,跳转问法没有被触发。在配置完输入节点之后,第一用户可以点击确定来保持相应的配置。Referring to Figure 10B, the input node is configured to perform the task "book a flight". The second user may configure the configuration item "Trigger Question" of the input node to include "Please book a ticket for me" and "Book a ticket for me", and configure the configuration item "Similar Question" of the input node to include "book a flight". Here, the second user can also configure the slot "votes". According to the dialogue content of the second user "please book a ticket for me", the information of the slot may be "one". In the case where the second user's dialogue content is "please book a ticket for me", the jump question method is not triggered. After configuring the input node, the first user can click OK to keep the corresponding configuration.
在图10B中,判断节点可被配置为执行任务“票数判断”。第二用户可将参数逻辑配置为包括参数逻辑1和参数逻辑2,其中,参数逻辑1被配置为指示“票数为空”的情况,参数逻辑2被配置为指示“票数属于(参数词典)数字词典”的情况。这里,例如,作为参数词典的示例的数字词典可记录关于票数的信息。In Figure 10B, the decision node may be configured to perform the task "vote count decision". The second user can configure the parameter logic to include parameter logic 1 and parameter logic 2, where parameter logic 1 is configured to indicate the "votes are empty" condition, and parameter logic 2 is configured to indicate "the votes belong to (parameter dictionary) numbers. Dictionary" case. Here, for example, a digital dictionary as an example of a parameter dictionary may record information on the number of votes.
参照图10A和图10C,意图单元可被配置为包括两个输出节点(即,与参数逻辑1对应的输出节点和与参数逻辑2对应的输出节点)。Referring to FIGS. 10A and 10C , the intent unit may be configured to include two output nodes (ie, an output node corresponding to parameter logic 1 and an output node corresponding to parameter logic 2).
在图10C中,与参数逻辑1对应的输出节点可被配置为执行任务“参数逻辑1票数”。与参数逻辑1对应的输出节点可被配置为向第二用户输出“请确认您需要的票数”。例如,可采用图10C中示出的输出形式中的一种或多种来输出回复内容。此外,与参数逻辑2对应的输出节点可被配置为执行任务“参数逻辑2出发地”。与参数逻辑2对应的输出节点可被配置为向第二用户输出“请问您的出发地是?”。In Figure 1OC, the output node corresponding to parameter logic 1 may be configured to perform the task "parameter logic 1 votes". The output node corresponding to parameter logic 1 may be configured to output "Please confirm the number of votes you need" to the second user. For example, the reply content may be output using one or more of the output forms shown in FIG. 10C. Furthermore, the output node corresponding to parameter logic 2 may be configured to perform the task "parameter logic 2 origin". The output node corresponding to parameter logic 2 may be configured to output "Where is your origin?" to the second user.
结合图9的示例,当第二用户的对话内容为“请帮我订一张机票”时,对话机器人程序可基于图10A至图10C配置的意图单元向第一用户输出内容“请问您的出发地是?”。With reference to the example of FIG. 9 , when the dialogue content of the second user is “please book a ticket for me”, the dialogue robot program can output the content to the first user based on the intent units configured in FIGS. 10A to 10C , “May I ask your departure Where is it?".
图10D示出根据本公开的实施例的添加任务参数的配置界面。FIG. 10D illustrates a configuration interface for adding task parameters according to an embodiment of the present disclosure.
参照图10D,当第二用户点击“任务参数”时可弹出“添加任务参数”。在“添加任务参数”中,可配置参数名称,并可从内置词典1、内置词典2、用户词典1和用户词典2配置参数词典(例如,系统数字)。此外,还可通过“参数词典+”添加参数词典。Referring to FIG. 10D , when the second user clicks on “Task Parameters”, “Add Task Parameters” may pop up. In "Add Task Parameters", parameter names can be configured, and parameter dictionaries (eg, system numbers) can be configured from built-in dictionary 1, built-in dictionary 2, user dictionary 1, and user dictionary 2. In addition, parameter dictionaries can be added via "Parameter Dictionary+".
图11A示出针对图9示出的人机多轮对话的示例的第二轮对话的进一步构建的意图单 元;图11B示出与11A中示出的构建意图单元的输入节点的配置和判断节点的配置;图11C示出与11A中示出的构建意图单元的与参数逻辑1对应的输出节点的配置和与参数逻辑2对应的输出节点的配置。Fig. 11A shows a further constructed intent unit for the second-round dialogue of the example of the man-machine multi-round dialogue shown in Fig. 9; Fig. 11B illustrates the configuration and judgment node of the input node with the constructing intent unit shown in 11A 11C shows the configuration of the output node corresponding to the parameter logic 1 and the configuration of the output node corresponding to the parameter logic 2 of the build intent unit shown in 11A.
图9示出的人机多轮对话的示例的第二轮对话中的第二用户的对话内容为“北京”。第一用户可基于第二用户的对话内容“北京”构建图11A中所示的意图单元。具体地,图11A相比于图10A新构建的意图单元的部分可对应于图11A中的方框中的部分。The dialogue content of the second user in the second round of dialogue in the example of the man-machine multi-round dialogue shown in FIG. 9 is "Beijing". The first user may construct the intent unit shown in FIG. 11A based on the conversation content "Beijing" of the second user. Specifically, the portion of the newly constructed intent unit of FIG. 11A compared to FIG. 10A may correspond to the portion in the block in FIG. 11A .
参照图11B,输入节点被配置为执行任务“出发地城市”。第二用户可将输入节点的配置项“触发问法”配置为包括“北京”和“帮我定机票”,并将输入节点的配置项“相似问法”配置为包括“订机票”。这里,第二用户还可配置槽位“出发地”,该槽位的信息可以是系统地点(例如,北京)。此外,根据第二用户的先前对话内容“请帮我订一张机票”,槽位还可包括票数,该槽位的信息可以是“一张”。在第二用户的对话内容为与订机票相关的内容的情况下,跳转问法被触发,并跳转到之前的与订机票对应的输入节点。在配置完输入节点之后,第一用户可以点击确定来保持相应的配置。Referring to Figure 11B, the input node is configured to perform the task "departure city". The second user can configure the configuration item "trigger question method" of the input node to include "Beijing" and "book air tickets for me", and configure the configuration item "similar question method" of the input node to include "book air tickets". Here, the second user can also configure the "departure place" of the slot, and the information of the slot can be the system location (eg, Beijing). In addition, according to the previous dialogue content of the second user "please book a ticket for me", the slot may further include the number of tickets, and the information of the slot may be "one ticket". In the case that the content of the dialogue of the second user is content related to booking an air ticket, the jumping question method is triggered, and the user jumps to the previous input node corresponding to the air ticket booking. After configuring the input node, the first user can click OK to keep the corresponding configuration.
在图11B中,判断节点可被配置为执行任务“出发地判断”。第二用户可将参数逻辑配置为包括参数逻辑1和参数逻辑2,其中,参数逻辑1被配置为指示“出发地为空”的情况,参数逻辑2被配置为指示“出发地属于(参数词典)出发地词典”的情况。这里,例如,出发地词典可记录关于出发地的信息。In FIG. 11B, the decision node may be configured to perform the task "judgment at origin". The second user can configure the parameter logic to include parameter logic 1 and parameter logic 2, where parameter logic 1 is configured to indicate the "Origin is empty" condition, and parameter logic 2 is configured to indicate "The departure belongs to (parameter dictionary) ) dictionary of the place of departure". Here, for example, the departure place dictionary may record information on the departure place.
参照图11A和图11C,意图单元可被配置为包括两个输出节点(即,与参数逻辑1对应的输出节点和与参数逻辑2对应的输出节点)。Referring to FIGS. 11A and 11C , the intent unit may be configured to include two output nodes (ie, an output node corresponding to parameter logic 1 and an output node corresponding to parameter logic 2 ).
在图11C中,与参数逻辑1对应的输出节点可被配置为执行任务“参数逻辑1输出”。与参数逻辑1对应的输出节点可被配置为向第二用户输出“请确认您的出发地,重新告诉我”。例如,可采用图11C中示出的输出形式中的一种或多种来输出回复内容。此外,与参数逻辑2对应的输出节点可被配置为执行任务“参数逻辑2输出”。与参数逻辑2对应的输出节点可被配置为向第二用户输出“请问您从北京哪个机场出发?”。In Figure 11C, the output node corresponding to parameter logic 1 may be configured to perform the task "parameter logic 1 output". The output node corresponding to the parameter logic 1 may be configured to output "Please confirm your origin and tell me again" to the second user. For example, the reply content may be output using one or more of the output forms shown in FIG. 11C. Additionally, the output node corresponding to parameter logic 2 may be configured to perform the task "parameter logic 2 output". The output node corresponding to parameter logic 2 may be configured to output "Which airport are you departing from, Beijing, please?" to the second user.
结合图9的示例,当第二用户的第二轮对话的对话内容为“北京”时,对话机器人程序可基于图11A至图11C配置的意图单元向第一用户输出内容“请问您从北京哪个机场出发?”。With reference to the example of FIG. 9 , when the dialogue content of the second round of dialogue of the second user is “Beijing”, the dialogue robot program can output the content to the first user based on the intent unit configured in FIG. 11A to FIG. Departing from the airport?".
图12A示出针对图9示出的人机多轮对话的示例的第三轮对话的进一步构建的意图单元;图12B示出与12A中示出的构建意图单元的输入节点的配置和判断节点的配置;图12C示出与12A中示出的构建意图单元的与参数逻辑1对应的输出节点的配置和与参数逻辑2对应的输出节点的配置。Fig. 12A shows a further constructed intent unit for the third round of the dialogue example shown in Fig. 9; 12C shows the configuration of the output node corresponding to the parameter logic 1 and the configuration of the output node corresponding to the parameter logic 2 of the build intent unit shown in 12A.
图9示出的人机多轮对话的示例的第三轮对话中的第二用户的对话内容为“首都国际机场”。第一用户可基于第二用户的对话内容“首都国际机场”构建图12A中所示的意图单元。具体地,图12A相比于图11A新构建的意图单元的部分可对应于图12A中的方框中的部分。The dialogue content of the second user in the third round of dialogue of the man-machine multi-round dialogue example shown in FIG. 9 is "Capital International Airport". The first user may construct the intent unit shown in FIG. 12A based on the dialogue content "capital international airport" of the second user. In particular, the portion of the intent unit newly constructed in FIG. 12A compared to FIG. 11A may correspond to the portion in the block in FIG. 12A .
参照图12B,输入节点被配置为执行任务“出发机场”。第二用户可将输入节点的配置项“触发问法”配置为包括“首都国际机场”和“我想去首都国际机场”,并将输入节点的配置项“相似问法”配置为包括“我的出发机场是首都国际机场”。这里,第二用户还可配置槽位“北京机场”。例如,根据第二用户的对话内容,该槽位的信息可以是首都国际机场。在第二用户的对话内容为与订机票相关的内容或者与出发城市相关的内容的情况下,跳转问法被触发,并跳转到之前的与订机票对应的输入节点或与出发城市相关的输入节点。在配置完输入节点之后,第一用户可以点击确定来保持相应的配置。Referring to Figure 12B, the input node is configured to perform the task "Departure Airport". The second user can configure the configuration item "trigger question method" of the input node to include "capital international airport" and "I want to go to the capital international airport", and configure the configuration item "similar question method" of the input node to include "I The departure airport is the Capital International Airport”. Here, the second user can also configure the slot "Beijing Airport". For example, according to the dialogue content of the second user, the information of the slot may be Capital International Airport. In the case where the dialogue content of the second user is the content related to the flight booking or the content related to the departure city, the jumping question method is triggered, and jumps to the previous input node corresponding to the flight booking or related to the departure city input node. After configuring the input node, the first user can click OK to keep the corresponding configuration.
在图12B中,判断节点可被配置为执行任务“出发机场判断”。第二用户可将参数逻辑配置为包括参数逻辑1和参数逻辑2,其中,参数逻辑1被配置为指示“出发地为空”的情况或“北京机场不属于北京机场词典”的情况。参数逻辑2被配置为指示“北京机场属于北京机场词典”的情况。这里,例如,北京机场词典可记录关于北京的机场的信息。In Figure 12B, the decision node may be configured to perform the task "departure airport decision". The second user may configure the parameter logic to include parameter logic 1 and parameter logic 2, wherein parameter logic 1 is configured to indicate a "departure is empty" situation or a "Beijing airport does not belong to the Beijing airport dictionary" situation. Parameter logic 2 is configured to indicate the case of "Beijing airport belongs to Beijing airport dictionary". Here, for example, the Beijing airport dictionary may record information on airports in Beijing.
参照图12A和图12C,意图单元可被配置为包括两个输出节点(即,与参数逻辑1对应的输出节点和与参数逻辑2对应的输出节点)。12A and 12C, the intent unit may be configured to include two output nodes (ie, an output node corresponding to parameter logic 1 and an output node corresponding to parameter logic 2).
在图12C中,与参数逻辑1对应的输出节点可被配置为执行任务“参数逻辑1输出”。与参数逻辑1对应的输出节点可被配置为向第二用户输出“请确认您的出发机场,重新告诉我”。例如,可采用图12C中示出的输出形式中的一种或多种来输出回复内容。此外,与参数逻辑2对应的输出节点可被配置为执行任务“参数逻辑2输出”。与参数逻辑2对应的输出节点可被配置为向第二用户输出“请问您的目的地是?”。In Figure 12C, the output node corresponding to parameter logic 1 may be configured to perform the task "parameter logic 1 output". The output node corresponding to parameter logic 1 may be configured to output "Please confirm your departure airport and tell me again" to the second user. For example, the reply content may be output in one or more of the output forms shown in Figure 12C. Additionally, the output node corresponding to parameter logic 2 may be configured to perform the task "parameter logic 2 output". The output node corresponding to parameter logic 2 may be configured to output "What is your destination?" to the second user.
结合图9的示例,当第二用户的第三轮对话的对话内容为“首都国际机场”时,对话机器人程序可基于图12A至图12C配置的意图单元向第一用户输出内容“请问您的目的地是?”。With reference to the example of FIG. 9 , when the dialogue content of the second user’s third round of dialogue is “Capital International Airport”, the dialogue robot program can output the content “May I ask your What is the destination?".
图13A示出针对图9示出的人机多轮对话的示例的第四轮对话的进一步构建的意图单元;图13B示出与13A中示出的构建意图单元的输入节点的配置和判断节点的配置;图13C示出与13A中示出的构建意图单元的与参数逻辑1对应的输出节点的配置和与参数逻辑2对应的输出节点的配置。Fig. 13A shows a further constructed intent unit for the fourth round of the dialogue example shown in Fig. 9; 13C shows the configuration of the output node corresponding to the parameter logic 1 and the configuration of the output node corresponding to the parameter logic 2 of the build intent unit shown in 13A.
图9示出的人机多轮对话的示例的第四轮对话中的第二用户的对话内容为“杭州”。第一用户可基于第二用户的对话内容“杭州”构建图13A中所示的意图单元。具体地,图13A相比于图12A新构建的意图单元的部分可对应于图13A中的方框中的部分。The dialogue content of the second user in the fourth round of dialogue in the example of the man-machine multi-round dialogue shown in FIG. 9 is "Hangzhou". The first user may construct the intent unit shown in FIG. 13A based on the dialogue content "Hangzhou" of the second user. Specifically, the portion of the newly constructed intent unit of FIG. 13A compared to FIG. 12A may correspond to the portion in the block in FIG. 13A .
参照图13B,输入节点被配置为执行任务“目的地城市”。第二用户可将输入节点的配置项“触发问法”配置为包括“杭州”和“我想去杭州”,并将输入节点的配置项“相似问法”配置为包括“我的目的地是杭州”。这里,第二用户还可配置槽位“目的地”。例如,根据第二用户的对话内容,该槽位的信息可以是杭州。在第二用户的对话内容为与订机票相关的内容、与出发城市相关的内容或者与出发机场相关的内容的情况下,跳转问法被触发,并跳转到之前的与订机票对应的输入节点、与出发城市相关的输入节点或与出发机场相关的输入节点。在配置完输入节点之后,第一用户可以点击确定来保持相应的配置。Referring to Figure 13B, the input node is configured to perform the task "Destination City". The second user can configure the configuration item "trigger question method" of the input node to include "Hangzhou" and "I want to go to Hangzhou", and configure the configuration item "similar question method" of the input node to include "my destination is Hangzhou". Here, the second user can also configure the slot "destination". For example, according to the dialogue content of the second user, the information of the slot may be Hangzhou. When the content of the dialogue of the second user is the content related to the flight booking, the content related to the departure city or the content related to the departure airport, the jumping question method is triggered, and jumps to the previous corresponding to the flight booking. An input node, an input node associated with the departure city, or an input node associated with the departure airport. After configuring the input node, the first user can click OK to keep the corresponding configuration.
在图13B中,判断节点可被配置为执行任务“目的地城市判断”。第二用户可将参数逻辑配置为包括参数逻辑1和参数逻辑2,其中,参数逻辑1被配置为指示“目的地为空”的情况或“目的地不属于目的地词典”的情况。参数逻辑2被配置为指示“目的地属于目的地词典”的情况。这里,例如,目的地词典可记录关于目的地的信息。In Figure 13B, the decision node may be configured to perform the task "Destination City Decision". The second user may configure the parameter logic to include parameter logic 1 and parameter logic 2, where parameter logic 1 is configured to indicate a "destination is empty" condition or a "destination does not belong to the destination dictionary" condition. Parameter logic 2 is configured to indicate the "destination belongs to the destination dictionary" case. Here, for example, the destination dictionary may record information on the destination.
参照图13A和图13C,意图单元可被配置为包括两个输出节点(即,与参数逻辑1对应的输出节点和与参数逻辑2对应的输出节点)。13A and 13C, the intent unit may be configured to include two output nodes (ie, an output node corresponding to parameter logic 1 and an output node corresponding to parameter logic 2).
在图13C中,与参数逻辑1对应的输出节点可被配置为执行任务“参数逻辑1输出”。与参数逻辑1对应的输出节点可被配置为向第二用户输出“请确认您的目的地,重新告诉我”。例如,可采用图13C中示出的输出形式中的一种或多种来输出回复内容。此外,与参数逻辑2对应的输出节点可被配置为执行任务“参数逻辑2输出”。与参数逻辑2对应的输出节点可被配置为向第二用户输出“请问您要去杭州的哪个机场?”。In Figure 13C, the output node corresponding to parameter logic 1 may be configured to perform the task "parameter logic 1 output". The output node corresponding to parameter logic 1 may be configured to output "Please confirm your destination and tell me again" to the second user. For example, the reply content may be output using one or more of the output forms shown in Figure 13C. Additionally, the output node corresponding to parameter logic 2 may be configured to perform the task "parameter logic 2 output". The output node corresponding to parameter logic 2 may be configured to output "Which airport in Hangzhou are you going to?" to the second user.
结合图9的示例,当第二用户的第四轮对话的对话内容为“杭州”时,对话机器人程序可基于图13A至图13C配置的意图单元向第一用户输出内容“请问您要去杭州的哪个机场?”。With reference to the example of FIG. 9 , when the dialogue content of the fourth round of dialogue of the second user is “Hangzhou”, the dialogue robot program can output the content to the first user based on the intent units configured in FIG. 13A to FIG. which airport?".
图14A示出针对图9示出的人机多轮对话的示例的第五轮对话和第六轮对话的进一步构建的意图单元;图14B示出与14A中示出的构建意图单元的基于第五轮对话的输入节点的配置、赋值节点和判断节点的配置;图14C示出与14A中示出的构建意图单元的基于第五轮对话的与参数逻辑1对应的输出节点的配置、与参数逻辑2对应的输出节点的配置。Fig. 14A shows a further constructed intent unit for the fifth round of dialogue and sixth round of the example of the man-machine multi-round dialogue shown in Fig. 9; The configuration of the input node, the assignment node and the judgment node of the five-round dialogue; FIG. 14C shows the configuration of the output node corresponding to the parameter logic 1 based on the fifth round of dialogue with the construction intent unit shown in 14A, and the parameter The configuration of the output node corresponding to logic 2.
图9示出的人机多轮对话的示例的第五轮对话中的第二用户的对话内容为“我记错了,不去杭州了,改去上海”。第一用户可基于第二用户的对话内容“我记错了,不去杭州了, 改去上海”构建图14A中所示的意图单元。具体地,由于第二用户的意图发生了更改,因此,意图节点被被重置,并且处理进行入到图14B中的与重置意图连接的输入节点。The dialogue content of the second user in the fifth round of dialogue in the example of the multi-round dialogue between humans and machines shown in FIG. 9 is "I remembered it wrongly, instead of going to Hangzhou, I will go to Shanghai instead". The first user may construct the intent unit shown in FIG. 14A based on the dialogue content of the second user, "I remembered wrong, I will not go to Hangzhou, but go to Shanghai instead." Specifically, since the intent of the second user has changed, the intent node is reset, and processing proceeds to the input node in FIG. 14B that is connected to the reset intent.
参照图14B,输入节点被配置为执行任务“目的地城市”。第二用户可将输入节点的配置项“触发问法”配置为包括“不去杭州了,去上海”,并将输入节点的配置项“相似问法”配置为包括“我的目的地是上海”。这里,第二用户还可配置槽位“目的地”。例如,根据第二用户的对话内容,该槽位的信息可以是上海。在第二用户的对话内容为与订机票相关的内容、与出发城市相关的内容或者与出发机场相关的内容的情况下,跳转问法被触发,并跳转到之前的与订机票对应的输入节点、与出发城市相关的输入节点或与出发机场相关的输入节点。在配置完输入节点之后,第一用户可以点击确定来保持相应的配置。Referring to Figure 14B, the input node is configured to perform the task "Destination City". The second user can configure the configuration item "triggering method" of the input node to include "go to Shanghai instead of Hangzhou", and configure the configuration item "similar method" of the input node to include "my destination is Shanghai" ". Here, the second user can also configure the slot "destination". For example, according to the conversation content of the second user, the information of the slot may be Shanghai. When the content of the dialogue of the second user is the content related to the flight booking, the content related to the departure city or the content related to the departure airport, the jumping question method is triggered, and jumps to the previous corresponding to the flight booking. An input node, an input node associated with the departure city, or an input node associated with the departure airport. After configuring the input node, the first user can click OK to keep the corresponding configuration.
在图14B中,位于输入节点之后的赋值节点可被配置为执行任务“参数重置”。例如,第一用户可基于第二用户的对话内容“我记错了,不去杭州了,改去上海”将参数重置为目的地。此外,根据第二用户的对话内容,可通过在“客户类型”选择第二用户属于意向客户、潜在用户和无效用户哪一种来确定。由于可以通过配置赋值节点来实现用户的分类功能,因此,可向用户提供更精细的服务。In FIG. 14B, the value node after the input node may be configured to perform the task "parameter reset". For example, the first user can reset the parameter to the destination based on the dialogue content of the second user, "I remembered it wrong, I will not go to Hangzhou, but go to Shanghai instead." In addition, according to the conversation content of the second user, it can be determined by selecting which of the intended customers, potential users and invalid users the second user belongs to in the "customer type". Since the user's classification function can be implemented by configuring the assignment node, more refined services can be provided to the user.
在图14B中,判断节点可被配置为执行任务“目的地城市判断”。第二用户可将参数逻辑配置为包括参数逻辑1和参数逻辑2,其中,参数逻辑1被配置为指示“目的地为空”的情况或“目的地不属于目的地词典”的情况。参数逻辑2被配置为指示“目的地属于目的地词典”的情况。这里,例如,目的地词典可记录关于目的地的信息。In Figure 14B, the decision node may be configured to perform the task "destination city decision". The second user may configure the parameter logic to include parameter logic 1 and parameter logic 2, where parameter logic 1 is configured to indicate a "destination is empty" condition or a "destination does not belong to the destination dictionary" condition. Parameter logic 2 is configured to indicate the "destination belongs to the destination dictionary" case. Here, for example, the destination dictionary may record information on the destination.
参照图14A和图14C,意图单元可被配置为包括两个输出节点(即,与参数逻辑1对应的输出节点和与参数逻辑2对应的输出节点)。14A and 14C, the intent unit may be configured to include two output nodes (ie, an output node corresponding to parameter logic 1 and an output node corresponding to parameter logic 2).
在图14C中,与参数逻辑1对应的输出节点可被配置为执行任务“参数逻辑1输出”。与参数逻辑1对应的输出节点可被配置为向第二用户输出“请确认您的目的地,重新告诉我”。例如,可采用图14C中示出的输出形式中的一种或多种来输出回复内容。此外,与参数逻辑2对应的输出节点可被配置为执行任务“参数逻辑2输出”。与参数逻辑2对应的输出节点可被配置为向第二用户输出“请问您要去上海的哪个机场?”。In Figure 14C, the output node corresponding to parameter logic 1 may be configured to perform the task "parameter logic 1 output". The output node corresponding to parameter logic 1 may be configured to output "Please confirm your destination and tell me again" to the second user. For example, the reply content may be output in one or more of the output forms shown in Figure 14C. Additionally, the output node corresponding to parameter logic 2 may be configured to perform the task "parameter logic 2 output". The output node corresponding to parameter logic 2 may be configured to output "Which airport in Shanghai are you going to?" to the second user.
结合图9的示例,当第二用户的第五轮对话的对话内容为“我记错了,不去杭州了,改去上海”时,对话机器人程序可基于图14A至图14C配置的意图单元向第一用户输出内容“请问您要去杭州的哪个机场?”。With reference to the example of FIG. 9 , when the dialogue content of the fifth-round dialogue of the second user is “I remember wrong, I will not go to Hangzhou, but go to Shanghai instead”, the dialogue robot program can be based on the intent units configured in FIGS. 14A to 14C . Output the content "Which airport in Hangzhou are you going to?" to the first user.
因此,即使第二用户的意图发生更改,对话机器人程序也可保证人机对话灵活有效地进行下去。Therefore, even if the intention of the second user changes, the dialogue robot program can ensure that the human-machine dialogue can continue flexibly and efficiently.
图14D示出14A中示出的构建意图单元的基于第六轮对话的输入节点和判断节点的配置;图14E示出14A中示出的构建意图单元的基于第六轮对话的与参数逻辑1对应的输出节点的配置和与参数逻辑2对应的输出节点的配置。Fig. 14D shows the configuration of the sixth-round dialogue-based input nodes and judgment nodes of the construction intent unit shown in 14A; Fig. 14E illustrates the sixth-round dialogue-based AND parameter logic 1 of the construction intent unit shown in 14A The configuration of the corresponding output node and the configuration of the output node corresponding to parameter logic 2.
图9示出的人机多轮对话的示例的第六轮对话中的第二用户的对话内容为“上海天河机场”。第一用户可基于第二用户的对话内容“上海天河机场”进一步构建图14A中所示的意图单元。具体地,由于第二用户的意图未更改,因此,处理进行入到与图14B中的与重置意图连接的输入节点并行的输入节点。The dialogue content of the second user in the sixth round of dialogue in the example of the multi-round dialogue between humans and machines shown in FIG. 9 is "Shanghai Tianhe Airport". The first user may further construct the intent unit shown in FIG. 14A based on the dialogue content "Shanghai Tianhe Airport" of the second user. Specifically, since the second user's intent has not changed, processing proceeds to an input node parallel to the input node connected to the reset intent in FIG. 14B .
参照图14D,输入节点被配置为执行任务“目的地机场”。第二用户可将输入节点的配置项“触发问法”配置为包括“我想去上海天河机场”和“上海天河”,并将输入节点的配置项“相似问法”配置为包括“上海天河机场”。这里,第二用户还可配置槽位“上海机场”。例如,根据第二用户的对话内容,该槽位的信息可以是上海天河机场。在第二用户的对话内容为与订机票相关的内容、与出发城市相关的内容、与出发机场相关的内容或者与目的地相关的内容的情况下,跳转问法被触发,并跳转到之前的与订机票对应的输入节点、与出发城市相关的输入节点、与出发机场相关的输入节点或者与目的地相关的输入节点。在配置完输入节点之后,第一用户可以点击确定来保持相应的配置。Referring to Figure 14D, the input node is configured to perform the task "Destination Airport". The second user can configure the configuration item "Trigger Question Method" of the input node to include "I want to go to Shanghai Tianhe Airport" and "Shanghai Tianhe", and configure the configuration item "Similar Question Method" of the input node to include "Shanghai Tianhe Airport" Airport". Here, the second user can also configure the slot "Shanghai Airport". For example, according to the dialogue content of the second user, the information of the slot may be Shanghai Tianhe Airport. In the case where the dialogue content of the second user is the content related to the flight booking, the content related to the departure city, the content related to the departure airport, or the content related to the destination, the jump query method is triggered, and the jump to The previous input node corresponding to the flight booking, the input node related to the departure city, the input node related to the departure airport, or the input node related to the destination. After configuring the input node, the first user can click OK to keep the corresponding configuration.
在图14D中,输入节点之后的判断节点可被配置为执行任务“目的地机场判断”。第 二用户可将参数逻辑配置为包括参数逻辑1和参数逻辑2,其中,参数逻辑1被配置为指示“上海机场为空”的情况或“上海机场不属于上海机场词典”的情况。参数逻辑2被配置为指示“上海机场属于上海机场词典”的情况。这里,例如,上海机场词典可记录关于上海机场的信息。In Figure 14D, the decision node following the input node may be configured to perform the task "destination airport decision". The second user may configure the parameter logic to include parameter logic 1 and parameter logic 2, wherein parameter logic 1 is configured to indicate the case of "Shanghai Airport is empty" or the case of "Shanghai Airport does not belong to the Shanghai Airport Dictionary". Parameter logic 2 is configured to indicate the case of "Shanghai Airport belongs to the Shanghai Airport Dictionary". Here, for example, the Shanghai Airport Dictionary may record information on Shanghai Airport.
参照图14A和图14E,意图单元可被配置为包括判断节点之后的两个输出节点(即,与参数逻辑1对应的输出节点和与参数逻辑2对应的输出节点)。14A and 14E, the intent unit may be configured to include two output nodes (ie, an output node corresponding to parameter logic 1 and an output node corresponding to parameter logic 2) following the judgment node.
在图14E中,与参数逻辑1对应的输出节点可被配置为执行任务“参数逻辑1输出”。与参数逻辑1对应的输出节点可被配置为向第二用户输出“抱歉,没有找到上海天河,请确认您的目的地机场”。例如,可采用图14E中示出的输出形式中的一种或多种来输出回复内容。此外,与参数逻辑2对应的输出节点可被配置为执行任务“参数逻辑2输出”。与参数逻辑2对应的输出节点可被配置为向第二用户输出“请问您的出发时间是?”。In Figure 14E, the output node corresponding to parameter logic 1 may be configured to perform the task "parameter logic 1 output". The output node corresponding to parameter logic 1 may be configured to output "Sorry, Shanghai Tianhe was not found, please confirm your destination airport" to the second user. For example, the reply content may be output using one or more of the output forms shown in Figure 14E. Additionally, the output node corresponding to parameter logic 2 may be configured to perform the task "parameter logic 2 output". The output node corresponding to parameter logic 2 may be configured to output "What is your departure time?" to the second user.
结合图9的示例,当第二用户的第六轮对话的对话内容为“上海天河机场”时,对话机器人程序可基于图14A、图14D和14E配置的意图单元的与参数逻辑1对应的输出节点向第二用户输出内容“抱歉,没有找到上海天河,请确认您的目的地机场”。With reference to the example of FIG. 9 , when the dialogue content of the sixth-round dialogue of the second user is “Shanghai Tianhe Airport”, the dialogue robot program can be based on the output corresponding to parameter logic 1 of the intent unit configured in FIGS. 14A , 14D and 14E The node outputs the content "Sorry, Shanghai Tianhe was not found, please confirm your destination airport" to the second user.
此外,结合图9的示例,当第二用户的第七轮对话的对话内容为“上海虹桥机场”时,对话机器人程序可基于图14A、图14D和14E配置的意图单元的与参数逻辑2对应的输出节点向第二用户输出内容“请问您的出发时间是?”。In addition, in conjunction with the example of FIG. 9 , when the dialogue content of the seventh round of dialogue of the second user is “Shanghai Hongqiao Airport”, the dialogue robot program may correspond to parameter logic 2 based on the intent units configured in FIGS. 14A , 14D and 14E The output node outputs the content "What is your departure time?" to the second user.
图15A示出针对图9示出的人机多轮对话的示例的第八轮对话的进一步构建的意图单元;图15B示出与15A中示出的构建意图单元的输入节点的配置和判断节点的配置;图15C示出与15A中示出的构建意图单元的与参数逻辑1对应的输出节点的配置和与参数逻辑2对应的输出节点以及赋值节点的配置。Fig. 15A shows a further constructed intent unit for the eighth-round dialogue of the example of the man-machine multi-round dialogue shown in Fig. 9; Fig. 15B illustrates the configuration and judgment node of the input node with the construct intent unit shown in 15A 15C shows the configuration of the output node corresponding to the parameter logic 1 and the configuration of the output node corresponding to the parameter logic 2 and the assignment node of the build intent unit shown in 15A.
图9示出的人机多轮对话的示例的第八轮对话中的第二用户的对话内容为“明天上午10点”。第一用户可基于第二用户的对话内容“明天上午10点”构建图15A中所示的意图单元。具体地,图15A相比于图14A新构建的意图单元的部分可对应于图15A中的方框中的部分。The dialogue content of the second user in the eighth dialogue round of the example of the man-machine multi-round dialogue shown in FIG. 9 is "tomorrow at 10 am". The first user may construct the intent unit shown in FIG. 15A based on the second user's dialogue content "tomorrow at 10 am". In particular, the portion of the intent unit newly constructed in FIG. 15A compared to FIG. 14A may correspond to the portion in the block in FIG. 15A .
参照图15B,输入节点被配置为执行任务“出发时间”。第二用户可将输入节点的配置项“触发问法”配置为包括“明天上午10点出发吧”。这里,第二用户还可配置槽位“出发时间”。例如,根据第二用户的对话内容,该槽位的信息可以是明天上午10点。在第二用户的对话内容为与订机票相关的内容、与出发城市相关的内容、与出发机场相关的内容或者与目的地相关的内容的情况下,跳转问法被触发,并跳转到之前的与订机票对应的输入节点、与出发城市相关的输入节点、与出发机场相关的输入节点或者与目的地相关的输入节点。在配置完输入节点之后,第一用户可以点击确定来保持相应的配置。Referring to Figure 15B, the input node is configured to perform the task "Departure Time". The second user may configure the configuration item "trigger question method" of the input node to include "let's start at 10 am tomorrow". Here, the second user can also configure the "departure time" of the slot. For example, according to the conversation content of the second user, the information of the slot may be 10 am tomorrow. In the case where the dialogue content of the second user is the content related to the flight booking, the content related to the departure city, the content related to the departure airport, or the content related to the destination, the jump query method is triggered, and the jump to The previous input node corresponding to the flight booking, the input node related to the departure city, the input node related to the departure airport, or the input node related to the destination. After configuring the input node, the first user can click OK to keep the corresponding configuration.
在图15B中,判断节点可被配置为执行任务“出发时间判断”。第二用户可将参数逻辑配置为包括参数逻辑1和参数逻辑2,其中,参数逻辑1被配置为指示“出发时间为空”的情况或“出发时间不属于时间词典”的情况。参数逻辑2被配置为指示“出发时间属于时间词典”的情况。这里,例如,时间词典可记录关于时间的信息。In Figure 15B, the decision node may be configured to perform the task "Departure Time Decision". The second user may configure the parameter logic to include parameter logic 1 and parameter logic 2, wherein parameter logic 1 is configured to indicate a "departure time is empty" condition or a "departure time does not belong to the time dictionary" condition. Parameter logic 2 is configured to indicate the "departure time belongs to the time dictionary" case. Here, for example, a time dictionary may record information on time.
参照图15A和图15C,意图单元可被配置为包括两个输出节点(即,与参数逻辑1对应的输出节点和与参数逻辑2对应的输出节点)和接口节点。15A and 15C, the intent unit may be configured to include two output nodes (ie, an output node corresponding to parameter logic 1 and an output node corresponding to parameter logic 2) and an interface node.
在图15C中,与参数逻辑1对应的输出节点可被配置为执行任务“参数逻辑1输出”。与参数逻辑1对应的输出节点可被配置为向第二用户输出“抱歉不能确定您的触发时间,请确认您的出发时间”。例如,可采用图15C中示出的输出形式中的一种或多种来输出回复内容。此外,与参数逻辑2对应的输出节点可被配置为执行任务“参数逻辑2输出”。与参数逻辑2对应的输出节点可被配置为向第二用户输出“找到明天上午10点,首都国际机场到上海虹桥机场的如下航班,请问您选择哪一个”和从接口节点返回的接口返回值“南航AH123456”。上面已经参照图7具体描述了接口节点这里不再重复描述。In Figure 15C, the output node corresponding to parameter logic 1 may be configured to perform the task "parameter logic 1 output". The output node corresponding to the parameter logic 1 may be configured to output "Sorry your trigger time cannot be determined, please confirm your departure time" to the second user. For example, the reply content may be output in one or more of the output forms shown in Figure 15C. Additionally, the output node corresponding to parameter logic 2 may be configured to perform the task "parameter logic 2 output". The output node corresponding to parameter logic 2 can be configured to output to the second user "find the following flight from Capital International Airport to Shanghai Hongqiao Airport at 10 am tomorrow, which one do you choose" and the interface return value returned from the interface node "China Southern Airlines AH123456". The interface node has been specifically described above with reference to FIG. 7 , and the description will not be repeated here.
结合图9的示例,当第二用户的第八轮对话的对话内容为“明天上午10点”时,对 话机器人程序可基于图15A至图15C配置的意图单元向第一用户输出内容“找到明天上午10点,首都国际机场到上海虹桥机场的如下航班,请问您选择哪一个”和从接口节点返回的接口返回值“南航AH123456”。With reference to the example of FIG. 9 , when the dialogue content of the eighth-round dialogue of the second user is "tomorrow at 10 am", the dialogue robot program can output the content "find tomorrow morning" to the first user based on the intent unit configured in FIG. 15A to FIG. 15C At 10:00 am, the following flights from Capital International Airport to Shanghai Hongqiao Airport, which one do you choose?” and the return value of the interface returned from the interface node is “China Southern Airlines AH123456”.
图16A示出针对图9示出的人机多轮对话的示例的第九轮对话的进一步构建的意图单元;图16B示出与16A中示出的构建意图单元的输入节点的配置和判断节点的配置;图16C示出与16A中示出的构建意图单元的与参数逻辑1对应的输出节点的配置和与参数逻辑2对应的输出节点以及赋值节点的配置。Fig. 16A shows a further constructed intent unit for the ninth round of the example of the man-machine multi-round dialog shown in Fig. 9; Fig. 16B shows the configuration and judgment node of the input node with the construct intent unit shown in 16A 16C shows the configuration of the output node corresponding to the parameter logic 1 and the configuration of the output node corresponding to the parameter logic 2 and the assignment node of the build intent unit shown in 16A.
图9示出的人机多轮对话的示例的第九轮对话中的第二用户的对话内容为“南航AH123456吧”。第一用户可基于第二用户的对话内容“南航AH123456吧”构建图16A中所示的意图单元。具体地,图16A相比于图15A新构建的意图单元的部分可对应于图16A中的方框中的部分。The dialogue content of the second user in the ninth round of dialogue of the man-machine multi-round dialogue example shown in FIG. 9 is "China Southern Airlines AH123456". The first user can construct the intent unit shown in FIG. 16A based on the dialogue content of the second user "China Southern Airlines AH123456 Bar". In particular, the portion of the newly constructed intent unit in FIG. 16A compared to FIG. 15A may correspond to the portion in the block in FIG. 16A .
参照图16B,输入节点被配置为执行任务“航班”。第二用户可将输入节点的配置项“触发问法”配置为包括“南航AH123456”。这里,第二用户还可配置槽位“航班”。例如,根据第二用户的对话内容,该槽位的信息可以是南航AH123456。在第二用户的对话内容为与订机票相关的内容、与出发城市相关的内容、与出发机场相关的内容或者与目的地相关的内容的情况下,跳转问法被触发,并跳转到之前的与订机票对应的输入节点、与出发城市相关的输入节点、与出发机场相关的输入节点或者与目的地相关的输入节点。在配置完输入节点之后,第一用户可以点击确定来保持相应的配置。Referring to Figure 16B, the input node is configured to perform the task "flight". The second user can configure the configuration item "trigger question method" of the input node to include "China Southern Airlines AH123456". Here, the second user may also configure the slot "flight". For example, according to the conversation content of the second user, the information of the slot may be China Southern Airlines AH123456. In the case where the dialogue content of the second user is the content related to the flight booking, the content related to the departure city, the content related to the departure airport, or the content related to the destination, the jump query method is triggered, and the jump to The previous input node corresponding to the flight booking, the input node related to the departure city, the input node related to the departure airport, or the input node related to the destination. After configuring the input node, the first user can click OK to keep the corresponding configuration.
在图16B中,判断节点可被配置为执行任务“航班判断”。第二用户可将参数逻辑配置为包括参数逻辑1和参数逻辑2,其中,参数逻辑1被配置为指示“航班为空”的情况或“航班不属于接口返回值”的情况。参数逻辑2被配置为指示“航班属于接口返回值”的情况。这里,例如,接口返回值可记录关于航班的信息。In Figure 16B, the decision node may be configured to perform the task "flight decision". The second user may configure the parameter logic to include parameter logic 1 and parameter logic 2, wherein parameter logic 1 is configured to indicate a "flight is empty" condition or a "flight is not part of the interface return value" condition. Parameter logic 2 is configured to indicate the "flight belongs to interface return value" case. Here, for example, the interface return value may record information about the flight.
参照图16A和图16C,意图单元可被配置为包括两个输出节点(即,与参数逻辑1对应的输出节点和与参数逻辑2对应的输出节点)和赋值节点。16A and 16C, an intent cell may be configured to include two output nodes (ie, an output node corresponding to parameter logic 1 and an output node corresponding to parameter logic 2) and an assignment node.
在图16C中,与参数逻辑1对应的输出节点可被配置为执行任务“参数逻辑1输出”。与参数逻辑1对应的输出节点可被配置为向第二用户输出“抱歉请在可选航班中选择,重新确认您的航班”。例如,可采用图16C中示出的输出形式中的一种或多种来输出回复内容。此外,与参数逻辑2对应的输出节点可被配置为执行任务“参数逻辑2输出”。与参数逻辑2对应的输出节点可被配置为向第二用户输出“好的,已为您预定2020年7月14日,上午10点32分,首都国际机场去往上海虹桥机场的南航AH123456”。In Figure 16C, the output node corresponding to parameter logic 1 may be configured to perform the task "parameter logic 1 output". The output node corresponding to the parameter logic 1 may be configured to output "Sorry, please select among optional flights, reconfirm your flight" to the second user. For example, the reply content may be output using one or more of the output forms shown in Figure 16C. Additionally, the output node corresponding to parameter logic 2 may be configured to perform the task "parameter logic 2 output". The output node corresponding to parameter logic 2 can be configured to output to the second user "Ok, China Southern Airlines AH123456 from Capital International Airport to Shanghai Hongqiao Airport has been booked for you on July 14, 2020, at 10:32 a.m." .
结合图9的示例,当第二用户的第九轮对话的对话内容为“南航AH123456”时,对话机器人程序可基于图16A至图16C配置的意图单元向第一用户输出内容“好的,已为您预定2020年7月14日,上午10点32分,首都国际机场去往上海虹桥机场的南航AH123456”。With reference to the example of FIG. 9 , when the dialogue content of the ninth round of dialogue of the second user is "China Southern Airlines AH123456", the dialogue robot program can output the content "Okay, it has been We book China Southern Airlines AH123456 from Capital International Airport to Shanghai Hongqiao Airport on July 14, 2020, at 10:32 am.”
此外,第一用户可以将赋值节点配置为执行任务“航空公司意向标记”。赋值节点可包括参数重置和客户标记。第二用户可以将参数重置配置为目的地,并在第二客户选择南航AH123456的情形下将该用户的客户标记配置为意向用户。Additionally, the first user may configure the assignment node to perform the task "Airline Intent Marking". Assignment nodes can include parameter resets and client flags. The second user can configure the parameter reset as the destination, and configure the user's customer mark as the intended user when the second customer selects China Southern Airlines AH123456.
图9至图16C仅是为了说明性的目的而示出的示例,本公开的人机对话内容不限于上述示例中的具体内容。参照图9至图16C,第一用户可以根据自身业务需求和业务经验来灵活地在用户配置界面上选择意图节点、配置意图节点和连接意图节点,从而构建为对话机器人所用的面向第二用户的意图单元。9 to 16C are only examples shown for illustrative purposes, and the content of the human-machine dialogue of the present disclosure is not limited to the specific content in the above examples. Referring to FIG. 9 to FIG. 16C , the first user can flexibly select, configure, and connect intent nodes on the user configuration interface according to his own business needs and business experience, so as to construct a second user-oriented user interface for the dialog robot. Intent unit.
以上已参照图1至图16C描述了根据本公开的示例性实施例的实现人机多轮对话的方法和装置。然而,应理解的是:图1至图7和图9至与16C中所使用的方法可由执行特定功能的软件、硬件、固件或上述项的任意组合实现,图8中所使用的方法、装置、系统、单元等可被分别配置为执行特定功能的软件、硬件、固件或上述项的任意组合或者。例如,这些系统、装置或单元等可对应于专用的集成电路,也可对应于纯粹的软件代码,还可对 应于软件与硬件相结合的单元。此外,这些系统、装置或单元等所实现的一个或多个功能也可由物理实体设备(例如,处理器、客户端或服务器等)中的组件来统一执行。The method and apparatus for implementing a human-machine multi-turn dialogue according to an exemplary embodiment of the present disclosure have been described above with reference to FIGS. 1 to 16C . However, it should be understood that the methods used in FIGS. 1 to 7 and FIGS. 9 to 16C can be implemented by software, hardware, firmware or any combination of the above items that perform specific functions, and the methods and apparatuses used in FIG. 8 , systems, units, etc., may be configured as software, hardware, firmware, or any combination of the foregoing, respectively, to perform the specified functions. For example, these systems, devices or units, etc. may correspond to dedicated integrated circuits, may also correspond to pure software codes, or may correspond to units in which software and hardware are combined. In addition, one or more functions implemented by these systems, apparatuses or units, etc., may also be uniformly performed by components in a physical entity device (eg, a processor, a client or a server, etc.).
此外,上述方法可通过记录在计算可读存储介质上的计算机程序来实现。例如,根据本公开的示例性实施例,可提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序在被一个或多个计算装置执行时使得所述一个或多个计算装置实现本申请中所公开的任一方法。Furthermore, the above-described method can be implemented by a computer program recorded on a computer-readable storage medium. For example, according to exemplary embodiments of the present disclosure, a computer-readable storage medium may be provided having stored thereon a computer program that, when executed by one or more computing devices, causes all The one or more computing devices implement any of the methods disclosed in this application.
例如,在所述计算机程序被一个或多个计算装置执行时使得所述一个或多个计算装置执行以下步骤:提供用户配置界面,其中,所述用户配置界面中提供了多种类型的意图节点;基于第一用户在所述用户配置界面上选择意图节点、配置意图节点和连接意图节点的操作,构建意图单元;基于所述意图单元实现与第二用户的人机多轮对话,以获取第二用户在人机多轮对话中的关键意图,实现对话的判断预测。For example, the computer program, when executed by one or more computing devices, causes the one or more computing devices to perform the steps of: providing a user configuration interface in which multiple types of intent nodes are provided ; Build an intent unit based on the first user's operations of selecting an intent node, configuring an intent node, and connecting an intent node on the user configuration interface; based on the intent unit, implement multiple rounds of human-machine dialogue with the second user to obtain the first Second, the key intentions of users in multi-round human-machine dialogues to realize the judgment and prediction of dialogues.
上述计算机可读存储介质中的计算机程序可在诸如客户端、主机、代理装置、服务器等计算机设备中部署的环境中运行,应注意,所述计算机程序在被运行时还可用于执行除了上述步骤以外的附加步骤或者在执行上述步骤时执行更为具体的处理,这些附加步骤和进一步处理的内容已经在参照图1到图8进行相关方法和装置的描述过程中提及,因此这里为了避免重复将不再进行赘述。The computer program in the above-mentioned computer-readable storage medium can be executed in an environment deployed in computer equipment such as a client, a host, an agent device, a server, etc. It should be noted that the computer program, when executed, can also be used to perform steps other than those described above. Additional steps other than those described above are performed or more specific processing is performed when the above steps are performed. The contents of these additional steps and further processing have been mentioned in the description of the related methods and apparatuses with reference to FIG. 1 to FIG. 8 , so to avoid repetitions here No further description will be given.
应注意,根据本公开的示例性实施例的实现人机多轮对话的方法和装置可完全依赖计算机程序的运行来实现相应的功能,其中,装置或系统的各个单元在计算机程序的功能架构中与各步骤相应,使得整个装置或系统通过专门的软件包(例如,lib库)而被调用,以实现相应的功能。It should be noted that the method and apparatus for implementing multi-turn human-machine dialogue according to the exemplary embodiments of the present disclosure can completely rely on the running of a computer program to implement corresponding functions, wherein each unit of the apparatus or system is in the functional architecture of the computer program Corresponding to each step, the entire device or system is invoked through a special software package (eg, lib library) to implement corresponding functions.
例如,提供根据本公开的实施例的包括一个或多个计算装置和一个或多个存储装置的实现人机多轮对话的系统,其中,所述一个或多个存储装置中存储有计算机程序,在所述计算机程序被所述一个或多个计算装置执行时使得所述一个或多个计算装置实现本申请中所公开的任一方法。例如,使得所述一个或多个计算装置执行以下步骤:提供用户配置界面,其中,所述用户配置界面中提供了多种类型的意图节点;基于第一用户在所述用户配置界面上选择意图节点、配置意图节点和连接意图节点的操作,构建意图单元;基于所述意图单元实现与第二用户的人机多轮对话,以获取第二用户在人机多轮对话中的关键意图,实现对话的判断预测。For example, according to an embodiment of the present disclosure, there is provided a system for implementing a multi-turn human-machine dialogue including one or more computing devices and one or more storage devices, wherein the one or more storage devices store a computer program, The computer program, when executed by the one or more computing devices, causes the one or more computing devices to implement any of the methods disclosed in this application. For example, the one or more computing devices are caused to perform the steps of: providing a user configuration interface in which multiple types of intent nodes are provided; selecting an intent on the user configuration interface based on a first user Nodes, configuration intent nodes, and operations of connecting intent nodes to construct an intent unit; based on the intent unit, a man-machine multi-round dialogue with the second user is implemented to obtain the second user's key intent in the man-machine multi-round dialogue, and the realization of Dialogue judgment prediction.
具体说来,上述计算装置可以部署在服务器中,也可以部署在分布式网络环境中的节点装置上。此外,所述计算装置设备还可包括视频显示器(诸如,液晶显示器)和用户交互接口(诸如,键盘、鼠标、触摸输入装置等)。计算装置设备的所有组件可经由总线和/或网络而彼此连接。Specifically, the above computing device may be deployed in a server, or may be deployed on a node device in a distributed network environment. In addition, the computing device apparatus may also include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, mouse, touch input device, etc.). All components of the computing device apparatus may be connected to each other via a bus and/or network.
这里,所述计算装置并非必须是单个装置,还可以是任何能够单独或联合执行上述指令(或指令集)的装置或电路的集合体。所述计算装置还可以是集成控制计算装置或计算装置管理器的一部分,或者可被配置为与本地或远程(例如,经由无线传输)以接口互联的便携式电子装置。Here, the computing device does not have to be a single device, but can also be any device or a collection of circuits capable of executing the above-mentioned instructions (or instruction sets) individually or jointly. The computing device may also be part of an integrated control computing device or computing device manager, or may be configured as a portable electronic device that interfaces locally or remotely (eg, via wireless transmission).
用于执行根据本公开的示例性实施例的神经网络的训练方法或命名实体识别方法的计算装置可以是处理器,这样的处理器可包括中央处理器(CPU)、图形处理器(GPU)、可编程逻辑装置、专用处理器、微控制器或微处理器。作为示例而非限制,所述处理器还可包括模拟处理器、数字处理器、微处理器、多核处理器、处理器阵列、网络处理器等。处理器可运行存储在存储装置之一中的指令或代码,其中,所述存储装置还可以存储数据。指令和数据还可经由网络接口装置而通过网络被发送和接收,其中,所述网络接口装置可采用任何已知的传输协议。The computing device for performing the neural network training method or the named entity recognition method according to the exemplary embodiment of the present disclosure may be a processor, and such a processor may include a central processing unit (CPU), a graphics processing unit (GPU), a Programmable logic device, special purpose processor, microcontroller or microprocessor. By way of example and not limitation, the processors may also include analog processors, digital processors, microprocessors, multi-core processors, processor arrays, network processors, and the like. The processor may execute instructions or code stored in one of the storage devices, which may also store data. Instructions and data may also be sent and received over a network via a network interface device, which may employ any known transport protocol.
存储装置可与处理器集成为一体,例如,将RAM或闪存布置在集成电路微处理器等之内。此外,存储装置可包括独立的装置,诸如,外部盘驱动、存储阵列或任何数据库计算装置可使用的其他存储装置。存储装置和处理器可在操作上进行耦合,或者可例如通过 I/O端口、网络连接等互相通信,使得处理器能够读取存储在存储装置中的文件。The storage device may be integrated with the processor, eg, RAM or flash memory arranged within an integrated circuit microprocessor or the like. Additionally, the storage device may include a stand-alone device such as an external disk drive, a storage array, or any other storage device that may be used by a database computing device. The storage device and the processor may be operatively coupled, or may communicate with each other, eg, through I/O ports, network connections, etc., to enable the processor to read files stored in the storage device.
应注意本公开示例性实施注重解决目前面对用户的复杂对话情况,对话机器人程序往往难以灵活应对,无法有效地解决与用户的意图对应的问题。具体地讲,本公开这种可根据第一用户的自身业务需求和业务经验来灵活地在用户配置界面上选择意图节点、配置意图节点和连接意图节点,从而构建为对话机器人程序所用的面向第二用户的意图单元。因此,对话机器人程序可以基于面向第二用户的意图单元灵活应对用户的复杂对话情况,有效地获取用户的最终指令,从而提供准确的信息和服务。It should be noted that the exemplary implementation of the present disclosure focuses on solving the complex dialogue situation facing the user at present, and the dialogue robot program is often difficult to deal with flexibly and cannot effectively solve the problem corresponding to the user's intention. Specifically, the present disclosure can flexibly select intent nodes, configure intent nodes, and connect intent nodes on the user configuration interface according to the first user's own business needs and business experience, so as to build a first-oriented first-level user interface for conversational robot programs. Two user intent units. Therefore, the dialogue robot program can flexibly respond to the user's complex dialogue situation based on the intent unit oriented to the second user, and effectively obtain the user's final instruction, thereby providing accurate information and services.
以上描述了本申请的各示例性实施例,应理解,上述描述仅是示例性的,并非穷尽性的,本申请不限于所披露的各示例性实施例。在不偏离本申请的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。因此,本申请的保护范围应该以权利要求的范围为准。Various exemplary embodiments of the present application have been described above, and it should be understood that the above description is only exemplary and not exhaustive, and the present application is not limited to the disclosed exemplary embodiments. Numerous modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of this application. Therefore, the protection scope of the present application should be subject to the scope of the claims.
工业实用性Industrial Applicability
本公开提供的实现人机多轮对话的系统、方法和装置,可根据第一用户的自身业务需求和业务经验来灵活地在用户配置界面上选择意图节点、配置意图节点和连接意图节点,从而构建为对话机器人程序所用的面向第二用户的意图单元。因此,对话机器人程序可以基于面向第二用户的意图单元灵活应对用户的复杂对话情况,有效地获取用户的关键意图,从而提供准确的信息和服务。The system, method and device for realizing human-machine multi-round dialogue provided by the present disclosure can flexibly select intent nodes, configure intent nodes, and connect intent nodes on the user configuration interface according to the first user's own business needs and business experience, thereby Built as a second user-facing intent unit for use by conversational bots. Therefore, the dialog robot program can flexibly respond to the user's complex dialog situation based on the intent unit oriented to the second user, and effectively acquire the user's key intent, thereby providing accurate information and services.

Claims (24)

  1. 一种包括至少一个计算装置和至少一个存储装置的实现人机多轮对话的系统,所述至少一个存储装置上存储有指令,所述指令在被所述至少一个计算装置运行时,促使所述至少一个计算装置执行实现人机多轮对话的方法的以下步骤:A system for implementing multi-turn human-machine dialogue comprising at least one computing device and at least one storage device, the at least one storage device having instructions stored thereon, the instructions, when executed by the at least one computing device, cause the At least one computing device performs the following steps of a method for implementing a multi-turn human-machine dialogue:
    提供用户配置界面,其中,所述用户配置界面中提供了多种类型的意图节点;providing a user configuration interface, wherein multiple types of intent nodes are provided in the user configuration interface;
    基于第一用户在所述用户配置界面上选择意图节点、配置意图节点和连接意图节点的操作,构建意图单元;constructing an intent unit based on the operations of the first user selecting an intent node, configuring an intent node, and connecting an intent node on the user configuration interface;
    基于所述意图单元实现与第二用户的人机多轮对话,以获取第二用户在人机多轮对话中的关键意图,实现对话的判断预测。Based on the intention unit, a multi-round dialogue with the second user is implemented, so as to obtain the key intention of the second user in the multi-round dialogue between the human and the computer, so as to realize the judgment and prediction of the dialogue.
  2. 根据权利要求1所述的系统,其中,所述多种类型的意图节点包括如下中的一种或多种:输入节点、判断节点、输出节点、赋值节点和接口节点。The system of claim 1, wherein the multiple types of intent nodes include one or more of the following: input nodes, judgment nodes, output nodes, assignment nodes, and interface nodes.
  3. 根据权利要求2所述的系统,其中,输入节点的配置项包括:The system of claim 2, wherein the configuration items of the input node include:
    用于触发任务的触发问法和与触发问法相似的问法;Triggering methods for triggering tasks and similar methods to triggering questions;
    槽位,其中,槽位基于触发问法和与触发问法相似的问法来设置;Slots, wherein the slots are set based on the trigger method and the trigger method similar to the trigger method;
    任务参数,其中,任务参数基于触发问法和与触发问法相似的问法之中的至少一个来设置。Task parameters, wherein the task parameters are set based on at least one of a trigger method and a method similar to the trigger method.
  4. 根据权利要求3所述的系统,其中,输入节点的配置项还包括用于跳转到其他输入节点的跳转问法。The system of claim 3, wherein the configuration item of the input node further includes a jumping method for jumping to other input nodes.
  5. 根据权利要求2所述的系统,其中,判断节点的配置项包括参数逻辑,其中,参数逻辑对上一节点获得的值与已知值或自定义值进行逻辑条件判断,并基于互斥的判断结果来确定判断节点的下一节点。The system according to claim 2, wherein the configuration item of the judgment node includes parameter logic, wherein the parameter logic performs logical condition judgment on the value obtained by the previous node and the known value or the user-defined value, and judges based on mutual exclusion As a result, the next node of the judgment node is determined.
  6. 根据权利要求5所述的系统,其中,参数逻辑的配置项包括自定义判断值、自定义逻辑关系和自定义参考值,The system according to claim 5, wherein the configuration items of the parameter logic include a self-defined judgment value, a self-defined logical relationship and a self-defined reference value,
    其中,参数逻辑被配置为确定自定义判断值与自定义参考值是否满足自定义逻辑关系,并基于确定的结果来确定判断节点的下一节点。The parameter logic is configured to determine whether the user-defined judgment value and the user-defined reference value satisfy the user-defined logical relationship, and to determine the next node of the judgment node based on the determined result.
  7. 根据权利要求6所述的系统,其中,自定义判断值包括从上一节点接收的数据中的任务参数值、参数词典中的参数值和接口返回值中的至少一个,The system according to claim 6, wherein the self-defined judgment value includes at least one of the task parameter value in the data received from the previous node, the parameter value in the parameter dictionary and the interface return value,
    其中,自定义参考值包括参数词典中的集合值、接口返回值、自定义值中的至少一个,Among them, the custom reference value includes at least one of the set value in the parameter dictionary, the interface return value, and the custom value,
    其中,自定义逻辑关系是由第一用户根据意图节点选择的自定义判断值与自定义参考值之间的逻辑关系。The custom logical relationship is a logical relationship between the custom judgment value selected by the first user according to the intent node and the custom reference value.
  8. 根据权利要求2所述的系统,其中,输出节点的配置项包括以预定形式向第二用户输出回复内容的配置项。The system of claim 2, wherein the configuration item of the output node includes a configuration item of outputting the reply content to the second user in a predetermined form.
  9. 根据权利要求8所述的系统,其中,输出节点的内容编辑器默认状态下的文本框支持添加已获得的任务参数及接口节点的输出参数。The system according to claim 8, wherein the text box in the default state of the content editor of the output node supports adding the obtained task parameters and the output parameters of the interface node.
  10. 根据权利要求2所述的系统,其中,赋值节点的配置项包括参数重置和自定义赋值中的至少一个,The system according to claim 2, wherein the configuration item of the assignment node includes at least one of parameter reset and self-defined assignment,
    其中,参数重置包括基于从赋值节点的上一节点接收的数据的槽位信息更迭,自定义赋值用于支持用户标签功能。Wherein, the parameter reset includes the change of slot information based on the data received from the previous node of the assignment node, and the custom assignment is used to support the user tag function.
  11. 根据权利要求2所述的系统,其中,接口节点的配置项包括被配置为支持接口信息调取配置的配置项。The system of claim 2, wherein the configuration item of the interface node includes a configuration item configured to support interface information retrieval configuration.
  12. 一种实现人机多轮对话的方法,所述方法包括:A method for realizing multi-round dialogue between humans and machines, the method comprising:
    提供用户配置界面,其中,所述用户配置界面中提供了多种类型的意图节点;providing a user configuration interface, wherein multiple types of intent nodes are provided in the user configuration interface;
    基于第一用户在所述用户配置界面上选择意图节点、配置意图节点和连接意图节点的操作,构建意图单元;constructing an intent unit based on the operations of the first user selecting an intent node, configuring an intent node, and connecting an intent node on the user configuration interface;
    基于所述意图单元实现与第二用户的人机多轮对话,以获取第二用户在人机多轮对话中的关键意图,实现对话的判断预测。Based on the intention unit, a multi-round dialogue with the second user is implemented, so as to obtain the key intention of the second user in the multi-round dialogue between the human and the computer, so as to realize the judgment and prediction of the dialogue.
  13. 根据权利要求12所述的方法,其中,所述多种类型的意图节点包括如下中的一种或多种:输入节点、判断节点、输出节点、赋值节点和接口节点。13. The method of claim 12, wherein the multiple types of intent nodes include one or more of the following: input nodes, judgment nodes, output nodes, assignment nodes, and interface nodes.
  14. 根据权利要求13所述的方法,其中,输入节点的配置项包括:The method of claim 13, wherein the configuration items of the input node comprise:
    用于触发任务的触发问法和与触发问法相似的问法;Triggering methods for triggering tasks and similar methods to triggering questions;
    槽位,其中,槽位基于触发问法和与触发问法相似的问法来设置;Slots, wherein the slots are set based on the trigger method and the trigger method similar to the trigger method;
    任务参数,其中,任务参数基于触发问法和与触发问法相似的问法之中的至少一个来设置。Task parameters, wherein the task parameters are set based on at least one of a trigger method and a method similar to the trigger method.
  15. 根据权利要求14所述的方法,其中,输入节点的配置项还包括用于跳转到其他输入节点的跳转问法。The method of claim 14, wherein the configuration item of the input node further comprises a jumping method for jumping to other input nodes.
  16. 根据权利要求13所述的方法,其中,判断节点的配置项包括参数逻辑,其中,参数逻辑对上一节点获得的值与已知值或自定义值进行逻辑条件判断,并基于互斥的判断结果来确定判断节点的下一节点。The method according to claim 13, wherein the configuration item of the judgment node includes parameter logic, wherein the parameter logic performs logical condition judgment on the value obtained by the previous node and the known value or the user-defined value, and judges based on mutual exclusion As a result, the next node of the judgment node is determined.
  17. 根据权利要求16所述的方法,其中,参数逻辑的配置项包括自定义判断值、自定义逻辑关系和自定义参考值,The method according to claim 16, wherein the configuration items of the parameter logic include a self-defined judgment value, a self-defined logical relationship and a self-defined reference value,
    其中,参数逻辑被配置为确定自定义判断值与自定义参考值是否满足自定义逻辑关系,并基于确定的结果来确定判断节点的下一节点。The parameter logic is configured to determine whether the user-defined judgment value and the user-defined reference value satisfy the user-defined logical relationship, and to determine the next node of the judgment node based on the determined result.
  18. 根据权利要求17所述的方法,其中,自定义判断值包括从上一节点接收的数据中的任务参数值、参数词典中的参数值和接口返回值中的至少一个,The method according to claim 17, wherein the self-defined judgment value includes at least one of a task parameter value in the data received from the previous node, a parameter value in a parameter dictionary and an interface return value,
    其中,自定义参考值包括参数词典中的集合值、接口返回值、自定义值中的至少一个,Among them, the custom reference value includes at least one of the set value in the parameter dictionary, the interface return value, and the custom value,
    其中,自定义逻辑关系是由第一用户根据意图节点选择的自定义判断值与自定义参考值之间的逻辑关系。The custom logical relationship is a logical relationship between the custom judgment value selected by the first user according to the intent node and the custom reference value.
  19. 根据权利要求13所述的方法,其中,输出节点的配置项包括以预定形式向第二用户输出回复内容的配置项。The method of claim 13, wherein the configuration item of the output node includes a configuration item of outputting the reply content to the second user in a predetermined form.
  20. 根据权利要求19所述的方法,其中,输出节点的内容编辑器默认状态下的文本框支持添加已获得的任务参数及接口节点的输出参数。The method according to claim 19, wherein the text box in the default state of the content editor of the output node supports adding the obtained task parameters and the output parameters of the interface node.
  21. 根据权利要求13所述的方法,其中,赋值节点的配置项包括参数重置和自定义 赋值中的至少一个,The method of claim 13, wherein the configuration item of the assignment node includes at least one of parameter reset and self-defined assignment,
    其中,参数重置包括基于从赋值节点的上一节点接收的数据的槽位信息更迭,自定义赋值用于支持用户标签功能。Wherein, the parameter reset includes the change of slot information based on the data received from the previous node of the assignment node, and the custom assignment is used to support the user tag function.
  22. 根据权利要求13所述的方法,其中,接口节点的配置项包括被配置为支持接口信息调取配置的配置项。14. The method of claim 13, wherein the configuration item of the interface node includes a configuration item configured to support interface information retrieval configuration.
  23. 一种实现人机多轮对话的装置,所述装置包括:A device for realizing man-machine multi-round dialogue, the device comprising:
    用户配置界面提供单元,提供用户配置界面,其中,用户配置界面提供单元在所述用户配置界面中提供了多种类型的意图节点;a user configuration interface providing unit that provides a user configuration interface, wherein the user configuration interface providing unit provides multiple types of intent nodes in the user configuration interface;
    意图单元构建单元,基于第一用户在所述用户配置界面上选择意图节点、配置意图节点和连接意图节点的操作,构建意图单元;an intent unit construction unit, which constructs an intent unit based on the operations of the first user selecting an intent node, configuring an intent node, and connecting an intent node on the user configuration interface;
    人机多轮对话实现单元,基于所述意图单元实现与第二用户的人机多轮对话,以获取第二用户在人机多轮对话中的关键意图,实现对话的判断预测。The human-machine multi-round dialogue realization unit realizes the human-machine multi-round dialogue with the second user based on the intention unit, so as to obtain the key intention of the second user in the human-machine multi-round dialogue, and realize the judgment and prediction of the dialogue.
  24. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序在被一个或多个计算装置执行时使得所述一个或多个计算装置实现如权利要求12-22中任一项所述的方法。A computer-readable storage medium having stored thereon a computer program that, when executed by one or more computing apparatuses, causes the one or more computing apparatuses to implement the methods of claim 12- The method of any one of 22.
PCT/CN2021/074352 2020-08-20 2021-01-29 System, method and device for implementing man-machine multi-round conversation WO2022037019A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010844657.1A CN111984355A (en) 2020-08-20 2020-08-20 Method and device for realizing man-machine multi-turn conversation
CN202010844657.1 2020-08-20

Publications (1)

Publication Number Publication Date
WO2022037019A1 true WO2022037019A1 (en) 2022-02-24

Family

ID=73442462

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/074352 WO2022037019A1 (en) 2020-08-20 2021-01-29 System, method and device for implementing man-machine multi-round conversation

Country Status (2)

Country Link
CN (1) CN111984355A (en)
WO (1) WO2022037019A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984355A (en) * 2020-08-20 2020-11-24 第四范式(北京)技术有限公司 Method and device for realizing man-machine multi-turn conversation
CN115793914A (en) * 2023-02-08 2023-03-14 广州市玄武无线科技股份有限公司 Multi-round scene interaction flow chart generation method, electronic equipment and storage medium thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7331036B1 (en) * 2003-05-02 2008-02-12 Intervoice Limited Partnership System and method to graphically facilitate speech enabled user interfaces
CN108984157A (en) * 2018-07-27 2018-12-11 苏州思必驰信息科技有限公司 Technical ability configuration and call method and system for voice dialogue platform
CN109614474A (en) * 2018-06-05 2019-04-12 安徽省泰岳祥升软件有限公司 Process configuration unit, method and the intelligent robot interactive system of more wheel sessions
CN109635085A (en) * 2018-06-05 2019-04-16 安徽省泰岳祥升软件有限公司 The management method of intelligent interaction process, more wheel dialogue methods and device
CN110110039A (en) * 2019-01-10 2019-08-09 浙江百应科技有限公司 A kind of method that the visualization of intelligent sound robot is built
CN111611357A (en) * 2019-02-25 2020-09-01 北京嘀嘀无限科技发展有限公司 Configuration method of man-machine conversation system, multi-turn conversation configuration platform and electronic equipment
CN111984355A (en) * 2020-08-20 2020-11-24 第四范式(北京)技术有限公司 Method and device for realizing man-machine multi-turn conversation

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109074292B (en) * 2016-04-18 2021-12-14 谷歌有限责任公司 Automated assistant invocation of appropriate agents
CN110942769A (en) * 2018-09-20 2020-03-31 九阳股份有限公司 Multi-turn dialogue response system based on directed graph
CN109829036A (en) * 2019-02-12 2019-05-31 浙江核新同花顺网络信息股份有限公司 A kind of dialogue management method and relevant apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7331036B1 (en) * 2003-05-02 2008-02-12 Intervoice Limited Partnership System and method to graphically facilitate speech enabled user interfaces
CN109614474A (en) * 2018-06-05 2019-04-12 安徽省泰岳祥升软件有限公司 Process configuration unit, method and the intelligent robot interactive system of more wheel sessions
CN109635085A (en) * 2018-06-05 2019-04-16 安徽省泰岳祥升软件有限公司 The management method of intelligent interaction process, more wheel dialogue methods and device
CN108984157A (en) * 2018-07-27 2018-12-11 苏州思必驰信息科技有限公司 Technical ability configuration and call method and system for voice dialogue platform
CN110110039A (en) * 2019-01-10 2019-08-09 浙江百应科技有限公司 A kind of method that the visualization of intelligent sound robot is built
CN111611357A (en) * 2019-02-25 2020-09-01 北京嘀嘀无限科技发展有限公司 Configuration method of man-machine conversation system, multi-turn conversation configuration platform and electronic equipment
CN111984355A (en) * 2020-08-20 2020-11-24 第四范式(北京)技术有限公司 Method and device for realizing man-machine multi-turn conversation

Also Published As

Publication number Publication date
CN111984355A (en) 2020-11-24

Similar Documents

Publication Publication Date Title
US11409425B2 (en) Transactional conversation-based computing system
CN111860753B (en) Directed acyclic graph-based framework for training models
US20210304075A1 (en) Batching techniques for handling unbalanced training data for a chatbot
CN106716934B (en) Chat interaction method and device and electronic equipment thereof
US10203843B2 (en) Facilitating selection of attribute values for graphical elements
CN114365215B (en) Dynamic contextual dialog session extension
US20180358006A1 (en) Dynamic event processing
CN116737900A (en) Man-machine interaction processing system and method, storage medium and electronic equipment
CN111078845B (en) Method, system and program for generating decision tree for chat robot conversation flow capability
US20140289641A1 (en) Adaptive User Interface
KR20210134675A (en) Method and system for learning and executing instructions through user demonstration
WO2022037019A1 (en) System, method and device for implementing man-machine multi-round conversation
US11283737B2 (en) Application initiated conversations for chatbots
US10831297B2 (en) Method, apparatus and computer-readable media for touch and speech interface
US11467553B2 (en) Efficient configuration of scenarios for event sequencing
CN107592926A (en) Multi-mode collaboration dialogue is established using task frame
EP3832462A1 (en) Dynamic orchestration in a multi-container architecture
CN106537349A (en) Multi-purpose application launching interface
CN116490879A (en) Method and system for over-prediction in neural networks
CN112861007A (en) Screen saver display method, device, equipment, medium and program product
CA2923602A1 (en) Apparatus and method for generating and outputting an interactive image object
Croisdale et al. DeckFlow: A Card Game Interface for Exploring Generative Model Flows
CN105378605B (en) Change the input to application delivering
CN115981719A (en) Configuration method, control method, storage medium and electronic device of intelligent system

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: 21857125

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: 21857125

Country of ref document: EP

Kind code of ref document: A1