Intelligent interaction method and device and readable storage medium

Identifying user intentions and generating reports through large AI models solves the problem of insufficient intelligent interaction capabilities of the BI platform, improves data application efficiency and user experience, and lowers the threshold for use.

CN118708684APending Publication Date: 2024-09-27CHINA UNITED NETWORK COMM GRP CO LTD

Patent Information

Application Number
CN202410744981.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The BI data acquisition platform lacks intelligent interaction capabilities, cannot automate data analysis and generate refined data reports, and has a high threshold for use, making it difficult for users to quickly find data related to business scenarios.

Method used

Provide an intelligent interaction method that introduces AI large model capabilities to respond to user queries for intent identification and classification, calls corresponding interfaces to perform interactive actions, implements data recommendation and indicator interpretation, and assists users to quickly locate metadata and generate required Data reports and Kanban charts.

Benefits of technology

It improves the speed and efficiency of data application, lowers the threshold for users to configure data application templates, simplifies the data search process, reduces training and practice time, and realizes intelligent interaction and automated data analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708684A
    Figure CN118708684A
Patent Text Reader

Abstract

The invention provides an intelligent interaction method and device and a readable storage medium, specifically, in response to a received user consultation question, performing intention recognition according to the user consultation question to obtain a user intention; classifying the user intentions to obtain user intention types; and calling a corresponding interface according to the user intention type to execute an interaction action. According to the intelligent interaction method provided by the invention, by introducing the AI large model capability, related data recommendation and index caliber paraphrasing are realized, a user is assisted to quickly position required metadata, and the data application speed is improved; expanding an intelligent interaction mode of the natural language dialogue; simple and repeated operation steps in the process of configuring the data application template by the user are reduced, and the application capability of data exploration of the intelligent report system is exerted, so that the intelligent interaction capability of the platform is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to an intelligent interaction method, device and readable storage medium. Background Art

[0002] BI platform, full name Business Intelligence, is a collection of software and technical tools for collecting, processing, analyzing and visualizing data. Its main purpose is to transform massive amounts of data into easy-to-understand information to help corporate leaders and decision makers make smarter business decisions. BI platform usually includes data analysis and decision support, business optimization, data analysis and reporting tools, data visualization, query and analysis engines, report and dashboard generation tools, and supports mobile BI so that users can obtain important data and reports anytime, anywhere.

[0003] The existing data acquisition platforms have the following problems during use: the BI data acquisition platform lacks intelligent interactive capabilities and cannot automate data analysis and generate refined data reports; the data acquisition platform has a high threshold for use, and users need to receive training and spend time configuring BI tools; there are many indicator label data with different calibers, and users find it difficult to quickly find data related to business scenarios.

[0004] Therefore, how to improve the intelligent interaction capabilities of the BI platform has become a problem that needs to be solved. Summary of the invention

[0005] The technical problem to be solved by the present application is to provide an intelligent interaction method, device and readable storage medium to solve the problems existing in the prior art in view of the above-mentioned deficiencies in the prior art.

[0006] In a first aspect, the present application provides an intelligent interaction method, the method comprising:

[0007] S1. In response to receiving a user inquiry sentence, performing intent recognition according to the user inquiry sentence to obtain the user intention;

[0008] S2. Classify the user intention to obtain a user intention type;

[0009] S3. Call a corresponding interface according to the user intention type to perform an interactive action.

[0010] In some embodiments, S1 includes:

[0011] Verify whether the user query sentence meets the preset input format;

[0012] If satisfied, the user inquiry question is used as an input vector, and the input vector is predicted through a pre-trained Bert model to obtain a predicted probability of the intent to which the input vector belongs.

[0013] In some embodiments, the user intent type includes at least one of conversation chat, data retrieval / reporting, and knowledge question and answer.

[0014] In some embodiments, S3 includes:

[0015] When the user intention type is dialogue chat, the large model chat interface is called to respond to the user consultation question.

[0016] In some embodiments, S3 includes:

[0017] When the user intention type is data acquisition / reporting, call the action instruction protocol conversion interface based on the big model to parse the user action instruction of the user consultation question, send a template generation request to the intelligent data service platform according to the user action instruction, receive the result data returned by the intelligent data service platform, and respond to the user consultation question based on the result data;

[0018] The result data is obtained by the intelligent data service platform generating a data retrieval / report template based on the template generation request and performing data retrieval according to the data retrieval / report template.

[0019] In some embodiments, responding to the user consultation question based on the result data includes:

[0020] A chart is generated based on the result data for rendering and display.

[0021] In some embodiments, S3 includes:

[0022] When the user intention type is knowledge question and answer, a vector question and answer interface is called to respond to the user consultation question, wherein the vector question and answer interface is constructed based on a knowledge graph.

[0023] In a second aspect, the present application provides an intelligent interaction device, the device comprising:

[0024] An intention recognition module, which is configured to respond to receiving a user consultation question and perform intention recognition according to the user consultation question to obtain the user intention;

[0025] An intention classification module, configured to classify the user intention to obtain a user intention type;

[0026] An interaction execution module is configured to call a corresponding interface according to the user intention type to execute an interaction action.

[0027] In a third aspect, the present application provides an intelligent interaction device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the intelligent interaction method described in the first aspect above.

[0028] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the intelligent interaction method described in the first aspect is implemented.

[0029] The intelligent interaction method, device and readable storage medium provided by the present application are, specifically, in response to receiving a user consultation question, performing intent recognition according to the user consultation question to obtain the user intention; classifying the user intention to obtain the user intention type; calling the corresponding interface according to the user intention type to perform the interactive action. The present application provides an intelligent interaction method, which introduces AI big model capabilities to achieve relevant data recommendation and indicator caliber interpretation, assist users to quickly locate the required metadata, and improve the speed of data application; expand the intelligent interaction mode of natural language dialogue; reduce the simple and repetitive operation steps of users in the process of configuring data application templates, and give play to the application ability of data exploration of intelligent reporting system. In addition, combined with natural language AI dialogue interaction, commonly used data application scenarios can be covered, and the required data reports and dashboard charts can be automatically generated for users through dialogue interaction, further improving the speed and efficiency of data application acquisition. In addition, traditional bi interface interaction requires users to input through devices such as keyboards and mice; while natural language AI dialogue interaction can better simulate human thinking, so as to better allow business users to express data needs and intentions. In addition, in the field of big data, business users need to face hundreds of business indicators, labels, and dimensions. They need to be familiar with the data scope before they can correctly select the required metadata for configuration, processing, and visualization. AI big model vector recommendation can help users quickly find target data and confirm whether it is required by the user's business through the interpretation of indicator scope, thereby lowering the user's data usage threshold. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0031] Figure 1 A flowchart of an intelligent interaction method provided in an embodiment of the present application;

[0032] Figure 2 A flowchart of another intelligent interaction method provided in an embodiment of the present application;

[0033] Figure 3This is a schematic diagram of the implementation process of intent recognition in an embodiment of the present application;

[0034] Figure 4 This is a schematic diagram of the implementation process of vectorization processing in an embodiment of the present application;

[0035] Figure 5 This is a schematic diagram of the implementation process of the report template creation process in the embodiment of the present application;

[0036] Figure 6 This is a schematic diagram of the implementation process of the data acquisition template creation process in the embodiment of the present application;

[0037] Figure 7 A schematic diagram of the structure of an intelligent interactive device provided in an embodiment of the present application;

[0038] Figure 8 A schematic diagram of the structure of another intelligent interaction device provided in an embodiment of the present application.

[0039] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0040] In order to enable those skilled in the art to better understand the technical solution of the present application, the implementation mode of the present application will be further described in detail below with reference to the accompanying drawings.

[0041] It should be understood that the specific embodiments and drawings described herein are only used to explain the present application, rather than to limit the present application.

[0042] It can be understood that, in the absence of conflict, the various embodiments in the present application and the various features in the embodiments can be combined with each other.

[0043] It can be understood that, for the convenience of description, the drawings of the present application only show the parts related to the present application, while the parts unrelated to the present application are not shown in the drawings.

[0044] It can be understood that each unit and module involved in the embodiments of the present application may correspond to only one physical structure, or may be composed of multiple physical structures, or multiple units and modules may be integrated into one physical structure.

[0045] It can be understood that the terms "first", "second", etc. in the embodiments of the present application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0046] It is understandable that, in the absence of conflict, the functions and steps marked in the flowcharts and block diagrams of the present application may occur in an order different from that marked in the drawings.

[0047] It is understood that the flowcharts and block diagrams of the present application illustrate the possible architectures, functions, and operations of the systems, devices, equipment, and methods according to the various embodiments of the present application. Among them, each box in the flowchart or block diagram may represent a unit, module, program segment, code, which contains executable instructions for implementing the specified functions. Moreover, each box or combination of boxes in the block diagram and flowchart may be implemented by a hardware-based system that implements the specified functions, or by a combination of hardware and computer instructions.

[0048] It can be understood that the units and modules involved in the embodiments of the present application can be implemented by software or hardware, for example, the units and modules can be located in a processor.

[0049] At present, the existing data acquisition platform has the following problems during use:

[0050] 1. The BI data acquisition platform lacks intelligent interactive capabilities, the ability to identify massive metadata through large models and the ability to analyze the reconciliation period. It cannot automate data analysis and predictive analysis, nor can it generate refined data reports.

[0051] 2. The threshold for using the data acquisition platform is high. The more flexible the BI tool, the more functions need to be configured, which often takes half a day to a day to configure. It is impossible to quickly obtain analytical data, and users need training and practice to master the use of BI tools to self-service explore data and configure large report screens.

[0052] 3. In the scenarios of asking and obtaining data, it is difficult for users to quickly find data related to the business scenario because there are a large number of indicator label data with different calibers.

[0053] Therefore, the existing technology has shortcomings in extracting and identifying metadata through semantic analysis and in obtaining data through natural language of large models.

[0054] This application aims to provide an intelligent interaction method, using intelligent questioning and intelligent data retrieval methods based on a large language model to solve the problems existing in the prior art. This application solves data problems through AI dialogue interaction technology based on natural language. Help users quickly obtain data related to business scenarios, simplify the data search process, and quickly generate reports and data retrieval templates. Realize intelligent interaction, automate data analysis and predictive analysis, and refine data reports. Lower the threshold for use, reduce training and practice time, and simplify the configuration and operation of Bi data applications.

[0055] Compared with the existing technology, this application provides a more comprehensive and efficient intelligent data application solution, which enables users to simply describe their needs using natural language, and through the natural language processing, intent recognition and metadata recognition capabilities of the large model, complete QA question and answer, quick data acquisition, report generation, data analysis and other operations, and supports the application of data to canvas dashboards.

[0056] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0057] The present application provides an intelligent interaction method, the working process of which can be implemented by electronic devices, such as computers, handheld smart terminals, etc. For the convenience of explanation, the embodiments of the present application are described with the method execution subject being a computer.

[0058] Optionally, when the method execution subject is a computer, the execution subject may be a system / platform in the computer with intelligent report application functions, such as a BI platform or other interactive platform, etc., which is not limited in this application. For ease of explanation, the method execution subject is described as a BI platform in each embodiment of this application, which may be an intelligent report application in the BI platform.

[0059] Figure 1 A schematic diagram of an intelligent interaction method provided in an embodiment of the present application, Figure 2 Another schematic diagram of the intelligent interaction method provided in the embodiment of the present application is as follows: Figure 1 as well as Figure 2 As shown, the present application provides an intelligent interaction method, which includes S1-S3, as follows:

[0060] S1. In response to receiving a user inquiry sentence, performing intent recognition according to the user inquiry sentence to obtain the user intention;

[0061] S2. Classify the user intention to obtain a user intention type;

[0062] In some embodiments, the user intent type includes at least one of conversation chat, data retrieval / reporting, and knowledge question and answer.

[0063] Specifically, the user can input text in the user dialog box, and the user input content is a user consultation question. When the intelligent report application receives the user consultation question, it can identify the user consultation question by calling the intent recognition interface. Among them, the interface capability of the intent recognition interface is to judge the user's intention and route subsequent interface actions.

[0064] In some embodiments, S1 includes: checking whether the user consultation question satisfies a preset input format; if so, taking the user consultation question as an input vector, predicting the input vector through a pre-trained Bert model, and obtaining a predicted probability of the intent to which the input vector belongs.

[0065] Specifically, we first build a Bert model to realize intent recognition. After the user enters text and sends it, the smart report application will call the small model interface to identify the user's intent through the small model. The smart report will call different interfaces to give feedback to the user based on the identified intent.

[0066] Figure 3 Schematic diagram of the implementation process of intent recognition in the embodiment of the present application, such as Figure 3 As shown, it mainly includes the steps of input verification, intent recognition, rule recall and output, among which:

[0067] Input verification: When the user provides natural language input, the system will conduct preliminary verification to ensure that the input format is correct. After verification, qualified input will be passed to the intent recognition module.

[0068] Intent Identification: At this stage, the small model Bert will analyze the user input and identify the user's intent. Intent identification will map the user input to a specific action or request type based on the trained model. The results of intent identification will help the platform determine the user's needs for further processing. For example, the user may be seeking knowledge questions and answers, need protocol parsing, or have a small talk.

[0069] Rule recall: Based on the results of the BERT model classification, the platform may apply some predefined rules to further refine user needs or recommend related functions. Users can also define some rules according to their own needs to customize system behavior.

[0070] Output: Ultimately, the platform will perform corresponding functions based on the identified user intent and applied rules, including protocol parsing, knowledge Q&A, and small talk.

[0071] S3. Call a corresponding interface according to the user intention type to perform an interactive action.

[0072] In some embodiments, S3 includes: when the user intention type is dialogue chat, calling the large model chat interface to respond to the user consultation question.

[0073] Specifically, the interface capability of the large model chat interface is: when the user intends to have a conversation chat, the general model interface is responsible for responding to the chat request.

[0074] In some embodiments, S3 includes: when the user intention type is data retrieval / reporting, calling the action instruction protocol conversion interface based on the large model to parse the user action instruction of the user consultation question, sending a template generation request to the intelligent data service platform according to the user action instruction, receiving the result data returned by the intelligent data service platform, and responding to the user consultation question based on the result data; wherein, the result data is obtained by the intelligent data service platform generating a data retrieval / report template based on the template generation request and performing data retrieval according to the data retrieval / report template.

[0075] In some embodiments, responding to the user inquiry sentence based on the result data includes: generating a chart rendering for display based on the result data.

[0076] Optionally, when the action instruction protocol conversion interface cannot accurately analyze the protocol return, the application calls the "Recommendations for You" interface to conduct a dialogue with the user.

[0077] Optionally, if there is no exception in the action instruction protocol parsing, the request is returned to the ShuFang platform, AI intelligent reply is performed, and chart rendering is generated.

[0078] Among them, the interface capability of the action instruction protocol conversion interface is: when the user's intention is to obtain data, report, etc., the action instruction protocol conversion interface is called to analyze the user's natural sentence and assemble the protocol.

[0079] Specifically, when the user intends to retrieve data or generate reports, the action instruction protocol conversion interface based on the big model is called to connect to the data retrieval / report module of the intelligent data service platform, analyze the user's natural sentences and assemble the protocol. The specific implementation steps include the following:

[0080] 1. Large model protocol analysis

[0081] (1) Define the action instruction protocol interface. When the action instruction protocol conversion interface receives a request, it parses the action instruction; then forwards the template generation request to the data acquisition / report module according to the action instruction;

[0082] (2) the data acquisition / report module generates a template according to the received template generation request;

[0083] (3) Action command protocol objects include but are not limited to the following parameters: domain id, indicator id, indicator name, data period, indicator type, metadata value, value encoding, operation type, operation condition, unit, metadata value, action command,

[0084] (4) Receive the returned result according to the output parameters of the interface;

[0085] According to the definition of the above interface protocol, the received protocol data is parsed into a readable format. During the parsing process, the instructions, parameters and data are parsed one by one according to the format and specifications defined by the protocol. According to the action instructions and parameters parsed according to the above action instruction protocol, the corresponding processing logic is performed and converted into the JSON of the data acquisition template.

[0086] 2. Define a dedicated dictionary

[0087] (1) The data acquisition / report module prepares custom dictionary corpus, with one word occupying one line; each line is divided into three parts: word, word frequency, and part of speech, separated by spaces.

[0088] Public general dictionary: commonly used conditional words, unit words, time words, etc.;

[0089] Metadata dictionary: stores metadata words, including indicators, dimensions, valued tags, and valueless tags;

[0090] Metadata extension words: store metadata extension words, including indicator name generalization mapping, dimension name generalization mapping, value label generalization mapping, valueless label generalization mapping, dimension code value mapping, value label conditional mapping, valueless label conditional mapping, indicator conditional mapping, conversion function, formula, and combined metadata;

[0091] (2) Add the corpus file class object to the dictionary;

[0092] (3) Specify the use of a custom dictionary file during word segmentation;

[0093] (4) During the word segmentation process, it is necessary to support dynamic modification of the dictionary, including adding and deleting words;

[0094] 3. Vectorized processing

[0095] Figure 4 Schematic diagram of the implementation process of vectorization processing in the embodiment of the present application. Figure 4 As shown:

[0096] (1) The data acquisition / reporting module adopts the "vector plug-in" mode, uses vector tools to annotate and segment documents, realizes text vectorization, and vectorizes user questions. It finds similar document fragments through cosine similarity and inputs them into the big model as context through prompt word templates.

[0097] (2) Selection description: ① The vector model uses the open source M3E; ② The vector database uses Milvs; ③ Large model selection: ChatGLM2-6B.

[0098] (3) Model selection: ChatGLM2-6B

[0099] (4) Supervised training: ① Template form: zero-shot, one-shot, few-shot; ② Fine-tuning method: LoRA, P-TuningV2

[0100] 4. Data acquisition / report template protocol generation

[0101] When the data acquisition / report module receives a user's request to generate a template, it recognizes the user's intention as "generate report" / "generate data acquisition". When the user's intention is confirmed, a data acquisition / report template is generated for the user. The generated data acquisition task / report template can be imported into the bi tool for subsequent visualization processing.

[0102] Figure 5 This is a schematic diagram of the implementation process of the report template creation process in the embodiment of the present application, such as Figure 5 As shown in the figure, the report template creation process includes:

[0103] (1) Determine whether an indicator (dimension) exists:

[0104] ① If it exists, the dimension ranked first (such as city or channel priority) is taken as the row item, and the remaining dimensions are taken as global conditions;

[0105] Determine whether the dimension has a dimension value. If so, set the dimension value as the row item value and condition value. If not, set the default first-level dimension value as the row item value.

[0106] ②If it does not exist, proceed to the next step.

[0107] Note: The dimension ranked first according to the weight is taken as the row item; the statistical date is not counted as a dimension and the query account period is used by default.

[0108] (2) Determine whether there is an indicator (value label):

[0109] ① If it exists, take the first valued label as the row item, and the remaining valued labels as global conditions, without setting conditional values;

[0110] a. Determine whether the tag has a tag value. If so, set the tag value as the row item value. b. If not, set the default first tag value as the row item value.

[0111] ②If it does not exist, proceed to the next step.

[0112] (3) Determine whether there is an indicator (no value label):

[0113] ① If it exists, determine whether the valueless tag is "user number";

[0114] a. If there is a "user number", the user number is used as a column item and global condition by default;

[0115] b. If it does not exist, then no value tag is used as the global condition (if there is a conditional value, set the conditional value)

[0116] ②If there is no valueless tag, proceed to the next step.

[0117] (4) Determine whether there is an indicator:

[0118] ① If it exists, determine whether there is a conditional value. a. If the conditional value exists, set it as a column item or global condition. b. If it does not exist, set it as a column item.

[0119] ②If the indicator does not exist, proceed to the next step.

[0120] (5) Determine whether there is an indicator (combination):

[0121] ① If it exists, all of them will be equalized as columns (including indicators and conditions)

[0122] ②If it does not exist, end.

[0123] Figure 6 Schematic diagram of the implementation process of the data acquisition template creation process in the embodiment of the present application, such as Figure 6 As shown in the figure, the data acquisition template creation process includes:

[0124] (1) Determine whether an indicator (dimension) exists

[0125] ① If it exists, the set dimension is used as the number-taking item and global condition;

[0126] a. Determine whether the dimension has a dimension value. If so, set the dimension value as the global condition value. b. If not, do not set the global condition value.

[0127] ②If it does not exist, proceed to the next step.

[0128] Note: ① The statistical date is not counted as a dimension and the default is the query account period.

[0129] (2) Determine whether there is an indicator (value label)

[0130] ① If it exists, set the value label as the global condition for obtaining the number of items;

[0131] a. Determine whether a valued tag has a tag value. If so, set the tag value as the global condition value. b. If not, do not set the global condition value.

[0132] ②If it does not exist, go to the next step.

[0133] (3) Determine whether there is an indicator (no value label) ① If it exists, set the no value label as the number-taking item and global condition;

[0134] a. Determine whether there is a conditional value for the value tag. If so, set the conditional value as the global conditional value. b. If not, do not set the global conditional value.

[0135] ②If there is no valueless tag, proceed to the next step.

[0136] (4) Determine whether there is an indicator:

[0137] ①If it exists, set the indicator as the number item and global condition

[0138] a. Determine whether the indicator has a condition. If so, set the condition value as the global condition value

[0139] b. If it does not exist, do not set the global condition value

[0140] ②If there is no indicator, end.

[0141] In some embodiments, S3 includes: when the user intention type is knowledge question and answer, calling a vector question and answer interface to respond to the user consultation question, wherein the vector question and answer interface is constructed based on a knowledge graph.

[0142] Specifically, when the user intends to provide professional Q&A needs such as data recommendation, indicator Q&A, tool guide, etc., the vector Q&A interface is responsible for answering; in order to realize the knowledge Q&A function, it is necessary to build a knowledge graph. The following is the specific implementation process:

[0143] 1. Data preprocessing

[0144] (1) Collect data: collect relevant knowledge data;

[0145] (2) Data understanding and cleaning: Knowledge data is classified according to purpose, and data is cleaned (watermark removal, sensitive word removal, dirty data removal, formatting, image and text processing, and security processing);

[0146] (3) Data annotation: text vectorization / segment annotation / QA pair annotation based on document classification;

[0147] (4) Training corpus data generation: Generate training corpus from general knowledge based on document classification;

[0148] 2. Data and model loading

[0149] (1) Store annotated data into the database: store the annotated data of knowledge questions and answers into the database;

[0150] (2) Vector algorithm debugging: load the vector model and call the vector algorithm debugging;

[0151] (3) Loading training corpus to generate Python script: Generate an executable py script based on the knowledge question and answer training corpus;

[0152] (4) Model fine-tuning method debugging: Load the LLM basic model and debug the model incremental fine-tuning method;

[0153] 3. Supervised model training

[0154] (1) Text vectorization into the vector library: Based on the debugged vector model algorithm, the knowledge question and answer documents and annotation data are vectorized and written into the vector library;

[0155] (2) Intent recognition fine-tuning: Fine-tune the instructions for general knowledge intent recognition in knowledge question-answering, and add small model pre-training to improve the intent recognition effect;

[0156] (3) Prompts provide engineering design and tuning: prompts are designed and tuned for specific knowledge question-answering scenarios;

[0157] 4. Model registration

[0158] (1) Vector interface development: knowledge question-answering vectorized interface development, which is provided to applications for calling;

[0159] 5. Model evaluation

[0160] (1) Verification set corpus generation: Combined with the knowledge question and answer application scenario, the knowledge question and answer verification set corpus data is generated;

[0161] (2) Vector function test verification: Verify the success rate of vectorized similarity query through vector verification set data;

[0162] (3) Model function test verification: Use the model verification set data to verify the generalization and summarization capabilities of the large model intelligent question answering;

[0163] Model performance test verification: Through the performance test verification set, verify the response speed of the large model for questions and answers of different lengths.

[0164] This application provides an intelligent interaction method, which introduces AI big model capabilities to achieve relevant data recommendations and indicator caliber interpretation, assist users to quickly locate the required metadata, and improve the speed of data application; expand the intelligent interaction mode of natural language dialogue; reduce the user's simple and repetitive operation steps in the process of configuring data application templates, and give full play to the application capabilities of data exploration of the intelligent reporting system.

[0165] In addition, AI dialogue interaction combined with natural language can cover commonly used data application scenarios, and automatically generate the required data reports and dashboard charts for users through dialogue interaction, further improving the speed and efficiency of data application acquisition.

[0166] In addition, traditional BI interface interaction requires users to input through devices such as keyboards and mice; while natural language AI dialogue interaction can better simulate human thinking, thereby better allowing business users to express data needs and intentions.

[0167] In addition, in the field of big data, business users need to face hundreds of business indicators, labels, and dimensions. They need to be familiar with the data scope before they can correctly select the required metadata for configuration, processing, and visualization. AI big model vector recommendation can help users quickly find target data and confirm whether it is required by the user's business through the interpretation of indicator scope, thereby lowering the user's data usage threshold.

[0168] It should be understood that, although the various steps in the flowchart in the above-described embodiment are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and they can be executed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0169] Figure 7 A schematic diagram of an intelligent interactive device provided in an embodiment of the present application, such as Figure 7 As shown, the present application provides an intelligent interaction device, the device comprising:

[0170] An intention recognition module 11 is configured to, in response to receiving a user consultation sentence, perform intention recognition according to the user consultation sentence to obtain the user intention;

[0171] An intention classification module 12, which is configured to classify the user intention to obtain a user intention type;

[0172] The interaction execution module 13 is configured to call a corresponding interface according to the user intention type to execute an interaction action.

[0173] Regarding the limitation of the intelligent interaction device, reference may be made to the limitation of the intelligent interaction method in the above-mentioned embodiments of the present application, which will not be elaborated in this embodiment.

[0174] Figure 8 Another schematic diagram of the intelligent interactive device provided in the embodiment of the present application is as follows: Figure 8As shown, in some embodiments, the present application provides an intelligent interaction device, including a memory 22 and a processor 21, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the intelligent interaction method in the above-mentioned embodiments of the present application.

[0175] The memory is connected to the processor, the memory may be a flash memory or a read-only memory or other memory, and the processor may be a central processing unit or a single-chip microcomputer.

[0176] In some embodiments, the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the intelligent interaction method in the above-mentioned embodiments of the present application is implemented.

[0177] The computer-readable storage medium includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable read only memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer.

[0178] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present application, but the present application is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and substance of the present application, and these modifications and improvements are also considered to be within the scope of protection of the present application.

Claims

1. An intelligent interaction method, characterized in that: The method comprises: S1. In response to receiving a user inquiry sentence, performing intent recognition according to the user inquiry sentence to obtain the user intention; S2. Classify the user intention to obtain a user intention type; S3. Call a corresponding interface according to the user intention type to perform an interactive action.

2. The intelligent interaction method according to claim 1, characterized in that: S1, including: Verify whether the user query sentence meets the preset input format; If satisfied, the user inquiry question is used as an input vector, and the input vector is predicted through a pre-trained Bert model to obtain a predicted probability of the intent to which the input vector belongs.

3. The intelligent interaction method according to claim 1 or 2, characterized in that: The user intention type includes at least one of conversation chat, data acquisition / reporting, and knowledge question and answer.

4. The intelligent interaction method according to claim 3, characterized in that: S3, including: When the user intention type is dialogue chat, the large model chat interface is called to respond to the user consultation question.

5. The intelligent interaction method according to claim 3, characterized in that: S3, including: When the user intention type is data acquisition / reporting, call the action instruction protocol conversion interface based on the big model to parse the user action instruction of the user consultation question, send a template generation request to the intelligent data service platform according to the user action instruction, receive the result data returned by the intelligent data service platform, and respond to the user consultation question based on the result data; The result data is obtained by the intelligent data service platform generating a data retrieval / report template based on the template generation request and performing data retrieval according to the data retrieval / report template.

6. The intelligent interaction method according to claim 5, characterized in that: Responding to the user's inquiry sentence based on the result data includes: A chart is generated based on the result data for rendering and display.

7. The intelligent interaction method according to claim 3, characterized in that: S3, including: When the user intention type is knowledge question and answer, a vector question and answer interface is called to respond to the user consultation question, wherein the vector question and answer interface is constructed based on a knowledge graph.

8. An intelligent interactive device, characterized in that: The device comprises: An intention recognition module, which is configured to respond to receiving a user consultation question and perform intention recognition according to the user consultation question to obtain the user intention; An intention classification module, configured to classify the user intention to obtain a user intention type; An interaction execution module is configured to call a corresponding interface according to the user intention type to execute an interaction action.

9. An intelligent interactive device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the intelligent interaction method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the intelligent interaction method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Intelligent robot integrating chat, knowledge and task questions and answers

    CN113515613A

  • Report generation method and device, electronic equipment and medium

    CN117033540A

  • Intelligent customer service method and device, server and storage medium

    CN117743557A

Cited By

  • Detection method, system and equipment based on large model and storage medium

    CN119808826A

  • A detection method, system, device, and storage medium based on a large model.

    CN119808826B

  • 5GC platform intelligent interaction method and device based on intention recognition and storage medium

    CN120909429A

  • Tool creation, maintenance and calling method, system and device, storage medium and program product

    CN121233620A

  • Intelligent interaction method and device and storage medium

    CN121455575A