Business dialogue implementation method and device

By identifying user intentions and combining business knowledge models and dialogue models to generate relevant content, the problem of high communication costs in C-side business development is solved, self-service Q&A is realized, and communication efficiency is improved.

CN118535699APending Publication Date: 2024-08-23KE COM (BEIJING) TECHNOLOGY CO LTD

Patent Information

Application Number
CN202410682713.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In C-side business development, back-end personnel need to communicate a lot with multiple departments. The lack of interoperability between existing tools increases communication costs and learning difficulty.

Method used

By obtaining the text of the user's question, use the intention recognition model to determine the user's intention, and filter the target modules from multiple business modules. Combine the business knowledge model and the dialogue model to generate relevant content to achieve self-service Q&A and improve communication efficiency.

Benefits of technology

It achieves accurate identification of user intentions and targeted content screening, reduces communication costs, and improves the work efficiency of team members.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535699A
    Figure CN118535699A
Patent Text Reader

Abstract

The invention provides a business dialogue implementation method and device. The method comprises the steps of obtaining a first text corresponding to a user question in a dialogue process; inputting the first text into an intention recognition model, determining a user intention, and screening out a target service module corresponding to the user intention from a plurality of service modules; inputting the first text into a business knowledge model corresponding to the target business module to obtain a plurality of candidate business contents corresponding to the target business module; splicing the plurality of candidate business contents and the first text to obtain a second text, and inputting the second text into a business dialogue model corresponding to the target business module to obtain a third text; wherein the third text comprises target service content related to the user question in the multiple pieces of candidate service content. According to the business dialogue implementation method provided by the invention, self-service question answering is realized, and the communication efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a method and device for implementing a business dialogue. Background Art

[0002] In C-end business development, back-end personnel need to connect with many parties such as PM (product manager), client developers, FE (front-end engineer), etc., and there are a lot of communication costs before, during and after development.

[0003] There are a large number of tools on the market, such as project management tools, document collaboration tools, real-time communication tools, etc. Each tool has its own characteristics and operation methods. For team members, it takes a lot of time and energy to learn how to use these tools, which increases communication costs. In addition, the data and information between different tools are often independent of each other and lack interoperability.

[0004] How to improve the communication efficiency among all parties in their daily work is a technical problem that needs to be solved at present. Summary of the invention

[0005] The present invention provides a method and device for realizing business dialogue, so as to solve the defects existing in the prior art.

[0006] The present invention provides a method for implementing a business dialogue, comprising: Obtaining a first text corresponding to a user's question during a conversation; Inputting the first text into an intent recognition model to determine the user intent, and screening out a target business module corresponding to the user intent from a plurality of business modules; Inputting the first text into a business knowledge model corresponding to the target business module to obtain a plurality of candidate business contents corresponding to the target business module; splicing the plurality of candidate business contents and the first text to obtain a second text, and inputting the second text into a business dialogue model corresponding to the target business module to obtain a third text; The third text includes: target business content related to the user's question among the multiple candidate business contents.

[0007] According to a method for implementing a business dialogue provided by the present invention, the step of inputting the first text into a business knowledge model corresponding to the target business module to obtain a plurality of candidate business contents corresponding to the target business module comprises: inputting the first text into the business knowledge model corresponding to the target business module to obtain a database query statement output by the business knowledge model; A plurality of candidate business contents corresponding to the target business module are acquired from a knowledge base through the database query statement; wherein the knowledge base includes: business codes and business knowledge related to the target business module.

[0008] According to a method for implementing a business dialogue provided by the present invention, the step of concatenating the plurality of candidate business contents and the first text to obtain a second text includes: The first text is concatenated with the texts corresponding to the plurality of candidate business contents to obtain a second text that matches the input format of the business dialogue model.

[0009] According to a method for implementing a business dialogue provided by the present invention, the step of inputting the second text into a business dialogue model corresponding to the target business module to obtain a third text includes: The second text is input into a business dialogue model corresponding to the target business module, and the target business content related to the user's question is screened out from the multiple candidate business contents through the business dialogue model.

[0010] According to a method for implementing a business dialogue provided by the present invention, before inputting the first text into a business knowledge model corresponding to the target business module to obtain a plurality of candidate business contents corresponding to the target business module, the method further includes: Acquire target business information corresponding to the target business module; the target business information includes: a business code corresponding to the target business module, and business knowledge corresponding to the target business module; Using a target model to self-learn the target business information to obtain a plurality of business knowledge to be processed; wherein the target model is any one of a business knowledge model and a business dialogue model; Using the manually entered first business knowledge to evaluate the confidence of each of the plurality of business knowledge to be processed, and retaining the second business knowledge whose confidence exceeds a preset threshold; The first business knowledge and the second business knowledge are combined and added to the knowledge base.

[0011] According to a method for implementing a business dialogue provided by the present invention, after inputting the second text into a business dialogue model corresponding to the target business module to obtain a third text, the method further includes: Acquire user feedback information on the third text, and when the feedback information indicates that the user's satisfaction value for the third text is less than a satisfaction threshold, send a prompt message to prompt the user to supplement the business knowledge entry into the knowledge base.

[0012] The present invention also provides a device for implementing a business dialogue, comprising: An acquisition module, used to acquire a first text corresponding to a user's question during a conversation; A first determination module, configured to input the first text into an intent recognition model, determine the user intent, and select a target business module corresponding to the user intent from a plurality of business modules; A second determination module, configured to input the first text into a business knowledge model corresponding to the target business module to obtain a plurality of candidate business contents corresponding to the target business module; An output module, configured to concatenate the plurality of candidate business contents and the first text to obtain a second text, and input the second text into a business dialogue model corresponding to the target business module to obtain a third text; The third text includes: target business content related to the user's question among the multiple candidate business contents.

[0013] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for implementing a business dialogue as described above is implemented.

[0014] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for implementing a business dialogue as described in any one of the above is implemented.

[0015] The present invention also provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the method for implementing any of the above-mentioned business dialogues is implemented.

[0016] The present invention provides a method and device for realizing business dialogue, which obtains a first text corresponding to a user's question during a dialogue; inputs the first text into an intention recognition model to determine the user's intention, and selects a target business module corresponding to the user's intention from multiple business modules; inputs the first text into a business knowledge model corresponding to the target business module to obtain multiple candidate business contents corresponding to the target business module; splices the multiple candidate business contents and the first text to obtain a second text, and inputs the second text into a business dialogue model corresponding to the target business module to obtain a third text; wherein the third text includes: the target business content related to the user's question in the multiple candidate business contents. It can be seen that the present invention identifies the user's intention, locates the target business module corresponding to the user identification, and screens the candidate business content in a targeted manner, combines the candidate business content with the user's intention and inputs it into the business dialogue model, determines the target business content that is finally output, realizes self-service question and answer, and improves communication efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 This is one of the flow charts of the method for implementing the business dialogue provided by the present invention; Figure 2 It is a complete flow chart of the method for implementing the business dialogue provided by the present invention; Figure 3 It is a structural schematic diagram of a device for implementing a business dialogue provided by the present invention; Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] Combine the following Figure 1-Figure 4 A method and device for implementing a business dialogue of the present invention are described.

[0021] It should be noted that in C-end business development, back-end personnel need to connect with many parties such as PM (product manager), client developers, FE (front-end engineer), etc., and there are a lot of communication costs before, during and after development.

[0022] There are a large number of tools on the market, such as project management tools, document collaboration tools, real-time communication tools, etc. Each tool has its own characteristics and operation methods. For team members, it takes a lot of time and energy to learn how to use these tools, which increases the communication cost. In addition, the data and information between different tools are often independent of each other and lack interoperability. Based on this, the present invention proposes a method for implementing business dialogue to solve at least one of the above problems.

[0023] Figure 1 FIG. 1 is one of the flow charts of the method for implementing the business dialogue provided in this embodiment. Figure 1 As shown, the method for implementing the business dialogue provided in this embodiment includes: Step 100: Obtain a first text corresponding to a user question during a conversation.

[0024] Specifically, in the C-end business development taking the housing source background as an example, the user can initiate voice questions, such as "How to display second-hand housing sources by community, how to implement the relevant code?", "How can the broker bring customers offline?", etc. The first text is the text corresponding to the relevant voice.

[0025] Step 200: input the first text into an intent recognition model to determine the user intent, and filter out a target business module corresponding to the user intent from multiple business modules.

[0026] It should be noted that the intent recognition model is a machine learning model for identifying and understanding the intent of user input. Common intent recognition models include rule-based methods, traditional machine learning-based methods, and deep learning-based methods. The rule-based method is to identify intent by manually writing rules. The traditional machine learning-based method uses classifiers such as decision trees, random forests, support vector machines, etc. to identify intent. The deep learning-based method uses neural networks such as convolutional neural networks (CNN), recurrent neural networks (RNN), and long short-term memory networks (LSTM) to perform intent recognition. This embodiment does not make any special restrictions on this.

[0027] In this embodiment, multiple business modules are pre-set. For example, in the housing source scenario, a broker module, a second-hand housing source module, a second-hand community module, a new business module, etc. can be set.

[0028] Specifically, if the first text is "How to display second-hand housing sources according to communities and how to implement related codes", it can be determined that the target business module is a second-hand housing source module, and by locating the target business module corresponding to user identification, targeted screening of candidate business content is performed.

[0029] Step 300: input the first text into a business knowledge model corresponding to the target business module to obtain a plurality of candidate business contents corresponding to the target business module.

[0030] It should be noted that LLM (Large Language Model) refers to a deep learning model trained with a large amount of text data, which can generate natural language text or understand the meaning of language text. LLM can handle a variety of natural language tasks, such as text classification, question and answer, dialogue, etc., and is an important path to artificial intelligence. Common large language models include GPT-4, BERT, RoBERTa, Turing NLG, etc. The business knowledge model of this embodiment can be trained based on the large language model.

[0031] In this embodiment, each business module has a corresponding business knowledge model and business knowledge base.

[0032] Specifically, the business knowledge model converts the first text into SQL (Structured Query Language, database query language), and uses SQL to query the candidate business content in the corresponding business knowledge base, that is, preliminarily determines the answer content corresponding to the user's intention. The candidate business content can be only one or more, and this embodiment does not make any special restrictions on this.

[0033] Step 400: concatenate the plurality of candidate business contents and the first text to obtain a second text, and input the second text into a business dialogue model corresponding to the target business module to obtain a third text; The third text includes: target business content related to the user's question among the multiple candidate business contents.

[0034] It should be noted that the business dialogue model can be trained based on a large language model; the business dialogue model and the business knowledge model can be the same model or two different models.

[0035] Furthermore, the second text is obtained by concatenating the multiple candidate business contents and the first text, and the second text is input into the business dialogue model corresponding to the target business module to obtain the target business content related to the user's question from the multiple candidate business contents. That is, the model question and answer is performed again, and the answer most relevant to the user's intention is determined from the multiple candidate contents and output to the user.

[0036] The above is a step description of the implementation method of the business dialogue provided by the present invention. From the description of the above steps, it can be seen that according to the implementation method of the business dialogue provided by the present invention, by obtaining the first text corresponding to the user's question during the dialogue process; inputting the first text into the intention recognition model to determine the user's intention, and screening out the target business module corresponding to the user's intention from multiple business modules; inputting the first text into the business knowledge model corresponding to the target business module to obtain multiple candidate business contents corresponding to the target business module; splicing the multiple candidate business contents and the first text to obtain the second text, and inputting the second text into the business dialogue model corresponding to the target business module to obtain the third text; wherein the third text includes: the target business content related to the user's question in the multiple candidate business contents. It can be seen from this that the present invention identifies the user's intention, locates the target business module corresponding to the user identification, and screens the candidate business content in a targeted manner, combines the candidate business content with the user's intention and inputs it into the business dialogue model, determines the target business content that is finally output, realizes self-service question and answer, and improves communication efficiency.

[0037] Based on the above embodiment, in this embodiment, step 300 inputs the first text into the business knowledge model corresponding to the target business module to obtain multiple candidate business contents corresponding to the target business module, including: Inputting the first text into the business knowledge model corresponding to the target business module to obtain a database query statement output by the business knowledge model; A plurality of candidate business contents corresponding to the target business module are acquired from a knowledge base through the database query statement; wherein the knowledge base includes: business codes and business knowledge related to the target business module.

[0038] Specifically, each business module has a corresponding business knowledge model and business knowledge base. The business knowledge model converts the first text into SQL (Structured Query Language, database query language), and uses SQL to query the candidate business content in the corresponding business knowledge base, that is, to preliminarily determine the answer content corresponding to the user's intention. There can be only one candidate business content or multiple candidate business contents.

[0039] The implementation method of the business dialogue provided in this embodiment identifies the user intention, locates the target business module corresponding to the user identification, and uses SQL to query the candidate business content in the corresponding business knowledge base to screen the candidate business content in a targeted manner.

[0040] Based on the above embodiment, in this embodiment, step 400 concatenates the plurality of candidate business contents and the first text to obtain a second text, including: The first text is concatenated with the texts corresponding to the plurality of candidate business contents to obtain a second text that matches the input format of the business dialogue model.

[0041] The method for implementing business dialogue provided in this embodiment combines candidate business content with user intention and inputs it into a business dialogue model, determines the target business content that is finally output, implements self-service question and answer, and improves communication efficiency.

[0042] Based on the above embodiment, in this embodiment, step 400 inputs the second text into the business dialogue model corresponding to the target business module to obtain a third text, including: The second text is input into a business dialogue model corresponding to the target business module, and the target business content related to the user's question is screened out from the multiple candidate business contents through the business dialogue model.

[0043] Specifically, multiple candidate business contents and the first text are concatenated to obtain a second text, and the second text is input into the business dialogue model corresponding to the target business module to obtain the target business content related to the user's question from the multiple candidate business contents. That is, the model question and answer is performed again, and the answer most relevant to the user's intention is determined from the multiple candidate contents and output to the user.

[0044] The method for implementing business dialogue provided in this embodiment combines candidate business content with user intention and inputs it into a business dialogue model, determines the target business content that is finally output, implements self-service question and answer, and improves communication efficiency.

[0045] Based on the above embodiment, in this embodiment, before inputting the first text into the business knowledge model corresponding to the target business module in step 300 to obtain a plurality of candidate business contents corresponding to the target business module, the method further includes: Obtain target business information corresponding to the target business module; the target business information includes: a business code corresponding to the target business module, and business knowledge corresponding to the target business module.

[0046] It should be noted that a code block is written for each target business module, and multiple code blocks are organized in parallel and serial ways to form a business whole, which, combined with the business knowledge corresponding to the target business module, together constitute the target business information corresponding to the target business module.

[0047] The target business information is self-learned using a target model to obtain a plurality of business knowledge to be processed; wherein the target model is any one of a business knowledge model and a business dialogue model.

[0048] The manually entered first business knowledge is used to evaluate the confidence of each of the plurality of business knowledge to be processed, and the second business knowledge whose confidence exceeds a preset threshold is retained.

[0049] Specifically, for example, the preset threshold may be 0.5, and business knowledge with a confidence level greater than 0.5 may be retained.

[0050] The first business knowledge and the second business knowledge are combined and added to the knowledge base.

[0051] The method for implementing the business dialogue provided in this embodiment realizes self-evaluation and self-optimization iteration of the knowledge base content.

[0052] Based on the above embodiment, in this embodiment, after inputting the second text into the business dialogue model corresponding to the target business module in step 400 to obtain the third text, the method further includes: Acquire user feedback information on the third text, and when the feedback information indicates that the user's satisfaction value for the third text is less than a satisfaction threshold, send a prompt message to prompt the user to supplement the business knowledge entry into the knowledge base.

[0053] Specifically, after the third text is output to the user, feedback information from the user on the third text is received. If the user's satisfaction value for the third text is greater than a satisfaction threshold, it means that the user is satisfied with the output answer, and the business dialogue process is terminated. If the user's satisfaction value for the third text is less than the satisfaction threshold, it means that the user is dissatisfied with the output answer, and it is necessary to further expand the knowledge base and supplement the entry of relevant business knowledge to improve the knowledge base and improve the satisfaction of subsequent business dialogues.

[0054] The method for implementing business dialogue provided in this embodiment continuously improves the knowledge base through user feedback information, ensures the accuracy of subsequent output answers, and improves the user experience.

[0055] Figure 2 is a complete flow chart of the method for implementing the business dialogue provided by the embodiment of the present invention, such as Figure 2 As shown, in combination with a specific application scenario, taking the "second-hand housing source" scenario as an example, the implementation method of the business dialogue provided by the present invention is described: 1. The user initiates a question "How to display second-hand housing sources according to the community, how to implement the relevant code?"; 2. Perform intent recognition based on the first text of the user's question and determine that the target business module is the second-hand housing module; 3. Input the first text into the second-hand housing source knowledge model corresponding to the second-hand housing source module to obtain the corresponding SQL, and obtain multiple candidate business contents corresponding to the second-hand housing source module from the knowledge base through the SQL; 4. The second text is obtained by concatenating the multiple candidate business contents and the first text, and the second text is input into the second-hand housing source dialogue model corresponding to the second-hand housing source module to output the final reply content.

[0056] The following is a description of a device for implementing a business dialogue provided by the present invention. The device for implementing a business dialogue described below and the method for implementing a business dialogue described above can be referred to in correspondence with each other.

[0057] Figure 3 FIG. 1 is a schematic diagram of a structure of a device for implementing a business dialogue provided in this embodiment. Figure 3 As shown, the device for implementing the business dialogue provided in this embodiment includes: An acquisition module 301 is used to acquire a first text corresponding to a user's question during a conversation; A first determination module 302, configured to input the first text into an intent recognition model, determine the user intent, and select a target business module corresponding to the user intent from a plurality of business modules; A second determination module 303 is used to input the first text into a business knowledge model corresponding to the target business module to obtain a plurality of candidate business contents corresponding to the target business module; An output module 304 is used to concatenate the plurality of candidate business contents and the first text to obtain a second text, and input the second text into a business dialogue model corresponding to the target business module to obtain a third text; The third text includes: target business content related to the user's question among the multiple candidate business contents.

[0058] The implementation device of the business dialogue provided by the present invention obtains the first text corresponding to the user's question during the dialogue process; inputs the first text into the intention recognition model to determine the user's intention, and selects the target business module corresponding to the user's intention from multiple business modules; inputs the first text into the business knowledge model corresponding to the target business module to obtain multiple candidate business contents corresponding to the target business module; splices the multiple candidate business contents and the first text to obtain a second text, and inputs the second text into the business dialogue model corresponding to the target business module to obtain a third text; wherein the third text includes: the target business content related to the user's question in the multiple candidate business contents. It can be seen that the present invention identifies the user's intention, locates the target business module corresponding to the user identification, and screens the candidate business content in a targeted manner, combines the candidate business content with the user's intention and inputs it into the business dialogue model, determines the target business content that is finally output, realizes self-service question and answer, and improves communication efficiency.

[0059] Based on the above embodiment, in this embodiment, the second determining module 303 is specifically used to: Inputting the first text into the business knowledge model corresponding to the target business module to obtain a database query statement output by the business knowledge model; A plurality of candidate business contents corresponding to the target business module are acquired from a knowledge base through the database query statement; wherein the knowledge base includes: business codes and business knowledge related to the target business module.

[0060] Based on the above embodiment, in this embodiment, the device further includes a splicing module, which is specifically used for: The first text is concatenated with the texts corresponding to the plurality of candidate business contents to obtain a second text that matches the input format of the business dialogue model.

[0061] Based on the above embodiment, in this embodiment, the output module 304 is specifically used for: The second text is input into a business dialogue model corresponding to the target business module, and the target business content related to the user's question is screened out from the multiple candidate business contents through the business dialogue model.

[0062] Based on the above embodiment, in this embodiment, the device further includes a storage module, which is specifically used for: Before inputting the first text into the business knowledge model corresponding to the target business module to obtain a plurality of candidate business contents corresponding to the target business module, obtaining target business information corresponding to the target business module; the target business information includes: a business code corresponding to the target business module, and business knowledge corresponding to the target business module; using the target model to self-learn the target business information to obtain a plurality of business knowledge to be processed; wherein the target model is any one of a business knowledge model and a business dialogue model; Using the manually entered first business knowledge to evaluate the confidence of each of the plurality of business knowledge to be processed, and retaining the second business knowledge whose confidence exceeds a preset threshold; The first business knowledge and the second business knowledge are combined and added to the knowledge base.

[0063] Based on the above embodiment, in this embodiment, the device further includes a supplementing module, which is specifically used to: After the second text is input into the business dialogue model corresponding to the target business module to obtain the third text, feedback information from the user on the third text is obtained. When the feedback information indicates that the user's satisfaction value for the third text is less than a satisfaction threshold, a prompt message is sent to prompt the user to supplement the entry of business knowledge into the knowledge base.

[0064] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute a method for implementing a business dialogue, the method comprising: obtaining a first text corresponding to a user question during the dialogue process; Inputting the first text into an intent recognition model to determine the user intent, and screening out a target business module corresponding to the user intent from a plurality of business modules; Inputting the first text into a business knowledge model corresponding to the target business module to obtain a plurality of candidate business contents corresponding to the target business module; splicing the plurality of candidate business contents and the first text to obtain a second text, and inputting the second text into a business dialogue model corresponding to the target business module to obtain a third text; The third text includes: target business content related to the user's question among the multiple candidate business contents.

[0065] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0066] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored in a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the method for implementing the business dialogue provided by the above methods, the method including: Obtaining a first text corresponding to a user's question during a conversation; Inputting the first text into an intent recognition model to determine the user intent, and screening out a target business module corresponding to the user intent from a plurality of business modules; Inputting the first text into a business knowledge model corresponding to the target business module to obtain a plurality of candidate business contents corresponding to the target business module; splicing the plurality of candidate business contents and the first text to obtain a second text, and inputting the second text into a business dialogue model corresponding to the target business module to obtain a third text; The third text includes: target business content related to the user's question among the multiple candidate business contents.

[0067] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for implementing the service dialogue provided by the above methods is implemented, and the method comprises: Obtaining a first text corresponding to a user's question during a conversation; Inputting the first text into an intent recognition model to determine the user intent, and screening out a target business module corresponding to the user intent from a plurality of business modules; Inputting the first text into a business knowledge model corresponding to the target business module to obtain a plurality of candidate business contents corresponding to the target business module; splicing the plurality of candidate business contents and the first text to obtain a second text, and inputting the second text into a business dialogue model corresponding to the target business module to obtain a third text; The third text includes: target business content related to the user's question among the multiple candidate business contents.

[0068] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0069] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0070] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for implementing a business dialogue, characterized in that: include: Obtaining a first text corresponding to a user's question during a conversation; Inputting the first text into an intent recognition model to determine the user intent, and screening out a target business module corresponding to the user intent from a plurality of business modules; Inputting the first text into a business knowledge model corresponding to the target business module to obtain a plurality of candidate business contents corresponding to the target business module; splicing the plurality of candidate business contents and the first text to obtain a second text, and inputting the second text into a business dialogue model corresponding to the target business module to obtain a third text; The third text includes: target business content related to the user's question among the multiple candidate business contents.

2. The method for implementing a business dialogue according to claim 1, characterized in that: The step of inputting the first text into a business knowledge model corresponding to the target business module to obtain a plurality of candidate business contents corresponding to the target business module includes: Inputting the first text into the business knowledge model corresponding to the target business module to obtain a database query statement output by the business knowledge model; Acquire multiple candidate business contents corresponding to the target business module from a knowledge base through the database query statement; The knowledge base includes: business codes and business knowledge related to the target business module.

3. The method for implementing a business dialogue according to claim 1, characterized in that: The step of concatenating the plurality of candidate business contents and the first text to obtain a second text includes: The first text is concatenated with the texts corresponding to the plurality of candidate business contents to obtain a second text that matches the input format of the business dialogue model.

4. The method for implementing a business dialogue according to claim 1, characterized in that: The step of inputting the second text into the business dialogue model corresponding to the target business module to obtain a third text includes: The second text is input into a business dialogue model corresponding to the target business module, and the target business content related to the user's question is screened out from the multiple candidate business contents through the business dialogue model.

5. The method for implementing a business dialogue according to claim 1, characterized in that: Before inputting the first text into the business knowledge model corresponding to the target business module to obtain a plurality of candidate business contents corresponding to the target business module, the method further includes: Acquire target business information corresponding to the target business module; the target business information includes: a business code corresponding to the target business module, and business knowledge corresponding to the target business module; Using a target model to self-learn the target business information to obtain a plurality of business knowledge to be processed; wherein the target model is any one of a business knowledge model and a business dialogue model; Using the manually entered first business knowledge to evaluate the confidence of each of the plurality of business knowledge to be processed, and retaining the second business knowledge whose confidence exceeds a preset threshold; The first business knowledge and the second business knowledge are combined and added to the knowledge base.

6. The method for implementing a business dialogue according to claim 2, characterized in that: After inputting the second text into the business dialogue model corresponding to the target business module to obtain the third text, the method further includes: Acquire user feedback information on the third text, and when the feedback information indicates that the user's satisfaction value for the third text is less than a satisfaction threshold, send a prompt message to prompt the user to supplement the business knowledge entry into the knowledge base.

7. A device for implementing a business dialogue, characterized in that: include: An acquisition module, used to acquire a first text corresponding to a user's question during a conversation; A first determination module, configured to input the first text into an intent recognition model, determine the user intent, and select a target business module corresponding to the user intent from a plurality of business modules; A second determination module, configured to input the first text into a business knowledge model corresponding to the target business module, to obtain a plurality of candidate business contents corresponding to the target business module; An output module, configured to concatenate the plurality of candidate business contents and the first text to obtain a second text, and input the second text into a business dialogue model corresponding to the target business module to obtain a third text; The third text includes: target business content related to the user's question among the multiple candidate business contents.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method for implementing the business dialogue according to any one of claims 1 to 5 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for implementing a business dialogue as claimed in any one of claims 1 to 5 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for implementing a business dialogue as claimed in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Man-machine conversation control method and device of robot, computer equipment and medium

    CN113626568A

  • Dialogue processing method and dialogue processing device

    CN115221303A

  • Report generation method and device, electronic equipment and medium

    CN117033540A

  • Human-computer interaction method, device and equipment and storage medium

    CN117421398A

  • Dialogue response method, device and equipment of insurance intelligent question-answering system and medium

    CN117709358A

Cited By

  • Intelligent business and financial management method and system based on AI algorithm model

    CN119722361A

  • Business and financial integrated application system and application method based on business and financial preprocessing

    CN119831548A