Information feedback method and device, equipment and medium

By guiding users to supplement information elements in the large language model system and optimizing input combined with historical interaction data, the problem of inaccurate and incoherent feedback information in the existing technology is solved, and the user experience and the accuracy of answers are improved.

CN118760744APending Publication Date: 2024-10-11LENOVO (BEIJING) LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410702937.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

The feedback information generated by existing large language model systems is not accurate enough. Users need multiple interactions to obtain satisfactory feedback, and the information is incoherent and prone to ambiguity.

Method used

By obtaining the first input information input by the user, determine its element content, generate prompt information to guide the user to supplement missing elements, combine historical input information and target elements, and optimize the input information so that the large model can generate more accurate feedback.

Benefits of technology

It improves the efficiency and satisfaction of users in obtaining answers, the generated answers are more in line with user needs, and the problems of incoherent and ambiguous information are avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760744A_ABST
    Figure CN118760744A_ABST
Patent Text Reader

Abstract

The invention provides an information feedback method and device, equipment and a medium. The information feedback method comprises the steps that first input information input by a user is obtained; determining prompt information based on the element content of the first input information; obtaining second input information input by the user based on the prompt information; based on the first input information and the second input information, feedback information aiming at the user is generated through the large model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer application technology, and in particular to an information feedback method, device, equipment and medium. Background Art

[0002] The current language model system can analyze the user's intention based on the user's input information and give feedback. However, since the generated feedback information is usually not accurate enough, the user needs to interact with the model multiple times to get relatively satisfactory feedback information. Summary of the invention

[0003] In view of this, the present disclosure provides an information feedback method, apparatus, device and medium.

[0004] One aspect of the present disclosure provides an information feedback method, including: obtaining first input information input by a user; determining prompt information based on the element content of the first input information; obtaining second input information input by the user based on the prompt information; and generating feedback information for the user through a large model based on the first input information and the second input information.

[0005] According to an embodiment of the present disclosure, determining prompt information based on the element content of the first input information includes: determining a target element for generating prompt information according to the element content of the first input information; and determining prompt information according to the target element.

[0006] According to an embodiment of the present disclosure, a target element for generating prompt information is determined based on the element content of the first input information, including: determining the information type of the first input information and the input element corresponding to the element content based on the element content of the first input information; matching the input element and multiple elements corresponding to the information type of the first input information, and determining a target element among the multiple elements, wherein the target element is different from the input element.

[0007] According to an embodiment of the present disclosure, a specific number of target elements that meet the requirements are selected from the target elements; and prompt information is determined according to the target elements, including: generating prompt information based on the specific number of target elements and the target sentence structure.

[0008] According to an embodiment of the present disclosure, the method also includes: determining multiple information types based on historical input information; in the historical input information corresponding to each information type, taking the information content with a number of occurrences higher than a threshold as element content; and obtaining multiple elements corresponding to each information type based on the element content.

[0009] According to an embodiment of the present disclosure, determining prompt information according to a target element includes: generating prompt information based on the target element and a target sentence structure.

[0010] According to an embodiment of the present disclosure, the method also includes: generating input information based on the first input information and the second input information, including: adding the second input information to the sentence template generated based on the corresponding target element to obtain supplementary information; splicing the first input information and the supplementary information to obtain the input information.

[0011] Another aspect of the present disclosure also provides a device, including a first acquisition module, used to obtain first input information input by a user; a determination module, used to determine prompt information based on the element content of the first input information; a second acquisition module, used to obtain second input information input by the user based on the prompt information; and a generation module, used to generate feedback information for the user through a large model based on the first input information and the second input information.

[0012] Another aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above method.

[0013] Another aspect of the present disclosure further provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to perform the above method.

[0014] Another aspect of the present disclosure further provides a computer program product, including a computer program, which implements the above method when executed by a processor.

[0015] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0017] Figure 1 The application scenario diagram of the information feedback method, device, equipment and medium according to the embodiment of the present disclosure is schematically shown;

[0018] Figure 2 A flowchart of an information feedback method according to an embodiment of the present disclosure is schematically shown;

[0019] Figure 3 A flowchart of an information feedback method according to another embodiment of the present disclosure is schematically shown;

[0020] Figure 4 A flowchart of an information feedback method according to another embodiment of the present disclosure is schematically shown;

[0021] Figure 5 A flowchart of an information feedback method according to another embodiment of the present disclosure is schematically shown;

[0022] Fig. 6A A schematic diagram schematically shows a principle diagram of an exemplary information feedback method;

[0023] Figure 6B The schematic diagram schematically shows the principle of the information feedback method according to the embodiment of the present disclosure;

[0024] Figure 7 A structural block diagram of an information feedback device according to an embodiment of the present disclosure is schematically shown; and

[0025] Figure 8 A schematic block diagram of an electronic device that can be used to implement the information feedback method of an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0026] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. Various details of the embodiments of the present disclosure are included to facilitate understanding, and they should be considered as merely exemplary. Therefore, it should be appreciated by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Likewise, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0027] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision, disclosure and application of the data involved (including but not limited to user personal information) comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good morals.

[0028] Figure 1 The application scenario diagram of the information feedback method, apparatus, device and medium according to the embodiments of the present disclosure is schematically shown.

[0029] like Figure 1 As shown, the application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a network 103, and a server 104. The network 103 is used to provide a medium for a communication link between the first terminal device 101, the second terminal device 102, and the server 104. The network 103 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0030] The user may use at least one of the first terminal device 101 and the second terminal device 102 to interact with the server 104 through the network 103 to receive or send messages, etc. Various communication client applications may be installed on the first terminal device 101 and the second terminal device 102, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).

[0031] The first terminal device 101 and the second terminal device 102 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0032] The server 104 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 101 and the second terminal device 102. The background management server may analyze and process received data such as user requests, and feed back processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.

[0033] It should be noted that the information feedback method provided in the embodiment of the present disclosure can generally be executed by the server 104. Accordingly, the information feedback device provided in the embodiment of the present disclosure can generally be set in the server 104. The information feedback method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 104 and can communicate with the first terminal device 101, the second terminal device 102 and / or the server 104. Correspondingly, the information encryption transmission device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 104 and can communicate with the first terminal device 101, the second terminal device 102 and / or the server 104.

[0034] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0035] Figure 2 The flowchart of the information feedback method according to the embodiment of the present disclosure is schematically shown.

[0036] like Figure 2 As shown, the information feedback method of this embodiment includes operations S210-240.

[0037] In operation S210, first input information input by a user is obtained.

[0038] In the embodiment of the present disclosure, the first input information refers to text information used by the user to express his or her need for generating a large language model. The user's conversation intention can be analyzed based on the first input information.

[0039] For example, the first input information input by the user is "Please help me generate a meeting minutes", and it can be determined from the first input information that the user's conversation intention requires a large model to generate a summary.

[0040] In operation S220, prompt information is determined based on the element content of the first input information.

[0041] In the embodiments of the present disclosure, element content refers to information content in the first input information that can represent the user's dialogue intention, or information content related to the user's dialogue intention. Prompt information refers to information that guides the user to supplement the missing elements in the first input information. The prompt information can be in the form of questions or fill-in-the-blanks to guide the user to provide more detailed supplements.

[0042] For example, the first input information input by the user is "Please help me generate an email to invite customer A to attend the company meeting." The elements that can be determined based on the first input information may be "the writing format is an email," "the recipient is customer A," and "the email content is an invitation to the recipient to attend the meeting." The missing elements in the first input information may be the number of words, occupation type, language style, etc. If only the first input information is input into the large model, the generated answer may have problems such as too few words and inconsistent style. Based on the first input information, prompt information can be used to guide the user to supplement information on the number of words and style. The prompt information can be in the form of a question, such as "In which language style do you want to write the email?", or in the form of filling in the blanks, such as "The number of words in the email needs to meet __ words."

[0043] In operation S230, second input information input by the user based on the prompt information is obtained.

[0044] In the embodiments of the present disclosure, the second input information refers to information that the user uses to further supplement his or her needs based on the prompt information.

[0045] For example, the prompt information is “in which language style do you want to write the email”, and the second input information received from the user is “formal style”.

[0046] In operation S240, feedback information for the user is generated through the macro model based on the first input information and the second input information.

[0047] The large model refers to a large language model, which is a machine learning model that can understand and generate human language. The feedback information refers to the feedback answer generated based on the first input information and the second input information.

[0048] For example, the user's first input information is "generate a reading note", and the second input information is "no less than 500 words" and "written from a positive perspective". The large model generates a 600-word reading note written from a positive perspective based on the first input information and the second input information.

[0049] In some dialogue scenarios with the big model, the first input information entered by the user is not enough for the big model to generate an answer that meets the user's needs at one time. After the user obtains the feedback information given by the big model, if the feedback information does not meet their needs, they need to further supplement their needs based on the feedback information so that the big model can improve the answer. In response to the above problems, the present disclosure proposes a big model auxiliary system that can obtain the personalized needs of users, and can understand the real intentions of users, so as to generate answers that meet user needs more accurately and quickly.

[0050] According to an embodiment of the present disclosure, determining prompt information based on the element content of the first input information includes: determining a target element for generating prompt information according to the element content of the first input information; and determining prompt information according to the target element.

[0051] In some embodiments of the present disclosure, an element refers to an element category that can represent a user demand, and an element content refers to specific information corresponding to the element.

[0052] For example, the first input information input by the user is "generate a 300-word composition with ideal as the theme". The first input information includes three elements: writing format, theme and word count. The element content corresponding to the writing format element is "composition", the element content corresponding to the theme element is "ideal", and the element content corresponding to the word count element is "300 words".

[0053] In the embodiments of the present disclosure, the target element refers to the missing element in the first input information input by the user. The missing element is determined as the target element according to the element content of the first input information, and prompt information is generated according to the target element to guide the user to supplement the target element and accurately improve the user's needs.

[0054] For example, if the user's first input information is "Please expand a sentence to 100 words", it can be determined that the elements contained in the first input information are the writing form and the number of words, and the corresponding element contents are "expand" and "100 words". However, the first input information does not provide a specific description of the specific expansion direction and writing techniques, which are important elements for generating answers. Therefore, the writing techniques and expansion directions can be determined as target elements, and prompt information can be generated to guide the user to supplement the writing techniques and expansion directions.

[0055] According to an embodiment of the present disclosure, determining a target element for generating prompt information based on element content of first input information may include: determining an input element corresponding to an information type of the first input information and the element content based on the element content of the first input information; matching the input element and multiple elements corresponding to the information type of the first input information, and determining a target element among the multiple elements, wherein the target element is different from the input element.

[0056] In some embodiments, user needs are usually diverse, and the elements corresponding to each need are not exactly the same. For example, the elements corresponding to document writing may be the number of words, subject, writing technique, etc., the elements corresponding to text translation may be the number of words, translation language, field, etc., and the elements corresponding to image generation may be the image style, picture composition, and image size, etc.

[0057] Therefore, before determining the target element missing from the first input information, it is necessary to determine the information type and input element of the first input information according to the element content of the first input information. The information type refers to the type of user demand represented by the first input information. The input element refers to the element corresponding to the element content contained in the first input information. The input element is matched with multiple elements corresponding to the information type of the first input information, and the element missing from the first input information is determined to be the target element.

[0058] For example, according to the element content of the first input information, it is determined that the input type of the first input information is type X, and type X includes elements ABCDE. Based on the element content extracted from the first input information, it can be determined that the input elements contained in the first input information are elements B and C. The input elements are matched with the elements corresponding to type X, so that the missing elements in the first input information are determined to be elements A, D, and E. At least one of elements A, D, and E is used as a target element, and prompt information is generated to guide the user to supplement the target element.

[0059] In the embodiments of the present disclosure, based on the user's input text, the user's needs can be qualitatively characterized. Since the requirements generated by users for specific categories tend to converge, the missing elements that the user may be concerned about but are not reflected in the current input text can be obtained through the key elements that the user generally pays attention to and the user's input text in a simple text feature matching manner. By obtaining the missing elements, the present disclosure actively guides the user to supplement the details, thereby improving the content of the needs, and can simultaneously improve the efficiency and satisfaction of the user in obtaining answers.

[0060] According to an embodiment of the present disclosure, determining prompt information according to a target element may include: generating prompt information based on the target element and a target sentence structure.

[0061] In the embodiments of the present disclosure, the target sentence structure refers to a sentence template corresponding to a target element. After determining the target element, the target element can be filled into the corresponding target sentence structure to quickly obtain prompt information.

[0062] For example, the target elements are application scenarios, language styles, writing categories, and other elements used to determine specific categories. The target sentence structure used can be "What do you want the (target element) of the generated answer to be?" The target elements are elements that can be directly defined by users, such as word count and image size. The target sentence structure used can be "Do you have any requirements for (target element)?"

[0063] According to an embodiment of the present disclosure, the method further includes: generating input information according to the first input information and the second input information. Specifically, it includes: adding the second input information to the sentence template generated based on the corresponding target element to obtain supplementary information; splicing the first input information with the supplementary information to obtain the input information.

[0064] In the embodiment of the present disclosure, if the two input information of the user are simply sent directly to the large model, ambiguity may occur. The first input information and the second input information may be processed to obtain input information for inputting into the large model.

[0065] For example, the sentence template corresponding to the target element "painting style" may be "the required painting style is __ style", and the second input information input by the user may be "simple drawing", "thick painting", "cartoon", etc. Putting the second input information into the sentence template can obtain supplementary information such as "the required painting style is cartoon style".

[0066] For example, the user's first input information is "Please generate a painting with cats as the theme", and the generated prompt information is "What painting style do you want?" and "Do you have any requirements for the image size?" The second input information input by the user based on the prompt information is "Comics" and "No requirements" respectively. If the first input information and the second input information are directly input into the large model, the input information obtained by the large model is "Please generate a comic with cats as the theme", and the large model may understand it as generating a comic with cats as the theme. According to an embodiment of the present disclosure, the element content "comics" corresponding to the target element "painting style" is placed in the corresponding generated sentence template, and the specific supplementary information "The painting style is comic style" can be obtained. The first input information and the supplementary information are spliced ​​together to obtain the input information "Please generate a painting with cats as the theme and comic style".

[0067] According to the embodiments of the present disclosure, based on the user's initial input and the additional supplements obtained based on the system guidance, the information input into the large model is comprehensively obtained according to the template and information splicing combination, so as to avoid problems such as information incoherence and ambiguity caused by multiple supplements, and help users obtain more accurate and comprehensive answers.

[0068] Figure 3 The following schematically shows a flow chart of an information feedback method according to another embodiment of the present disclosure.

[0069] like Figure 3 As shown, the information feedback method of this embodiment includes operations S310-S330.

[0070] In operation S310, a plurality of information types are determined according to historical input information.

[0071] In the embodiments of the present disclosure, historical input information refers to input information generated in historical interactions between the user and the big model before the user inputs the first input information. Information type refers to the type of user needs expressed by historical input information, for example, the information type can be document summary, sentence polishing, email writing, etc.

[0072] In operation S320, in the historical input information corresponding to each information type, information content with a number of occurrences higher than a threshold is used as element content.

[0073] In the embodiments of the present disclosure, for each type of information, the needs of users are usually relatively similar. Therefore, feature extraction can be performed on the same type of historical input information, and the same type of information content with a higher number of occurrences can be used as element content.

[0074] For example, in the information type of composition writing, there are 10 pieces of corresponding historical input information. Among them, 5 pieces of historical input information mentioned the requirements for the number of words, 7 pieces of historical input information mentioned the requirements for the composition theme, and 3 pieces of historical input information mentioned the requirements for the style. In the historical input information, information content related to fonts, composition themes, and styles can be used as element content of different categories.

[0075] In operation S330, multiple elements corresponding to each information type are obtained according to the element content.

[0076] For example, in the historical input information of composition writing types, the content of Category A elements includes "argumentative essays", "narrative essays", "reading notes", etc., and the content of Category B elements includes "parents", "famous works", "scenery", etc. Then, the composition writing type can be determined to correspond to the element "style" based on the content of Category A elements, and the composition writing type can be determined to correspond to the element "writing theme" based on the content of Category B elements.

[0077] According to an embodiment of the present disclosure, the user's input text can be matched according to the historical dialogue library to classify the user's needs. Generally speaking, the user's requirements for answer generation for a specific category tend to converge. For example, when requiring a document summary, the user may make requirements from the aspects of his or her career scenario, word count, and language style. These elements can be extracted from the user's historical dialogue records. Subsequently, through a simple text feature matching method, the missing elements that the user is usually more concerned about and are not reflected in the current input text are screened out, and the user is actively guided to supplement the missing elements, thereby generating an answer that satisfies the user. Based on the reference of the user's historical dialogue, the present disclosure provides personalized guidance and supplement to the user's input information, which can generate answers that better meet the user's needs and improve the user experience.

[0078] Figure 4 The following schematically shows a flow chart of an information feedback method according to another embodiment of the present disclosure.

[0079] like Figure 4 As shown, the information feedback method of this embodiment includes operations S401-S408.

[0080] In operation S401, first input information input by a user is obtained.

[0081] In operation S402, the information type of the first input information is determined according to the element content of the first input information.

[0082] In operation S403, an input element corresponding to the element content is determined according to the element content of the first input information.

[0083] In operation S404, a plurality of elements corresponding to the information type of the first input information is determined.

[0084] In operation S405 , a target element among the plurality of elements is determined.

[0085] In operation S406 , prompt information is generated based on a specific number of target elements and a target sentence structure.

[0086] In the embodiments of the present disclosure, if too many target elements are selected to generate prompt information and output to the user, the user experience may be poor, and there may be less important or unimportant elements among the more target elements. Based on the user's historical input information, the elements that the user usually pays more attention to, such as the elements that appear more frequently in the historical input information, can be screened out as target elements. Alternatively, the number of target elements can be set in advance to a specific number, and a specific number of elements can be randomly selected from multiple elements as target elements.

[0087] According to the embodiments of the present disclosure, the target elements can be selected based on importance, user's concern or randomness, etc. Users can choose different methods according to their needs, so that the generation of large model answers can meet different needs of users and improve user experience.

[0088] In operation S407, second input information input by the user based on the prompt information is obtained.

[0089] In operation S408 , feedback information for the user is generated through the large model based on the first input information and the second input information.

[0090] Figure 5 The following schematically shows a flow chart of an information feedback method according to another embodiment of the present disclosure.

[0091] like Figure 5 As shown, the information feedback method of this embodiment includes operations S501-S507.

[0092] In operation S501 , the user 10 inputs first input information to the electronic device 20 .

[0093] In operation S502, the electronic device 20 obtains the corresponding information type and multiple elements based on the element content of the first input information, and determines prompt information.

[0094] In an embodiment of the present disclosure, the electronic device 20 can store historical interaction information between the user 10 and the large model through a database with the user's permission. The historical interaction information can include historical input information of the user 10 and historical feedback information generated by the large model based on the historical input information.

[0095] Since the user's needs and the elements of interest are usually similar in the historical interaction between the user and the large model, by analyzing the user's historical interaction information, the historical interaction information can be classified according to the user's needs, and the elements of interest to the user can be extracted for each information type of interaction information. Therefore, after obtaining the first input information input by the user 10, the electronic device 10 can match the information type and the elements contained in the first input information based on the historical interaction information.

[0096] In operation S503, the electronic device 20 outputs prompt information.

[0097] In operation S504 , the user 10 inputs second input information to the electronic device 20 according to the prompt information.

[0098] In operation S505, the electronic device 20 inputs first input information and second input information to the macro model.

[0099] In operation S506 , the large model generates feedback information based on the first input information and the second input information.

[0100] In operation S507, the electronic device 20 outputs feedback information.

[0101] In the embodiment of the present disclosure, when the user inputs information to the big model, the electronic device will perform additional analysis steps based on the user's input information, and prompt some missing elements in the user's input information through the information obtained in the historical interaction information, and relay the prompt information to the dialog box to guide the user to supplement according to personalized needs. Finally, the user's initial input information and the user's personalized supplement obtained through the prompt information are combined so that the big model can generate more accurate answers, improve the user's model usage efficiency, and optimize the user experience.

[0102] Figure 6A-6B The schematic diagrams schematically show the principles of two exemplary information feedback methods.

[0103] like Fig. 6A As shown, in one example, the first input information 601 is text information that the user wants to input to the large language model. After the first input information 601 is processed by the model, feedback information 602 generated by the large model based on the first input information 601 is obtained.

[0104] like Figure 6BAs shown, according to an embodiment of the present disclosure, the first input information 601 input by the user is matched with the historical input information 603, so as to determine that the user intention expressed by the first input information 601 is information type 604. Multiple elements corresponding to the information type 604 can be extracted from the historical input information 603, and the element set 605 is a set composed of the corresponding multiple elements. The first input information 601 is subjected to element extraction and matched with the element set 605 to obtain the missing element 606 in the first input information 601. Based on the missing element 606, a prompt information 607 is generated to remind the user to supplement. The information supplemented by the user is the second input information 608, and the final input information 609 is obtained by comprehensive confirmation based on the first input information 601 and the second input information 608. The input information 609 is input into the large model to obtain the feedback information 602 generated by the large model based on the input information 609.

[0105] Compared to directly inputting the user's input information into the big model to obtain feedback results, in the embodiments of the present invention, due to the addition of an additional analysis step based on the user's input information, the information type and corresponding elements are determined according to historical interaction information, the missing elements in the user's input information are predicted, and corresponding prompt information is generated to guide the user to supplement their personalized needs, thereby improving the efficiency of using the big model and making the answers generated by the big model more in line with user needs.

[0106] Figure 7 The structural block diagram of the information feedback device according to the embodiment of the present disclosure is schematically shown.

[0107] like Figure 7 As shown, the information feedback device 700 of this embodiment includes a first acquisition module 710 , a determination module 720 , a second acquisition module 730 and a generation module 740 .

[0108] The first acquisition module 710 is used to obtain first input information input by the user. In one embodiment, the first acquisition module 710 can be used to perform the operation S210 described above, which will not be described in detail here.

[0109] The determination module 720 is used to determine the prompt information based on the element content of the first input information. In one embodiment, the determination module 720 can be used to perform the operation S220 described above, which will not be described in detail here.

[0110] The second acquisition module 730 is used to obtain the second input information input by the user based on the prompt information. In one embodiment, the second acquisition module 730 can be used to perform the operation S230 described above, which will not be described in detail here.

[0111] The generating module 740 is used to generate feedback information for the user through the large model based on the first input information and the second input information. In one embodiment, the generating module 740 can be used to perform the operation S240 described above, which will not be described in detail here.

[0112] According to an embodiment of the present disclosure, the determination module 720 includes a first determination submodule and a second determination submodule.

[0113] The first determination submodule is used to determine a target element for generating prompt information according to the element content of the first input information.

[0114] The second determination submodule is used to determine prompt information according to the target element.

[0115] According to an embodiment of the present disclosure, the first determining submodule includes a determining unit and a matching unit.

[0116] The determination unit is used to determine the information type of the first input information and the input element corresponding to the element content according to the element content of the first input information.

[0117] The matching unit is used to match the input element with multiple elements corresponding to the information type of the first input information, and determine a target element among the multiple elements, wherein the target element is different from the input element.

[0118] According to an embodiment of the present disclosure, the information feedback device 700 further includes a selection module, and the second determination submodule includes a first generation unit.

[0119] A selection module is used to select a specific number of target elements that meet the requirements among the target elements.

[0120] The generating unit is used to generate prompt information based on a specific number of target elements and a target sentence structure.

[0121] According to an embodiment of the present disclosure, the information feedback device 700 further includes a type determination module, a screening module and an element selection module.

[0122] The type determination module is used to determine multiple information types based on historical input information.

[0123] The screening module is used to select information content with a number of occurrences higher than a threshold as element content in the historical input information corresponding to each information type.

[0124] The element selection module is used to obtain multiple elements corresponding to each information type according to the element content.

[0125] According to an embodiment of the present disclosure, the second determining submodule includes a second generating unit.

[0126] The second generating unit is used to generate prompt information based on the target element and the target sentence structure.

[0127] According to an embodiment of the present disclosure, the information feedback device 700 further includes an input information generation module, and the input information generation module includes a supplement submodule and a splicing submodule.

[0128] The input information generating module is used to generate input information according to the first input information and the second input information.

[0129] The supplementing submodule is used to add the second input information to the sentence template generated based on the target element to obtain supplementary information.

[0130] The splicing submodule is used to splice the first input information with the supplementary information to obtain input information.

[0131] Figure 8 A schematic block diagram of an electronic device that can be used to implement the information feedback method of an embodiment of the present disclosure is schematically shown.

[0132] like Figure 8 As shown, the electronic device 800 according to an embodiment of the present disclosure includes a processor 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage part 808 to a random access memory (RAM) 803. The processor 801 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a dedicated microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 801 may also include an onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0133] In RAM 803, various programs and data required for the operation of the electronic device 800 are stored. The processor 801, ROM 802, and RAM 803 are connected to each other through a bus 804. The processor 801 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 802 and / or RAM 803. It should be noted that the program can also be stored in one or more memories other than ROM 802 and RAM 803. The processor 801 can also perform the following operations by executing the program stored in the one or more memories: obtaining at least one historical search path for the index map, the index map includes at least two layers, each layer includes at least two nodes, and each historical search path includes at least two nodes in at least two layers; according to at least one historical search path, determining the path information and time information of at least one target node in the index map, wherein the path information of the target node represents the distance from the search start point of at least one historical search path to the target node; based on the path information and time information of the target node, determining the importance of the target node; according to the importance of the target node, adjusting the layer level of the target node in the index map and adjusting the connection relationship between nodes in the same layer.

[0134] According to an embodiment of the present disclosure, the electronic device 800 may further include an input / output (I / O) interface 805, which is also connected to the bus 804. The electronic device 800 may further include one or more of the following components connected to the I / O interface 805: an input portion 806 including a keyboard, a mouse, etc.; an output portion 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 808 including a hard disk, etc.; and a communication portion 809 including a network interface card such as a LAN card, a modem, etc. The communication portion 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed, so that a computer program read therefrom is installed into the storage portion 808 as needed.

[0135] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0136] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 802 and / or RAM 803 described above and / or one or more memories other than ROM 802 and RAM 803.

[0137] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the information feedback method provided by the embodiment of the present disclosure.

[0138] The above functions defined in the system / device of the embodiment of the present disclosure are executed when the computer program is executed by the processor 801. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0139] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 809, and / or installed from a removable medium 811. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0140] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 809, and / or installed from the removable medium 811. When the computer program is executed by the processor 801, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.

[0141] It should be noted that the collection, storage, use, processing, transmission, provision, disclosure and application of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations, necessary confidentiality measures have been taken, and they do not violate public order and good morals. In the technical solution of this disclosure, the user's authorization or consent is obtained before obtaining or collecting user personal information.

[0142] According to an embodiment of the present invention, the program code for executing the computer program provided by the embodiment of the present invention can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).

[0143] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0144] In addition, unless the steps are specifically described or must occur in sequence, the order of the above steps is not limited to the above list, and can be changed or rearranged according to the required design. And the above embodiments can be mixed and matched with each other or with other embodiments based on design and reliability considerations, that is, the technical features in different embodiments can be freely combined to form more embodiments.

[0145] It should be noted that, unless it is explicitly stated that there is a sequence of execution between different operations shown in the flowchart in the embodiments of the present disclosure, or there is a sequence of execution between different operations in technical implementation, otherwise, the execution order of multiple operations may not be prioritized, and multiple operations may also be executed simultaneously.

[0146] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems may also be used together with the enlightenment based thereon. According to the above description, it is apparent that the structure required for constructing such systems is. In addition, the present disclosure is not directed to any particular programming language either. It should be understood that various programming languages ​​may be utilized to implement the disclosure described herein, and the description of the specific languages ​​above is for the purpose of disclosing the best mode of implementation of the present disclosure.

[0147] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present invention may be combined and / or coupled in a variety of ways, even if such combinations and / or couplings are not explicitly described in the present invention. In particular, the features described in the various embodiments and / or claims of the present invention may be combined and / or coupled in a variety of ways without departing from the spirit and teachings of the present invention. All of these combinations and / or couplings fall within the scope of the present invention.

[0148] The embodiments of the present invention have been described above. However, these embodiments are only for the purpose of illustration, and are not intended to limit the scope of the present invention. Although each embodiment has been described above, this does not mean that the measures in each embodiment cannot be advantageously used in combination. The scope of the present invention is limited by the appended claims and their equivalents. Without departing from the scope of the present invention, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.

Claims

1. An information feedback method, comprising: Obtaining first input information input by a user; Determining prompt information based on the element content of the first input information; Obtaining second input information input by the user based on the prompt information; Based on the first input information and the second input information, feedback information for the user is generated through a large model.

2. The method according to claim 1, wherein: The determining of prompt information based on the element content of the first input information includes: Determining a target element for generating the prompt information according to the element content of the first input information; The prompt information is determined according to the target element.

3. The method according to claim 2, wherein: The determining, according to the element content of the first input information, a target element for generating the prompt information includes: Determining, according to the element content of the first input information, the information type of the first input information and the input element corresponding to the element content; The input element and a plurality of elements corresponding to the information type of the first input information are matched to determine a target element among the plurality of elements, wherein the target element is different from the input element.

4. The method according to claim 3, wherein: Also includes: Selecting a specific number of target elements that meet the requirements from the target elements; The determining the prompt information according to the target element includes: The prompt information is generated based on the specific number of target elements and the target sentence structure.

5. The method according to claim 3, wherein: The method further comprises: Determine multiple information types based on historical input information; In the historical input information corresponding to each information type, the information content with a number of occurrences exceeding a threshold is used as the element content; and A plurality of elements corresponding to each information type are obtained according to the element content.

6. The method according to claim 1, wherein: The determining the prompt information according to the target element includes: The prompt information is generated based on the target elements and the target sentence structure.

7. The method according to claim 1, wherein: Also includes: Generating input information according to the first input information and the second input information includes: Adding the second input information to a sentence template generated based on the target element to obtain supplementary information; The first input information and the supplementary information are concatenated to obtain the input information.

8. An information feedback device, comprising: A first acquisition module, used to obtain first input information input by a user; A determination module, configured to determine prompt information based on the element content of the first input information; A second acquisition module, used to obtain second input information input by the user based on the prompt information; A generation module is used to generate feedback information for the user through a large model based on the first input information and the second input information.

9. An electronic device, comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are caused to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to perform the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Interactive knowledge feedback method and device and computer storage medium

    CN112380332A

  • Intelligent interaction method and system based on large model, terminal, server and medium

    CN117609443A

  • AI large model prompt information generation method and device, equipment and storage medium

    CN117785917A

  • Response statement generation method and device, electronic equipment and storage medium

    CN117874207A

  • Interaction method and system based on large model, terminal, server and storage medium

    CN117992583A