Question answering method and apparatus, and computer device and storage medium
By determining the user's question target scenario and displaying matching auxiliary information in the artificial intelligence question and answer system, it solves the problem of users having difficulty in sorting out complete question information, and improves the efficiency of questions and the accuracy of answers.
Patent Information
- Application Number
- PCT/CN2024/083963
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-27
- Filing Date
- 2024-03-27
- Publication Date
- 2024-10-31
AI Technical Summary
It is difficult for users to sort out complete question information, causing artificial intelligence to be unable to accurately identify the user's question intention, and thus unable to provide answers that meet the user's needs.
By determining the user's question target scenario and displaying auxiliary question information that matches the scenario, it helps users edit complete target question information and obtain more accurate artificial intelligence answers.
It improves the efficiency and accuracy of users' questions in the artificial intelligence question and answer system, allowing artificial intelligence to provide answers that are more in line with user needs.
Smart Images

Figure CN2024083963_31102024_PF_FP_ABST
Abstract
Description
Question-answering method, device, computer equipment, and storage medium
[0001] This application claims priority to Chinese Patent Application No. 202310476944.5 filed on April 27, 2023, and the contents of the above-mentioned Chinese patent application disclosure are hereby incorporated by reference in their entirety as a part of this application. Technical Field
[0002] The present disclosure relates to a question-answering method, apparatus, computer equipment, and storage medium. Background Art
[0003] Artificial intelligence technology can help users solve relevant search problems. Users can enter questions on the AI Q&A page to get answers to their questions. The answers provided by AI are affected by the completeness of the questions. If the questions entered are incomplete or incomplete, AI will not be able to provide accurate answers that meet the user's needs.
[0004] However, it is difficult for users to directly organize complete question information. In this case, artificial intelligence cannot accurately identify the user's question intention from the question information, which leads to the answer provided to the user failing to meet the user's actual needs.
[0005] Summary of the Invention
[0006] The embodiments of the present disclosure at least provide a question-answering method, apparatus, computer device, and storage medium.
[0007] An embodiment of the present disclosure provides a question-answering method, comprising: in response to a user initiating a question, determining a target scenario for the user's question; displaying question-answering auxiliary information that matches the target scenario; wherein the information format and / or information completeness of the question-answering auxiliary information is related to the scenario type of the target scenario, and the question-answering auxiliary information is used to assist the user in editing target question information for asking questions; in response to receiving the target question information edited according to the question-answering auxiliary information, displaying an artificial intelligence answer result that matches the target question information.
[0008] In an optional embodiment, in response to a question initiated by a user, determining the target scenario of the user's question includes: displaying multiple candidate scenarios on an artificial intelligence answer page, and determining the target scenario of the user's question in response to the user's selection operation on the candidate scenarios; or, receiving at least part of the question information entered by the user in the question input area of the artificial intelligence answer page, and determining the target scenario that matches the at least part of the question information.
[0009] In an optional embodiment, the question auxiliary information matching the target scene is determined according to the following method: based on the scene type of the target scene, the target auxiliary information type is determined from multiple auxiliary information types; different auxiliary information types correspond to different information formats and / or information completeness; according to the target auxiliary information type, the question auxiliary information matching the target scene is generated.
[0010] In an optional embodiment, the target auxiliary information type is determined from a plurality of auxiliary information types based on the scene type of the target scene, including: in response to the target scene belonging to a first scene type, the first scene type includes a scene type that does not require supplementary personalized information, determining that the target auxiliary information type includes a complete question information type; generating question auxiliary information matching the target scene according to the target auxiliary information type, including: based on the scene information of the target scene, generating editable complete question information matching the target scene, for use as the question auxiliary information.
[0011] In an optional embodiment, based on the scene type of the target scene, a target auxiliary information type is determined from a plurality of auxiliary information types, including: in response to the target scene belonging to a second scene type, the second scene type including a work and study scene, determining that the target auxiliary information type includes a fill-in-the-blank question information type; generating question auxiliary information matching the target scene according to the target auxiliary information type, including: generating at least one to-be-filled sentence matching the target scene according to the fill-in-the-blank question information type, the to-be-filled sentence containing first to-be-filled field information; the first to-be-filled field information is used to indicate that blank content in the to-be-filled sentence is to be supplemented; the to-be-filled sentence generates the target question information after the blank content is supplemented.
[0012] In an optional embodiment, based on the scene type of the target scene, a target auxiliary information type is determined from a plurality of auxiliary information types, including: in response to the target scene belonging to a third scene type, the third scene type including a document scene, determining that the target auxiliary information type includes a form-type question information type; generating question auxiliary information matching the target scene according to the target auxiliary information type, including: generating a form matching the target scene according to the form-type question information type, the form including a plurality of second field information to be filled in; the second field information to be filled in is used to indicate the selection or input of field information for a specified field; the filled-in form information is used to generate the target question information according to a preset format.
[0013] In an optional implementation, the display of question auxiliary information matching the target scenario includes: displaying multiple question dimensions corresponding to the target scenario, and displaying the matching field information to be filled in under the question dimensions.
[0014] In an optional embodiment, based on the scene type of the target scene, a target auxiliary information type is determined from a plurality of auxiliary information types, including: in response to the target scene belonging to a fourth scene type, the fourth scene type including a scene in which the user actively inputs partial question information, determining that the target auxiliary information type includes a predictive question information type; generating question auxiliary information matching the target scene according to the target auxiliary information type, including: performing intent recognition on the partial question information to generate a plurality of predicted candidate question information; the question information selected from the candidate question information is used as the question auxiliary information.
[0015] In an optional embodiment, the multiple candidate question information is generated according to the following method: obtaining historical search data associated with the partial question information; performing search link clustering on the historical search data to determine each historical search data corresponding to the same search link; the search link includes multiple consecutive search records, and the multiple consecutive search records include: consecutive supplementary searches performed after initiating the initial search; based on each historical search data of each search link, generating candidate question information corresponding to the search link.
[0016] An embodiment of the present disclosure also provides a question-and-answer device, including: a determination module, for determining a target scenario for a user's question in response to a question initiated by a user; a first display module, for displaying question-assistance information that matches the target scenario; wherein the information format and / or information completeness of the question-assistance information is related to the scenario type of the target scenario, and the question-assistance information is used to assist the user in editing the target question information for asking questions; a second display module, for displaying an artificial intelligence answer result that matches the target question information in response to receiving the target question information edited for the question-assistance information.
[0017] In an optional embodiment, when the determination module determines the target scenario of the user's question in response to the user initiating the question, it is used to: display multiple candidate scenarios on the artificial intelligence answer page, and determine the target scenario of the user's question in response to the user's selection operation on the candidate scenarios; or, receive at least part of the question information entered by the user in the question input area of the artificial intelligence answer page, and determine the target scenario that matches the at least part of the question information.
[0018] In an optional embodiment, the device also includes a processing module, and the question auxiliary information matching the target scene is determined by the processing module according to the following method: based on the scene type of the target scene, determining the target auxiliary information type from multiple auxiliary information types; different auxiliary information types correspond to different information formats and / or information completeness; according to the target auxiliary information type, generating question auxiliary information matching the target scene.
[0019] In an optional embodiment, when the processing module determines the target auxiliary information type from multiple auxiliary information types based on the scene type of the target scene, it is used to: in response to the target scene belonging to a first scene type, the first scene type includes a scene type that does not require supplementary personalized information, determine that the target auxiliary information type includes a complete question information type; when the processing module generates question auxiliary information matching the target scene according to the target auxiliary information type, it is used to: generate editable complete question information matching the target scene based on the scene information of the target scene, for use as the question auxiliary information.
[0020] In an optional embodiment, the processing module determines a target auxiliary information type from a plurality of auxiliary information types based on the scene type of the target scene, including: in response to the target scene belonging to a second scene type, the second scene type including a work and study scene, determining that the target auxiliary information type includes a fill-in-the-blank question information type; when the processing module generates question auxiliary information matching the target scene according to the target auxiliary information type, it is used to: generate at least one to-be-filled sentence matching the target scene according to the fill-in-the-blank question information type, wherein the to-be-filled sentence contains first to-be-filled field information; the first to-be-filled field information is used to indicate the supplementation of blank content in the to-be-filled sentence; and the to-be-filled sentence generates the target question information after the blank content is supplemented.
[0021] In an optional embodiment, when the processing module determines the target auxiliary information type from multiple auxiliary information types based on the scene type of the target scene, it is used to: in response to the target scene belonging to a third scene type, the third scene type including a document scene, determine that the target auxiliary information type includes a form-type question information type; when the processing module generates question auxiliary information matching the target scene according to the target auxiliary information type, it is used to: generate a form matching the target scene according to the form-type question information type, the form including multiple second field information to be filled in; the second field information to be filled in is used to indicate the selection or input of field information for a specified field; the filled-in form information is used to generate the target question information according to a preset format.
[0022] In an optional implementation, when displaying question auxiliary information matching the target scenario, the first display module is used to: display multiple question dimensions corresponding to the target scenario, and display the matching field information to be filled under the question dimensions.
[0023] In an optional embodiment, when the processing module determines the target auxiliary information type from multiple auxiliary information types based on the scene type of the target scene, it is used to: in response to the target scene belonging to a fourth scene type, the fourth scene type includes a scene in which the user actively inputs part of the question information, determine that the target auxiliary information type includes a predictive question information type; when the processing module generates question auxiliary information matching the target scene according to the target auxiliary information type, it is used to: perform intent recognition on the part of the question information and generate multiple predicted candidate question information; the question information selected from the candidate question information is used as the question auxiliary information.
[0024] In an optional embodiment, the multiple candidate question information is generated according to the following method: obtaining historical search data associated with the partial question information; performing search link clustering on the historical search data to determine each historical search data corresponding to the same search link; the search link includes multiple consecutive search records, and the multiple consecutive search records include: consecutive supplementary searches performed after initiating the initial search; based on each historical search data of each search link, generating candidate question information corresponding to the search link.
[0025] An optional implementation of the present disclosure further provides a computer device, a processor, and a memory, wherein the memory stores machine-readable instructions executable by the processor, and the processor is used to execute the machine-readable instructions stored in the memory. When the machine-readable instructions are executed by the processor, the machine-readable instructions perform the steps in the above embodiment, or any possible implementation of the above embodiment.
[0026] An optional implementation of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed, the computer program executes the above embodiment or the steps of any possible implementation of the above embodiment.
[0027] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the embodiments. The drawings herein are incorporated into and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and, together with the specification, are used to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings can be obtained based on these drawings without inventive effort.
[0029] FIG1 shows a flow chart of a question-answering method provided by an embodiment of the present disclosure;
[0030] FIG2 shows a schematic diagram of an artificial intelligence answer page provided by an embodiment of the present disclosure;
[0031] FIG3 shows a schematic diagram of displaying question-asking auxiliary information in a first scenario type provided by an embodiment of the present disclosure;
[0032] FIG4 shows a schematic diagram of displaying question-asking auxiliary information in a second scenario type provided by an embodiment of the present disclosure;
[0033] FIG5 shows a schematic diagram of displaying question-asking auxiliary information in a third scenario type provided by an embodiment of the present disclosure;
[0034] FIG6 shows a schematic diagram of displaying question-asking auxiliary information in a fourth scenario type provided by an embodiment of the present disclosure;
[0035] FIG7 shows a schematic diagram of a question-answering device provided by an embodiment of the present disclosure;
[0036] FIG8 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present disclosure.
[0038] Research has found that for users to expect AI models to provide answers that meet their specific needs, they need to compile relatively complete question information based on their specific needs. However, in general, it is difficult for users to compile complete and comprehensive question information, for example, they can only search using a few keywords. In this case, due to the incomplete question information provided by the user, the AI model cannot accurately identify the user's question intent, resulting in the answer provided not meeting the user's actual needs.
[0039] Based on the above research, the embodiment of the present disclosure provides a question-answering method, which can display question-answering auxiliary information that matches the target scenario to the user based on the target scenario in which the user initiates the question; here, for different scenario types, the information format and / or information completeness of the question-answering auxiliary information are different, so that according to the requirements of the scenario type, question-answering auxiliary information with different information formats and / or information completeness can be provided to better assist the user in editing the target question information for asking questions. In this way, when the user has the need to ask a question to the artificial intelligence model, question-answering auxiliary information that matches the current scenario requirements can be displayed to the user to help the user quickly sort out the target question information that meets the needs, and the artificial intelligence model can give an answer result that can better meet the user's needs based on the relatively complete target question information feedback.
[0040] The proposal of the above-mentioned problems and the solutions are the results obtained by the inventors after practice and careful research. Therefore, the discovery process of the above-mentioned problems and the solutions proposed by the present disclosure for the above-mentioned problems below should be the contributions made by the inventors to the present disclosure during the disclosure process.
[0041] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings.
[0042] To facilitate understanding of this embodiment, a question-and-answer method disclosed in an embodiment of the present disclosure is first introduced in detail. The execution subject of the question-and-answer method provided in the embodiment of the present disclosure is generally a computer device with certain computing capabilities. The computer device includes, for example, a terminal device or a server or other processing device. The terminal device can be a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementations, the question-and-answer method can be implemented by a processor calling computer-readable instructions stored in a memory.
[0043] The question-and-answer method provided by the embodiment of the present disclosure is described below. The question-and-answer method provided by the embodiment of the present disclosure can be specifically applied to a search platform, or can be applied separately to an artificial intelligence platform. In the platform, in addition to being able to query existing searchable information, the platform can also create information that meets the user's needs based on the target question information edited by the user, such as writing articles, planning schedules, checking whether articles have grammatical errors, preparing resumes and documents, etc.
[0044] 1 is a flowchart of a question-answering method according to an embodiment of the present disclosure. The method includes steps S101 to S103, wherein:
[0045] S101: In response to a question initiated by a user, determining a target scenario for the user's question;
[0046] S102: Displaying question-asking auxiliary information matching the target scenario; wherein the information format and / or information completeness of the question-asking auxiliary information is related to the scenario type of the target scenario, and the question-asking auxiliary information is used to assist the user in editing target question information for asking questions;
[0047] S103: In response to receiving the target question information edited for the question-asking auxiliary information, displaying an artificial intelligence answer result that matches the target question information.
[0048] Regarding S101 above, when a user has a question request, they can obtain an answer by asking a question through the platform described above. The specific search request can be determined based on the user's actual needs. For example, for an engineer user A, their actual need may be to obtain a project proposal document for the project "Environmentally Friendly Energy-Saving Components" by asking a question; or for a job seeker user B, their actual need may be to generate a resume for the selected job; or for a travel planner user C, their actual need may be a travel guide for a specific area, etc.
[0049] To provide these users with answers that meet their questioning needs, the platform can provide users with an AI answer page, so that after entering the AI answer page provided by the platform, users can initiate questions through relevant operations on the AI answer page. See Figure 2, which is a schematic diagram of an AI answer page provided in an embodiment of the present disclosure.
[0050] In the artificial intelligence answer page shown in Figure 2, for example, an input box for entering question information is provided in the middle area of Figure 2, where the user is prompted to type in a specific question here through "Please enter your question". A voice input function is also provided, and functions such as photo query can also be provided so that the user can choose a suitable way to enter the question.
[0051] The upper area of Figure 2 shows the most recently asked questions and their answers, such as the question "Write an essay about spring" and the example essay below. If this is the first time the user has used the app and has no previous questions, other examples can be shown here to help the user understand how to get answers based on the questions they asked.
[0052] In the lower area of Figure 2, a plurality of buttons are provided specifically by way of examples, and text labels are used on the buttons to prompt users with specific question-and-answer functions that can be provided, so as to assist users in understanding what specific question-and-answer services can be provided on the platform. For example, for the "weather conditions" shown in the figure, users can easily know that they can check the weather conditions after selecting it, or for the "weekly report generation" shown in the figure, users can easily know that it can assist in organizing study weekly reports, work weekly reports, etc. after selecting it. When arranging these buttons corresponding to different functions, the buttons that the user has historically selected can be arranged in front for display first, and the buttons corresponding to popular functions and functions belonging to different categories such as learning and teaching aids, work assistants, and encyclopedia compilation can be classified and displayed.
[0053] That is, when users ask questions through the artificial intelligence answer page, they can select the buttons provided in the artificial intelligence answer page to ask questions under the corresponding functions, or they can actively organize question information and ask questions.
[0054] Therefore, in the embodiment of the present disclosure, in response to a question initiated by a user, when determining the target scenario of the user's question, the following method can be specifically adopted: displaying multiple candidate scenarios on the artificial intelligence answer page, and determining the target scenario of the user's question in response to the user's selection operation on the candidate scenarios; or, receiving at least part of the question information input by the user in the question input area of the artificial intelligence answer page, and determining the target scenario that matches the at least part of the question information.
[0055] The following is a detailed explanation. First, the user can ask questions through the button provided in the artificial intelligence answer page. In this case, the user is specifically instructed to select a scene from the existing candidate scenes. For example, a variety of candidate scenes are pre-displayed on the artificial intelligence answer page, and each candidate scene corresponds to a specific function. For example, for the "weather conditions" displayed in the above example, the specific corresponding function is to check the weather, so the target scene of the user's question is the question scene about the weather conditions.
[0056] Secondly, users can enter specific questions in the question input area of the AI answer page. After the user enters the question, the AI analyzes the question to determine the target scenario. For example, if the user enters a question such as "Search for possible semantic errors in the following text: XX," the target scenario identified by the user when asking the question can be determined by using keywords such as "search" and "semantic errors," such as the target scenario specifically querying for grammatical errors.
[0057] Thus, in the disclosed embodiment, when determining the target scenario of a user's question, if the user specifically selects from multiple candidate scenarios, the target scenario of the user's question is determined based on the selected candidate scenario. Alternatively, when the user asks a question by inputting at least part of the question information, the target scenario is determined by analyzing the question information.
[0058] Regarding the above S102, after determining the target scenario of the user's question, in order to help the user write complete and comprehensive target question information to obtain an artificial intelligence answer result that better meets the user's question intention, in the embodiment of the present disclosure, the question auxiliary information matching the target scenario is specifically displayed to the user based on the scenario type of the target scenario determined in the above steps.
[0059] Here, when assisting the user in editing and obtaining the target question information by asking auxiliary information, in one possible case, only simple text may be provided, such as only providing an example. For example, in the case where it is necessary to organize the information to obtain summary information, the text information "I hope that you can organize the information as a historian, specifically the development and changes of cultural, economic, and social events in history, in order to compile summary information for historical research" can be specifically displayed. It can be seen that when organizing the information to obtain summary information, there may actually be many academic fields, but it is not possible to display all possible situations in each academic field to the user. Therefore, a specific example of asking a question is usually displayed to the user through one of the above-mentioned situations.
[0060] However, in this case, the specific examples shown to the user may not be transferable. For example, if the user also needs to organize the data to obtain summary data, if the documents the user needs to organize are about engineering disciplines such as electricity and engineering mechanics, the focus may be on technology iteration. Therefore, after referring to the "development and changes of cultural, economic, and social events" described in the above example, the user may not be able to obtain appropriate question information by simply replacing the text. Therefore, the above method of explicitly giving specific examples may not, in some cases, assist the user in editing the target question information that meets their own questioning needs. This is because the examples provided are too close to a specific and underlying problem, and therefore are difficult to be universal.
[0061] In addition, in this way, even if the user wants to replace part of the content in the example to obtain the target question information according to his or her own needs, he or she needs to copy and paste it to the question input area of the artificial intelligence answer page, and then delete it by selecting the words to be replaced, and then type in the information that can be filled in according to his or her own question needs to ask the question. This operation method is not convenient for users.
[0062] Therefore, in the embodiment of the present disclosure, the question auxiliary information matching the target scene is determined specifically in the following manner: based on the scene type of the target scene, the target auxiliary information type is determined from multiple auxiliary information types; different auxiliary information types correspond to different information formats and / or information completeness; according to the target auxiliary information type, the question auxiliary information matching the target scene is generated.
[0063] Specifically, in different scenario types, the question-asking auxiliary information provided to users is different. For example, in the scenario of preparing legal documents, the question-asking auxiliary information provided can be in the format of the document style, such as the contract format, and the fixed format clauses therein are displayed, while the information that needs to be filled in by the user is left blank. For the scenario of asking about the weather, since the scope of the question is already limited, multiple specific question sentences can be provided, such as "Today's temperature, humidity and ultraviolet intensity", "Today's temperature changes", etc.
[0064] That is, for different target scenarios, the specific question-asking auxiliary information that can be provided is different. This difference is not only reflected in the difference in the expression of information such as text, but also in the difference in information format and / or information completeness. In addition, before providing question-asking auxiliary information to the user, multiple auxiliary information types can be pre-determined, such as the fill-in-the-blank question types such as contract templates and litigation templates used to generate documents in the above example, or complete question information types such as various possible questions about the weather. After determining the scenario type of the target scenario, the target auxiliary information type can be matched from the multiple auxiliary information types, and question-asking auxiliary information matching the target scenario can be generated accordingly.
[0065] Below, different scene types are given as examples to illustrate how to determine the target auxiliary information type according to the scene type and generate question auxiliary information matching the target scene accordingly.
[0066] (1) The target scene belongs to the first scene type. The first scene type includes scene types that do not require additional personalized information.
[0067] For example, the weather condition question mentioned above does not require additional personalized information because the specific scope of the question has been determined. In addition to the weather condition question mentioned above, the first scenario type may also include scenario types such as questions about schools for further study, employment, etc.
[0068] In this scenario, it can be determined that the target auxiliary information type includes a complete question information type, which is characterized by having definite and complete question information.
[0069] Accordingly, when generating question auxiliary information matching the target scene according to the target auxiliary information type, the following method can be adopted: based on the scene information of the target scene, generate editable complete question information matching the target scene for use as the question auxiliary information.
[0070] For example, in the scenario of asking questions about weather conditions described above, the complete question information that can be provided can specifically include "temperature changes by hour today," "ultraviolet index today," "local weather changes in the past seven days," and so on. Since "weather conditions" has already clearly defined the scope of questions that can be asked, when providing auxiliary information for asking questions, the user can directly be provided with a variety of possible complete question information around this scope, so that the user can directly select the appropriate complete question information based on their question intentions. In addition, these provided complete question information can also be edited, and the user can also directly edit the text on these provided information to obtain the target question information for asking questions.
[0071] For example, see FIG3 , which is a schematic diagram of displaying question-asking auxiliary information under the first scenario type provided by an embodiment of the present disclosure. In this schematic diagram, in response to the triggering operation of “weather conditions” in FIG3 (a), for example, a page as shown in FIG3 (b) can be displayed. In the page of FIG3 (b), a plurality of editable complete question information are specifically displayed, and in response to the triggering operation of any complete question information, the complete question information can be displayed in the question input area. For example, if you select “Local weather changes in the past seven days”, the question information will be displayed in the question input area and will be changed to a box selection state accordingly.
[0072] After the question information is displayed in the question input area, the user can also edit it through editing operations. For example, in the question input area shown in Figure 3 (b), the selected "Local weather changes in the past seven days" is edited and changed to "Local weather changes in the past three days" as the target question information.
[0073] (2) The target scenario belongs to the second scenario type. The second scenario type includes work and study scenarios.
[0074] For example, regarding the need for work organization, when organizing work content under work categories, there are fixed requirements for the nature of the work. For example, when making work reports for different positions, the report format has corresponding specific requirements, but there is also a selection range for the report content. For example, different R&D departments refer to different project contents when reporting.
[0075] Therefore, in this scenario, it can be determined that the target assistance type includes fill-in-the-blank question type information. Here, the specific requirements under the report format described above can be used to determine the paragraph containing the fill-in position, and the selected project content can be used as the fill-in information for the paragraph.
[0076] In this way, when generating question auxiliary information that matches the target scene according to the target auxiliary information type, the following method can be specifically adopted: according to the fill-in-the-blank question information type, at least one sentence to be filled that matches the target scene is generated, and the sentence to be filled contains first field information to be filled; the first field information to be filled is used to indicate the supplement of blank content in the sentence to be filled; the target question information is generated after the blank content is supplemented in the sentence to be filled.
[0077] Here, the scenario corresponding to the work report described above is taken as an example for explanation. Referring to Figure 4, a schematic diagram of displaying question-asking auxiliary information under the second scenario type provided by an embodiment of the present disclosure is shown. In Figure 4 (a), multiple question dimensions that can be selected under the work report are first displayed through multiple tags, specifically including "Project Opening Report", "Mid-term Progress Report" and "Project Summary". Taking the selection of "Project Opening Report" as an example, a sentence to be filled in as shown in Figure 4 (a) can be generated, wherein "The project name of this project is" and "My job is" are waiting to be filled in, and contain multiple pieces of information to be filled in. For example, after "The project name of this project is", a specific project name can be filled in, such as "Energy-saving and environmental protection equipment", and after "My job is", specific work content can be filled in according to the work that the user is responsible for in this project, such as "Coordinating and managing the progress of various departments".
[0078] The first field information to be filled in the embodiment of the present disclosure is used to indicate that the blank content in the sentence to be filled is to be supplemented. For example, the first field information to be filled in the above FIG4 (a) includes "project name", "task content", etc. After the blank content of the sentence to be filled is supplemented, the target question information can be generated. When specifically displayed, the determined text part in the sentence to be filled is directly displayed, and the blank content is displayed in the form of a text box, and the user is prompted to supplement it through the text mark of "click to enter". For details, please refer to the example diagram shown in FIG4 (b). After filling in the specific project name: "Energy-saving and environmental protection equipment", work content: "Coordinate and manage the progress of various departments" and other information, that is, after supplementing the blank content, the complete target question information can be obtained.
[0079] (3) The target scenario belongs to the third scenario type. The third scenario type includes document scenarios.
[0080] For example, when drafting contracts or lawsuits, legal documents are often required. Legal documents typically contain information about the parties involved, the subject matter, and other fixed-format clauses that need to be specified based on the actual situation. Therefore, when assisting users in drafting legal documents, users can input the required information, such as the agreed terms and the grounds for prosecution, to obtain the legal document they need.
[0081] Specifically, since the information items required by users in legal documents are usually standardized and may include many categories, a form can be provided to the user to systematically fill in the information. In this scenario, the target auxiliary information type can be determined to include form-type question information type.
[0082] In a specific implementation, when generating question auxiliary information that matches the target scene according to the target auxiliary information type, the following method can be specifically adopted: according to the form-type question information type, a form that matches the target scene is generated, and the form includes multiple second field information to be filled in; the second field information to be filled in is used to indicate the selection or input of field information for the specified field; the filled-in form information is used to generate the target question information according to a preset format.
[0083] For example, see Figure 5, which is a schematic diagram of displaying question-asking auxiliary information under the third scenario type provided by an embodiment of the present disclosure. In Figure 5 (a), multiple question dimensions are displayed in the form of a form, specifically including the document type. Since the content that needs to be filled in is different in different document types, for example, when the document type of "arrears" is selected, it specifically involves the type of arrears, litigation request, etc. shown below in the figure. Or, under the document type of "contract dispute" not shown, it specifically involves the subject matter, contract provisions, etc. The other dimensions that need to be filled in after selecting a certain document type described here can also be called question dimensions, that is, the multiple question dimensions corresponding to the target scenario can be directly determined, or can be adaptively adjusted or selected after the user makes a certain selection.
[0084] As for the information to be filled in under multiple question dimensions in the form, it can be filled in by input or determined by selection.
[0085] The information displayed for the multiple question dimensions corresponds to the second field to be filled in the form, such as the document type. Specifically, the user selects and enters the fields that should be filled in under the question dimension. By supplementing the field information under these question dimensions shown in the figure, the corresponding target question information can be generated. Specifically, Figure 5(b) shows a schematic diagram of the form after the user has completed the filling.
[0086] Here, for the two different target scenarios corresponding to "2" and "3" above, when displaying the question auxiliary information matching the target scenario, according to the above description, multiple question dimensions corresponding to the target scenario are displayed, and under the question dimensions, the matching field information to be filled is displayed. Specifically, under the target scenario of the second scenario type, dimensions such as "project initiation" and "mid-term progress report" are displayed, and under the target scenario of the third scenario type, "document type" and "arrears type", "litigation request" and other dimensions are displayed based on the selection of the document type. Under each dimension, the matching field information to be filled is displayed by selection or input. After filling in these field information to be filled, the target question information can be generated.
[0087] (4) The target scenario belongs to the fourth scenario type. The third scenario type includes scenarios where the user actively inputs part of the question information.
[0088] For example, the scenarios presented above via buttons or labels only display a small portion of commonly used or user-generated scenarios within the scope of AI-enabled Q&A. If the user has other question-asking needs, they can also proactively enter keywords, phrases, etc. used to predict or construct question information. Accordingly, the target auxiliary information type can be determined to include predictive question information.
[0089] Taking travel planning as an example, if multiple possible travel scenarios are listed similarly to the other scenarios mentioned above, as well as dimensions such as time, number of travelers, and travel expenses, the corresponding methods in the above scenarios can also be used to provide users with question-assisting information. However, in this scenario, the time, number of travelers, etc. listed above may not be the information that users must involve when asking about travel planning, or, because there are no specific and definite dimensions involved under the theme of travel, such as the time dimension and travel expense dimension related to the schedule listed above, there may also be users who focus on items recommended to be brought during the trip, or rest stops recommended along the way when traveling by car, etc. Therefore, in this type of scenario, it is more appropriate to perform intent recognition based on the information actively input by the user after receiving part of the question information actively input by the user, predict possible question information, and use it as question-assisting information that the user can select.
[0090] That is, in a specific implementation, when generating question auxiliary information that matches the target scene according to the target auxiliary information type, the following method can be specifically adopted: perform intent recognition on the part of the question information to generate multiple predicted candidate question information; the question information selected from the candidate question information is used as the question auxiliary information.
[0091] For example, see Figure 6, which is a schematic diagram of displaying question-asking auxiliary information in the fourth scenario type provided by an embodiment of the present disclosure. In Figure 6 (a), a user can enter a question in the input box, such as "I want to go to Shanghai for fun." Next to the semantic input icon on the right side of the input box, there is a link button.
[0092] In response to triggering the association button, you can jump to page (b) in Figure 6, and specifically display multiple candidate question information that are expanded and predicted based on the input question information under the input box; the number of candidate question information, such as "5", is also displayed in the upper right corner of the association button. When the user does not select suitable question information from the three candidate question information currently displayed, you can view the remaining candidate question information that is not shown by swiping up or down, and / or regard the swiping up or pulling down operation as an update operation, and update and display other relevant candidate question information based on the question information entered by the user.
[0093] When the user selects a candidate question information from Figure 6 (b), for example, the second candidate question information is selected, the page can be jumped to Figure 6 (c), and the selected candidate question information will replace the information typed by the user in the text box for display, and an input keyboard will pop up accordingly to use the question information selected by the user as auxiliary information for asking questions, so that the user can obtain the target question information by directly searching or modifying it based on it.
[0094] Here, in one possible scenario, as the user inputs more information, the candidate question information displayed below will change. This change can be triggered by receiving new information input by the user, or by the user actively triggering the association button after entering the new information. For example, on the page shown in Figure 6 (b), if the user enters "3 days and 4 nights" in addition to "I want to go to Shanghai", then in the candidate question information displayed below, the "Develop a 5-day, 6-night city tour guide for Shanghai, traveling with parents, and not going to Disneyland" shown in the figure can be updated and replaced with "Develop a 3-day, 4-night city tour guide for Shanghai, traveling with parents, and not going to Disneyland".
[0095] In addition, when determining candidate question information, one possible scenario includes the user gradually inputting information when asking the question to determine the candidate question information. Specifically, the candidate question information displayed to the user can be determined based on historical question information authorized by the user, or by referring to question selection information of other users under the same topic.
[0096] In a specific implementation, historical search data associated with the partial question information can be obtained; search link clustering is performed on the historical search data to determine the historical search data corresponding to the same search link; the search link includes multiple consecutive search records, and the multiple consecutive search records include: consecutive supplementary searches performed after initiating the initial search; based on the historical search data of each search link, candidate question information corresponding to the search link is generated.
[0097] Let's use the three possible examples above as an example. Consider the case where a user enters information sequentially when asking a question. For example, the first time they enter "Shanghai travel," the second time they add "3 days, 4 nights," resulting in "Shanghai travel 3 days, 4 nights," and the third time they add "budget 10,000 yuan," resulting in "Shanghai travel 3 days, 4 nights, 10,000 yuan." This input information can form a search link and serve as historical data for that search link. Using this input information, candidate question information corresponding to the search link can be generated.
[0098] Regarding the case where the user authorizes the acquisition of historical question information, we will still take the example of the user entering "Shanghai travel" when asking this question. If the historical question information authorized by the user includes records related to "Shanghai" or "travel", such as "Shanghai Disney" or "short-term travel", the relevant information mentioned in these records can also be used as a continuous supplementary search after the initial search for "Shanghai travel", and "Shanghai travel", "Shanghai Disney" and "short-term travel" can be clustered into the same search link, and the historical search data under the search link can be obtained to generate candidate question information corresponding to the search link, such as "Make a plan for a Shanghai trip, including a trip to Shanghai Disney, which is expected to be a short-term trip."
[0099] With reference to other users' question selection information under the same topic, similar to the case of the historical question information that the above-mentioned user is authorized to obtain, after receiving the information entered by the user when asking this question, it is possible to determine to cluster them into the same search link based on the question information selected by other users around this information received on the platform. For example, taking the user entering "Shanghai Travel" as an example when asking this question, other related questions that can be obtained on the platform include "Train or Plane to Go", "Hotel for a Family of Three to Stay for Three Days", etc. After clustering the search link, the corresponding candidate question information can also be generated in a similar manner, such as "Make a plan for a family of three to travel to Shanghai, plan which specific flight or train to take, and determine a hotel that can accommodate a family of three in the room."
[0100] The three methods for determining candidate question information described above may be selected individually or in combination, and are not limited in the present embodiment. The user may select the provided candidate question information as auxiliary information for questioning and directly use it as the target question information, or may edit and modify it to obtain the target question information, and this is also not limited in the present embodiment.
[0101] In this way, according to the above steps, question-asking auxiliary information matching the target scenario can be displayed to the user.
[0102] Regarding S103 above, the user can also edit the displayed question-assisting information to obtain the target question information. For example, in the scenarios corresponding to Figures 4 and 5 above, the user can specifically supplement the question-assisting information to obtain the target question information. Alternatively, the user can directly obtain the target question information by selecting the question-assisting information. For example, in the scenarios shown in Figures 3 or 6 above, the question-assisting information can be directly used as the target question information.
[0103] When the target question information is determined, the platform can use relevant artificial intelligence technologies to process the target question information to obtain artificial intelligence answer results that match the target question information. After the artificial intelligence answer results are displayed, users can copy them. For example, a one-click copy function is provided in the lower right corner of the composition about spring shown in the upper part of Figure 2. For documents such as the above example, the completed files can also be directly obtained by downloading. In addition, a "regenerate" function can be provided to obtain other possible answers to the target question information. The specific details can be determined based on the actual processing of artificial intelligence and the specific question requirements of the user, and will not be repeated here.
[0104] Those skilled in the art will understand that in the above-mentioned method of the specific implementation method, the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.
[0105] Based on the same inventive concept, a question-and-answer device corresponding to the question-and-answer method is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the above-mentioned question-and-answer method in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0106] 7 , which is a schematic diagram of a question-answering device provided by an embodiment of the present disclosure, the device includes: a determination module 71 , a first display module 72 , and a second display module 73 ; wherein,
[0107] A determination module 71 is configured to determine a target scenario of a user's question in response to the user's question;
[0108] A first display module 72 is configured to display auxiliary question information matching the target scenario; wherein the information format and / or information completeness of the auxiliary question information is related to the scenario type of the target scenario, and the auxiliary question information is used to assist the user in editing target question information for questioning;
[0109] The second display module 73 is used to display the artificial intelligence answer result matching the target question information in response to receiving the target question information edited according to the question auxiliary information.
[0110] In an optional embodiment, when determining the target scenario of the user's question in response to the user initiating the question, the determination module 71 is used to: display multiple candidate scenarios on the artificial intelligence answer page, and determine the target scenario of the user's question in response to the user's selection operation on the candidate scenarios; or, receive at least part of the question information entered by the user in the question input area of the artificial intelligence answer page, and determine the target scenario that matches the at least part of the question information.
[0111] In an optional embodiment, the device also includes a processing module 74, and the question auxiliary information matching the target scene is determined by the processing module 74 according to the following method: based on the scene type of the target scene, determining the target auxiliary information type from multiple auxiliary information types; different auxiliary information types correspond to different information formats and / or information completeness; according to the target auxiliary information type, generating question auxiliary information matching the target scene.
[0112] In an optional embodiment, when the processing module 74 determines the target auxiliary information type from multiple auxiliary information types based on the scene type of the target scene, it is used to: in response to the target scene belonging to a first scene type, the first scene type includes a scene type that does not require supplementary personalized information, determine that the target auxiliary information type includes a complete question information type; when the processing module 74 generates question auxiliary information matching the target scene according to the target auxiliary information type, it is used to: generate editable complete question information matching the target scene based on the scene information of the target scene, for use as the question auxiliary information.
[0113] In an optional embodiment, the processing module 74 determines the target auxiliary information type from a plurality of auxiliary information types based on the scene type of the target scene, including: in response to the target scene belonging to the second scene type, the second scene type including a work and study scene, determining that the target auxiliary information type includes a fill-in-the-blank question information type; when the processing module 74 generates question auxiliary information matching the target scene according to the target auxiliary information type, it is used to: generate at least one to-be-filled sentence matching the target scene according to the fill-in-the-blank question information type, wherein the to-be-filled sentence contains first to-be-filled field information; the first to-be-filled field information is used to indicate the supplementation of blank content in the to-be-filled sentence; and the to-be-filled sentence generates the target question information after the blank content is supplemented.
[0114] In an optional embodiment, when the processing module 74 determines the target auxiliary information type from a plurality of auxiliary information types based on the scene type of the target scene, it is used to: in response to the target scene belonging to a third scene type, the third scene type including a document scene, determine that the target auxiliary information type includes a form-type question information type; when the processing module 74 generates question auxiliary information matching the target scene according to the target auxiliary information type, it is used to: generate a form matching the target scene according to the form-type question information type, the form including a plurality of second field information to be filled in; the second field information to be filled in is used to indicate the selection or input of field information for a specified field; the filled-in form information is used to generate the target question information according to a preset format.
[0115] In an optional implementation, when displaying question auxiliary information matching the target scenario, the first display module 72 is used to: display multiple question dimensions corresponding to the target scenario, and display the matching field information to be filled under the question dimensions.
[0116] In an optional embodiment, when the processing module 74 determines the target auxiliary information type from multiple auxiliary information types based on the scene type of the target scene, it is used to: in response to the target scene belonging to a fourth scene type, the fourth scene type includes a scene in which the user actively inputs part of the question information, determine that the target auxiliary information type includes a predictive question information type; when the processing module 74 generates question auxiliary information matching the target scene according to the target auxiliary information type, it is used to: perform intent recognition on the part of the question information and generate multiple predicted candidate question information; the question information selected from the candidate question information is used as the question auxiliary information.
[0117] In an optional embodiment, the multiple candidate question information is generated according to the following method: obtaining historical search data associated with the partial question information; performing search link clustering on the historical search data to determine each historical search data corresponding to the same search link; the search link includes multiple consecutive search records, and the multiple consecutive search records include: consecutive supplementary searches performed after initiating the initial search; based on each historical search data of each search link, generating candidate question information corresponding to the search link.
[0118] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference can be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.
[0119] The present disclosure also provides a computer device, as shown in FIG8 , which is a schematic diagram of the structure of the computer device provided by the present disclosure, including:
[0120] A processor 10 and a memory 20; the memory 20 stores machine-readable instructions executable by the processor 10, and the processor 10 is configured to execute the machine-readable instructions stored in the memory 20. When the machine-readable instructions are executed by the processor 10, the processor 10 performs the following steps:
[0121] In response to a question initiated by a user, a target scenario for the user's question is determined; question-associated information matching the target scenario is displayed; wherein, the information format and / or information completeness of the question-associated information is related to the scenario type of the target scenario, and the question-associated information is used to assist the user in editing the target question information for asking questions; in response to receiving the target question information edited according to the question-associated information, an artificial intelligence answer result matching the target question information is displayed.
[0122] The above-mentioned memory 20 includes internal memory 210 and external memory 220; the memory 210 here is also called internal memory, which is used to temporarily store the calculation data in the processor 10, as well as the data exchanged with the external memory 220 such as the hard disk. The processor 10 exchanges data with the external memory 220 through the internal memory 210.
[0123] The specific execution process of the above instructions can refer to the steps of the question-and-answer method described in the embodiment of the present disclosure, and will not be repeated here.
[0124] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program executes the steps of the question-and-answer method described in the above method embodiment. The storage medium may be a volatile or non-volatile computer-readable storage medium.
[0125] The embodiments of the present disclosure also provide a computer program product, which carries program code. The instructions included in the program code can be used to execute the steps of the question-and-answer method described in the above method embodiment. For details, please refer to the above method embodiment and will not be repeated here.
[0126] The computer program product may be implemented in hardware, software, or a combination thereof. In one embodiment, the computer program product is implemented as a computer storage medium. In another embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).
[0127] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems and devices described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0128] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of the solution of this embodiment according to actual needs.
[0129] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0130] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, 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. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0131] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The scope of protection of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-described embodiments within the technical scope disclosed in the present disclosure, or replace some of the technical features therein with equivalents. Such modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure shall be subject to the scope of protection of the claims.
Claims
1. A question-answering method, include: In response to a question initiated by a user, determining a target scenario for the user's question; Displaying question-asking auxiliary information matching the target scene; wherein the information format and / or information completeness of the question-asking auxiliary information is related to the scene type of the target scene, and the question-asking auxiliary information is used to assist the user in editing the target question information to be asked; In response to receiving the target question information edited for the question-asking auxiliary information, an artificial intelligence answer result matching the target question information is displayed.
2. The method according to claim 1, in, In response to a question initiated by a user, a target scenario for the user's question is determined, including: Displaying multiple candidate scenarios on the AI answer page, and determining the target scenario of the user's question in response to the user's selection operation on the candidate scenarios; or Receive at least part of the question information input by the user in the question input area of the artificial intelligence answer page, and determine a target scenario that matches the at least part of the question information.
3. The method according to claim 1 or 2, in, The question auxiliary information matching the target scene is determined according to the following method: Based on the scene type of the target scene, determining a target auxiliary information type from a plurality of auxiliary information types; different auxiliary information types correspond to different information formats and / or information completeness; According to the target auxiliary information type, question auxiliary information matching the target scene is generated.
4. The method according to claim 3, in, The determining of the target auxiliary information type from a plurality of auxiliary information types based on the scene type of the target scene includes: In response to the target scene belonging to a first scene type, the first scene type including a scene type that does not require supplementary personalized information, determining that the target auxiliary information type includes a complete question information type; The step of generating question auxiliary information matching the target scene according to the target auxiliary information type includes: Based on the scene information of the target scene, editable complete question information matching the target scene is generated to serve as the question-asking auxiliary information.
5. The method according to claim 3, in, Based on the scene type of the target scene, a target auxiliary information type is determined from a plurality of auxiliary information types, including: In response to the target scene belonging to a second scene type, the second scene type including a work and study scene, determining that the target auxiliary information type includes a fill-in-the-blank question information type; The step of generating question auxiliary information matching the target scene according to the target auxiliary information type includes: According to the fill-in-the-blank question information type, at least one sentence to be filled in that matches the target scenario is generated, and the sentence to be filled in includes first field information to be filled in; the first field information to be filled in is used to indicate that the blank content in the sentence to be filled in is to be supplemented; the sentence to be filled in generates the target question information after the blank content is supplemented.
6. The method according to claim 3, in, Based on the scene type of the target scene, a target auxiliary information type is determined from a plurality of auxiliary information types, including: In response to the target scene belonging to a third scene type, the third scene type including a document scene, determining that the target auxiliary information type includes a form-type question information type; The step of generating question auxiliary information matching the target scene according to the target auxiliary information type includes: According to the form-style question information type, a form matching the target scenario is generated, wherein the form includes a plurality of second field information to be filled in; the second field information to be filled in is used to indicate the selection or input of field information for a specified field; and the filled form information is used to generate the target question information according to a preset format.
7. The method according to claim 5 or 6, in, The display of question auxiliary information matching the target scene includes: Multiple question dimensions corresponding to the target scenario are displayed, and under the question dimensions, the matching field information to be filled is displayed.
8. The method according to any one of claims 3 to 7, in, Based on the scene type of the target scene, a target auxiliary information type is determined from a plurality of auxiliary information types, including: In response to the target scene belonging to a fourth scene type, the fourth scene type including a scene in which a user actively inputs part of the question information, determining that the target auxiliary information type includes a predictive question information type; The step of generating question auxiliary information matching the target scene according to the target auxiliary information type includes: Intention recognition is performed on the part of the question information to generate a plurality of predicted candidate question information; the question information selected from the candidate question information is used as the question-asking auxiliary information.
9. The method according to claim 8, in, The plurality of candidate question information is generated according to the following method: Acquire historical search data associated with the partial question information; Performing search link clustering on the historical search data to determine each historical search data corresponding to the same search link; the search link includes multiple consecutive search records, and the multiple consecutive search records include: consecutive supplementary searches performed after initiating an initial search; Based on each historical search data of each search link, candidate question information corresponding to the search link is generated.
10. A question-answering device, include: A determination module, configured to determine a target scenario of the user's question in response to the user's question; A first display module is configured to display question-asking auxiliary information matching the target scene; wherein the information format and / or information completeness of the question-asking auxiliary information is related to the scene type of the target scene, and the question-asking auxiliary information is used to assist the user in editing target question information for asking questions; The second display module is configured to display an artificial intelligence answer result matching the target question information in response to receiving the target question information edited for the question auxiliary information.
11. A computer device, include: A processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and the processor is configured to execute the machine-readable instructions stored in the memory. When the machine-readable instructions are executed by the processor, the processor performs the steps of the question-answering method according to any one of claims 1 to 9.
12. A computer-readable storage medium having a computer program stored thereon, in, When the computer program is executed by a computer device, the computer device executes the steps of the question-answering method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Question and answer method and device, computer equipment and storage medium
CN116701583A
Method and device for providing information for user in specific application field
CN104090907A
Session data processing method and device, computer device and storage medium
CN111475628A
Intelligent question answering method and device, computer equipment and storage medium
CN113064980A
Question and answer service method, broadcast receiver having question and answer service function and storage medium having program for executing the method
US20100199294A1
