WO2022142012A1 - Script configuration adjustment method and apparatus, electronic device, and storage medium - Google Patents

Script configuration adjustment method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2022142012A1
WO2022142012A1 PCT/CN2021/090457 CN2021090457W WO2022142012A1 WO 2022142012 A1 WO2022142012 A1 WO 2022142012A1 CN 2021090457 W CN2021090457 W CN 2021090457W WO 2022142012 A1 WO2022142012 A1 WO 2022142012A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
speech
force
directed graph
configuration information
Prior art date
Application number
PCT/CN2021/090457
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 WO2022142012A1 publication Critical patent/WO2022142012A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/75Structural analysis for program understanding

Definitions

  • the present application relates to the technical field of artificial intelligence, and in particular, to a method, device, electronic device and storage medium for adjusting speech configuration.
  • Human-computer dialogue is an important field in the field of artificial intelligence.
  • the inventor realized that the existing technology uses pre-set speech templates, and developers manually write the speech templates into corresponding speech templates by hardcoding.
  • the client interface cannot be displayed.
  • the customer cannot know it, resulting in a low accuracy of the speech configuration.
  • professional developers are required. Adjusting the speech configuration information and structure according to the speech document provided by the customer results in slow response and low efficiency of speech adjustment.
  • a first aspect of the present application provides a speech configuration adjustment method, the method comprising:
  • a second aspect of the present application provides an electronic device, the electronic device comprising a memory and a processor, the memory for storing at least one computer-readable instruction, the processor for executing the at least one computer-readable instruction to Implement the following steps:
  • a third aspect of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores at least one computer-readable instruction, and when the at least one computer-readable instruction is executed by a processor, implements the following steps:
  • a fourth aspect of the present application provides a speech configuration adjustment device, the device comprising:
  • the receiving module is used to receive the technical configuration request sent by the client;
  • a parsing module configured to parse the speech configuration request to obtain the business attribute of the target speech, and obtain the corresponding intent set from the intent database based on the business attribute of the target speech;
  • the extraction module is configured to extract multiple target intents from the intent set according to the intent selection instruction, and associate the tagged discourses of the multiple target intents with the business attributes of the target discourses to form a target discourse Talk configuration information;
  • a creation module configured to create a force-directed graph of the target speech based on the speech configuration information of the target speech
  • a conversion module configured to convert the force-directed graph of the target speech into a tree-like layout, and display it on the interface of the client;
  • An adjustment module configured to adjust the speech configuration information of the target speech according to the speech adjustment instruction.
  • the speech configuration adjustment method, device, electronic device, and storage medium described in the present application obtain node data and reference relationships between nodes from the speech configuration information of the target speech, according to the node data and The reference relationship between the nodes creates a force-directed graph of the target speech, and the speech configuration is displayed by means of a force-directed graph, and the configuration information of the speech configuration of the target speech can be seen intuitively.
  • the customer can make adjustments in time, which improves the efficiency of speech adjustment, and thus improves the accuracy of speech configuration; on the other hand, in order to avoid the phenomenon of confusion in the force-directed graph when there are too many nodes , converts the force-oriented graph of the target language into a tree-like layout, and displays the tree-like layout on the interface of the client, so that the client can intuitively see the configuration information of the target language and how to configure it
  • it can respond in time, which improves the efficiency and accuracy of speech adjustment
  • the adjustment instruction sent by the client parsing the adjustment instruction to obtain the service attributes to be adjusted,
  • the speech configuration information is quickly adjusted according to the location coordinates of the service attributes to be adjusted, which improves the accuracy and efficiency of the adjustment of the speech configuration information.
  • FIG. 1 is a flowchart of a method for adjusting a speech configuration provided by Embodiment 1 of the present application.
  • FIG. 2 is a structural diagram of an apparatus for adjusting a voice configuration provided in Embodiment 2 of the present application.
  • FIG. 3 is a schematic structural diagram of an electronic device provided in Embodiment 3 of the present application.
  • FIG. 1 is a flowchart of a method for adjusting a speech configuration provided by Embodiment 1 of the present application.
  • the voice configuration adjustment method can be applied to an electronic device.
  • the voice configuration adjustment function provided by the method of the present application can be directly integrated on the electronic device. , or run in electronic equipment in the form of a software development kit (SKD).
  • SSD software development kit
  • the speech configuration adjustment method specifically includes the following steps. According to different requirements, the order of the steps in the flowchart can be changed, and some can be omitted.
  • S11 Receive a session configuration request sent by the client.
  • the client initiates a voice configuration request through the client when performing voice configuration.
  • the client may be a smart phone, an IPAD, or other devices
  • the server may be a voice configuration system.
  • the client may send a session configuration request to the session configuration system, and the session configuration system is configured to receive the session configuration request sent by the client.
  • each speech configuration request contains the service attribute of the target speech
  • the information such as the target speech type of the target speech, the service attribute of the target speech, etc., are obtained by parsing the speech configuration request, And based on the business attribute of the target language, the corresponding intent set is acquired from the intent database.
  • the acquiring the corresponding intent set from the intent database based on the business attribute of the target language includes;
  • a default intent set is acquired.
  • the association relationship of the target discourse is determined according to the intent, and after the target discourse type of the target discourse is acquired, the corresponding intent set is extracted from the intent database according to the target discourse class , specifically, each intent in the intent database is configured with a business attribute, the intent is configured from tagged discourses with the same intent in all historical discourse data, and each tagged discourse corresponds to a service attribute, which improves the management efficiency of the business attribute of the target speech.
  • the intent selection instruction in the discourse configuration request is selected from the intent set according to the intent set.
  • the target intent corresponding to each service attribute is extracted from the .
  • the associating the multiple target-intent tagged phrases with the service attributes of the target phrases includes:
  • the tagged speech corresponding to any first label is not associated with the service attribute of the target speech.
  • each target intent includes a plurality of tagged phrases, and each tagged phrase corresponds to a first tag.
  • the robot asks: Hello, are you interested in learning how to use the phrases? configure it?
  • the next node corresponding to the target node is the topic configuration information corresponding to "interested”.
  • each of the target discourses is determined.
  • the force-directed graph is used to display the association relationship between the nodes of the speech, and the force-directed graph of the target speech is created according to the speech configuration information of the target speech.
  • the creating a force-directed graph of the target speech based on speech configuration information of the target speech includes:
  • a force-directed graph of the target speech is created from nodes of the force-directed graph and edges between the force-directed graph nodes.
  • the creating a force-directed graph of the target speech based on the speech configuration information of the target speech includes:
  • a force-directed graph of the target discourse is created from nodes of the force-directed graph and edges between nodes in the force-directed graph.
  • the first structural data refers to converting the discourse configuration information of the target discourse into first structural data according to a preset conversion rule
  • the relational database can determine the difference between the first data structures.
  • the corresponding edge between the nodes in the force-directed graph, the force-directed graph of the target language is created according to the nodes of the force-directed graph and the edges between the nodes in the force-directed graph, which further improves the created force. Integrity of the orientation graph.
  • node data and the reference relationship between nodes are obtained from the language configuration information of the target language, and the force orientation of the target language is created according to the node data and the reference relationship between the nodes Figure, showing the voice configuration through a force-directed graph, you can intuitively see the configuration information of the target voice configuration, when there is an error in the configuration process, the customer can make adjustments in time to improve the voice It can improve the efficiency of skill adjustment, thereby improving the accuracy of speech configuration.
  • S15 Convert the force-directed graph of the target language into a tree-like layout, and display it on the interface of the client.
  • the force-directed graph of the target speech is converted into a tree-like layout, and the tree-like layout is displayed on the interface of the client , so that the client can intuitively see the configuration information of the target speech and how to configure it.
  • the client can intuitively see the configuration information of the target speech and how to configure it.
  • it can respond in time, which improves the efficiency and accuracy of speech adjustment.
  • the converting the force-directed graph of the target speech into a tree-like layout includes:
  • Restarting the preset tree structure converts the force-directed graph of the target speech into a tree-like layout.
  • the tree-like layout can display the target speech more intuitively.
  • the force of the target speech is first
  • the discourse configuration information in the orientation graph is copied to obtain the target discourse configuration information, which ensures the consistency between the discourse configuration information in the force-directed graph and the discourse configuration information in the tree layout, and improves the discourse configuration in the tree layout. Integrity of configuration information.
  • the target speech configuration information After obtaining the target speech configuration information, convert the target speech configuration information into a preset tree structure, and use the preset tree layout to calculate and obtain the second position coordinates of each node , re-layout and change the second position coordinates in the preset tree structure, and update the second position coordinates to the first position coordinates of the corresponding nodes in the force-directed graph, without destroying the force-directed graph structure.
  • the preset tree layout Based on the tree-like layout of the force-directed graph conversion, it is convenient to more intuitively confirm the speech information of each node of the target speech and the relationship between the nodes, and improve the accuracy of speech configuration information adjustment.
  • the adjustment instruction is used to request to adjust the speech configuration information of the target speech, and when the adjustment instruction sent by the client is monitored, the adjustment instruction is triggered to perform speech configuration information of the target speech.
  • the adjusting the speech configuration information of the target speech according to the speech adjustment instruction includes:
  • the location coordinates corresponding to the tree layout are determined according to the target label, and the node speech configuration information corresponding to the location coordinates is adjusted.
  • the speech configuration information since the user can intuitively see the speech configuration information and the reference relationship between the nodes in the tree layout of the target speech, when the speech configuration information needs to be adjusted, the corresponding communication is directly determined according to the business requirements.
  • the position coordinates in the tree-like layout are quickly adjusted according to the speech configuration information according to the position coordinates, which improves the accuracy and efficiency of the adjustment of the speech configuration information.
  • the method for adjusting a speech in this embodiment receives a speech configuration request sent by a client; parses the speech configuration request to obtain the service attributes of the target speech, The business attribute obtains the corresponding intent set from the intent database; extracts multiple target intents from the intent set according to the intent selection instruction, and compares the tagged discourses of the multiple target intents with the business attributes of the target discourse perform association to form the discourse configuration information of the target discourse; create a force-directed graph of the target discourse based on the discourse configuration information of the target discourse; convert the force-directed graph of the target discourse into a tree-like layout, and Displaying on the interface of the client; adjusting the discourse configuration information of the target discourse according to the discourse adjustment instruction.
  • the target language is created according to the node data and the reference relationship between the nodes
  • the force-directed graph of the target dialect is used to display the configuration of the dialect, and the configuration information of the dialect configuration of the target dialect can be seen intuitively.
  • the customer can adjust it in time. It improves the efficiency of language adjustment, thereby improving the accuracy of language configuration; on the other hand, in order to avoid the phenomenon of confusion in the force-directed graph when there are too many nodes, the force-directed graph of the target language is converted into a tree.
  • the client can intuitively see the configuration information of the target language and how to configure it.
  • it can respond in time, which improves the The efficiency and accuracy of the speech adjustment; finally, when monitoring the adjustment instruction sent by the client, parse the adjustment instruction to obtain the service attribute to be adjusted, and quickly adjust the speech according to the position coordinates of the service attribute to be adjusted.
  • the configuration information improves the accuracy and efficiency of the adjustment of the speech configuration information.
  • FIG. 2 is a structural diagram of an apparatus for adjusting a voice configuration provided in Embodiment 2 of the present application.
  • the speech configuration adjustment device 20 may include a plurality of functional modules composed of program code segments.
  • the program codes of each program segment in the voice configuration adjustment device 20 may be stored in the memory of the electronic device and executed by the at least one processor to execute (see description in FIG. 1 for details) the voice configuration adjustment. Function.
  • the speech configuration adjustment device 20 can be divided into a plurality of functional modules according to the functions performed by the device 20 .
  • the functional modules may include: a receiving module 201 , a parsing module 202 , an extracting module 203 , a creating module 204 , a converting module 205 and an adjusting module 206 .
  • a module referred to in this application refers to a series of computer program segments that can be executed by at least one processor and can perform fixed functions, and are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.
  • the receiving module 201 is configured to receive a session configuration request sent by the client.
  • the client initiates a voice configuration request through the client when performing voice configuration.
  • the client may be a smart phone, an IPAD, or other devices
  • the server may be a voice configuration system.
  • the client may send a session configuration request to the session configuration system, and the session configuration system is configured to receive the session configuration request sent by the client.
  • the parsing module 202 is configured to parse the speech configuration request to obtain the service attribute of the target speech, and obtain the corresponding intent set from the intention database based on the service attribute of the target speech.
  • each speech configuration request contains the service attribute of the target speech
  • the information such as the target speech type of the target speech, the service attribute of the target speech, etc., are obtained by parsing the speech configuration request, And based on the business attribute of the target language, the corresponding intent set is acquired from the intent database.
  • the parsing module 202 obtains the corresponding intent set from the intent database based on the business attribute of the target speech, including;
  • a default intent set is acquired.
  • the association relationship of the target speech is determined according to the intent, and after the target speech type of the target speech is acquired, the corresponding intent set is extracted from the intent database according to the target speech category.
  • each intent in the intent database is configured with a business attribute
  • the intent is configured from tagged discourses with the same intent in all historical discourse data
  • each tagged discourse corresponds to a service attribute, which improves the management efficiency of the business attribute of the target speech.
  • the extraction module 203 is used for extracting multiple target intents from the intent set according to the intent selection instruction, and associating the tagged phrases of the multiple target intents with the business attributes of the target phrases to form a target phrase. Talk configuration information for the term.
  • the intent selection instruction in the discourse configuration request is selected from the intent set according to the intent set.
  • the target intent corresponding to each service attribute is extracted from the .
  • the extracting module 203 associating the multiple target-intent tagged phrases with the service attributes of the target phrases includes:
  • the tagged speech corresponding to any first label is not associated with the service attribute of the target speech.
  • each target intent includes a plurality of tagged phrases, and each tagged phrase corresponds to a first tag.
  • the robot asks: Hello, are you interested in learning how to use the phrases? configure it?
  • the next node corresponding to the target node is the topic configuration information corresponding to "interested”.
  • each of the target discourses is determined.
  • the creating module 204 is configured to create a force-directed graph of the target speech based on the speech configuration information of the target speech.
  • the force-directed graph is used to display the association relationship between the nodes of the speech, and the force-directed graph of the target speech is created according to the speech configuration information of the target speech.
  • the creating module 204 creates a force-directed graph of the target speech based on the speech configuration information of the target speech, including:
  • a force-directed graph of the target speech is created from nodes of the force-directed graph and edges between the force-directed graph nodes.
  • the creating module 204 creates a force-directed graph of the target speech based on the speech configuration information of the target speech, including:
  • a force-directed graph of the target discourse is created from nodes of the force-directed graph and edges between nodes in the force-directed graph.
  • the first structural data refers to converting the discourse configuration information of the target discourse into first structural data according to a preset conversion rule
  • the relational database can determine the difference between the first data structures.
  • the corresponding edge between the nodes in the force-directed graph, the force-directed graph of the target language is created according to the nodes of the force-directed graph and the edges between the nodes in the force-directed graph, which further improves the created force. Integrity of the orientation graph.
  • node data and the reference relationship between nodes are obtained from the language configuration information of the target language, and the force orientation of the target language is created according to the node data and the reference relationship between the nodes Figure, showing the voice configuration through a force-directed graph, you can intuitively see the configuration information of the target voice configuration, when there is an error in the configuration process, the customer can make adjustments in time to improve the voice It can improve the efficiency of skill adjustment, thereby improving the accuracy of speech configuration.
  • the conversion module 205 is configured to convert the force-directed graph of the target speech into a tree-like layout and display it on the interface of the client.
  • the force-directed graph of the target speech is converted into a tree-like layout, and the tree-like layout is displayed on the interface of the client , so that the client can intuitively see the configuration information of the target speech and how to configure it.
  • the client can intuitively see the configuration information of the target speech and how to configure it.
  • it can respond in time, which improves the efficiency and accuracy of speech adjustment.
  • the conversion module 205 converts the force-directed graph of the target speech into a tree-like layout including:
  • Restarting the preset tree structure converts the force-directed graph of the target speech into a tree-like layout.
  • the tree-like layout can display the target speech more intuitively.
  • the force of the target speech is first
  • the discourse configuration information in the orientation graph is copied to obtain the target discourse configuration information, which ensures the consistency between the discourse configuration information in the force-directed graph and the discourse configuration information in the tree layout, and improves the discourse configuration in the tree layout. Integrity of configuration information.
  • the target speech configuration information After obtaining the target speech configuration information, convert the target speech configuration information into a preset tree structure, and use the preset tree layout to calculate and obtain the second position coordinates of each node , re-layout and change the second position coordinates in the preset tree structure, and update the second position coordinates to the first position coordinates of the corresponding nodes in the force-directed graph, without destroying the force-directed graph structure.
  • the preset tree layout Based on the tree-like layout of the force-directed graph conversion, it is convenient to more intuitively confirm the speech information of each node of the target speech and the relationship between the nodes, and improve the accuracy of speech configuration information adjustment.
  • the adjustment module 206 is configured to adjust the speech configuration information of the target speech according to the speech adjustment instruction.
  • the adjustment instruction is used to request to adjust the speech configuration information of the target speech, and when the adjustment instruction sent by the client is monitored, the adjustment instruction is triggered to perform speech configuration information of the target speech.
  • the adjustment module 206 adjusting the speech configuration information of the target speech according to the speech adjustment instruction includes:
  • the location coordinates corresponding to the tree layout are determined according to the target label, and the node speech configuration information corresponding to the location coordinates is adjusted.
  • the speech configuration information since the user can intuitively see the speech configuration information and the reference relationship between the nodes in the tree layout of the target speech, when the speech configuration information needs to be adjusted, the corresponding communication is directly determined according to the business requirements.
  • the position coordinates in the tree-like layout are quickly adjusted according to the speech configuration information according to the position coordinates, which improves the accuracy and efficiency of the adjustment of the speech configuration information.
  • the device for adjusting a speech voice receives a speech configuration request sent by a client; parses the speech configuration request to obtain the service attributes of a target speech, and based on the service attribute of the target speech
  • the business attribute obtains the corresponding intent set from the intent database; extracts multiple target intents from the intent set according to the intent selection instruction, and compares the tagged discourses of the multiple target intents with the business attributes of the target discourse perform association to form the discourse configuration information of the target discourse; create a force-directed graph of the target discourse based on the discourse configuration information of the target discourse; convert the force-directed graph of the target discourse into a tree-like layout, and Displaying on the interface of the client; adjusting the discourse configuration information of the target discourse according to the discourse adjustment instruction.
  • the target language is created according to the node data and the reference relationship between the nodes
  • the force-directed graph of the target dialect is used to display the configuration of the dialect, and the configuration information of the dialect configuration of the target dialect can be seen intuitively.
  • the customer can adjust it in time. It improves the efficiency of language adjustment, thereby improving the accuracy of language configuration; on the other hand, in order to avoid the phenomenon of confusion in the force-directed graph when there are too many nodes, the force-directed graph of the target language is converted into a tree.
  • the client can intuitively see the configuration information of the target language and how to configure it.
  • it can respond in time, which improves the The efficiency and accuracy of the speech adjustment; finally, when monitoring the adjustment instruction sent by the client, parse the adjustment instruction to obtain the service attribute to be adjusted, and quickly adjust the speech according to the position coordinates of the service attribute to be adjusted.
  • the configuration information improves the accuracy and efficiency of the adjustment of the speech configuration information.
  • the electronic device 3 includes a memory 31 , at least one processor 32 , at least one communication bus 33 and a transceiver 34 .
  • the structure of the electronic device shown in FIG. 3 does not constitute a limitation of the embodiments of the present application, and may be a bus-type structure or a star-shaped structure, and the electronic device 3 may also include a schematic more or less other hardware or software, or a different arrangement of components is shown.
  • the electronic device 3 is an electronic device that can automatically perform numerical calculation and/or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application-specific integrated circuits , programmable gate arrays, digital processors and embedded devices.
  • the electronic device 3 may also include a client device, which includes but is not limited to any electronic product that can perform human-computer interaction with a client through a keyboard, a mouse, a remote control, a touchpad, or a voice-activated device, for example, Personal computers, tablets, smartphones, digital cameras, etc.
  • the electronic device 3 is only an example, and other existing or future electronic products, if applicable to the present application, should also be included within the protection scope of the present application, and incorporated herein by reference .
  • the memory 31 is used to store program codes and various data, such as the voice configuration adjustment device 20 installed in the electronic device 3 , and to realize high-speed and automatic operation during the operation of the electronic device 3 .
  • Complete program or data access comprises read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM) , One-time Programmable Read-Only Memory (OTPROM), Electronically-Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read- Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
  • Read-Only Memory Read-Only Memory
  • PROM programmable read-only memory
  • PROM erasable programmable read-only memory
  • OTPROM One-time Programmable Read-Only Memory
  • EEPROM Electronic
  • the computer-readable storage medium described in this application may be non-volatile or volatile.
  • the at least one processor 32 may be composed of integrated circuits, for example, may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits packaged with the same function or different functions, including one Or a combination of multiple central processing units (Central Processing units, CPUs), microprocessors, digital processing chips, graphics processors, and various control chips.
  • the at least one processor 32 is the control core (Control Unit) of the electronic device 3, and uses various interfaces and lines to connect various components of the entire electronic device 3, by running or executing the program stored in the memory 31 or modules, and call data stored in the memory 31 to perform various functions of the electronic device 3 and process data.
  • Control Unit Control Unit
  • the at least one communication bus 33 is configured to enable connection communication between the memory 31 and the at least one processor 32 and the like.
  • the electronic device 3 may also include a power source (such as a battery) for supplying power to various components.
  • the power source may be logically connected to the at least one processor 32 through a power management device, so that the power management device Implement functions such as managing charging, discharging, and power consumption.
  • the power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and any other components.
  • the electronic device 3 may further include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
  • the above-mentioned integrated units implemented in the form of software functional modules may be stored in a computer-readable storage medium.
  • the above-mentioned software function modules are stored in a storage medium, and include several computer-readable instructions to enable a computer device (which may be a personal computer, an electronic device, or a network device, etc.) or a processor (processor) to execute various embodiments of the present application part of the method.
  • the at least one processor 32 can execute the operating device of the electronic device 3 and various installed application programs (such as the speech configuration adjusting device 20 ), program codes, etc. , for example, the various modules above.
  • Program codes are stored in the memory 31, and the at least one processor 32 can call the program codes stored in the memory 31 to perform related functions.
  • the program code may be divided into one or more modules/units, and the one or more modules/units may be a series of computer-readable instruction segments capable of performing specific functions, and the instruction segments are used to describe the The execution process of the program code in the electronic device.
  • each module described in FIG. 2 is a program code stored in the memory 31 and executed by the at least one processor 32, so as to realize the functions of the various modules to achieve the purpose of adjusting the speech configuration .
  • the memory 31 stores a plurality of computer-readable instructions, and the plurality of computer-readable instructions are executed by the at least one processor 32 to implement the function of speech configuration adjustment.
  • modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, and may be located in one place or distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional module in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware, or can be implemented in the form of hardware plus software function modules.

Abstract

The present application relates to the technical field of artificial intelligence, and provides a script configuration adjustment method and apparatus, an electronic device, and a storage medium. The method comprises: analyzing a script configuration request to obtain a service attribute of a target script, and obtaining a corresponding intention set from an intention database on the basis of the service attribute of the target script; extracting a plurality of target intentions from the intention set according to an intention selection instruction, and associating tagged scripts of the plurality of target intentions with the service attribute of the target script to form script configuration information of the target script; creating a force-directed graph for the target script on the basis of the script configuration information of the target script; converting the force-directed graph for the target script into a tree layout, and displaying the script configuration information on an interface of a client; and adjusting the script configuration information of the target script according to a script adjustment instruction. In the present application, displaying the script configuration information by means of the force-directed graph and the tree layout improves script adjustment efficiency and configuration accuracy.

Description

话术配置调整方法、装置、电子设备及存储介质Speech configuration adjustment method, device, electronic device and storage medium
本申请要求于2020年12月29日提交中国专利局,申请号为202011595194.6申请名称为“话术配置调整方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on December 29, 2020 with the application number 202011595194.6 of the Chinese patent application entitled "Speech Configuration Adjustment Method, Device, Electronic Device and Storage Medium", the entire contents of which are by reference Incorporated in this application.
技术领域technical field
本申请涉及人工智能技术领域,具体涉及一种话术配置调整方法、装置、电子设备及存储介质。The present application relates to the technical field of artificial intelligence, and in particular, to a method, device, electronic device and storage medium for adjusting speech configuration.
背景技术Background technique
人机对话是人工智能领域中的重要领域,在进行人机对话时,发明人意识到现有技术都是通过预先设置话术模板,开发人员手动的把话术模板通过硬编码方式写入对应的机器人下,无法展示到客户端的界面,当话术配置出现错误时,客户无法知晓,导致话术配置的准确率低,特别是在话术配置后需要调整话术时,需要专业的开发人员根据客户提供的话术文档来调整话术配置信息和结构,导致话术调整的响应慢,效率低下。Human-computer dialogue is an important field in the field of artificial intelligence. When conducting human-computer dialogue, the inventor realized that the existing technology uses pre-set speech templates, and developers manually write the speech templates into corresponding speech templates by hardcoding. Under the robot, the client interface cannot be displayed. When there is an error in the configuration of the speech, the customer cannot know it, resulting in a low accuracy of the speech configuration. Especially when the speech needs to be adjusted after the speech configuration, professional developers are required. Adjusting the speech configuration information and structure according to the speech document provided by the customer results in slow response and low efficiency of speech adjustment.
发明内容SUMMARY OF THE INVENTION
鉴于以上内容,有必要提出一种话术配置调整方法、装置、电子设备及存储介质,通过将话术配置信息以力导向图及树状布局的方式展示,提高了话术的调整效率及配置准确率。In view of the above, it is necessary to propose a method, device, electronic device and storage medium for adjusting the configuration of speech, which can improve the adjustment efficiency and configuration of speech by displaying speech configuration information in the form of force-oriented graph and tree layout. Accuracy.
本申请的第一方面提供一种话术配置调整方法,所述方法包括:A first aspect of the present application provides a speech configuration adjustment method, the method comprising:
接收客户端发送的话术配置请求;Receive the session configuration request sent by the client;
解析所述话术配置请求得到目标话术的业务属性,基于所述目标话术的业务属性从意图数据库中获取对应的意图集合;Analyzing the speech configuration request to obtain the business attribute of the target speech, and obtaining the corresponding intent set from the intent database based on the business attribute of the target speech;
根据意图选择指令从所述意图集合中提取多个目标意图,并将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联,形成目标话术的话术配置信息;Extracting multiple target intents from the intent set according to the intent selection instruction, and associating the tagged discourses of the multiple target intents with the service attributes of the target discourse to form discourse configuration information of the target discourse;
基于所述目标话术的话术配置信息创建所述目标话术的力导向图;creating a force-directed graph of the target speech based on the speech configuration information of the target speech;
将所述目标话术的力导向图转换为树状布局,并展示在所述客户端的界面上;Convert the force-directed graph of the target language into a tree-like layout, and display it on the interface of the client;
根据话术调整指令调整所述目标话术的话术配置信息。Adjust the speech configuration information of the target speech according to the speech adjustment instruction.
本申请的第二方面提供一种电子设备,所述电子设备包括存储器及处理器,所述存储器用于存储至少一个计算机可读指令,所述处理器用于执行所述至少一个计算机可读指令以实现以下步骤:A second aspect of the present application provides an electronic device, the electronic device comprising a memory and a processor, the memory for storing at least one computer-readable instruction, the processor for executing the at least one computer-readable instruction to Implement the following steps:
接收客户端发送的话术配置请求;Receive the session configuration request sent by the client;
解析所述话术配置请求得到目标话术的业务属性,基于所述目标话术的业务属性从意图数据库中获取对应的意图集合;Analyzing the speech configuration request to obtain the business attribute of the target speech, and obtaining the corresponding intent set from the intent database based on the business attribute of the target speech;
根据意图选择指令从所述意图集合中提取多个目标意图,并将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联,形成目标话术的话术配置信息;Extracting multiple target intents from the intent set according to the intent selection instruction, and associating the tagged discourses of the multiple target intents with the service attributes of the target discourse to form discourse configuration information of the target discourse;
基于所述目标话术的话术配置信息创建所述目标话术的力导向图;creating a force-directed graph of the target speech based on the speech configuration information of the target speech;
将所述目标话术的力导向图转换为树状布局,并展示在所述客户端的界面上;Convert the force-directed graph of the target language into a tree-like layout, and display it on the interface of the client;
根据话术调整指令调整所述目标话术的话术配置信息。Adjust the speech configuration information of the target speech according to the speech adjustment instruction.
本申请的第三方面提供一种计算机可读存储介质,所述计算机可读存储介质存储有至少一个计算机可读指令,所述至少一个计算机可读指令被处理器执行时实现以下步骤:A third aspect of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores at least one computer-readable instruction, and when the at least one computer-readable instruction is executed by a processor, implements the following steps:
接收客户端发送的话术配置请求;Receive the session configuration request sent by the client;
解析所述话术配置请求得到目标话术的业务属性,基于所述目标话术的业务属性从意图数据库中获取对应的意图集合;Analyzing the speech configuration request to obtain the business attribute of the target speech, and obtaining the corresponding intent set from the intent database based on the business attribute of the target speech;
根据意图选择指令从所述意图集合中提取多个目标意图,并将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联,形成目标话术的话术配置信息;Extracting multiple target intents from the intent set according to the intent selection instruction, and associating the tagged discourses of the multiple target intents with the service attributes of the target discourse to form discourse configuration information of the target discourse;
基于所述目标话术的话术配置信息创建所述目标话术的力导向图;creating a force-directed graph of the target speech based on the speech configuration information of the target speech;
将所述目标话术的力导向图转换为树状布局,并展示在所述客户端的界面上;Convert the force-directed graph of the target language into a tree-like layout, and display it on the interface of the client;
根据话术调整指令调整所述目标话术的话术配置信息。Adjust the speech configuration information of the target speech according to the speech adjustment instruction.
本申请的第四方面提供一种话术配置调整装置,所述装置包括:A fourth aspect of the present application provides a speech configuration adjustment device, the device comprising:
接收模块,用于接收客户端发送的话术配置请求;The receiving module is used to receive the technical configuration request sent by the client;
解析模块,用于解析所述话术配置请求得到目标话术的业务属性,基于所述目标话术的业务属性从意图数据库中获取对应的意图集合;A parsing module, configured to parse the speech configuration request to obtain the business attribute of the target speech, and obtain the corresponding intent set from the intent database based on the business attribute of the target speech;
提取模块,用于根据意图选择指令从所述意图集合中提取多个目标意图,并将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联,形成目标话术的话术配置信息;The extraction module is configured to extract multiple target intents from the intent set according to the intent selection instruction, and associate the tagged discourses of the multiple target intents with the business attributes of the target discourses to form a target discourse Talk configuration information;
创建模块,用于基于所述目标话术的话术配置信息创建所述目标话术的力导向图;A creation module, configured to create a force-directed graph of the target speech based on the speech configuration information of the target speech;
转换模块,用于将所述目标话术的力导向图转换为树状布局,并展示在所述客户端的界面上;a conversion module, configured to convert the force-directed graph of the target speech into a tree-like layout, and display it on the interface of the client;
调整模块,用于根据话术调整指令调整所述目标话术的话术配置信息。An adjustment module, configured to adjust the speech configuration information of the target speech according to the speech adjustment instruction.
本申请所述的话术配置调整方法、装置、电子设备及存储介质,一方面,通过从所述目标话术的话术配置信息中获取节点数据及节点之间的引用关系,根据所述节点数据及所述节点之间的引用关系创建所述目标话术的力导向图,通过力导向图的方式展示所述话术配置,可以直观的看到所述目标话术的话术配置的配置信息,当配置过程中出现错误时,客户可以及时的进行调整,提高了话术调整的效率,进而提高了话术配置的准确率;另一方面,为了避免节点过多时所述力导向图出现混乱的现象,将所述目标话术的力导向图转换的树状布局,并将所述树状布局展示到所述客户端的界面,便于客户端直观的看到所述目标话术的配置信息及如何配置的,当出现错误时,可以及时的响应,提高了话术调整的效率及准确率;最后,通过当监测到所述客户端发送的调整指令时,解析所述调整指令得到待调整业务属性,根据所述待调整业务属性的位置坐标快速调整的话术配置信息,提高了话术配置信息调整的准确率及效率。The speech configuration adjustment method, device, electronic device, and storage medium described in the present application, on the one hand, obtain node data and reference relationships between nodes from the speech configuration information of the target speech, according to the node data and The reference relationship between the nodes creates a force-directed graph of the target speech, and the speech configuration is displayed by means of a force-directed graph, and the configuration information of the speech configuration of the target speech can be seen intuitively. When there is an error in the configuration process, the customer can make adjustments in time, which improves the efficiency of speech adjustment, and thus improves the accuracy of speech configuration; on the other hand, in order to avoid the phenomenon of confusion in the force-directed graph when there are too many nodes , converts the force-oriented graph of the target language into a tree-like layout, and displays the tree-like layout on the interface of the client, so that the client can intuitively see the configuration information of the target language and how to configure it When an error occurs, it can respond in time, which improves the efficiency and accuracy of speech adjustment; finally, when monitoring the adjustment instruction sent by the client, parsing the adjustment instruction to obtain the service attributes to be adjusted, The speech configuration information is quickly adjusted according to the location coordinates of the service attributes to be adjusted, which improves the accuracy and efficiency of the adjustment of the speech configuration information.
附图说明Description of drawings
图1是本申请实施例一提供的话术配置调整方法的流程图。FIG. 1 is a flowchart of a method for adjusting a speech configuration provided by Embodiment 1 of the present application.
图2是本申请实施例二提供的话术配置调整装置的结构图。FIG. 2 is a structural diagram of an apparatus for adjusting a voice configuration provided in Embodiment 2 of the present application.
图3是本申请实施例三提供的电子设备的结构示意图。FIG. 3 is a schematic structural diagram of an electronic device provided in Embodiment 3 of the present application.
具体实施方式Detailed ways
为了能够更清楚地理解本申请的上述目的、特征和优点,下面结合附图和具体实施例对本申请进行详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。In order to more clearly understand the above objects, features and advantages of the present application, the present application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments may be combined with each other in the case of no conflict.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein in the specification of the application are for the purpose of describing specific embodiments only, and are not intended to limit the application.
实施例一Example 1
图1是本申请实施例一提供的话术配置调整方法的流程图。FIG. 1 is a flowchart of a method for adjusting a speech configuration provided by Embodiment 1 of the present application.
在本实施例中,所述话术配置调整方法可以应用于电子设备中,对于需要进行话术 配置调整的电子设备,可以直接在电子设备上集成本申请的方法所提供的话术配置调整的功能,或者以软件开发工具包(Software Development Kit,SKD)的形式运行在电子设备中。In this embodiment, the voice configuration adjustment method can be applied to an electronic device. For an electronic device that needs to perform voice configuration adjustment, the voice configuration adjustment function provided by the method of the present application can be directly integrated on the electronic device. , or run in electronic equipment in the form of a software development kit (SKD).
如图1所示,所述话术配置调整方法具体包括以下步骤,根据不同的需求,该流程图中步骤的顺序可以改变,某些可以省略。As shown in FIG. 1 , the speech configuration adjustment method specifically includes the following steps. According to different requirements, the order of the steps in the flowchart can be changed, and some can be omitted.
S11,接收客户端发送的话术配置请求。S11: Receive a session configuration request sent by the client.
本实施例中,客户端在进行话术配置时,通过客户端发起话术配置请求,具体地,所述客户端可以是智能手机、IPAD或者其他设备,所述服务器可以为话术配置系统,在进行话术配置过程中,如客户端可以向话术配置系统发送话术配置请求,所述话术配置系统用于接收所述客户端发送的话术配置请求。In this embodiment, the client initiates a voice configuration request through the client when performing voice configuration. Specifically, the client may be a smart phone, an IPAD, or other devices, and the server may be a voice configuration system. During the session configuration process, for example, the client may send a session configuration request to the session configuration system, and the session configuration system is configured to receive the session configuration request sent by the client.
S12,解析所述话术配置请求得到目标话术的业务属性,基于所述目标话术的业务属性从意图数据库中获取对应的意图集合。S12, parse the speech configuration request to obtain the service attribute of the target speech, and obtain the corresponding intent set from the intention database based on the service attribute of the target speech.
本实施例中,由于每个话术配置请求中包含有目标话术的业务属性,解析所述话术配置请求得到所述目标话术的目标话术类型、目标话术的业务属性等信息,并基于所述目标话术的业务属性从意图数据库中获取对应的意图集合。In this embodiment, since each speech configuration request contains the service attribute of the target speech, the information such as the target speech type of the target speech, the service attribute of the target speech, etc., are obtained by parsing the speech configuration request, And based on the business attribute of the target language, the corresponding intent set is acquired from the intent database.
可选地,所述基于所述目标话术的业务属性从意图数据库中获取对应的意图集合包括;Optionally, the acquiring the corresponding intent set from the intent database based on the business attribute of the target language includes;
根据所述业务属性确定所述目标话术的目标话术类型;Determine the target speech type of the target speech according to the service attribute;
将所述目标话术的类型与意图数据库中的话术类型进行匹配;matching the type of the target utterance with the utterance type in the intent database;
当在所述意图数据库中的话术类型中匹配到与所述目标话术类型相匹配的目标话术类型时,获取所述目标话术类型对应的意图集合;或者When a target speech type matching the target speech type is matched in the speech types in the intent database, obtain the intent set corresponding to the target speech type; or
当在所述意图数据库中的话术类型中未匹配到与所述目标话术类型相匹配的目标话术类型时,获取默认意图集合。When no target speech type matching the target speech type is found in the speech types in the intent database, a default intent set is acquired.
本实施例中,根据意图确定所述目标话术的关联关系,在获取所述目标话术的目标话术类型之后,根据所述目标话术类中在所述意图数据库中提取对应的意图集合,具体地,所述意图数据库中的每个意图配置有业务属性,所述意图是由所有历史话术语料中具有相同意图的标签化话术配置而成,每个标签化话术对应一个业务属性,提高了所述目标话术的业务属性的管理效率。In this embodiment, the association relationship of the target discourse is determined according to the intent, and after the target discourse type of the target discourse is acquired, the corresponding intent set is extracted from the intent database according to the target discourse class , specifically, each intent in the intent database is configured with a business attribute, the intent is configured from tagged discourses with the same intent in all historical discourse data, and each tagged discourse corresponds to a service attribute, which improves the management efficiency of the business attribute of the target speech.
S13,根据意图选择指令从所述意图集合中提取多个目标意图,并将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联,形成目标话术的话术配置信息。S13, extracting multiple target intents from the intent set according to the intent selection instruction, and associating the tagged discourses of the multiple target intents with the business attributes of the target discourse to form a discourse configuration of the target discourse information.
本实施例中,由于每个目标话术的话术类型对应的一个意图集合,而每个意图集合中存储有多个业务属性,根据所述话术配置请求中的意图选择指令从所述意图集合中提取每个业务属性对应的目标意图,并将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联,形成目标话术的第一话术配置信息。In this embodiment, since there is one intent set corresponding to the discourse type of each target discourse, and each intent set stores multiple business attributes, the intent selection instruction in the discourse configuration request is selected from the intent set according to the intent set. The target intent corresponding to each service attribute is extracted from the .
可选地,所述将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联包括:Optionally, the associating the multiple target-intent tagged phrases with the service attributes of the target phrases includes:
提取每个目标意图对应的多个标签化话术的多个第一标签;extracting multiple first tags of multiple tagging words corresponding to each target intent;
提取所述目标话术的业务属性中的多个关键字段,将所述多个关键字段转化为多个第二标签;extracting multiple key fields in the business attributes of the target language, and converting the multiple key fields into multiple second tags;
将所述多个第二标签与所述多个第一标签进行匹配;matching the plurality of second tags with the plurality of first tags;
当任意一个第二标签与所述任意一个第一标签匹配时,将所述任意一个第一标签对应的标签化话术与所述目标话术的业务属性进行关联;或者When any second tag matches any of the first tags, associate the tagged speech corresponding to the any first label with the service attribute of the target speech; or
当任意一个第二标签与所述任意一个第一标签不匹配时,不将任意一个第一标签对应的标签化话术与所述目标话术的业务属性进行关联。When any second label does not match any of the first labels, the tagged speech corresponding to any first label is not associated with the service attribute of the target speech.
本实施例中,所述每个目标意图包含有多个标签化话术及每个标签化话术对应有一 个第一标签,例如,机器人问:你好,请问您有兴趣了解如何进行话术配置吗?对应多个第一标签:感兴趣、不感兴趣、待定;从目标话术的业务属性中提取第二标签:感兴趣,当第一标签中的“感兴趣”与第二标签中的“感兴趣”匹配时,将所述目标话术的业务属性与所述第一标签对应的标签化话术进行关联,得到“你好,请问您有兴趣了解如何进行话术配置吗?”为目标节点,所述目标节点对应的下一个节点为“感兴趣”对应的话术配置信息。In this embodiment, each target intent includes a plurality of tagged phrases, and each tagged phrase corresponds to a first tag. For example, the robot asks: Hello, are you interested in learning how to use the phrases? configure it? Corresponding to multiple first tags: interested, not interested, pending; extract the second tag from the business attribute of the target language: interested, when the "interested" in the first tag is the same as the "interested" in the second tag. "When matching, associate the business attribute of the target language with the tagged language corresponding to the first tag, and get "Hello, are you interested in learning how to configure the language?" as the target node, The next node corresponding to the target node is the topic configuration information corresponding to "interested".
示例性地,本实施例中,通过获取目标意图,根据目标意图将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联,确定了所述目标话术的每个节点的节点配置信息及多个节点之间的引用关系。Exemplarily, in this embodiment, by acquiring the target intent, and associating the tagged discourses of the multiple target intents with the business attributes of the target discourse according to the target intent, each of the target discourses is determined. The node configuration information of each node and the reference relationship between multiple nodes.
S14,基于所述目标话术的话术配置信息创建所述目标话术的力导向图。S14. Create a force-directed graph of the target speech based on the speech configuration information of the target speech.
本实施例中,所述力导向图用于展示话术个节点之间的关联关系,根据所述目标话术的话术配置信息创建所述目标话术的力导向图。In this embodiment, the force-directed graph is used to display the association relationship between the nodes of the speech, and the force-directed graph of the target speech is created according to the speech configuration information of the target speech.
可选地,所述基于所述目标话术的话术配置信息创建所述目标话术的力导向图包括:Optionally, the creating a force-directed graph of the target speech based on speech configuration information of the target speech includes:
将所述话术配置信息中的目标话术的节点转换为对应的力导向图的节点,其中,所述力导向图的节点包含有目标话术的节点的话术标签;converting the node of the target speech in the speech configuration information into a node of the corresponding force-directed graph, wherein the node of the force-directed graph includes the speech label of the node of the target speech;
将所述话术配置信息中的目标话术的节点之间的引用关系转换为对应的力导向图中节点之间的边,其中,所述力导向图中节点之间的边作为所述力导向图的节点之间的引用关系;Convert the reference relationship between the nodes of the target speech in the speech configuration information into the edges between the nodes in the corresponding force-directed graph, where the edges between the nodes in the force-directed graph are used as the force The reference relationship between the nodes of the directed graph;
根据所述力导向图的节点和所述力导向图节点之间的边创建所述目标话术的力导向图。A force-directed graph of the target speech is created from nodes of the force-directed graph and edges between the force-directed graph nodes.
在其他一些可选的实施例中,所述基于所述目标话术的话术配置信息创建所述目标话术的力导向图包括:In some other optional embodiments, the creating a force-directed graph of the target speech based on the speech configuration information of the target speech includes:
将所述目标话术的话术配置信息进行数据转换得到第一结构数据;performing data conversion on the discourse configuration information of the target discourse to obtain first structural data;
将所述第一结构数据发送至关系型数据库中进行处理得到所述目标话术的第二结构数据和所述目标话术之间引用关系的第三结构数据;sending the first structure data to a relational database for processing to obtain the second structure data of the target speech and the third structure data of the reference relationship between the target speech;
将所述第二结构数据的目标话术的节点转换为对应的力导向图的节点,其中,所述力导向图的节点包含有目标话术的节点的话术标签;Converting the node of the target language of the second structural data into a node of the corresponding force-directed graph, wherein the node of the force-directed graph contains the language label of the node of the target language;
将所述第三结构数据中的目标话术的节点之间的引用关系转换为对应的力导向图中节点之间的边,其中,所述力导向图中节点之间的边作为所述力导向图的节点之间的引用关系;Convert the reference relationship between the nodes of the target language in the third structural data into the edges between the nodes in the corresponding force-directed graph, where the edges between the nodes in the force-directed graph are used as the force The reference relationship between the nodes of the directed graph;
根据所述力导向图的节点和所述力导向图中节点之间的边创建所述目标话术的力导向图。A force-directed graph of the target discourse is created from nodes of the force-directed graph and edges between nodes in the force-directed graph.
本实施例中,所述第一结构数据是指将所述目标话术的话术配置信息按照预设的转换规则转换为第一结构数据,所述关系型数据库可以确定出第一数据结构之间的引用关系的第三结构数据及每个节点对应的第二结构数据,并将目标话术的节点转换为对应的力导向图的节点,及将目标话术的节点之间的引用关系转换为对应的力导向图中节点之间的边,根据所述力导向图的节点和所述力导向图中节点之间的边创建所述目标话术的力导向图,进一步提高了创建得到的力导向图的完整性。In this embodiment, the first structural data refers to converting the discourse configuration information of the target discourse into first structural data according to a preset conversion rule, and the relational database can determine the difference between the first data structures. The third structure data of the reference relationship and the second structure data corresponding to each node, and convert the node of the target language into the corresponding force-directed graph node, and convert the reference relationship between the nodes of the target language into The corresponding edge between the nodes in the force-directed graph, the force-directed graph of the target language is created according to the nodes of the force-directed graph and the edges between the nodes in the force-directed graph, which further improves the created force. Integrity of the orientation graph.
本实施例中,从所述目标话术的话术配置信息中获取节点数据及节点之间的引用关系,根据所述节点数据及所述节点之间的引用关系创建所述目标话术的力导向图,通过力导向图的方式展示所述话术配置,可以直观的看到所述目标话术的话术配置的配置信息,当配置过程中出现错误时,客户可以及时的进行调整,提高了话术调整的效率,进而提高了话术配置的准确率。In this embodiment, node data and the reference relationship between nodes are obtained from the language configuration information of the target language, and the force orientation of the target language is created according to the node data and the reference relationship between the nodes Figure, showing the voice configuration through a force-directed graph, you can intuitively see the configuration information of the target voice configuration, when there is an error in the configuration process, the customer can make adjustments in time to improve the voice It can improve the efficiency of skill adjustment, thereby improving the accuracy of speech configuration.
S15,将所述目标话术的力导向图转换为树状布局,并展示在所述客户端的界面上。S15: Convert the force-directed graph of the target language into a tree-like layout, and display it on the interface of the client.
本实施例中,为了避免节点过多时所述力导向图出现混乱的现象,将所述目标话术 的力导向图转换的树状布局,并将所述树状布局展示到所述客户端的界面,便于客户端直观的看到所述目标话术的配置信息及如何配置的,当出现错误时,可以及时的响应,提高了话术调整的效率及准确率。In this embodiment, in order to avoid confusion in the force-directed graph when there are too many nodes, the force-directed graph of the target speech is converted into a tree-like layout, and the tree-like layout is displayed on the interface of the client , so that the client can intuitively see the configuration information of the target speech and how to configure it. When an error occurs, it can respond in time, which improves the efficiency and accuracy of speech adjustment.
可选地,所述将所述目标话术的力导向图转换为树状布局包括:Optionally, the converting the force-directed graph of the target speech into a tree-like layout includes:
将所述目标话术的力导向图中的话术配置信息进行复制得到目标话术配置信息,将所述目标话术配置信息转换为预设的树状结构;Copying the speech configuration information in the force-oriented graph of the target speech to obtain the target speech configuration information, and converting the target speech configuration information into a preset tree structure;
计算所述目标话术的力导向图中的每个节点的第一位置坐标;calculating the first position coordinates of each node in the force-directed graph of the target speech;
根据所述预设的树状结构计算得到每个节点的第二位置坐标;Calculate the second position coordinate of each node according to the preset tree structure;
在所述预设的树状结构中将每个节点的第二位置坐标更新为对应的第一位置坐标;updating the second position coordinate of each node to the corresponding first position coordinate in the preset tree structure;
重新启动所述预设的树状结构将所述目标话术的力导向图转换为树状布局。Restarting the preset tree structure converts the force-directed graph of the target speech into a tree-like layout.
本实施例中,所述树状布局可以更加直观的显示所述目标话术,在将所述目标话术的力导向图转换为树状结构的过程中,首先将所述目标话术的力导向图中的话术配置信息进行复制得到目标话术配置信息,确保了所述力导向图中的话术配置信息与所述树状布局中的话术配置信息的一致性,提高了树状布局的话术配置信息的完整性。In this embodiment, the tree-like layout can display the target speech more intuitively. In the process of converting the force-directed graph of the target speech into a tree structure, the force of the target speech is first The discourse configuration information in the orientation graph is copied to obtain the target discourse configuration information, which ensures the consistency between the discourse configuration information in the force-directed graph and the discourse configuration information in the tree layout, and improves the discourse configuration in the tree layout. Integrity of configuration information.
具体地,在得到所述目标话术配置信息之后,将所述目标话术配置信息转换为预设的树状结构,使用所述预设的树状布局计算得到每个节点的第二位置坐标,重新布局改变所述预设树状结构中的第二位置坐标,并将所述第二位置坐标更新为所述力导向图中对应节点的第一位置坐标,在不破坏力导向图结构的基础上将所述力导向图转换的树状布局,便于更加直观的确认所述目标话术各个节点的话术信息及各个节点之间的关联关系,提高了话术配置信息调整的准确率。Specifically, after obtaining the target speech configuration information, convert the target speech configuration information into a preset tree structure, and use the preset tree layout to calculate and obtain the second position coordinates of each node , re-layout and change the second position coordinates in the preset tree structure, and update the second position coordinates to the first position coordinates of the corresponding nodes in the force-directed graph, without destroying the force-directed graph structure. Based on the tree-like layout of the force-directed graph conversion, it is convenient to more intuitively confirm the speech information of each node of the target speech and the relationship between the nodes, and improve the accuracy of speech configuration information adjustment.
S16,根据话术调整指令调整所述目标话术的话术配置信息。S16: Adjust the speech configuration information of the target speech according to the speech adjustment instruction.
本实施例中,所述调整指令用于请求调整所述目标话术的话术配置信息,当监测到所述客户端发送的调整指令时,触发所述调整指令进行目标话术的话术配置信息。In this embodiment, the adjustment instruction is used to request to adjust the speech configuration information of the target speech, and when the adjustment instruction sent by the client is monitored, the adjustment instruction is triggered to perform speech configuration information of the target speech.
可选地,所述根据话术调整指令调整所述目标话术的话术配置信息包括:Optionally, the adjusting the speech configuration information of the target speech according to the speech adjustment instruction includes:
解析所述话术调整指令得到待调整业务属性;Analyzing the speech adjustment instruction to obtain the service attribute to be adjusted;
将所述待调整业务属性转换为目标标签;converting the service attribute to be adjusted into a target tag;
根据所述目标标签确定位于所述树状布局对应的位置坐标,并对所述位置坐标对应的节点话术配置信息进行调整。The location coordinates corresponding to the tree layout are determined according to the target label, and the node speech configuration information corresponding to the location coordinates is adjusted.
本实施例中,由于用户可以直观的在所述目标话术的树状布局中看到话术配置信息及节点之间的引用关系,当话术配置信息需要调整时,直接根据业务需求确定对应在所述树状布局中的位置坐标,根据所述位置坐标快速调整的话术配置信息,提高了话术配置信息调整的准确率及效率。In this embodiment, since the user can intuitively see the speech configuration information and the reference relationship between the nodes in the tree layout of the target speech, when the speech configuration information needs to be adjusted, the corresponding communication is directly determined according to the business requirements. The position coordinates in the tree-like layout are quickly adjusted according to the speech configuration information according to the position coordinates, which improves the accuracy and efficiency of the adjustment of the speech configuration information.
综上所述,本实施例所述的一种话术调整方法,通过接收客户端发送的话术配置请求;解析所述话术配置请求得到目标话术的业务属性,基于所述目标话术的业务属性从意图数据库中获取对应的意图集合;根据意图选择指令从所述意图集合中提取多个目标意图,并将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联,形成目标话术的话术配置信息;基于所述目标话术的话术配置信息创建所述目标话术的力导向图;将所述目标话术的力导向图转换为树状布局,并展示在所述客户端的界面上;根据话术调整指令调整所述目标话术的话术配置信息。To sum up, the method for adjusting a speech in this embodiment receives a speech configuration request sent by a client; parses the speech configuration request to obtain the service attributes of the target speech, The business attribute obtains the corresponding intent set from the intent database; extracts multiple target intents from the intent set according to the intent selection instruction, and compares the tagged discourses of the multiple target intents with the business attributes of the target discourse perform association to form the discourse configuration information of the target discourse; create a force-directed graph of the target discourse based on the discourse configuration information of the target discourse; convert the force-directed graph of the target discourse into a tree-like layout, and Displaying on the interface of the client; adjusting the discourse configuration information of the target discourse according to the discourse adjustment instruction.
本实施例,一方面,通过从所述目标话术的话术配置信息中获取节点数据及节点之间的引用关系,根据所述节点数据及所述节点之间的引用关系创建所述目标话术的力导向图,通过力导向图的方式展示所述话术配置,可以直观的看到所述目标话术的话术配置的配置信息,当配置过程中出现错误时,客户可以及时的进行调整,提高了话术调整的效率,进而提高了话术配置的准确率;另一方面,为了避免节点过多时所述力导向图出现混乱的现象,将所述目标话术的力导向图转换的树状布局,并将所述树状布局展示 到所述客户端的界面,便于客户端直观的看到所述目标话术的配置信息及如何配置的,当出现错误时,可以及时的响应,提高了话术调整的效率及准确率;最后,通过当监测到所述客户端发送的调整指令时,解析所述调整指令得到待调整业务属性,根据所述待调整业务属性的位置坐标快速调整的话术配置信息,提高了话术配置信息调整的准确率及效率。In this embodiment, on the one hand, by acquiring node data and the reference relationship between nodes from the language configuration information of the target language, the target language is created according to the node data and the reference relationship between the nodes The force-directed graph of the target dialect is used to display the configuration of the dialect, and the configuration information of the dialect configuration of the target dialect can be seen intuitively. When an error occurs during the configuration process, the customer can adjust it in time. It improves the efficiency of language adjustment, thereby improving the accuracy of language configuration; on the other hand, in order to avoid the phenomenon of confusion in the force-directed graph when there are too many nodes, the force-directed graph of the target language is converted into a tree. and display the tree-like layout on the interface of the client, so that the client can intuitively see the configuration information of the target language and how to configure it. When an error occurs, it can respond in time, which improves the The efficiency and accuracy of the speech adjustment; finally, when monitoring the adjustment instruction sent by the client, parse the adjustment instruction to obtain the service attribute to be adjusted, and quickly adjust the speech according to the position coordinates of the service attribute to be adjusted. The configuration information improves the accuracy and efficiency of the adjustment of the speech configuration information.
实施例二Embodiment 2
图2是本申请实施例二提供的话术配置调整装置的结构图。FIG. 2 is a structural diagram of an apparatus for adjusting a voice configuration provided in Embodiment 2 of the present application.
在一些实施例中,所述话术配置调整装置20可以包括多个由程序代码段所组成的功能模块。所述话术配置调整装置20中的各个程序段的程序代码可以存储于电子设备的存储器中,并由所述至少一个处理器所执行,以执行(详见图1描述)话术配置调整的功能。In some embodiments, the speech configuration adjustment device 20 may include a plurality of functional modules composed of program code segments. The program codes of each program segment in the voice configuration adjustment device 20 may be stored in the memory of the electronic device and executed by the at least one processor to execute (see description in FIG. 1 for details) the voice configuration adjustment. Function.
本实施例中,所述话术配置调整装置20根据其所执行的功能,可以被划分为多个功能模块。所述功能模块可以包括:接收模块201、解析模块202、提取模块203、创建模块204、转换模块205及调整模块206。本申请所称的模块是指一种能够被至少一个处理器所执行并且能够完成固定功能的一系列计算机程序段,其存储在存储器中。在本实施例中,关于各模块的功能将在后续的实施例中详述。In this embodiment, the speech configuration adjustment device 20 can be divided into a plurality of functional modules according to the functions performed by the device 20 . The functional modules may include: a receiving module 201 , a parsing module 202 , an extracting module 203 , a creating module 204 , a converting module 205 and an adjusting module 206 . A module referred to in this application refers to a series of computer program segments that can be executed by at least one processor and can perform fixed functions, and are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.
接收模块201,用于接收客户端发送的话术配置请求。The receiving module 201 is configured to receive a session configuration request sent by the client.
本实施例中,客户端在进行话术配置时,通过客户端发起话术配置请求,具体地,所述客户端可以是智能手机、IPAD或者其他设备,所述服务器可以为话术配置系统,在进行话术配置过程中,如客户端可以向话术配置系统发送话术配置请求,所述话术配置系统用于接收所述客户端发送的话术配置请求。In this embodiment, the client initiates a voice configuration request through the client when performing voice configuration. Specifically, the client may be a smart phone, an IPAD, or other devices, and the server may be a voice configuration system. During the session configuration process, for example, the client may send a session configuration request to the session configuration system, and the session configuration system is configured to receive the session configuration request sent by the client.
解析模块202,用于解析所述话术配置请求得到目标话术的业务属性,基于所述目标话术的业务属性从意图数据库中获取对应的意图集合。The parsing module 202 is configured to parse the speech configuration request to obtain the service attribute of the target speech, and obtain the corresponding intent set from the intention database based on the service attribute of the target speech.
本实施例中,由于每个话术配置请求中包含有目标话术的业务属性,解析所述话术配置请求得到所述目标话术的目标话术类型、目标话术的业务属性等信息,并基于所述目标话术的业务属性从意图数据库中获取对应的意图集合。In this embodiment, since each speech configuration request contains the service attribute of the target speech, the information such as the target speech type of the target speech, the service attribute of the target speech, etc., are obtained by parsing the speech configuration request, And based on the business attribute of the target language, the corresponding intent set is acquired from the intent database.
可选地,所述解析模块202基于所述目标话术的业务属性从意图数据库中获取对应的意图集合包括;Optionally, the parsing module 202 obtains the corresponding intent set from the intent database based on the business attribute of the target speech, including;
根据所述业务属性确定所述目标话术的目标话术类型;Determine the target speech type of the target speech according to the service attribute;
将所述目标话术的类型与意图数据库中的话术类型进行匹配;matching the type of the target utterance with the utterance type in the intent database;
当在所述意图数据库中的话术类型中匹配到与所述目标话术类型相匹配的目标话术类型时,获取所述目标话术类型对应的意图集合;或者When a target speech type matching the target speech type is matched in the speech types in the intent database, obtain the intent set corresponding to the target speech type; or
当在所述意图数据库中的话术类型中未匹配到与所述目标话术类型相匹配的目标话术类型时,获取默认意图集合。When no target speech type matching the target speech type is found in the speech types in the intent database, a default intent set is acquired.
本实施例中,根据意图确定所述目标话术的关联关系,在获取所述目标话术的目标话术类型之后,根据所述目标话术类中在所述意图数据库中提取对应的意图集合,具体地,所述意图数据库中的每个意图配置有业务属性,所述意图是由所有历史话术语料中具有相同意图的标签化话术配置而成,每个标签化话术对应一个业务属性,提高了所述目标话术的业务属性的管理效率。In this embodiment, the association relationship of the target speech is determined according to the intent, and after the target speech type of the target speech is acquired, the corresponding intent set is extracted from the intent database according to the target speech category. , specifically, each intent in the intent database is configured with a business attribute, the intent is configured from tagged discourses with the same intent in all historical discourse data, and each tagged discourse corresponds to a service attribute, which improves the management efficiency of the business attribute of the target speech.
提取模块203,用于根据意图选择指令从所述意图集合中提取多个目标意图,并将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联,形成目标话术的话术配置信息。The extraction module 203 is used for extracting multiple target intents from the intent set according to the intent selection instruction, and associating the tagged phrases of the multiple target intents with the business attributes of the target phrases to form a target phrase. Talk configuration information for the term.
本实施例中,由于每个目标话术的话术类型对应的一个意图集合,而每个意图集合中存储有多个业务属性,根据所述话术配置请求中的意图选择指令从所述意图集合中提取每个业务属性对应的目标意图,并将所述多个目标意图的标签化话术与所述目标话术 的业务属性进行关联,形成目标话术的第一话术配置信息。In this embodiment, since there is one intent set corresponding to the discourse type of each target discourse, and each intent set stores multiple business attributes, the intent selection instruction in the discourse configuration request is selected from the intent set according to the intent set. The target intent corresponding to each service attribute is extracted from the .
可选地,所述提取模块203将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联包括:Optionally, the extracting module 203 associating the multiple target-intent tagged phrases with the service attributes of the target phrases includes:
提取每个目标意图对应的多个标签化话术的多个第一标签;extracting multiple first tags of multiple tagging words corresponding to each target intent;
提取所述目标话术的业务属性中的多个关键字段,将所述多个关键字段转化为多个第二标签;extracting multiple key fields in the business attributes of the target language, and converting the multiple key fields into multiple second tags;
将所述多个第二标签与所述多个第一标签进行匹配;matching the plurality of second tags with the plurality of first tags;
当任意一个第二标签与所述任意一个第一标签匹配时,将所述任意一个第一标签对应的标签化话术与所述目标话术的业务属性进行关联;或者When any second tag matches any of the first tags, associate the tagged speech corresponding to the any first label with the service attribute of the target speech; or
当任意一个第二标签与所述任意一个第一标签不匹配时,不将任意一个第一标签对应的标签化话术与所述目标话术的业务属性进行关联。When any second label does not match any of the first labels, the tagged speech corresponding to any first label is not associated with the service attribute of the target speech.
本实施例中,所述每个目标意图包含有多个标签化话术及每个标签化话术对应有一个第一标签,例如,机器人问:你好,请问您有兴趣了解如何进行话术配置吗?对应多个第一标签:感兴趣、不感兴趣、待定;从目标话术的业务属性中提取第二标签:感兴趣,当第一标签中的“感兴趣”与第二标签中的“感兴趣”匹配时,将所述目标话术的业务属性与所述第一标签对应的标签化话术进行关联,得到“你好,请问您有兴趣了解如何进行话术配置吗?”为目标节点,所述目标节点对应的下一个节点为“感兴趣”对应的话术配置信息。In this embodiment, each target intent includes a plurality of tagged phrases, and each tagged phrase corresponds to a first tag. For example, the robot asks: Hello, are you interested in learning how to use the phrases? configure it? Corresponding to multiple first tags: interested, not interested, pending; extract the second tag from the business attribute of the target language: interested, when the "interested" in the first tag is the same as the "interested" in the second tag. "When matching, associate the business attribute of the target language with the tagged language corresponding to the first tag, and get "Hello, are you interested in learning how to configure the language?" as the target node, The next node corresponding to the target node is the topic configuration information corresponding to "interested".
示例性地,本实施例中,通过获取目标意图,根据目标意图将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联,确定了所述目标话术的每个节点的节点配置信息及多个节点之间的引用关系。Exemplarily, in this embodiment, by acquiring the target intent, and associating the tagged discourses of the multiple target intents with the business attributes of the target discourse according to the target intent, each of the target discourses is determined. The node configuration information of each node and the reference relationship between multiple nodes.
创建模块204,用于基于所述目标话术的话术配置信息创建所述目标话术的力导向图。The creating module 204 is configured to create a force-directed graph of the target speech based on the speech configuration information of the target speech.
本实施例中,所述力导向图用于展示话术个节点之间的关联关系,根据所述目标话术的话术配置信息创建所述目标话术的力导向图。In this embodiment, the force-directed graph is used to display the association relationship between the nodes of the speech, and the force-directed graph of the target speech is created according to the speech configuration information of the target speech.
可选地,所述创建模块204基于所述目标话术的话术配置信息创建所述目标话术的力导向图包括:Optionally, the creating module 204 creates a force-directed graph of the target speech based on the speech configuration information of the target speech, including:
将所述话术配置信息中的目标话术的节点转换为对应的力导向图的节点,其中,所述力导向图的节点包含有目标话术的节点的话术标签;converting the node of the target speech in the speech configuration information into a node of the corresponding force-directed graph, wherein the node of the force-directed graph includes the speech label of the node of the target speech;
将所述话术配置信息中的目标话术的节点之间的引用关系转换为对应的力导向图中节点之间的边,其中,所述力导向图中节点之间的边作为所述力导向图的节点之间的引用关系;Convert the reference relationship between the nodes of the target speech in the speech configuration information into the edges between the nodes in the corresponding force-directed graph, where the edges between the nodes in the force-directed graph are used as the force The reference relationship between the nodes of the directed graph;
根据所述力导向图的节点和所述力导向图节点之间的边创建所述目标话术的力导向图。A force-directed graph of the target speech is created from nodes of the force-directed graph and edges between the force-directed graph nodes.
在其他一些可选的实施例中,所述创建模块204基于所述目标话术的话术配置信息创建所述目标话术的力导向图包括:In some other optional embodiments, the creating module 204 creates a force-directed graph of the target speech based on the speech configuration information of the target speech, including:
将所述目标话术的话术配置信息进行数据转换得到第一结构数据;performing data conversion on the discourse configuration information of the target discourse to obtain first structural data;
将所述第一结构数据发送至关系型数据库中进行处理得到所述目标话术的第二结构数据和所述目标话术之间引用关系的第三结构数据;sending the first structure data to a relational database for processing to obtain the second structure data of the target speech and the third structure data of the reference relationship between the target speech;
将所述第二结构数据的目标话术的节点转换为对应的力导向图的节点,其中,所述力导向图的节点包含有目标话术的节点的话术标签;Converting the node of the target language of the second structural data into a node of the corresponding force-directed graph, wherein the node of the force-directed graph contains the language label of the node of the target language;
将所述第三结构数据中的目标话术的节点之间的引用关系转换为对应的力导向图中节点之间的边,其中,所述力导向图中节点之间的边作为所述力导向图的节点之间的引用关系;Convert the reference relationship between the nodes of the target language in the third structural data into the edges between the nodes in the corresponding force-directed graph, where the edges between the nodes in the force-directed graph are used as the force The reference relationship between the nodes of the directed graph;
根据所述力导向图的节点和所述力导向图中节点之间的边创建所述目标话术的力导 向图。A force-directed graph of the target discourse is created from nodes of the force-directed graph and edges between nodes in the force-directed graph.
本实施例中,所述第一结构数据是指将所述目标话术的话术配置信息按照预设的转换规则转换为第一结构数据,所述关系型数据库可以确定出第一数据结构之间的引用关系的第三结构数据及每个节点对应的第二结构数据,并将目标话术的节点转换为对应的力导向图的节点,及将目标话术的节点之间的引用关系转换为对应的力导向图中节点之间的边,根据所述力导向图的节点和所述力导向图中节点之间的边创建所述目标话术的力导向图,进一步提高了创建得到的力导向图的完整性。In this embodiment, the first structural data refers to converting the discourse configuration information of the target discourse into first structural data according to a preset conversion rule, and the relational database can determine the difference between the first data structures. The third structure data of the reference relationship and the second structure data corresponding to each node, and convert the node of the target language into the corresponding force-directed graph node, and convert the reference relationship between the nodes of the target language into The corresponding edge between the nodes in the force-directed graph, the force-directed graph of the target language is created according to the nodes of the force-directed graph and the edges between the nodes in the force-directed graph, which further improves the created force. Integrity of the orientation graph.
本实施例中,从所述目标话术的话术配置信息中获取节点数据及节点之间的引用关系,根据所述节点数据及所述节点之间的引用关系创建所述目标话术的力导向图,通过力导向图的方式展示所述话术配置,可以直观的看到所述目标话术的话术配置的配置信息,当配置过程中出现错误时,客户可以及时的进行调整,提高了话术调整的效率,进而提高了话术配置的准确率。In this embodiment, node data and the reference relationship between nodes are obtained from the language configuration information of the target language, and the force orientation of the target language is created according to the node data and the reference relationship between the nodes Figure, showing the voice configuration through a force-directed graph, you can intuitively see the configuration information of the target voice configuration, when there is an error in the configuration process, the customer can make adjustments in time to improve the voice It can improve the efficiency of skill adjustment, thereby improving the accuracy of speech configuration.
转换模块205,用于将所述目标话术的力导向图转换为树状布局,并展示在所述客户端的界面上。The conversion module 205 is configured to convert the force-directed graph of the target speech into a tree-like layout and display it on the interface of the client.
本实施例中,为了避免节点过多时所述力导向图出现混乱的现象,将所述目标话术的力导向图转换的树状布局,并将所述树状布局展示到所述客户端的界面,便于客户端直观的看到所述目标话术的配置信息及如何配置的,当出现错误时,可以及时的响应,提高了话术调整的效率及准确率。In this embodiment, in order to avoid confusion in the force-directed graph when there are too many nodes, the force-directed graph of the target speech is converted into a tree-like layout, and the tree-like layout is displayed on the interface of the client , so that the client can intuitively see the configuration information of the target speech and how to configure it. When an error occurs, it can respond in time, which improves the efficiency and accuracy of speech adjustment.
可选地,所述转换模块205将所述目标话术的力导向图转换为树状布局包括:Optionally, the conversion module 205 converts the force-directed graph of the target speech into a tree-like layout including:
将所述目标话术的力导向图中的话术配置信息进行复制得到目标话术配置信息,将所述目标话术配置信息转换为预设的树状结构;Copying the speech configuration information in the force-oriented graph of the target speech to obtain the target speech configuration information, and converting the target speech configuration information into a preset tree structure;
计算所述目标话术的力导向图中的每个节点的第一位置坐标;calculating the first position coordinates of each node in the force-directed graph of the target speech;
根据所述预设的树状结构计算得到每个节点的第二位置坐标;Calculate the second position coordinate of each node according to the preset tree structure;
在所述预设的树状结构中将每个节点的第二位置坐标更新为对应的第一位置坐标;updating the second position coordinate of each node to the corresponding first position coordinate in the preset tree structure;
重新启动所述预设的树状结构将所述目标话术的力导向图转换为树状布局。Restarting the preset tree structure converts the force-directed graph of the target speech into a tree-like layout.
本实施例中,所述树状布局可以更加直观的显示所述目标话术,在将所述目标话术的力导向图转换为树状结构的过程中,首先将所述目标话术的力导向图中的话术配置信息进行复制得到目标话术配置信息,确保了所述力导向图中的话术配置信息与所述树状布局中的话术配置信息的一致性,提高了树状布局的话术配置信息的完整性。In this embodiment, the tree-like layout can display the target speech more intuitively. In the process of converting the force-directed graph of the target speech into a tree structure, the force of the target speech is first The discourse configuration information in the orientation graph is copied to obtain the target discourse configuration information, which ensures the consistency between the discourse configuration information in the force-directed graph and the discourse configuration information in the tree layout, and improves the discourse configuration in the tree layout. Integrity of configuration information.
具体地,在得到所述目标话术配置信息之后,将所述目标话术配置信息转换为预设的树状结构,使用所述预设的树状布局计算得到每个节点的第二位置坐标,重新布局改变所述预设树状结构中的第二位置坐标,并将所述第二位置坐标更新为所述力导向图中对应节点的第一位置坐标,在不破坏力导向图结构的基础上将所述力导向图转换的树状布局,便于更加直观的确认所述目标话术各个节点的话术信息及各个节点之间的关联关系,提高了话术配置信息调整的准确率。Specifically, after obtaining the target speech configuration information, convert the target speech configuration information into a preset tree structure, and use the preset tree layout to calculate and obtain the second position coordinates of each node , re-layout and change the second position coordinates in the preset tree structure, and update the second position coordinates to the first position coordinates of the corresponding nodes in the force-directed graph, without destroying the force-directed graph structure. Based on the tree-like layout of the force-directed graph conversion, it is convenient to more intuitively confirm the speech information of each node of the target speech and the relationship between the nodes, and improve the accuracy of speech configuration information adjustment.
调整模块206,用于根据话术调整指令调整所述目标话术的话术配置信息。The adjustment module 206 is configured to adjust the speech configuration information of the target speech according to the speech adjustment instruction.
本实施例中,所述调整指令用于请求调整所述目标话术的话术配置信息,当监测到所述客户端发送的调整指令时,触发所述调整指令进行目标话术的话术配置信息。In this embodiment, the adjustment instruction is used to request to adjust the speech configuration information of the target speech, and when the adjustment instruction sent by the client is monitored, the adjustment instruction is triggered to perform speech configuration information of the target speech.
可选地,所述调整模块206根据话术调整指令调整所述目标话术的话术配置信息包括:Optionally, the adjustment module 206 adjusting the speech configuration information of the target speech according to the speech adjustment instruction includes:
解析所述话术调整指令得到待调整业务属性;Analyzing the speech adjustment instruction to obtain the service attribute to be adjusted;
将所述待调整业务属性转换为目标标签;converting the service attribute to be adjusted into a target tag;
根据所述目标标签确定位于所述树状布局对应的位置坐标,并对所述位置坐标对应的节点话术配置信息进行调整。The location coordinates corresponding to the tree layout are determined according to the target label, and the node speech configuration information corresponding to the location coordinates is adjusted.
本实施例中,由于用户可以直观的在所述目标话术的树状布局中看到话术配置信息 及节点之间的引用关系,当话术配置信息需要调整时,直接根据业务需求确定对应在所述树状布局中的位置坐标,根据所述位置坐标快速调整的话术配置信息,提高了话术配置信息调整的准确率及效率。In this embodiment, since the user can intuitively see the speech configuration information and the reference relationship between the nodes in the tree layout of the target speech, when the speech configuration information needs to be adjusted, the corresponding communication is directly determined according to the business requirements. The position coordinates in the tree-like layout are quickly adjusted according to the speech configuration information according to the position coordinates, which improves the accuracy and efficiency of the adjustment of the speech configuration information.
综上所述,本实施例所述的一种话术调整装置,通过接收客户端发送的话术配置请求;解析所述话术配置请求得到目标话术的业务属性,基于所述目标话术的业务属性从意图数据库中获取对应的意图集合;根据意图选择指令从所述意图集合中提取多个目标意图,并将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联,形成目标话术的话术配置信息;基于所述目标话术的话术配置信息创建所述目标话术的力导向图;将所述目标话术的力导向图转换为树状布局,并展示在所述客户端的界面上;根据话术调整指令调整所述目标话术的话术配置信息。To sum up, the device for adjusting a speech voice in this embodiment receives a speech configuration request sent by a client; parses the speech configuration request to obtain the service attributes of a target speech, and based on the service attribute of the target speech The business attribute obtains the corresponding intent set from the intent database; extracts multiple target intents from the intent set according to the intent selection instruction, and compares the tagged discourses of the multiple target intents with the business attributes of the target discourse perform association to form the discourse configuration information of the target discourse; create a force-directed graph of the target discourse based on the discourse configuration information of the target discourse; convert the force-directed graph of the target discourse into a tree-like layout, and Displaying on the interface of the client; adjusting the discourse configuration information of the target discourse according to the discourse adjustment instruction.
本实施例,一方面,通过从所述目标话术的话术配置信息中获取节点数据及节点之间的引用关系,根据所述节点数据及所述节点之间的引用关系创建所述目标话术的力导向图,通过力导向图的方式展示所述话术配置,可以直观的看到所述目标话术的话术配置的配置信息,当配置过程中出现错误时,客户可以及时的进行调整,提高了话术调整的效率,进而提高了话术配置的准确率;另一方面,为了避免节点过多时所述力导向图出现混乱的现象,将所述目标话术的力导向图转换的树状布局,并将所述树状布局展示到所述客户端的界面,便于客户端直观的看到所述目标话术的配置信息及如何配置的,当出现错误时,可以及时的响应,提高了话术调整的效率及准确率;最后,通过当监测到所述客户端发送的调整指令时,解析所述调整指令得到待调整业务属性,根据所述待调整业务属性的位置坐标快速调整的话术配置信息,提高了话术配置信息调整的准确率及效率。In this embodiment, on the one hand, by acquiring node data and the reference relationship between nodes from the language configuration information of the target language, the target language is created according to the node data and the reference relationship between the nodes The force-directed graph of the target dialect is used to display the configuration of the dialect, and the configuration information of the dialect configuration of the target dialect can be seen intuitively. When an error occurs during the configuration process, the customer can adjust it in time. It improves the efficiency of language adjustment, thereby improving the accuracy of language configuration; on the other hand, in order to avoid the phenomenon of confusion in the force-directed graph when there are too many nodes, the force-directed graph of the target language is converted into a tree. and display the tree-like layout on the interface of the client, so that the client can intuitively see the configuration information of the target language and how to configure it. When an error occurs, it can respond in time, which improves the The efficiency and accuracy of the speech adjustment; finally, when monitoring the adjustment instruction sent by the client, parse the adjustment instruction to obtain the service attribute to be adjusted, and quickly adjust the speech according to the position coordinates of the service attribute to be adjusted. The configuration information improves the accuracy and efficiency of the adjustment of the speech configuration information.
实施例三Embodiment 3
参阅图3所示,为本申请实施例三提供的电子设备的结构示意图。在本申请较佳实施例中,所述电子设备3包括存储器31、至少一个处理器32、至少一条通信总线33及收发器34。Referring to FIG. 3 , it is a schematic structural diagram of an electronic device according to Embodiment 3 of the present application. In a preferred embodiment of the present application, the electronic device 3 includes a memory 31 , at least one processor 32 , at least one communication bus 33 and a transceiver 34 .
本领域技术人员应该了解,图3示出的电子设备的结构并不构成本申请实施例的限定,既可以是总线型结构,也可以是星形结构,所述电子设备3还可以包括比图示更多或更少的其他硬件或者软件,或者不同的部件布置。Those skilled in the art should understand that the structure of the electronic device shown in FIG. 3 does not constitute a limitation of the embodiments of the present application, and may be a bus-type structure or a star-shaped structure, and the electronic device 3 may also include a schematic more or less other hardware or software, or a different arrangement of components is shown.
在一些实施例中,所述电子设备3是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的电子设备,其硬件包括但不限于微处理器、专用集成电路、可编程门阵列、数字处理器及嵌入式设备等。所述电子设备3还可包括客户设备,所述客户设备包括但不限于任何一种可与客户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互的电子产品,例如,个人计算机、平板电脑、智能手机、数码相机等。In some embodiments, the electronic device 3 is an electronic device that can automatically perform numerical calculation and/or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application-specific integrated circuits , programmable gate arrays, digital processors and embedded devices. The electronic device 3 may also include a client device, which includes but is not limited to any electronic product that can perform human-computer interaction with a client through a keyboard, a mouse, a remote control, a touchpad, or a voice-activated device, for example, Personal computers, tablets, smartphones, digital cameras, etc.
需要说明的是,所述电子设备3仅为举例,其他现有的或今后可能出现的电子产品如可适应于本申请,也应包含在本申请的保护范围以内,并以引用方式包含于此。It should be noted that the electronic device 3 is only an example, and other existing or future electronic products, if applicable to the present application, should also be included within the protection scope of the present application, and incorporated herein by reference .
在一些实施例中,所述存储器31用于存储程序代码和各种数据,例如安装在所述电子设备3中的话术配置调整装置20,并在电子设备3的运行过程中实现高速、自动地完成程序或数据的存取。所述存储器31包括只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable Read-Only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子擦除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。In some embodiments, the memory 31 is used to store program codes and various data, such as the voice configuration adjustment device 20 installed in the electronic device 3 , and to realize high-speed and automatic operation during the operation of the electronic device 3 . Complete program or data access. Described memory 31 comprises read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM) , One-time Programmable Read-Only Memory (OTPROM), Electronically-Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read- Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
在一些实施例中,本申请所述的计算机可读存储介质可以是非易失性,也可以是易失性。In some embodiments, the computer-readable storage medium described in this application may be non-volatile or volatile.
在一些实施例中,所述至少一个处理器32可以由集成电路组成,例如可以由单个封装的集成电路所组成,也可以是由多个相同功能或不同功能封装的集成电路所组成,包括一个或者多个中央处理器(Central Processing unit,CPU)、微处理器、数字处理芯片、图形处理器及各种控制芯片的组合等。所述至少一个处理器32是所述电子设备3的控制核心(Control Unit),利用各种接口和线路连接整个电子设备3的各个部件,通过运行或执行存储在所述存储器31内的程序或者模块,以及调用存储在所述存储器31内的数据,以执行电子设备3的各种功能和处理数据。In some embodiments, the at least one processor 32 may be composed of integrated circuits, for example, may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits packaged with the same function or different functions, including one Or a combination of multiple central processing units (Central Processing units, CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The at least one processor 32 is the control core (Control Unit) of the electronic device 3, and uses various interfaces and lines to connect various components of the entire electronic device 3, by running or executing the program stored in the memory 31 or modules, and call data stored in the memory 31 to perform various functions of the electronic device 3 and process data.
在一些实施例中,所述至少一条通信总线33被设置为实现所述存储器31以及所述至少一个处理器32等之间的连接通信。In some embodiments, the at least one communication bus 33 is configured to enable connection communication between the memory 31 and the at least one processor 32 and the like.
尽管未示出,所述电子设备3还可以包括给各个部件供电的电源(比如电池),可选的,电源可以通过电源管理装置与所述至少一个处理器32逻辑相连,从而通过电源管理装置实现管理充电、放电、以及功耗管理等功能。电源还可以包括一个或一个以上的直流或交流电源、再充电装置、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。所述电子设备3还可以包括多种传感器、蓝牙模块、Wi-Fi模块等,在此不再赘述。Although not shown, the electronic device 3 may also include a power source (such as a battery) for supplying power to various components. Optionally, the power source may be logically connected to the at least one processor 32 through a power management device, so that the power management device Implement functions such as managing charging, discharging, and power consumption. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and any other components. The electronic device 3 may further include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
应该了解,所述实施例仅为说明之用,在专利申请范围上并不受此结构的限制。It should be understood that the embodiments are only used for illustration, and are not limited by this structure in the scope of the patent application.
上述以软件功能模块的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干计算机可读指令用以使得一台计算机设备(可以是个人计算机,电子设备,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的部分。The above-mentioned integrated units implemented in the form of software functional modules may be stored in a computer-readable storage medium. The above-mentioned software function modules are stored in a storage medium, and include several computer-readable instructions to enable a computer device (which may be a personal computer, an electronic device, or a network device, etc.) or a processor (processor) to execute various embodiments of the present application part of the method.
在进一步的实施例中,结合图2,所述至少一个处理器32可执行所述电子设备3的操作装置以及安装的各类应用程序(如所述的话术配置调整装置20)、程序代码等,例如,上述的各个模块。In a further embodiment, with reference to FIG. 2 , the at least one processor 32 can execute the operating device of the electronic device 3 and various installed application programs (such as the speech configuration adjusting device 20 ), program codes, etc. , for example, the various modules above.
所述存储器31中存储有程序代码,且所述至少一个处理器32可调用所述存储器31中存储的程序代码以执行相关的功能。示例性的,所述程序代码可以被分割成一个或多个模块/单元,所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令段,该指令段用于描述所述程序代码在所述电子设备中的执行过程。例如,图2中所述的各个模块是存储在所述存储器31中的程序代码,并由所述至少一个处理器32所执行,从而实现所述各个模块的功能以达到话术配置调整的目的。Program codes are stored in the memory 31, and the at least one processor 32 can call the program codes stored in the memory 31 to perform related functions. Exemplarily, the program code may be divided into one or more modules/units, and the one or more modules/units may be a series of computer-readable instruction segments capable of performing specific functions, and the instruction segments are used to describe the The execution process of the program code in the electronic device. For example, each module described in FIG. 2 is a program code stored in the memory 31 and executed by the at least one processor 32, so as to realize the functions of the various modules to achieve the purpose of adjusting the speech configuration .
在本申请的一个实施例中,所述存储器31存储多个计算机可读指令,所述多个计算机可读指令被所述至少一个处理器32所执行以实现话术配置调整的功能。In an embodiment of the present application, the memory 31 stores a plurality of computer-readable instructions, and the plurality of computer-readable instructions are executed by the at least one processor 32 to implement the function of speech configuration adjustment.
具体地,所述至少一个处理器32对上述指令的具体实现方法可参考图1对应实施例中相关步骤的描述,在此不赘述。Specifically, for the specific implementation method of the above instruction by the at least one processor 32, reference may be made to the description of the relevant steps in the embodiment corresponding to FIG. 1 , and details are not described herein.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the modules is only a logical function division, and there may be other division manners in actual implementation.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,既可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, and may be located in one place or distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or can be implemented in the form of hardware plus software function modules.
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或,单数不排除复数。本申请中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It will be apparent to those skilled in the art that the present application is not limited to the details of the above-described exemplary embodiments, but that the present application can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Accordingly, the embodiments are to be regarded in all respects as illustrative and not restrictive, and the scope of the application is to be defined by the appended claims rather than the foregoing description, which is therefore intended to fall within the scope of the claims. All changes within the meaning and scope of the equivalents of , are included in this application. Any reference signs in the claims shall not be construed as limiting the involved claim. Furthermore, it is clear that the word "comprising" does not exclude other units or, and the singular does not exclude the plural. A plurality of units or devices stated in this application may also be implemented by one unit or device through software or hardware. The terms first, second, etc. are used to denote names and do not denote any particular order.
最后应说明的是,以上实施例仅用以说明本申请的技术方案而非限制,尽管参照较佳实施例对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换,而不脱离本申请技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application rather than limitations. Although the present application has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present application can be Modifications or equivalent substitutions can be made without departing from the spirit and scope of the technical solutions of the present application.

Claims (20)

  1. 一种话术配置调整方法,其中,所述话术配置调整方法包括:A speech configuration adjustment method, wherein the speech configuration adjustment method comprises:
    接收客户端发送的话术配置请求;Receive the session configuration request sent by the client;
    解析所述话术配置请求得到目标话术的业务属性,基于所述目标话术的业务属性从意图数据库中获取对应的意图集合;Analyzing the speech configuration request to obtain the business attribute of the target speech, and obtaining the corresponding intent set from the intent database based on the business attribute of the target speech;
    根据意图选择指令从所述意图集合中提取多个目标意图,并将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联,形成目标话术的话术配置信息;Extracting multiple target intents from the intent set according to the intent selection instruction, and associating the tagged discourses of the multiple target intents with the service attributes of the target discourse to form discourse configuration information of the target discourse;
    基于所述目标话术的话术配置信息创建所述目标话术的力导向图;creating a force-directed graph of the target speech based on the speech configuration information of the target speech;
    将所述目标话术的力导向图转换为树状布局,并展示在所述客户端的界面上;Convert the force-directed graph of the target language into a tree-like layout, and display it on the interface of the client;
    根据话术调整指令调整所述目标话术的话术配置信息。Adjust the speech configuration information of the target speech according to the speech adjustment instruction.
  2. 如权利要求1所述的话术配置调整方法,其中,所述基于所述目标话术的话术配置信息创建所述目标话术的力导向图包括:The discourse configuration adjustment method of claim 1, wherein the creating a force-directed graph of the target discourse based on discourse configuration information of the target discourse comprises:
    将所述话术配置信息中的目标话术的节点转换为对应的力导向图的节点,其中,所述力导向图的节点包含有目标话术的节点的话术标签;converting the node of the target speech in the speech configuration information into a node of the corresponding force-directed graph, wherein the node of the force-directed graph includes the speech label of the node of the target speech;
    将所述话术配置信息中的目标话术的节点之间的引用关系转换为对应的力导向图中节点之间的边,其中,所述力导向图中节点之间的边作为所述力导向图的节点之间的引用关系;Convert the reference relationship between the nodes of the target speech in the speech configuration information into the edges between the nodes in the corresponding force-directed graph, where the edges between the nodes in the force-directed graph are used as the force The reference relationship between the nodes of the directed graph;
    根据所述力导向图的节点和所述力导向图节点之间的边创建所述目标话术的力导向图。A force-directed graph of the target speech is created from nodes of the force-directed graph and edges between the force-directed graph nodes.
  3. 如权利要求1所述的话术配置调整方法,其中,所述基于所述目标话术的话术配置信息创建所述目标话术的力导向图包括:The discourse configuration adjustment method of claim 1, wherein the creating a force-directed graph of the target discourse based on discourse configuration information of the target discourse comprises:
    将所述目标话术的话术配置信息进行数据转换得到第一结构数据;performing data conversion on the discourse configuration information of the target discourse to obtain first structural data;
    将所述第一结构数据发送至关系型数据库中进行处理得到所述目标话术的第二结构数据和所述目标话术之间引用关系的第三结构数据;sending the first structure data to a relational database for processing to obtain the second structure data of the target speech and the third structure data of the reference relationship between the target speech;
    将所述第二结构数据的目标话术的节点转换为对应的力导向图的节点,其中,所述力导向图的节点包含有目标话术的节点的话术标签;Converting the node of the target language of the second structural data into a node of the corresponding force-directed graph, wherein the node of the force-directed graph contains the language label of the node of the target language;
    将所述第三结构数据中的目标话术的节点之间的引用关系转换为对应的力导向图中节点之间的边,其中,所述力导向图中节点之间的边作为所述力导向图的节点之间的引用关系;Convert the reference relationship between the nodes of the target language in the third structural data into the edges between the nodes in the corresponding force-directed graph, where the edges between the nodes in the force-directed graph are used as the force The reference relationship between the nodes of the directed graph;
    根据所述力导向图的节点和所述力导向图中节点之间的边创建所述目标话术的力导向图。A force-directed graph of the target discourse is created from nodes of the force-directed graph and edges between nodes in the force-directed graph.
  4. 如权利要求2或3所述的话术配置调整方法,其中,所述将所述目标话术的力导向图转换为树状布局包括:The speech configuration adjustment method according to claim 2 or 3, wherein the converting the force-directed graph of the target speech into a tree-like layout comprises:
    将所述目标话术的力导向图中的话术配置信息进行复制得到目标话术配置信息,将所述目标话术配置信息转换为预设的树状结构;Copying the speech configuration information in the force-oriented graph of the target speech to obtain the target speech configuration information, and converting the target speech configuration information into a preset tree structure;
    计算所述目标话术的力导向图中的每个节点的第一位置坐标;calculating the first position coordinates of each node in the force-directed graph of the target speech;
    根据所述预设的树状结构计算得到每个节点的第二位置坐标;Calculate the second position coordinate of each node according to the preset tree structure;
    在所述预设的树状结构中将每个节点的第二位置坐标更新为对应的第一位置坐标;updating the second position coordinate of each node to the corresponding first position coordinate in the preset tree structure;
    重新启动所述预设的树状结构将所述目标话术的力导向图转换为树状布局。Restarting the preset tree structure converts the force-directed graph of the target speech into a tree-like layout.
  5. 如权利要求1所述的话术配置调整方法,其中,所述根据话术调整指令调整所述目标话术的话术配置信息包括:The speech configuration adjustment method according to claim 1, wherein the adjusting the speech configuration information of the target speech according to the speech adjustment instruction comprises:
    解析所述话术调整指令得到待调整业务属性;Analyzing the speech adjustment instruction to obtain the service attribute to be adjusted;
    将所述待调整业务属性转换为目标标签;converting the service attribute to be adjusted into a target tag;
    根据所述目标标签确定位于所述树状布局对应的位置坐标,并对所述位置坐标对应的节点话术配置信息进行调整。The location coordinates corresponding to the tree layout are determined according to the target label, and the node speech configuration information corresponding to the location coordinates is adjusted.
  6. 如权利要求1所述的话术配置调整方法,其中,所述将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联包括:The discourse configuration adjustment method according to claim 1, wherein the associating the tagged discourses of the multiple target intents with the service attributes of the target discourses comprises:
    提取每个目标意图对应的多个标签化话术的多个第一标签;extracting multiple first tags of multiple tagging words corresponding to each target intent;
    提取所述目标话术的业务属性中的多个关键字段,将所述多个关键字段转化为多个第二标签;extracting multiple key fields in the business attributes of the target language, and converting the multiple key fields into multiple second tags;
    将所述多个第二标签与所述多个第一标签进行匹配;matching the plurality of second tags with the plurality of first tags;
    当任意一个第二标签与所述任意一个第一标签匹配时,将所述任意一个第一标签对应的标签化话术与所述目标话术的业务属性进行关联。When any second tag matches any of the first tags, associate the tagged speech corresponding to the any first label with the service attribute of the target speech.
  7. 如权利要求1所述的话术配置调整方法,其中,所述基于所述目标话术的业务属性从意图数据库中获取对应的意图集合包括;The discourse configuration adjustment method according to claim 1, wherein the acquiring a corresponding intent set from an intent database based on a business attribute of the target discourse comprises;
    根据所述业务属性确定所述目标话术的目标话术类型;Determine the target speech type of the target speech according to the service attribute;
    将所述目标话术的类型与意图数据库中的话术类型进行匹配;matching the type of the target utterance with the utterance type in the intent database;
    当在所述意图数据库中的话术类型中匹配到与所述目标话术类型相匹配的目标话术类型时,获取所述目标话术类型对应的意图集合;或者When a target speech type matching the target speech type is matched in the speech types in the intent database, obtain the intent set corresponding to the target speech type; or
    当在所述意图数据库中的话术类型中未匹配到与所述目标话术类型相匹配的目标话术类型时,获取默认意图集合。When no target speech type matching the target speech type is found in the speech types in the intent database, a default intent set is acquired.
  8. 一种电子设备,其中,所述电子设备包括存储器及处理器,所述存储器用于存储至少一个计算机可读指令,所述处理器用于执行所述至少一个计算机可读指令以实现以下步骤:An electronic device, wherein the electronic device comprises a memory and a processor, the memory is used to store at least one computer-readable instruction, and the processor is used to execute the at least one computer-readable instruction to implement the following steps:
    接收客户端发送的话术配置请求;Receive the session configuration request sent by the client;
    解析所述话术配置请求得到目标话术的业务属性,基于所述目标话术的业务属性从意图数据库中获取对应的意图集合;Analyzing the speech configuration request to obtain the business attribute of the target speech, and obtaining the corresponding intent set from the intent database based on the business attribute of the target speech;
    根据意图选择指令从所述意图集合中提取多个目标意图,并将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联,形成目标话术的话术配置信息;Extracting multiple target intents from the intent set according to the intent selection instruction, and associating the tagged discourses of the multiple target intents with the service attributes of the target discourse to form discourse configuration information of the target discourse;
    基于所述目标话术的话术配置信息创建所述目标话术的力导向图;creating a force-directed graph of the target speech based on the speech configuration information of the target speech;
    将所述目标话术的力导向图转换为树状布局,并展示在所述客户端的界面上;Convert the force-directed graph of the target language into a tree-like layout, and display it on the interface of the client;
    根据话术调整指令调整所述目标话术的话术配置信息。Adjust the speech configuration information of the target speech according to the speech adjustment instruction.
  9. 如权利要求8所述的电子设备,其中,所述处理器执行所述至少一个计算机可读指令以实现所述基于所述目标话术的话术配置信息创建所述目标话术的力导向图时,具体包括:The electronic device of claim 8, wherein the processor executes the at least one computer-readable instruction to implement the creation of the force directed graph of the target speech based on speech configuration information of the target speech , including:
    将所述话术配置信息中的目标话术的节点转换为对应的力导向图的节点,其中,所述力导向图的节点包含有目标话术的节点的话术标签;converting the node of the target speech in the speech configuration information into a node of the corresponding force-directed graph, wherein the node of the force-directed graph includes the speech label of the node of the target speech;
    将所述话术配置信息中的目标话术的节点之间的引用关系转换为对应的力导向图中节点之间的边,其中,所述力导向图中节点之间的边作为所述力导向图的节点之间的引用关系;Convert the reference relationship between the nodes of the target speech in the speech configuration information into the edges between the nodes in the corresponding force-directed graph, where the edges between the nodes in the force-directed graph are used as the force The reference relationship between the nodes of the directed graph;
    根据所述力导向图的节点和所述力导向图节点之间的边创建所述目标话术的力导向图。A force-directed graph of the target speech is created from nodes of the force-directed graph and edges between the force-directed graph nodes.
  10. 如权利要求8所述的电子设备,其中,所述处理器执行所述至少一个计算机可读指令以实现所述基于所述目标话术的话术配置信息创建所述目标话术的力导向图时,具体包括:The electronic device of claim 8, wherein the processor executes the at least one computer-readable instruction to implement the creation of the force directed graph of the target speech based on speech configuration information of the target speech , including:
    将所述目标话术的话术配置信息进行数据转换得到第一结构数据;performing data conversion on the discourse configuration information of the target discourse to obtain first structural data;
    将所述第一结构数据发送至关系型数据库中进行处理得到所述目标话术的第二结构数据和所述目标话术之间引用关系的第三结构数据;sending the first structure data to a relational database for processing to obtain the second structure data of the target speech and the third structure data of the reference relationship between the target speech;
    将所述第二结构数据的目标话术的节点转换为对应的力导向图的节点,其中,所述力导向图的节点包含有目标话术的节点的话术标签;Converting the node of the target language of the second structural data into a node of the corresponding force-directed graph, wherein the node of the force-directed graph contains the language label of the node of the target language;
    将所述第三结构数据中的目标话术的节点之间的引用关系转换为对应的力导向图中节点之间的边,其中,所述力导向图中节点之间的边作为所述力导向图的节点之间的引用关系;Convert the reference relationship between the nodes of the target language in the third structural data into the edges between the nodes in the corresponding force-directed graph, where the edges between the nodes in the force-directed graph are used as the force The reference relationship between the nodes of the directed graph;
    根据所述力导向图的节点和所述力导向图中节点之间的边创建所述目标话术的力导向图。A force-directed graph of the target discourse is created from nodes of the force-directed graph and edges between nodes in the force-directed graph.
  11. 如权利要求9或10所述的电子设备,其中,所述处理器执行所述至少一个计算机可读指令以实现所述将所述目标话术的力导向图转换为树状布局时,具体包括:The electronic device according to claim 9 or 10, wherein, when the processor executes the at least one computer-readable instruction to realize the conversion of the force-directed graph of the target speech into a tree-like layout, it specifically includes :
    将所述目标话术的力导向图中的话术配置信息进行复制得到目标话术配置信息,将所述目标话术配置信息转换为预设的树状结构;Copying the speech configuration information in the force-oriented graph of the target speech to obtain the target speech configuration information, and converting the target speech configuration information into a preset tree structure;
    计算所述目标话术的力导向图中的每个节点的第一位置坐标;calculating the first position coordinates of each node in the force-directed graph of the target speech;
    根据所述预设的树状结构计算得到每个节点的第二位置坐标;Calculate the second position coordinate of each node according to the preset tree structure;
    在所述预设的树状结构中将每个节点的第二位置坐标更新为对应的第一位置坐标;updating the second position coordinate of each node to the corresponding first position coordinate in the preset tree structure;
    重新启动所述预设的树状结构将所述目标话术的力导向图转换为树状布局。Restarting the preset tree structure converts the force-directed graph of the target speech into a tree-like layout.
  12. 如权利要求8所述的电子设备,其中,所述处理器执行所述至少一个计算机可读指令以实现所述根据话术调整指令调整所述目标话术的话术配置信息时,具体包括:The electronic device according to claim 8, wherein, when the processor executes the at least one computer-readable instruction to realize the adjustment of the speech configuration information of the target speech according to the speech adjustment instruction, it specifically includes:
    解析所述话术调整指令得到待调整业务属性;Analyzing the speech adjustment instruction to obtain the service attribute to be adjusted;
    将所述待调整业务属性转换为目标标签;converting the service attribute to be adjusted into a target tag;
    根据所述目标标签确定位于所述树状布局对应的位置坐标,并对所述位置坐标对应的节点话术配置信息进行调整。The location coordinates corresponding to the tree layout are determined according to the target label, and the node speech configuration information corresponding to the location coordinates is adjusted.
  13. 如权利要求8所述的电子设备,其中,所述处理器执行所述至少一个计算机可读指令以实现所述将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联时,具体包括:9. The electronic device of claim 8, wherein the processor executes the at least one computer-readable instruction to implement the tagging utterances of the plurality of target intents with business attributes of the target utterances When making an association, it specifically includes:
    提取每个目标意图对应的多个标签化话术的多个第一标签;extracting multiple first tags of multiple tagging words corresponding to each target intent;
    提取所述目标话术的业务属性中的多个关键字段,将所述多个关键字段转化为多个第二标签;extracting multiple key fields in the business attributes of the target language, and converting the multiple key fields into multiple second tags;
    将所述多个第二标签与所述多个第一标签进行匹配;matching the plurality of second tags with the plurality of first tags;
    当任意一个第二标签与所述任意一个第一标签匹配时,将所述任意一个第一标签对应的标签化话术与所述目标话术的业务属性进行关联。When any second tag matches any of the first tags, associate the tagged speech corresponding to the any first label with the service attribute of the target speech.
  14. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有至少一个计算机可读指令,所述至少一个计算机可读指令被处理器执行时实现以下步骤:A computer-readable storage medium, wherein the computer-readable storage medium stores at least one computer-readable instruction, and the at least one computer-readable instruction implements the following steps when executed by a processor:
    接收客户端发送的话术配置请求;Receive the session configuration request sent by the client;
    解析所述话术配置请求得到目标话术的业务属性,基于所述目标话术的业务属性从意图数据库中获取对应的意图集合;Analyzing the speech configuration request to obtain the business attribute of the target speech, and obtaining the corresponding intent set from the intent database based on the business attribute of the target speech;
    根据意图选择指令从所述意图集合中提取多个目标意图,并将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联,形成目标话术的话术配置信息;Extracting multiple target intents from the intent set according to the intent selection instruction, and associating the tagged discourses of the multiple target intents with the service attributes of the target discourse to form discourse configuration information of the target discourse;
    基于所述目标话术的话术配置信息创建所述目标话术的力导向图;creating a force-directed graph of the target speech based on the speech configuration information of the target speech;
    将所述目标话术的力导向图转换为树状布局,并展示在所述客户端的界面上;Convert the force-directed graph of the target language into a tree-like layout, and display it on the interface of the client;
    根据话术调整指令调整所述目标话术的话术配置信息。Adjust the speech configuration information of the target speech according to the speech adjustment instruction.
  15. 如权利要求14所述的存储介质,其中,所述至少一个计算机可读指令被所述处理器执行以实现所述基于所述目标话术的话术配置信息创建所述目标话术的力导向图时,具体包括:15. The storage medium of claim 14, wherein the at least one computer-readable instruction is executed by the processor to implement the creation of a force directed graph of the target utterance based on utterance configuration information of the target utterance , including:
    将所述话术配置信息中的目标话术的节点转换为对应的力导向图的节点,其中,所述力导向图的节点包含有目标话术的节点的话术标签;converting the node of the target speech in the speech configuration information into a node of the corresponding force-directed graph, wherein the node of the force-directed graph contains the speech label of the node of the target speech;
    将所述话术配置信息中的目标话术的节点之间的引用关系转换为对应的力导向图中节点之间的边,其中,所述力导向图中节点之间的边作为所述力导向图的节点之间的引用关系;Convert the reference relationship between the nodes of the target speech in the speech configuration information into the edges between the nodes in the corresponding force-directed graph, where the edges between the nodes in the force-directed graph serve as the force The reference relationship between the nodes of the directed graph;
    根据所述力导向图的节点和所述力导向图节点之间的边创建所述目标话术的力导向图。A force-directed graph of the target speech is created from nodes of the force-directed graph and edges between the force-directed graph nodes.
  16. 如权利要求14所述的存储介质,其中,所述至少一个计算机可读指令被所述处理器执行以实现所述基于所述目标话术的话术配置信息创建所述目标话术的力导向图时,具体包括:15. The storage medium of claim 14, wherein the at least one computer-readable instruction is executed by the processor to implement the creation of a force directed graph of the target utterance based on utterance configuration information of the target utterance , including:
    将所述目标话术的话术配置信息进行数据转换得到第一结构数据;performing data conversion on the discourse configuration information of the target discourse to obtain first structural data;
    将所述第一结构数据发送至关系型数据库中进行处理得到所述目标话术的第二结构数据和所述目标话术之间引用关系的第三结构数据;sending the first structure data to a relational database for processing to obtain the second structure data of the target speech and the third structure data of the reference relationship between the target speech;
    将所述第二结构数据的目标话术的节点转换为对应的力导向图的节点,其中,所述力导向图的节点包含有目标话术的节点的话术标签;Converting the node of the target language of the second structural data into a node of the corresponding force-directed graph, wherein the node of the force-directed graph contains the language label of the node of the target language;
    将所述第三结构数据中的目标话术的节点之间的引用关系转换为对应的力导向图中节点之间的边,其中,所述力导向图中节点之间的边作为所述力导向图的节点之间的引用关系;Convert the reference relationship between the nodes of the target language in the third structural data into the edges between the nodes in the corresponding force-directed graph, where the edges between the nodes in the force-directed graph are used as the force The reference relationship between the nodes of the directed graph;
    根据所述力导向图的节点和所述力导向图中节点之间的边创建所述目标话术的力导向图。A force-directed graph of the target discourse is created from nodes of the force-directed graph and edges between nodes in the force-directed graph.
  17. 如权利要求15或16所述的存储介质,其中,所述至少一个计算机可读指令被所述处理器执行以实现所述将所述目标话术的力导向图转换为树状布局时,具体包括:The storage medium of claim 15 or 16, wherein, when the at least one computer-readable instruction is executed by the processor to implement the converting the force-directed graph of the target speech into a tree-like layout, specifically include:
    将所述目标话术的力导向图中的话术配置信息进行复制得到目标话术配置信息,将所述目标话术配置信息转换为预设的树状结构;Copying the speech configuration information in the force-oriented graph of the target speech to obtain the target speech configuration information, and converting the target speech configuration information into a preset tree structure;
    计算所述目标话术的力导向图中的每个节点的第一位置坐标;calculating the first position coordinates of each node in the force-directed graph of the target speech;
    根据所述预设的树状结构计算得到每个节点的第二位置坐标;Calculate the second position coordinate of each node according to the preset tree structure;
    在所述预设的树状结构中将每个节点的第二位置坐标更新为对应的第一位置坐标;updating the second position coordinate of each node to the corresponding first position coordinate in the preset tree structure;
    重新启动所述预设的树状结构将所述目标话术的力导向图转换为树状布局。Restarting the preset tree structure converts the force-directed graph of the target speech into a tree-like layout.
  18. 如权利要求14所述的存储介质,其中,所述至少一个计算机可读指令被所述处理器执行以实现所述根据话术调整指令调整所述目标话术的话术配置信息时,具体包括:The storage medium according to claim 14, wherein, when the at least one computer-readable instruction is executed by the processor to realize the adjustment of the speech configuration information of the target speech according to the speech adjustment instruction, it specifically comprises:
    解析所述话术调整指令得到待调整业务属性;Parsing the speech adjustment instruction to obtain the service attribute to be adjusted;
    将所述待调整业务属性转换为目标标签;converting the service attribute to be adjusted into a target tag;
    根据所述目标标签确定位于所述树状布局对应的位置坐标,并对所述位置坐标对应的节点话术配置信息进行调整。The position coordinates corresponding to the tree layout are determined according to the target tags, and the node speech configuration information corresponding to the position coordinates is adjusted.
  19. 如权利要求14所述的存储介质,其中,所述至少一个计算机可读指令被所述处理器执行以实现所述将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联时,具体包括:15. The storage medium of claim 14, wherein the at least one computer-readable instruction is executable by the processor to implement the service of linking the plurality of target-intent tagged utterances to the target utterance When attributes are associated, they include:
    提取每个目标意图对应的多个标签化话术的多个第一标签;extracting multiple first tags of multiple tagging words corresponding to each target intent;
    提取所述目标话术的业务属性中的多个关键字段,将所述多个关键字段转化为多个第二标签;extracting multiple key fields in the business attribute of the target language, and converting the multiple key fields into multiple second tags;
    将所述多个第二标签与所述多个第一标签进行匹配;matching the plurality of second tags with the plurality of first tags;
    当任意一个第二标签与所述任意一个第一标签匹配时,将所述任意一个第一标签对应的标签化话术与所述目标话术的业务属性进行关联。When any one of the second tags matches the any one of the first tags, the tagged speech corresponding to the any one of the first labels is associated with the service attribute of the target speech.
  20. 一种话术配置调整装置,其中,所述话术配置调整装置包括:A speech configuration adjustment device, wherein the speech configuration adjustment device comprises:
    接收模块,用于接收客户端发送的话术配置请求;The receiving module is used to receive the technical configuration request sent by the client;
    解析模块,用于解析所述话术配置请求得到目标话术的业务属性,基于所述目标话术的业务属性从意图数据库中获取对应的意图集合;a parsing module, configured to parse the speech configuration request to obtain the business attribute of the target speech, and obtain the corresponding intent set from the intent database based on the business attribute of the target speech;
    提取模块,用于根据意图选择指令从所述意图集合中提取多个目标意图,并将所述多个目标意图的标签化话术与所述目标话术的业务属性进行关联,形成目标话术的话术配置信息;The extraction module is configured to extract multiple target intents from the intent set according to the intent selection instruction, and associate the tagged discourses of the multiple target intents with the business attributes of the target discourses to form a target discourse speech configuration information;
    创建模块,用于基于所述目标话术的话术配置信息创建所述目标话术的力导向图;A creation module, configured to create a force-directed graph of the target speech based on the speech configuration information of the target speech;
    转换模块,用于将所述目标话术的力导向图转换为树状布局,并展示在所述客户端 的界面上;a conversion module, for converting the force-directed graph of the target language into a tree-like layout, and displaying it on the interface of the client;
    调整模块,用于根据话术调整指令调整所述目标话术的话术配置信息。An adjustment module, configured to adjust the speech configuration information of the target speech according to the speech adjustment instruction.
PCT/CN2021/090457 2020-12-29 2021-04-28 Script configuration adjustment method and apparatus, electronic device, and storage medium WO2022142012A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011595194.6 2020-12-29
CN202011595194.6A CN112612462A (en) 2020-12-29 2020-12-29 Method and device for adjusting phone configuration, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022142012A1 true WO2022142012A1 (en) 2022-07-07

Family

ID=75248825

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/090457 WO2022142012A1 (en) 2020-12-29 2021-04-28 Script configuration adjustment method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN112612462A (en)
WO (1) WO2022142012A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112612462A (en) * 2020-12-29 2021-04-06 平安科技(深圳)有限公司 Method and device for adjusting phone configuration, electronic equipment and storage medium
CN113705248B (en) * 2021-07-21 2022-09-30 上海原圈网络科技有限公司 Method and device for processing tactical training data based on result evaluation
CN114238605B (en) * 2021-12-17 2022-11-22 北京斗米优聘科技发展有限公司 Automatic conversation method and device for intelligent voice customer service robot

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106909689A (en) * 2017-03-07 2017-06-30 山东浪潮云服务信息科技有限公司 A kind of data fusion method and device
CN110297616A (en) * 2019-05-31 2019-10-01 百度在线网络技术(北京)有限公司 Talk about generation method, device, equipment and the storage medium of art
US20190369967A1 (en) * 2016-04-21 2019-12-05 Schneider Electric Software, Llc Object configuration utilities
CN111144905A (en) * 2019-12-24 2020-05-12 泰康保险集团股份有限公司 Questionnaire configuration method, system, computer device and computer-readable storage medium
CN111464706A (en) * 2020-03-12 2020-07-28 云知声智能科技股份有限公司 Method and system for visually configuring telephone robot
CN111475682A (en) * 2020-04-06 2020-07-31 武汉智领云科技有限公司 Intelligent operation and maintenance platform based on super-large-scale data system
CN112612462A (en) * 2020-12-29 2021-04-06 平安科技(深圳)有限公司 Method and device for adjusting phone configuration, electronic equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804643A (en) * 2018-06-05 2018-11-13 北京玄科技有限公司 Flow dispensing unit, method and the intelligent robot interactive system of more wheel sessions
CN110704594A (en) * 2019-09-27 2020-01-17 北京百度网讯科技有限公司 Task type dialogue interaction processing method and device based on artificial intelligence
CN111078846A (en) * 2019-11-25 2020-04-28 青牛智胜(深圳)科技有限公司 Multi-turn dialog system construction method and system based on business scene
CN111191090B (en) * 2020-04-10 2020-09-08 支付宝(杭州)信息技术有限公司 Method, device, equipment and storage medium for determining service data presentation graph type

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190369967A1 (en) * 2016-04-21 2019-12-05 Schneider Electric Software, Llc Object configuration utilities
CN106909689A (en) * 2017-03-07 2017-06-30 山东浪潮云服务信息科技有限公司 A kind of data fusion method and device
CN110297616A (en) * 2019-05-31 2019-10-01 百度在线网络技术(北京)有限公司 Talk about generation method, device, equipment and the storage medium of art
CN111144905A (en) * 2019-12-24 2020-05-12 泰康保险集团股份有限公司 Questionnaire configuration method, system, computer device and computer-readable storage medium
CN111464706A (en) * 2020-03-12 2020-07-28 云知声智能科技股份有限公司 Method and system for visually configuring telephone robot
CN111475682A (en) * 2020-04-06 2020-07-31 武汉智领云科技有限公司 Intelligent operation and maintenance platform based on super-large-scale data system
CN112612462A (en) * 2020-12-29 2021-04-06 平安科技(深圳)有限公司 Method and device for adjusting phone configuration, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112612462A (en) 2021-04-06

Similar Documents

Publication Publication Date Title
WO2022142012A1 (en) Script configuration adjustment method and apparatus, electronic device, and storage medium
WO2022078346A1 (en) Text intent recognition method and apparatus, electronic device, and storage medium
EP3320490B1 (en) Transfer learning techniques for disparate label sets
US10127224B2 (en) Extensible context-aware natural language interactions for virtual personal assistants
US9405532B1 (en) Integrated cloud platform translation system
CN109902105B (en) Data query system, method, device and storage medium for micro-service architecture
US7593927B2 (en) Unstructured data in a mining model language
BR102019003207A2 (en) use of machine learning model and natural language processing to manage and assign tasks
JP2018533126A (en) Method, system, and computer program product for a natural language interface to a database
WO2022116420A1 (en) Speech event detection method and apparatus, electronic device, and computer storage medium
US20200285528A1 (en) Application program interface lists
WO2022142016A1 (en) Rule engine-based parameter conversion method and apparatus, and device and medium
US20150286943A1 (en) Decision Making and Planning/Prediction System for Human Intention Resolution
CN110750654A (en) Knowledge graph acquisition method, device, equipment and medium
US11126938B2 (en) Targeted data element detection for crowd sourced projects with machine learning
WO2021159656A1 (en) Method, device, and equipment for semantic completion in a multi-round dialogue, and storage medium
CN112395843B (en) PHP code-based service processing method, device and medium
WO2019232980A1 (en) Node configuration method and apparatus, computer readable storage medium, and electronic device
US20220237376A1 (en) Method, apparatus, electronic device and storage medium for text classification
CN113051362A (en) Data query method and device and server
US11531821B2 (en) Intent resolution for chatbot conversations with negation and coreferences
US11769013B2 (en) Machine learning based tenant-specific chatbots for performing actions in a multi-tenant system
CN113435582A (en) Text processing method based on sentence vector pre-training model and related equipment
WO2022171093A1 (en) Method and apparatus for constructing personnel relational graph, and electronic device
WO2021212636A1 (en) Form page generation method and device, terminal, and storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1