Information query method and device and storage medium

By providing auxiliary information based on third-party content information on the e-commerce platform, it helps users supplement search conditions, solves the problem of users having difficulty selecting products in a wide range of demand scenarios, improves query accuracy and efficiency, and simplifies the shopping process.

CN118535791APending Publication Date: 2024-08-23ZHEJIANG TMALL TECH CO LTD

Patent Information

Application Number
CN202410347694.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-25
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

On e-commerce platforms, when users encounter broad demand scenarios when searching for products, there are too many search results, making it difficult for users to choose suitable products. They need to jump out of the platform to consult third-party information, which is cumbersome and costly.

Method used

By providing auxiliary information determined based on third-party content information during the query process, it helps users supplement more complete search conditions, including feature information describing objects, from which users can select target features for keyword supplementation to improve query accuracy and efficiency.

Benefits of technology

It reduces the steps for users to consult third-party information to supplement keywords, improves query accuracy and efficiency, and simplifies users' shopping paths.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535791A
    Figure CN118535791A
Patent Text Reader

Abstract

The invention provides an information query method and device and a storage medium, and the method comprises the steps: in response to a query request of a user, displaying auxiliary information determined according to the query request, the auxiliary information being determined according to third-party content information related to the query request; the auxiliary information comprises feature information of at least one description object; in response to a confirmation instruction of the user for the auxiliary information, determining a target feature matched with the confirmation instruction; and retrieving according to the target feature and the query request to obtain a corresponding query result, and returning the query result to the user. According to the method, the auxiliary information determined based on the third-party content information is provided for the user in the query process, the user is assisted to supplement more perfect search conditions, the step that the user looks up third-party data and supplements keywords is omitted, and the query precision and efficiency are further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information processing technology, and in particular to an information query method, device and storage medium. Background Art

[0002] With the development of the Internet, users are increasingly inclined to purchase goods online through e-commerce platforms. Traditional e-commerce platforms generally provide users with a search function so that users can search for information about goods of interest through the e-commerce platform.

[0003] In traditional e-commerce scenarios, when users have shopping needs, they can come to the e-commerce platform to search for corresponding products by entering keywords. However, in some relatively broad demand scenarios, such as user needs for category words such as headphones and scene words such as camping, the products searched out by such keywords will be very diverse, causing users to "not know how to choose" at all. At this time, in order to assist in selection, users often obtain information about brands and products by reading a large number of articles and posts. However, in this model, users need to jump out of the e-commerce platform and go to other content platforms (such as Xiaohongshu or Zhihu) to read recommended posts, and even need to read posts repeatedly on multiple content platforms, compare back and forth, until they know roughly what brand, style or style they should buy, and then jump to the e-commerce platform to change the search terms and search again. The entire purchase path is costly and cumbersome for users. Summary of the invention

[0004] The main purpose of the embodiments of the present application is to provide an information query method, device and storage medium, which can provide users with auxiliary information determined based on third-party content information during the query process to assist users in supplementing more complete search conditions. This not only saves users from the step of consulting third-party materials to supplement keywords, but also further improves the query accuracy and efficiency.

[0005] In a first aspect, an embodiment of the present application provides an information query method, comprising: in response to a user's query request, displaying auxiliary information determined according to the query request, the auxiliary information being determined based on third-party content information related to the query request; the auxiliary information comprising at least one feature information describing an object; in response to the user's confirmation instruction for the auxiliary information, determining a target feature that matches the confirmation instruction; retrieving a corresponding query result based on the target feature and the query request, and returning the query result to the user.

[0006] In one embodiment, in response to a user's query request, displaying auxiliary information determined based on the query request includes: in response to the user's query request, acquiring third-party content information related to the query request; determining the auxiliary information matching the query request based on the third-party content information, and displaying the auxiliary information.

[0007] In one embodiment, the display of auxiliary information determined according to the query request in response to the user's query request includes: in response to the user's query request, rewriting the query request into a question request in a preset format; retrieving the corresponding auxiliary information from a preset database according to the question request, and displaying the auxiliary information.

[0008] In one embodiment, before retrieving the corresponding auxiliary information in a preset database according to the question request, it also includes: obtaining a preset question sample; extracting related articles whose relevance to the preset question sample is greater than a preset threshold from a specified knowledge base; generating auxiliary information corresponding to the preset question sample based on the related articles; and storing the mapping relationship between the preset question sample and the auxiliary information in the preset database.

[0009] In one embodiment, the auxiliary information corresponding to the preset question sample is generated according to the related articles, including: generating target prompt words of a preset large model according to the related articles and preset prompt words, inputting the target prompt words into the preset large model, so that the preset large model summarizes the content of the related articles according to the target prompt words, and outputs the auxiliary information corresponding to the preset question sample, wherein the auxiliary information includes the description object in the related articles and the characteristic keywords of the description object.

[0010] In one embodiment, each of the preset question samples corresponds to a plurality of related articles; the generating of auxiliary information corresponding to the preset question sample based on the related articles also includes: verifying the output result of the preset large model, if the output result does not fully cover the plurality of related articles, generating supplementary summary information based on the uncovered related articles, adding the supplementary summary information to the output result, and generating auxiliary information corresponding to the preset question sample.

[0011] In one embodiment, the extracting of related articles whose relevance to the preset question sample is greater than a preset threshold from a designated knowledge base includes: performing semantic analysis on the preset question sample to determine the knowledge base category corresponding to the preset question sample; searching for candidate articles matching the preset question sample from the knowledge base corresponding to the knowledge base category; performing source filtering on the candidate articles to retain candidate articles originating from preset trusted sites; eliminating invalid information in the filtered candidate articles according to preset rules to generate valid candidate articles; calculating the relevance between the valid candidate articles and the preset question sample according to preset weight parameters, and determining the valid candidate articles whose relevance is greater than the preset threshold and are ranked in the front preset position as the related articles.

[0012] In one embodiment, storing the mapping relationship between the preset question sample and the auxiliary information in the preset database includes: converting the mapping relationship between the preset question sample and the auxiliary information into a mapping vector of a preset length, and storing the mapping vector in the preset database.

[0013] In one embodiment, the auxiliary information includes multiple feature keywords describing an object; and the step of determining a target feature that matches the confirmation instruction in response to a confirmation instruction from the user regarding the auxiliary information comprises: in response to a confirmation instruction from the user regarding the multiple feature keywords describing an object, determining the feature keyword of the target description object specified by the confirmation instruction as the target feature.

[0014] In one embodiment, the auxiliary information includes source links of the characteristic keywords of the multiple description objects; the method also includes: in response to the user's trigger instruction for the source link, displaying the source article content corresponding to the description object.

[0015] In one embodiment, the preset large model is obtained by performing supervised fine-tuning on a pre-trained large language model.

[0016] In a second aspect, an embodiment of the present application provides an information query method, comprising: in response to a user's query request for product information, displaying product auxiliary information determined according to the query request, the auxiliary information including feature information of at least one product; in response to the user's confirmation instruction for the product auxiliary information, determining a target feature that matches the confirmation instruction; retrieving a corresponding product query result based on the target feature and the query request, and returning the product query result to the user.

[0017] In a third aspect, an embodiment of the present application provides an information query device, including:

[0018] A first display module, configured to display auxiliary information determined according to a query request of a user in response to the query request, wherein the auxiliary information is determined according to third-party content information related to the query request; the auxiliary information includes at least one feature information describing an object;

[0019] a determination module, configured to determine, in response to a confirmation instruction of the user for the auxiliary information, a target feature matching the confirmation instruction;

[0020] The query module is used to retrieve corresponding query results according to the target characteristics and the query request, and return the query results to the user.

[0021] In one embodiment, the first display module is used to respond to a user's query request and obtain third-party content information related to the query request; determine the auxiliary information matching the query request based on the third-party content information, and display the auxiliary information.

[0022] In one embodiment, the first display module is used to respond to a user's query request and rewrite the query request into a question request in a preset format; retrieve the corresponding auxiliary information from a preset database according to the question request, and display the auxiliary information.

[0023] In one embodiment, it also includes: an acquisition module, used to obtain a preset question sample before retrieving the corresponding auxiliary information in the preset database according to the question request; an extraction module, used to extract related articles whose relevance to the preset question sample is greater than a preset threshold from a specified knowledge base; a generation module, used to generate auxiliary information corresponding to the preset question sample based on the related articles; and a storage module, used to store the mapping relationship between the preset question sample and the auxiliary information in the preset database.

[0024] In one embodiment, the generation module is used to generate target prompt words of a preset large model based on the related articles and preset prompt words, and input the target prompt words into the preset large model so that the preset large model summarizes the contents of the related articles according to the target prompt words, and outputs auxiliary information corresponding to the preset question samples, wherein the auxiliary information includes the description objects in the related articles and the characteristic keywords of the description objects.

[0025] In one embodiment, each of the preset question samples corresponds to multiple related articles; the generation module is also used to verify the output results of the preset large model. If the output results do not fully cover the multiple related articles, supplementary summary information is generated based on the uncovered related articles, and the supplementary summary information is added to the output results to generate auxiliary information corresponding to the preset question sample.

[0026] In one embodiment, the extraction module is used to perform semantic analysis on the preset question sample to determine the knowledge base category corresponding to the preset question sample; search for candidate articles matching the preset question sample from the knowledge base corresponding to the knowledge base category; perform source filtering on the candidate articles to retain candidate articles from preset trusted sites; eliminate invalid information in the filtered candidate articles according to preset rules to generate valid candidate articles; calculate the correlation between the valid candidate articles and the preset question sample according to preset weight parameters, and determine the valid candidate articles whose correlation is greater than a preset threshold and are ranked in a preset front position as the related articles.

[0027] In one embodiment, the storage module is used to convert the mapping relationship between the preset question sample and the auxiliary information into a mapping vector of a preset length, and store the mapping vector in the preset database.

[0028] In one embodiment, the auxiliary information includes multiple feature keywords describing the object; and a determination module is used to respond to the user's confirmation instruction for the multiple feature keywords describing the object, and determine the feature keyword of the target description object specified by the confirmation instruction as the target feature.

[0029] In one embodiment, the auxiliary information includes source links of the characteristic keywords of the multiple description objects; the device also includes: a second display module, which is used to display the source article content of the corresponding description object in response to the user's trigger instruction for the source link.

[0030] In one embodiment, the preset large model is obtained by performing supervised fine-tuning on a pre-trained large language model.

[0031] In a fourth aspect, an embodiment of the present application provides an electronic device, including:

[0032] at least one processor; and

[0033] a memory communicatively coupled to the at least one processor;

[0034] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the electronic device to execute the method described in any one of the above aspects.

[0035] In a fifth aspect, an embodiment of the present application provides a cloud device, including:

[0036] at least one processor; and

[0037] a memory communicatively coupled to the at least one processor;

[0038] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the cloud device to execute the method described in any one of the above aspects.

[0039] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When a processor executes the computer-executable instructions, the method described in any one of the above aspects is implemented.

[0040] In a seventh aspect, an embodiment of the present application provides a computer program product, including a computer program, which implements the method described in any of the above aspects when executed by a processor.

[0041] The information query method, device and storage medium provided in the embodiments of the present application display corresponding auxiliary information to the user for the query request input by the user. The auxiliary information is determined based on the third-party content information related to the query request. The auxiliary information includes feature information of at least one descriptive object related to the query request, so that the user can select suitable target features from the auxiliary information for keyword supplementation. The target features are searched together with the query request input by the user as search conditions to obtain more accurate query results and return them to the user. In this way, by providing the user with auxiliary information determined based on the third-party content information during the query process, the user is assisted in supplementing more complete search conditions, which not only saves the step of the user consulting third-party materials to supplement keywords, but also further improves the query accuracy and efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. Obviously, the drawings described below are some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.

[0043] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0044] Figure 2 A schematic diagram of an application scenario of an information query system provided in an embodiment of the present application;

[0045] Figure 3A A schematic diagram of a framework flow of an information query system provided in an embodiment of the present application;

[0046] Figure 3B A schematic diagram of a framework of an information query system provided in an embodiment of the present application;

[0047] Figure 4 A flowchart of an information query method provided in an embodiment of the present application;

[0048] Figure 5 A schematic diagram of a quark search provided in an embodiment of the present application;

[0049] Figure 6 A schematic diagram of product information query interaction in an e-commerce scenario provided by an embodiment of the present application;

[0050] Figure 7 A schematic diagram of product information query interaction in an e-commerce scenario provided by an embodiment of the present application;

[0051] Figure 8 A flowchart of an information query method provided in an embodiment of the present application;

[0052] Fig. 9 A flowchart of an information query method provided in an embodiment of the present application;

[0053] Fig.10 A schematic diagram of the structure of an information query device provided in an embodiment of the present application;

[0054] Fig.11 A schematic diagram of the structure of a cloud device provided in an embodiment of the present application.

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

[0056] Here, exemplary embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application.

[0057] The term "and / or" in this article is used to describe the association relationship of associated objects, specifically indicating that there may be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0058] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0059] In order to clearly describe the technical solution of the embodiment of the present application, the terms involved in the present application are first defined:

[0060] AI: Artificial Intelligence.

[0061] Generative AI: Generative AI is an artificial intelligence technology that uses machine learning models and deep learning technology to generate new content by studying patterns in historical data. It can be text, images, audio or video. Generative AI does not generate output based on given rules or data, but autonomously generates new content, similar to human creation.

[0062] LLM: Large Language Model, a natural language processing model based on deep learning, which can learn the grammar and semantics of natural language and generate human-readable text. Large language models can handle a variety of natural language tasks, such as text classification, question answering, dialogue, etc., and are an important path to artificial intelligence.

[0063] SFT: Supervised Fine Tuning, a supervised fine-tuning learning, a deep learning strategy, usually used on a pre-trained large language model, using labeled data to fine-tune the model to adapt it to a specific task or domain. API: Application Programming Interface, application programming interface.

[0064] LangChain: is a programming framework that helps use large language models (LLMs) in applications, that is, a framework for combining large language models with external computing and data sources and APIs.

[0065] Prompt: A prompt is a natural language input, similar to a command or instruction, that lets the AI ​​model know what it needs to do.

[0066] RAG: Retrieval Augmented Generation, knowledge retrieval enhancement, obtains relevant knowledge through retrieval and integrates it into the prompt, so that the large model can refer to the corresponding knowledge and give reasonable answers.

[0067] Quark: Quark Browser is an intelligent search APP under Alibaba, equipped with a high-speed AI engine.

[0068] ChatGPT: Chat Generative Pre-trained Transformer, a chatbot program developed by OpenAI.

[0069] GPT: Generative Pre-Trained Transformer, a generative pre-trained Transformer model, is a deep learning model for text generation based on the Internet and trained with available data.

[0070] Dual-tower model: a model structure with "item side model + user side model + interoperability layer".

[0071] CoROM: A dual-tower text representation model that designs special pre-training tasks for retrieval scenarios. The main idea of ​​CoROM is to increase the probability of keywords in the text being masked (marked) during the pre-training stage, so that the model can better capture keyword-related semantics.

[0072] GTE: Gegeral Text Embeddings, a large text embedding model. Based on contrastive learning, a unified text embedding model is trained on mixed datasets from multiple sources. By significantly increasing the amount of training data in the unsupervised pre-training stage and the supervised fine-tuning stage, significant performance improvements can be achieved on existing embedding models.

[0073] CoSENT: A supervised sentence embedding scheme that is more relevant to the evaluation objective because it directly trains cos similarity.

[0074] text2vec-large-chinese: A Chinese text vectorization model trained using the CoSENT method and performing well in multiple Chinese test set evaluations.

[0075] pad: padding, used to fill in the gaps in the input sequence. In NLP tasks, the lengths of input sequences are usually different. In order to process and calculate these sequences, they usually need to be aligned to the same length. In this case, pad tokens are needed to fill in the gaps in the sequence so that all sequences have the same length.

[0076] Embedding: Vectorization, embedding refers to the process of mapping high-dimensional data (such as text, pictures, audio) to a low-dimensional space. The embedding vector is usually a vector composed of real numbers, which represents the input data as a point in a continuous numerical space.

[0077] Epoch: training round, when a complete data set passes through the neural network once and returns once, this process is called an epoch. In other words, all training samples have undergone one forward propagation and one backward propagation in the neural network.

[0078] The information query method of the embodiment of the present application can be applied to any field that requires human-computer interaction processing.

[0079] Taking the e-commerce scenario as an example, traditional e-commerce platforms generally provide users with a search function so that users can search for information about products of interest through the e-commerce platform. In the traditional e-commerce scenario, when users have shopping needs, they can come to the e-commerce platform to search for the corresponding products by entering keywords. However, in some relatively broad demand scenarios, such as user needs for category words such as headphones and scene words such as camping, the products searched by such keywords will be very diverse, causing users to "not know how to choose" at all. At this time, in order to assist in the selection, users often obtain information about brands and products by reading a large number of articles and posts. However, in this mode, users need to jump out of the e-commerce platform and go to other content platforms (such as Xiaohongshu or Zhihu) to read recommended posts, and even need to read posts repeatedly on multiple content platforms, compare back and forth, until they know what brand, style or style they should buy, and then jump to the e-commerce platform to change the search terms and search again. The entire purchase path is costly and cumbersome for users.

[0080] In order to solve the above problems, the embodiment of the present application provides an information query solution, which displays corresponding auxiliary information to the user for the query request input by the user, and the auxiliary information is determined based on the third-party content information related to the query request. The auxiliary information includes feature information of multiple descriptive objects related to the query request, which is convenient for the user to select appropriate target features from the auxiliary information for keyword supplementation. The target features are searched together with the query request input by the user as search conditions to obtain more accurate query results and return them to the user. In this way, by providing the user with auxiliary information determined based on third-party content information during the query process, the user is assisted in supplementing more complete search conditions, which not only saves the user from the steps of consulting third-party materials and supplementing keywords by themselves, but also further improves the query accuracy and efficiency.

[0081] Some embodiments of the present application are described in detail below in conjunction with the accompanying drawings. In the case where there is no conflict between the embodiments, the following embodiments and the features in the embodiments can be combined with each other. In addition, the step sequence in the following method embodiments is only an example and not a strict limitation.

[0082] like Figure 1 As shown, this embodiment provides an electronic device 1, including: at least one processor 11 and a memory 12, Figure 1 A processor is taken as an example. The processor 11 and the memory 12 are connected via a bus 10. The memory 12 stores instructions that can be executed by the processor 11, and the instructions are executed by the processor 11 so that the electronic device 1 can execute all or part of the process of the method in the following embodiment, so as to provide the user with auxiliary information determined based on third-party content information during the query process, and assist the user to supplement more complete search conditions, which not only saves the user from the step of consulting third-party materials to supplement keywords, but also further improves the query accuracy and efficiency.

[0083] In one embodiment, the electronic device 1 may be a mobile phone, a tablet computer, a laptop computer, a desktop computer, or a large computing system composed of multiple computers.

[0084] Figure 2 Schematic diagram of an information query system application scenario 200 provided in an embodiment of the present application. Figure 2 As shown, the system includes: a server 210 and a terminal 220, wherein:

[0085] Server 210 may be a data platform that provides information query services, such as an online shopping platform in an e-commerce scenario. In actual scenarios, an online shopping platform may have multiple servers 210. Figure 2 In the figure, one server 210 is taken as an example.

[0086] The terminal 220 may be a computer, mobile phone, tablet or other device used by the user to log in to the online shopping platform. There may be multiple terminals 220. Figure 2 Two terminals 220 are taken as an example for illustration.

[0087] The terminal 220 and the server 210 can transmit information via the Internet, so that the terminal 220 can access the data on the server 210. The terminal 220 and / or the server 210 can be implemented by the electronic device 1.

[0088] The information query solution of the embodiment of the present application can be deployed on the server 210, can also be deployed on the terminal 220, or can be partially deployed on the server 210 and partially deployed on the terminal 220. In actual scenarios, it can be selected based on actual needs, and this embodiment does not limit it.

[0089] When the information query solution is fully or partially deployed on the server 210 , a calling interface may be opened to the terminal 220 to provide algorithm support to the terminal 220 .

[0090] The method provided in the embodiment of the present application can be implemented by executing the corresponding software code by the electronic device 1, and can be implemented by exchanging data with the server. The electronic device 1 can be a local terminal device. When the method is run on the server, the method can be implemented and executed based on the cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0091] In a possible implementation, the method provided in the embodiment of the present application provides a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or can be the client device in the cloud interaction system mentioned above.

[0092] like Figure 3A As shown, it is a schematic diagram of the architecture flow of the information query system of an embodiment of the present application, taking the scenario in which a buyer user in an e-commerce scenario performs information query through an e-commerce platform as an example, wherein:

[0093] The buyer user enters a query request through the terminal 221, and the server 210 returns corresponding auxiliary information from the preset data according to the query request, and displays the corresponding auxiliary information on the interactive interface of the terminal. The auxiliary information includes feature information of at least one descriptive object related to the query request. The user can select appropriate target features from the auxiliary information to supplement keywords. The server 210 searches the target features together with the query request input by the user as search conditions to obtain more accurate query results and return them to the user. In this way, in the e-commerce scenario, by providing users with auxiliary information determined based on third-party content information during the query process, users are assisted in supplementing more complete search conditions, which not only saves the step of users consulting third-party materials to supplement keywords themselves, but also further improves the query accuracy and efficiency, and improves the interactive experience.

[0094] like Figure 3B As shown, it is a schematic diagram of the framework of the information query system of an embodiment of the present application. Taking the e-commerce scenario as an example, the overall technical solution is divided into two stages, online and offline. The offline part mainly includes: article source, quality verification, LLM production and content verification:

[0095] Article source: First, extract related articles of relevant question samples from designated platforms 1 and 2. For example, collect high-quality posts related to common questions of users in the standard product industry of e-commerce platforms on content platforms such as Xiaohongshu and Zhihu, and establish a mapping relationship from query-question-post, and maintain it in the background database as a data source.

[0096] Quality verification: Perform quality verification on article diversity and article richness. For example, some articles contain less brand content, or the source type is relatively single, such as only from Zhihu or Xiaohongshu, or the source articles are relatively small. It is necessary to verify the length of the article, the number of source types, etc. to ensure the quality of the data source and reduce the problem of single content in subsequent LLM extraction.

[0097] LLM production: The LLM model is used to extract and summarize high-quality articles from designated platforms 1 and 2, which can include summaries of multiple articles and summaries of a single article. For example, through the dimensions of single article summaries, brand extraction, recommendation descriptions, and multiple article richness, auxiliary information such as mainstream recommended brands and user feedback descriptions on brands is generated.

[0098] Content verification: Perform content verification on the extraction results, such as brand no result verification and LLM security verification, to ensure that the auxiliary information is authentic and credible.

[0099] Management platform: By building a management platform for offline data, we support production and operation to correct abnormal data, automatically conduct generative AI data security checks, and manage data online and offline to avoid errors caused by manual operations. The verified auxiliary information can be transmitted to the management platform through data synchronization for management, such as data review, revision, product operation intervention, etc.

[0100] In the online stage, we recall the words with high relevance to the user's query and the questions prepared in advance, and obtain the latest auxiliary information from the management platform in real time to complete the query results, complete the single article summary, brand recommendation, brand description, links and other content, and display them to the user.

[0101] Please see Figure 4 , which is an information query method of an embodiment of the present application, the method can be Figure 1 The electronic device 1 shown is used to perform and can be applied to Figure 2-3B In the application scenario of information search shown in , by providing targeted auxiliary information to users during the query process, the user is assisted in supplementing more complete search conditions, which not only saves the user from the step of looking up information and supplementing keywords by himself, but also further improves the query accuracy and efficiency. In this embodiment, the terminal 220 is used as an execution end as an example, and the method includes the following steps:

[0102] Step 401: In response to a user's query request, display auxiliary information determined according to the query request, where the auxiliary information is determined according to third-party content information related to the query request; the auxiliary information includes at least one feature information describing an object.

[0103] In this step, the query request is a query request triggered by the user, and the query request may include the user's input information, such as a commodity query request in an e-commerce scenario. For example, if a user wants to buy a speaker and enters the search keyword "speaker" through the e-commerce platform, the query request includes the search keyword "speaker". The query request may also be a knowledge question request, such as a user entering "How to choose a gift?", "How to match clothes in summer?", "Today's hot news?" and other query questions on the e-commerce platform. In actual scenarios, the query request entered by the user is often not accurate enough. The search conditions can be improved by supplementing the user's query request with key information. When the user's query request is received, the corresponding auxiliary information is determined according to the query request. The auxiliary information is determined according to the third-party content information related to the query request. Here, the third-party content information may be content information from a third-party platform, such as product experience posts and sharing articles related to the query request on a third-party platform that the user often reads. The third-party content information may also preset the content of the knowledge base. Determining the auxiliary information through the third-party content information not only meets the user's expectations, but also saves the user from viewing the third-party content himself. Here, the auxiliary information includes at least one feature information describing an object, and the description object may be an item, such as a commodity in an e-commerce scenario. The object to be described can also be a topic, weather, news, event, etc. Feature information can be information that summarizes the basic attribute information, performance, etc. of the object to be described. Feature information can represent the basic characteristics of the object to be described, or the outstanding characteristics of the object to be described in a certain field. Assuming that the object to be described is a Bluetooth speaker, the corresponding feature information can be a summary of the configuration parameters, performance, user experience, appearance, etc. of the Bluetooth speaker.

[0104] Taking the query of product information in e-commerce scenarios as an example, the user enters "Bluetooth speaker" to trigger a query request. The auxiliary information may include feature information of multiple Bluetooth speakers. Each Bluetooth speaker has its own characteristics and can be described using the corresponding feature information.

[0105] In one embodiment, the query request may be information obtained by the user inputting multiple conversations. For example, the user's historical conversations may be obtained through chat, and the user's historical conversations may be spliced ​​into a query request. For example, in an open domain conversation, the user's complete query intent is often scattered in multiple rounds of conversations. In order to obtain the complete user query intent, the historical conversation information must first be spliced. This can introduce the contextual information of the conversation, ensure that the system can correctly understand the user's specific query intent in the current conversation, avoid misunderstandings, and provide more accurate answers.

[0106] In one embodiment, step 401 may specifically include: in response to a query request from a user, obtaining third-party content information related to the query request, determining auxiliary information matching the query request according to the third-party content information, and displaying the auxiliary information.

[0107] In this embodiment, when a user inputs a query request, relevant third-party content information can be obtained online in real time. For example, matching post content can be retrieved from a designated website according to the query request, and then the post content is transmitted to a preset large model, allowing the large model to output a post summary, and the post summary is displayed to the user as auxiliary information, thereby ensuring the timeliness of the auxiliary information and improving the accuracy of the auxiliary information.

[0108] In one embodiment, step 401 may specifically include: in response to a user's query request, rewriting the query request into a question request in a preset format, retrieving corresponding auxiliary information from a preset database according to the question request, and displaying the auxiliary information.

[0109] In this embodiment, the function of rewriting the query request (Query) is to rewrite the query input by the user into a searchable question request with clearer semantics and richer meaning, so as to more accurately match the user's intention and improve the relevance of the search results. The preset format can be a sentence format set according to the actual search requirements, such as a question format. Taking the e-commerce scenario as an example, the query request input by the user is "red high heels 38", and the query rewriting module enriches its semantics and can be rewritten into a question request in the format of "red high heels women's shoes size 38" or "red women's high heels 38". The mapping relationship between multiple preset questions and corresponding auxiliary information is stored in the preset database. The rewritten question request is more in line with the format of the preset question in the preset database, so it can more accurately match the corresponding auxiliary information, so that the search engine can more efficiently retrieve the highly relevant auxiliary information, thereby improving the retrieval accuracy.

[0110] In one embodiment, before step 301, the method may further include: obtaining a preset question sample. Extracting related articles whose relevance to the preset question sample is greater than a preset threshold from a specified knowledge base. Generating auxiliary information corresponding to the preset question sample according to the related articles. Storing the mapping relationship between the preset question sample and the auxiliary information in a preset database.

[0111] In this embodiment, a preset database can be established in advance for matching auxiliary information. The preset database can be established and maintained offline to reduce the amount of data calculation in the online query process. First, a preset question sample is obtained. The question sample can be selected according to the actual application scenario. For example, in the e-commerce scenario, common questions of users in the standard product industry of the e-commerce platform can be selected as question samples. For example, on the e-commerce platform, users may ask questions related to clothing size, color, function, etc. After determining the question sample, articles related to each question can be extracted from the specified knowledge base. The specified knowledge base can be a trusted third-party content platform, such as a Weibo platform, a life record platform, a knowledge question-and-answer platform, etc. For example, high-quality posts related to common questions of users in the standard product industry of the e-commerce platform on content platforms such as Xiaohongshu and Zhihu can be collected as related articles. In actual scenarios, the content of posts on third-party content platforms is generally lengthy, which is not conducive to users' quick viewing. The content of the post can be summarized. For example, a post introducing a Bluetooth speaker may have more content. The description of the Bluetooth speaker in the post can be summarized, such as summarizing it into simple feature keywords, and the feature keywords are used as auxiliary information of the Bluetooth speaker. And establish a mapping relationship between Query-Question-Post Summary, and maintain it in the background preset database as the data source.

[0112] In one embodiment, the maintenance of the preset database can be an offline knowledge database, and the knowledge chunking mode can be used to manage the data, mainly to decompose the large text of the related articles into smaller, content-independent, and semantically complete text fragments. The advantage of knowledge chunking is that it can improve the accuracy of matching when question request retrieval, reduce the interference of irrelevant information, and can adapt to the limitations of vectorized models and large models on input length. The chunking methods integrated in the system can include fixed-size chunking, content-aware chunking, recursive chunking, etc.

[0113] Then, data entity processing can be used. Entity processing mainly consists of three steps: entity recognition, entity normalization, and entity integration. These steps together help to extract the core information of the text in the related articles and standardize the text expression. Through these steps, not only the accuracy of the text information is improved, but also the semantic expression ability of the text is enhanced.

[0114] In one embodiment, storing the mapping relationship between the preset question sample and the auxiliary information in a preset database includes: converting the mapping relationship between the preset question sample and the auxiliary information into a mapping vector of a preset length, and storing the mapping vector in the preset database.

[0115] In this embodiment, vectorized management of the preset database can ensure the retrieval service quality of online question requests and improve retrieval efficiency. Vector recall is the most important recall method for preset database retrieval. The text embedding model can be used to map the text of the mapping relationship between the preset question sample and the auxiliary information into a vector of fixed length and store it in the preset database. During online retrieval, the user query (question request) is mapped into a vector using the same model, and then the most relevant one or more auxiliary information is calculated based on the vector similarity. Taking the e-commerce scenario as an example, the models integrated in the system may include CoROM, GTE, text2vec-large-chinese, etc. These models can cover the e-commerce field and the general field respectively, and are mainly dual-tower models, which have the advantage of being able to guarantee the performance of online services.

[0116] In one embodiment, auxiliary information corresponding to preset question samples is generated based on related articles, which may specifically include: generating target prompt words of a preset large model based on the related articles and preset prompt words, inputting the target prompt words into the preset large model, so that the preset large model summarizes the contents of the related articles according to the target prompt words, and outputs auxiliary information corresponding to the preset question samples, wherein the auxiliary information includes description objects in the related articles and characteristic keywords of the description objects.

[0117] In this embodiment, auxiliary information corresponding to the problem sample can be automatically generated by a preset large model. For example, the LLM model is used to extract and summarize high-quality related articles on platforms such as Xiaohongshu and Zhihu, and information such as mainstream recommended brands and user feedback descriptions of brands are generated as auxiliary information. The rise of large-model natural language applications has brought great innovative application ideas to the entire Internet industry.

[0118] In actual scenarios, although the large model has amazing performance in generation ability, it has problems with knowledge updating and hallucination. For example, when asked "What is the latest smartphone this year", GPT4's answer is three years ago. The reason is that the knowledge used to train GPT4 is up to 2021. Although GPT has triggered a lot of imagination, correctness has always been a big problem. Therefore, for a highly time-sensitive and relatively strict scenario such as e-commerce shopping, it is urgent to solve the problems of knowledge lag and hallucination of the large model. For example, when the question sample is an e-commerce shopping guide question, it is expected that the system can accurately reply to the question sample based on the current e-commerce operation content. For example, the preset question sample is "When is the start and end time of the Double 11 promotion of e-commerce platform A?", "Sales ranking of kitchen appliances". However, since the large model lacks knowledge in the e-commerce business field, it is impossible to meet user demands by relying solely on the large model. Knowledge retrieval brings new ideas to this problem. Two great benefits of retrieval enhancement are that, on the one hand, knowledge is decoupled from model parameters, which facilitates the addition and correction of knowledge. On the other hand, the problem of "factual correctness" is simplified to identifying "illusions". If the results generated by the model can be verified by the retrieval results, the results are considered correct, which greatly reduces the cost of verifying correctness.

[0119] Knowledge retrieval enhancement retrieves relevant knowledge through retrieval and integrates it into prompts, allowing the large model to refer to the corresponding knowledge and give reasonable answers. Therefore, the core of RAG can be understood as "retrieval + generation". The former mainly uses the efficient storage and retrieval capabilities of the vector database to recall the target knowledge. The latter uses the large model and prompt engineering to reasonably use the recalled knowledge and generate the target answer.

[0120] Therefore, an effective solution is to send the related articles corresponding to the question samples obtained through knowledge retrieval as prompt words to the preset large model, and then use the summary and generation capabilities of the preset large model to reply to the sample questions in the form of dialogue and generate corresponding auxiliary information.

[0121] Optionally, related articles can be used to transform preset prompts to generate target prompts for the preset large model. The large model can be generated in a controllable manner based on the transformed target prompts. The purpose of prompt design is to combine the retrieved related articles with instructions, so that the large model can follow the instructions and answer as required. For example, role settings, speech descriptions, and question and answer text format requirements can be added to the prompt. Write "Please answer based on the retrieved "search information" and reply with 100 words xxx" into the prompt, where the "search information" is spliced ​​with related articles retrieved. The large model can follow the requirements, summarize the "search information", and give a coherent answer, thereby enabling the preset large model to summarize the content of the related articles according to the target prompts and output auxiliary information corresponding to the preset question samples.

[0122] In this embodiment, the auxiliary information includes but is not limited to the description objects in the associated article and the characteristic keywords of the description objects. In actual scenarios, an associated article may include multiple description objects. For example, a post introducing Bluetooth speakers may introduce three Bluetooth speakers in detail. The characteristics of each Bluetooth speaker can be summarized and the characteristic keywords of each Bluetooth speaker can be generated as auxiliary information.

[0123] Based on the semantic understanding and conversation capabilities of the big model, for problem samples, especially those with a certain timeliness and problems in the e-commerce field (such as the pre-sale time of this year's Double 11), the big model is supplemented with knowledge through the use of external knowledge engines and preset knowledge bases, enriching the big model's understanding of knowledge in the e-commerce field, better providing users with shopping guide capabilities, and creating a professional and user-savvy smart assistant in the e-commerce field.

[0124] In one embodiment, auxiliary information corresponding to a preset question sample is generated based on related articles, and the method also includes: verifying the output result of a preset large model, and if the output result does not fully cover multiple related articles, generating supplementary summary information based on the uncovered related articles, adding the supplementary summary information to the output result, and generating auxiliary information corresponding to the preset question sample.

[0125] In this embodiment, each preset question sample may correspond to multiple related articles. For example, for the question sample "How to choose a Bluetooth speaker?", there are many related articles searched on the designated third-party platform. According to the degree of relevance, the top 10 articles are selected as the final related articles, so that the auxiliary information source summarized is rich enough to reduce the biased description brought by a single article. In actual use, there may be less brand content in the related articles corresponding to a question sample, or the source type is relatively single, such as only from Zhihu or Xiaohongshu, or the source articles are relatively small. The length of the article, the number of source types, etc. can be verified to ensure the quality of the data source and reduce the problem of single content extraction in the subsequent LLM.

[0126] Optionally, the large model may show unstable output during the production process, such as a single source, not following instructions, etc. The output results of the preset large model can be verified. Taking the GPT4 large model as an example, the GPT4 offline automatic production link can be optimized, and the quality judgment module (such as the number of extracted words, article length, whether the source of the article is rich, competitor business word filtering, etc.) can be added to support automatic retry, improve the production quality of auxiliary information, and reduce the workload of manual review. If the output results of the large model do not fully cover multiple related articles of the problem sample, supplementary summary information can be re-generated based on the uncovered related articles, and the supplementary summary information can be added to the output results to generate complete auxiliary information corresponding to the problem sample, ensuring that the auxiliary information of a problem sample is summarized from multiple articles, and increasing the richness of the types of auxiliary information.

[0127] In one embodiment, the preset large model may be obtained by performing supervised fine-tuning on a pre-trained large language model.

[0128] In this embodiment, the pre-trained large language model takes the LLM model as an example. Since the general LLM model may not be able to fully understand the knowledge of different scenarios, directly using the general LLM model may not be able to accurately output the auxiliary information of the problem sample. When supervised fine-tuning is performed, the LLM model weights will be adjusted according to the difference from the true labels expected in the training. Supervised fine-tuning is performed on the pre-trained large language model so that the large model can capture the patterns and characteristics of a task, making the model more accurate and better adapted to a specific task. In actual use, SFT refers to the use of labeled data to adjust a pre-trained large language model (LLM) to make it more suitable for a specific task.

[0129] For example, in an e-commerce scenario, when retrieving information from a web page or content from a knowledge base, suppose you want LLM to give some key points to help users reduce the difficulty of browsing. Query sample: "Buy some gifts for the Spring Festival", LLM may simply answer: "Try to buy some supplements or candies for people." A good answer should fully clarify the user's intention, give recommended products and professional shopping advice. Therefore, before using the preset large language model, you can first perform relevant SFT fine-tuning training on the pre-trained general LLM model, so that the large language model can learn how to give accurate auxiliary information in e-commerce scenarios.

[0130] In this embodiment, the supervised fine-tuning implementation process may include: taking the qwen-14b LLM base as an example, the question-answer pairs are collected as training corpus through the preset prompt word prompt designed above. Each SFT sample generally consists of two parts, namely prompt (instruction) + answer. Through some collected seed questions, a batch of question-answer pairs are obtained in batches or manually produced through the GPT4 interface. Superimposing a part of the general corpus can ensure that the model retains the basic capabilities of the model while training and fitting business knowledge, so as not to overfit. After collecting the data, the model training begins. In essence, nexttoken prediction is performed, but the model is expected to pay more attention to the prediction of the answer part. This can be achieved by generating a mask vector to shield the part where the loss is not desired to be calculated. For example:

[0131] By concatenating prompt and answer, and adding a start and end symbol on both sides of the answer, the length of prompt / instruction and the length of the pad (padding) required afterwards are calculated, and then a mask vector is generated based on the calculated length. The answer part can be pre-configured to 1 and the other parts to 0. After constructing the input, the token is converted to embedding (vectorization), and the transformer process is exactly the same as the LLM model pre-training process, and the output can be obtained. Further, the loss of the answer part can be calculated, and the places that are not desired to be considered are multiplied by 0 through the mask, and the loss of the answer part is retained. After the loss is obtained, backpropagation is performed to update the model parameters, and the iteration is completed after reaching the specified epoch (training round), the model parameters are updated, and the fine-tuned preset large model file is generated.

[0132] In one embodiment, related articles whose relevance to a preset question sample is greater than a preset threshold are extracted from a designated knowledge base, including: performing semantic analysis on the preset question sample to determine the knowledge base category corresponding to the preset question sample. Searching for candidate articles that match the preset question sample from the knowledge base corresponding to the knowledge base category. Performing source filtering on the candidate articles to retain candidate articles from preset trusted sites. Eliminating invalid information in the filtered candidate articles according to preset rules to generate valid candidate articles. Calculating the relevance between the valid candidate articles and the preset question sample according to preset weight parameters, determining the valid candidate articles whose relevance is greater than the preset threshold and ranked in the front preset position as related articles.

[0133] In this embodiment, when the question sample is a knowledge question, the big model is prone to generate hallucination questions when answering, especially questions with a certain timeliness. Since the big model training cannot be synchronized with real-world news, the big model will give wrong answers. For example, for the question sample "What are the casualties of the Gansu earthquake?", you need to read the latest news to know, and the big model is likely to give a random answer. In order to reduce this situation and improve the accuracy and timeliness of related articles, Quark retrieval can be used when extracting related articles.

[0134] like Figure 5 As shown, a schematic diagram of a Quark search provided by an embodiment of the present application, first the user inputs a "user query", where "user query" can be a preset question sample input by the operation manager. Then the semantics of the preset question sample is analyzed through the SeqGPT (a large model for text understanding that is not limited to any field) model. Knowledge base classification management, the knowledge base categories can be divided according to fields, for example, they can be divided into vertical knowledge, encyclopedia content, shopping needs and other categories. Based on the results of semantic analysis, it is determined which field the preset question sample belongs to. After the field is identified, the query can be rewritten according to the field during Quark retrieval, the search tendency can be increased, the classified acquisition of articles can be realized, and the main body of the article can be extracted. Concurrent recall: If there are multiple searchable tendencies in the field, the Quark search can be called in parallel instead. The SeqGPT model can support SFT to adapt it to specific tasks or fields.

[0135] Recall result filtering: compare the Quark search results with trusted sites in the field, filter the source of candidate articles, and only retain candidate articles from trusted site search results. For example, if the trusted sites are Xiaohongshu, Zhihu, Baijiahao, Baidu Encyclopedia and other platforms, you can filter and only retain candidate articles from these trusted sites.

[0136] Search snippet completion: Get the URL (uniform resource locator) of the search result, complete the original content of the Quark search result through the HTTP (Hypertext Transfer Protocol) protocol content, and remove useless web page data such as headers, footers, navigation information, etc., so that more reliable search results (SearchResult) can be obtained from the Quark side and valid candidate articles can be generated.

[0137] Then, the correlation between the valid candidate articles and the preset problem samples can be calculated based on the preset weight parameters. For example, weight fusion is performed based on the scores of multi-way recall (vector recall, structural recall, BM25 algorithm recall, etc.), while considering factors such as timeliness, importance, and personalization. The final relevance score of each article is comprehensively obtained, and then sorted. The valid candidate articles with a correlation greater than the preset threshold and ranked in the front preset position are determined as related articles. Figure 5 In the example, three related articles, Content 1, Content 2, and Content 3, are used. The final related articles can be passed to the LLM model for induction and summary. For example, they can be summarized through large models such as Tongyi Qianwen, Llama2, and ChatGLM2 to obtain the characteristic keywords describing the objects in each related article.

[0138] This embodiment is fine-tuned based on the qwen-14b LLM base, and explores the ability to use tools that combine a large language model with a knowledge base and a knowledge search engine. By using the knowledge base accumulated in the e-commerce and the search results of external engines, more accurate and timely information is obtained, and then the search results are spliced ​​into the prompt. The large model that has been fine-tuned and trained by SFT is summarized and summarized to obtain organized, accurate and fluent auxiliary information. On the other hand, it relies on the Quark search engine and performs targeted trusted site information processing to improve the output effect of real-time news, knowledge questions and answers, etc. With the LLM large language model as the base, the prompt design is customized based on the retrieval scenario, making full use of the strengths of the large model summary and induction, combined with SFT fine-tuning training, on the one hand, it can give play to the real-time content strengths of the retrieval engine, and on the other hand, it can give play to the advantages of the large model summary and induction.

[0139] In one embodiment, the extraction method of related articles can also adopt the idea of ​​agent (agent = LLM + planning ability + memory + tool), with the large model acting as the core controller, using external forces (vector storage, retrieval, etc.) to make up for the memory knowledge, and planning a specific problem needs to be broken down into several sub-steps to solve, and what tools to use for each step. In addition to knowledge and quark search, there are also task-related APIs (such as weather API, calculator, logistics API, etc.) to solve more complex application scenarios.

[0140] Step 402: In response to a user confirmation instruction for auxiliary information, determine a target feature that matches the confirmation instruction.

[0141] In this step, the interactive interface displays auxiliary information corresponding to the query request input by the user, such as feature information of multiple descriptive objects related to the query request, from which the user can select the descriptive object of interest. After the user's selection, a confirmation instruction is triggered, and the system uses the feature information that matches the confirmation instruction as the target feature. The target feature is used to subsequently supplement the search conditions to refine the search results.

[0142] In one embodiment, the auxiliary information includes a plurality of feature keywords describing the object. Step 402 may specifically include: in response to a user confirmation instruction for the plurality of feature keywords describing the object, determining the feature keyword of the target description object specified by the confirmation instruction as the target feature.

[0143] In this embodiment, the auxiliary information may include feature keywords of multiple descriptive objects summarized from multiple related articles. For example, when a user inputs a query request "Bluetooth speaker", the corresponding auxiliary information may include: feature keywords of speaker 1, feature keywords of speaker 2, and feature keywords of speaker 3. The user can select one or more feature keywords of one or more speakers and trigger a confirmation instruction. The system will add the feature keywords of the target speakers selected by the user as target features to the search conditions, improve the search conditions, and improve the accuracy of the query results.

[0144] Step 403: retrieve and obtain corresponding query results according to the target features and the query request, and return the query results to the user.

[0145] In this step, the query request initially input by the user and the target features selected by the user from the auxiliary information are used as search conditions to supplement keywords, so as to obtain more accurate query results and return them to the user. In this way, by providing users with targeted auxiliary information during the query process, users are assisted in supplementing more complete search conditions, which not only saves users the step of looking up information and supplementing keywords themselves, but also further improves the query accuracy and efficiency.

[0146] like Figure 6 As shown in FIG. 1 , a schematic diagram of a product information query interaction in an e-commerce scenario provided by an embodiment of the present application is provided. Assuming that a user wants to buy a Bluetooth speaker, the user can log in to the e-commerce platform through a terminal device, and display an e-commerce platform search box on the user interface, such as Figure 6As shown in (a), the user can enter query information in the search box, such as entering the keyword "Bluetooth speaker" to trigger a query request. The e-commerce system will search based on the keyword and display the first search result in the user interface. For example, if "Model A Bluetooth speaker", "Model B Bluetooth speaker", or "Model C Bluetooth speaker" is searched, the information card of each product in the search result will be displayed in the user interface so that the user can check whether there is the Bluetooth speaker they want. In order to assist users in performing efficient searches, a trigger button for auxiliary information can be configured in the user interface. For example, a prompt "How to choose a Bluetooth speaker?" can be placed on the trigger button to prompt the user to seek help by clicking the trigger button. If you do not see a speaker product that you are satisfied with in the first search result, or do not know how to choose one, you can click the trigger button and the system will start searching for auxiliary information that matches the question "How to choose a Bluetooth speaker?" During the search process, you can enter the following options: Figure 6 The page shown in (b) can display the search prompt "I am helping you find and read articles with high summary and comments on platforms such as Xiaohongshu and Zhihu...". After searching for auxiliary information matching the question "How to choose a Bluetooth speaker?", enter the following Figure 6 The page shown in (c) displays auxiliary information, such as the following:

[0147] “I read all the popular posts on Xiaohongshu, Zhihu and other platforms. The following are the speaker brands that are mentioned more frequently and their reputation summary:

[0148] Brand 1: Suitable for rock and heavy metal, high heat

[0149] Brand 2: Suitable for folk songs, good-looking, but poor after-sales service

[0150] Brand 3: Affordable price and fine workmanship

[0151] The above word-of-mouth summary is generated by constructing and optimizing prompts, allowing the big model to help users generate summaries from multiple articles in advance, summarizing the brands mentioned in these articles and the advantages and disadvantages of the brands. When the user enters a query, the background database will be retrieved to retrieve the post summary that matches the user's query.

[0152] If the user selects Brand 1 and clicks Brand 1, the system uses the characteristic information of Brand 1 as the target characteristic, where the characteristic information can be the name, number, functional characteristics, etc. of Brand 1. Then the system uses "Bluetooth speaker" and "Brand 1" entered by the user in the search box as search conditions to obtain the second search result, and enters the following Figure 6In the page shown in (D), the second search result is more in line with user expectations and more accurate than the first search result because the search condition "Brand 1" is added. For example, the second search result will include "Brand 1 Bluetooth speaker", which is convenient for users to make targeted choices.

[0153] In one embodiment, the method further includes: in response to a user's trigger instruction for a source link, displaying the source article content corresponding to the description object.

[0154] In this embodiment, the auxiliary information may also include source links of multiple characteristic keywords describing the object. When a user wants to view a characteristic keyword describing an object, the corresponding source link may be triggered to jump to the content of the source article describing the object, so that the user can know the source of the auxiliary information and improve the user's trust.

[0155] Optionally, the source article content can also be a summary of the original text, and the source article content must contain a description of the description object that the user wants to view. For example, if the user triggers the source link of the characteristic keyword of speaker 1, the source article content of the characteristic keyword of speaker 1 will be displayed. If the original text of the source article of the characteristic keyword of speaker 1 is relatively long and not conducive to user reading, the content describing speaker 1 in the original text can be extracted as the source article content of the characteristic keyword of speaker 1 to improve user reading efficiency.

[0156] like Figure 7 As shown, it is a schematic diagram of product information query interaction in an e-commerce scenario provided by an embodiment of the present application. Suppose a user wants to buy a Bluetooth speaker. The user can log in to the e-commerce platform through a terminal device and enter the keyword "Bluetooth speaker" in the search box to trigger a query request. The e-commerce system will search according to the keyword and display the first search result obtained in the user interface. For example, three products "Model A Bluetooth Speaker", "Model B Bluetooth Speaker" and "Model C Bluetooth Speaker" are searched for, as well as the information card of each product, so that the user can check whether there is the Bluetooth speaker he wants. If you do not see the speaker product that you are satisfied with in the first search result, or do not know how to choose, you can click the trigger button "How to choose a Bluetooth speaker?" The system will search for auxiliary information matching the question "How to choose a Bluetooth speaker?" for the user and enter the following screen. Figure 7 The page shown in (a) displays auxiliary information, such as the following:

[0157] “I read all the popular posts on Xiaohongshu, Zhihu and other platforms. The following are the speaker brands that are mentioned more frequently and their reputation summary:

[0158] Brand 1: Feature keywords: "suitable for rock and heavy metal, high popularity"

[0159] Brand 2: Key words: "suitable for folk songs, good-looking, poor after-sales service"

[0160] Brand 3: Key words: “affordable price, fine workmanship”

[0161] The figure takes three brands as an example. In actual scenarios, the summary may include multiple brands. Each brand can be configured with a source link of a characteristic keyword. For example, underline the characteristic keyword to remind the user that there is a link here. If the user clicks on the characteristic keyword of brand 3, the corresponding source link can be triggered to jump to the following link: Figure 7 As shown in (b), the source article content corresponding to the characteristic keywords of brand 3 is as follows:

[0162] "The following highly praised post reviews the brand 3 Bluetooth speakers in detail. Brand 3's prices are affordable and the workmanship is fine, especially their XX model Bluetooth speakers, which have a strong sense of spatial surround immersion..."

[0163] The above source article content can be obtained by constructing and optimizing prompts, allowing the big model to summarize the main content of a single related article related to brand 3. The summarized source article content must contain a description of brand 3 to improve the user's selection efficiency. The link to the original post can also be displayed, so that the recommended brand can be traced back to enhance user trust.

[0164] In this embodiment, by connecting the single article and multi-article summary prompt tasks in series, the characteristic information of multiple brands is displayed through the multi-article summary, and a corresponding source link is configured for each brand, so that it is possible to jump from the multi-article summary to the specific single article content, thereby achieving the coherence between the multi-article summary and the single article, and solving the problem of irrelevance between the single article and the multi-article summary.

[0165] Alternatively, if Figure 7 As shown in (a), a slider can also be configured in the auxiliary information display bar. When there are many highly praised post summaries related to a product, one window cannot display them all. The user can use the slider to trigger a sliding operation to view the post summaries of other products. For example, the user can slide horizontally to view the daily article summary. This prevents users from jumping out of the operation steps of the e-commerce platform and improves the interactive experience.

[0166] The above-mentioned information query method displays corresponding auxiliary information to the user for the query request input by the user. The auxiliary information includes feature information of multiple descriptive objects related to the query request, so that the user can select appropriate target features from the auxiliary information to supplement keywords. The target features are searched together with the query request input by the user as search conditions to obtain more accurate query results and return them to the user. In this way, by providing users with targeted auxiliary information during the query process, users are assisted in supplementing more complete search conditions, which not only saves the step of users looking up information and supplementing keywords by themselves, but also further improves the query accuracy and efficiency.

[0167] Taking the purchase search of e-commerce users as an example, for the decision-making problems encountered by users during the purchase process, we establish and maintain content knowledge posts about e-commerce decision-making (how to buy xxx, how to choose xxx) outside the site, and use the large model retrieval and summary capabilities to help users proactively retrieve and summarize relevant information in advance, with the main theme of "smart assistants can help users read relevant high-quality posts". Compared with traditional e-commerce search, it has at least the following advantages:

[0168] 1. Save users the cost of selecting products. The traditional shopping path for users is to go to the content platform to repeatedly select and compare, and then go to the e-commerce platform to buy after selecting a product. This is cumbersome for users and the shopping cost is too high. By creating an intelligent assistant for the e-commerce platform, users who have shopping decision-making needs can read the posts of major content platforms in advance, summarize them, and directly return high-quality auxiliary information, thereby improving users' shopping efficiency and experience.

[0169] 2. The auxiliary information can trace the source of information. A source index is added to the auxiliary information to ensure that the auxiliary information is traceable, verifiable and reliable. If the user wants to see a more detailed introduction to this article, he can go directly to the original text with one click.

[0170] Please see Figure 8 , which is an information query method of an embodiment of the present application, the method can be Figure 1 The electronic device 1 shown is used to perform and can be applied to Figure 2-3B In the application scenario of information search shown in , by providing targeted auxiliary information to users during the query process, the user is assisted in supplementing more complete search conditions, which not only saves the user from the step of looking up information and supplementing keywords by himself, but also further improves the query accuracy and efficiency. In this embodiment, the terminal 220 is used as an execution end as an example, and the method includes the following steps:

[0171] Step 801: In response to a user's query request, rewrite the query request into a question request in a preset format.

[0172] Step 802: retrieve corresponding auxiliary information from a preset database according to the question request, and display the auxiliary information. The auxiliary information includes multiple characteristic keywords describing the object. The auxiliary information includes multiple source links of the characteristic keywords describing the object.

[0173] Step 803: In response to a user confirmation instruction for the feature keywords of the plurality of description objects, the feature keyword of the target description object specified by the confirmation instruction is determined as a target feature.

[0174] Step 804: retrieve and obtain corresponding query results according to the target features and the query request, and return the query results to the user.

[0175] Step 805: In response to the user's triggering instruction for the source link, the source article content corresponding to the description object is displayed.

[0176] For details of each step of the above information query method, please refer to the relevant description of the above embodiment, which will not be repeated here.

[0177] Please see Fig. 9 , which is an information query method of an embodiment of the present application, the method can be Figure 1 The electronic device 1 shown is used to perform and can be applied to Figure 2-3B In the application scenario of information search shown in , by providing targeted auxiliary information to users during the query process, the method helps users to supplement more complete search conditions, which not only saves the step of users looking up information and supplementing keywords by themselves, but also further improves the query accuracy and efficiency. This embodiment takes the terminal 220 as an execution end as an example. Compared with the above embodiment, this embodiment takes the product information search in the e-commerce scenario as an example. The method includes the following steps:

[0178] Step 901: In response to a user's query request for product information, display product auxiliary information determined according to the query request, where the auxiliary information includes feature information of at least one product.

[0179] Step 902: In response to a user's confirmation instruction for the commodity auxiliary information, determine a target feature that matches the confirmation instruction.

[0180] Step 903: retrieve and obtain corresponding product query results according to the target features and the query request, and return the product query results to the user.

[0181] For details of each step of the above information query method, please refer to the relevant description of the above embodiment, which will not be repeated here.

[0182] Please see Fig.10 , which is an information query device 1000 of an embodiment of the present application, the device can be applied to Figure 1 The electronic device 1 shown can be applied to Figure 2-3B In the application scenario of information search shown in , by providing targeted auxiliary information to users during the query process, the user is assisted in supplementing more complete search conditions, which not only saves the user from the step of looking up information and supplementing keywords by himself, but also further improves the query accuracy and efficiency. The device includes: a first display module 1001, a determination module 1002 and a query module 1003, and the functional principles of each module are as follows:

[0183] The first display module 1001 is used to respond to a user's query request and display auxiliary information determined according to the query request, wherein the auxiliary information is determined according to third-party content information related to the query request. The auxiliary information includes at least one feature information describing an object.

[0184] The determination module 1002 is used to determine the target feature matching the confirmation instruction in response to the user's confirmation instruction for the auxiliary information.

[0185] The query module 1003 is used to retrieve corresponding query results according to the target features and the query request, and return the query results to the user.

[0186] In one embodiment, the first display module 1001 is used to respond to a user's query request, obtain third-party content information related to the query request, determine auxiliary information matching the query request based on the third-party content information, and display the auxiliary information.

[0187] In one embodiment, the first display module 1001 is used to respond to a user's query request, rewrite the query request into a question request in a preset format, retrieve corresponding auxiliary information from a preset database according to the question request, and display the auxiliary information.

[0188] In one embodiment, it further includes: an acquisition module, used to acquire a preset question sample before retrieving the corresponding auxiliary information in a preset database according to the question request. An extraction module, used to extract related articles with a relevance to the preset question sample greater than a preset threshold from a specified knowledge base. A generation module, used to generate auxiliary information corresponding to the preset question sample based on the related articles. A storage module, used to store the mapping relationship between the preset question sample and the auxiliary information in a preset database.

[0189] In one embodiment, a generation module is used to generate target prompt words of a preset large model based on related articles and preset prompt words, and input the target prompt words into the preset large model so that the preset large model summarizes the contents of the related articles according to the target prompt words, and outputs auxiliary information corresponding to the preset question samples, wherein the auxiliary information includes the description objects in the related articles and the characteristic keywords of the description objects.

[0190] In one embodiment, each preset question sample corresponds to a plurality of related articles. The generation module is also used to verify the output result of the preset large model, and if the output result does not fully cover the plurality of related articles, generate supplementary summary information according to the uncovered related articles, add the supplementary summary information to the output result, and generate auxiliary information corresponding to the preset question sample.

[0191] In one embodiment, the extraction module is used to perform semantic analysis on the preset question sample to determine the knowledge base category corresponding to the preset question sample. Candidate articles matching the preset question sample are searched from the knowledge base corresponding to the knowledge base category. The candidate articles are source filtered to retain candidate articles from preset trusted sites. Invalid information in the filtered candidate articles is eliminated according to preset rules to generate valid candidate articles. The correlation between the valid candidate articles and the preset question sample is calculated according to the preset weight parameters, and the valid candidate articles with a correlation greater than a preset threshold and ranked in the front preset position are determined as related articles.

[0192] In one embodiment, the storage module is used to convert the mapping relationship between the preset question sample and the auxiliary information into a mapping vector of a preset length, and store the mapping vector in a preset database.

[0193] In one embodiment, the auxiliary information includes a plurality of feature keywords describing the object. The determination module 1002 is configured to respond to a user's confirmation instruction for the feature keywords describing the object and determine the feature keyword of the target description object specified by the confirmation instruction as the target feature.

[0194] In one embodiment, the auxiliary information includes a plurality of source links of characteristic keywords describing the object. The device further includes: a second display module, which is used to display the source article content corresponding to the description object in response to a user's trigger instruction for the source link.

[0195] In one embodiment, the preset large model is obtained by performing supervised fine-tuning on the pre-trained large language model.

[0196] For a detailed description of the above-mentioned information query device 1000, please refer to the description of the relevant method steps in the above-mentioned embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.

[0197] Fig.11 The following is a schematic diagram of a cloud device 110 provided in an exemplary embodiment of the present application. The cloud device 110 can be used to run the method provided in any of the above embodiments. Fig.11 As shown, the cloud device 110 may include: a memory 1104 and at least one processor 1105, Fig.11 A processor is taken as an example.

[0198] The memory 1104 is used to store computer programs and can be configured to store various other data to support operations on the cloud device 110. The memory 1104 can be an object storage service (OSS).

[0199] Memory 1104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0200] The processor 1105 is coupled to the memory 1104 and is used to execute the computer program in the memory 1104 to implement the solution provided by any of the above method embodiments. The specific functions and technical effects that can be achieved are not repeated here.

[0201] Furthermore, if Fig.11 The cloud device also includes: a firewall 1101, a load balancer 1102, a communication component 1106, a power supply component 1103 and other components. Fig.11 Only some components are shown schematically, which does not mean that the cloud device only includes Fig.11 Components shown.

[0202] In one embodiment, the above Fig.11 The communication component 1106 in is configured to facilitate wired or wireless communication between the device where the communication component 1106 is located and other devices. The device where the communication component 1106 is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, LTE (Long Term Evolution, Long Term Evolution, referred to as LTE), 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component 1106 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1106 also includes a near field communication (Near Field Communication, referred to as NFC) module to facilitate short-range communication. For example, the NFC module can be based on Radio Frequency Identification (Radio Frequency Identification, referred to as RFID) technology, Infrared Data Association (Infrared Data Association, referred to as IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (bluetooth, referred to as BT) technology and other technologies to achieve.

[0203] In one embodiment, the above Fig.11 The power supply component 1103 provides power to various components of the device where the power supply component 1103 is located. The power supply component 1103 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device where the power supply component is located.

[0204] An embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the method of any of the aforementioned embodiments is implemented.

[0205] An embodiment of the present application also provides a computer program product, including a computer program, which implements the method of any of the aforementioned embodiments when executed by a processor.

[0206] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed.

[0207] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the methods of various embodiments of the present application.

[0208] It should be understood that the above-mentioned processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor. The memory may include a high-speed RAM (Random Access Memory) memory, and may also include non-volatile storage NVM (Nonvolatile memory, NVM for short), such as at least one disk storage, and can also be a USB flash drive, a mobile hard disk, a read-only memory, a disk or an optical disk, etc.

[0209] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special computer.

[0210] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic device or a main control device.

[0211] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, clothing or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, clothing or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, clothing or device including the element.

[0212] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0213] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of each embodiment of the present application.

[0214] In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of user data and other information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0215] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. An information query method, characterized in that: include: In response to a user's query request, display auxiliary information determined according to the query request, wherein the auxiliary information is determined according to third-party content information related to the query request; the auxiliary information includes at least one feature information describing an object; In response to a confirmation instruction of the user for the auxiliary information, determining a target feature matching the confirmation instruction; The corresponding query result is retrieved according to the target feature and the query request, and the query result is returned to the user.

2. The method according to claim 1, characterized in that The step of responding to a query request from a user and displaying auxiliary information determined according to the query request includes: In response to a user's query request, obtaining third-party content information related to the query request; The auxiliary information matching the query request is determined according to the third-party content information.

3. The method according to claim 1, characterized in that The step of responding to a query request from a user and displaying auxiliary information determined according to the query request includes: In response to a query request from a user, rewriting the query request into a question request in a preset format; According to the question request, the corresponding auxiliary information is retrieved from a preset database and the auxiliary information is displayed.

4. The method according to claim 3, characterized in that Before retrieving the corresponding auxiliary information from a preset database according to the question request, the method further includes: Get a sample of preset questions; Extracting related articles whose relevance to the preset question sample is greater than a preset threshold from a designated knowledge base; Generating auxiliary information corresponding to the preset question sample according to the related article; The mapping relationship between the preset question sample and the auxiliary information is stored in the preset database.

5. The method according to claim 4, characterized in that The generating of auxiliary information corresponding to the preset question sample according to the related article includes: Generate target prompt words for a preset large model based on the related articles and preset prompt words, and input the target prompt words into the preset large model so that the preset large model summarizes the contents of the related articles according to the target prompt words, and outputs auxiliary information corresponding to the preset question samples, wherein the auxiliary information includes the description objects in the related articles and the characteristic keywords of the description objects.

6. The method according to claim 5, characterized in that Each of the preset question samples corresponds to a plurality of related articles; The generating of auxiliary information corresponding to the preset question sample according to the related article also includes: Verify the output result of the preset large model. If the output result does not fully cover the multiple related articles, generate supplementary summary information based on the uncovered related articles, add the supplementary summary information to the output result, and generate auxiliary information corresponding to the preset question sample.

7. The method according to claim 4, characterized in that The step of extracting, from the designated knowledge base, related articles whose relevance to the preset question sample is greater than a preset threshold value comprises: Performing semantic analysis on the preset question sample to determine the knowledge base category corresponding to the preset question sample; Searching for candidate articles matching the preset question sample from the knowledge base corresponding to the knowledge base category; Perform source filtering on the candidate articles, and retain candidate articles from preset trusted sites; Eliminate invalid information from the filtered candidate articles according to preset rules to generate valid candidate articles; The correlation between the valid candidate article and the preset question sample is calculated according to the preset weight parameter, and the valid candidate article whose correlation is greater than a preset threshold and is ranked in a front preset position is determined as the related article.

8. The method according to claim 4, characterized in that The storing the mapping relationship between the preset question sample and the auxiliary information in the preset database includes: The mapping relationship between the preset question sample and the auxiliary information is converted into a mapping vector of a preset length, and the mapping vector is stored in the preset database.

9. The method according to claim 1, characterized in that: The auxiliary information includes a plurality of characteristic keywords describing the object; In response to the user's confirmation instruction for the auxiliary information, determining a target feature matching the confirmation instruction includes: In response to the user's confirmation instruction for the feature keywords of the plurality of description objects, the feature keyword of the target description object specified by the confirmation instruction is determined as the target feature.

10. The method according to claim 9, characterized in that The auxiliary information includes source links of the characteristic keywords describing the multiple objects; and also includes: In response to the user's triggering instruction for the source link, the source article content of the corresponding description object is displayed.

11. The method according to claim 5, characterized in that The preset large model is obtained by performing supervised fine-tuning on the pre-trained large language model.

12. An information query method, characterized in that: include: In response to a user's query request for product information, display product auxiliary information determined according to the query request, wherein the auxiliary information is determined according to third-party content information related to the query request; the auxiliary information includes feature information of at least one product; In response to a confirmation instruction of the user for the auxiliary information of the commodity, determining a target feature matching the confirmation instruction; The corresponding product query result is retrieved according to the target feature and the query request, and the product query result is returned to the user.

13. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the electronic device to perform the method described in any one of claims 1 to 12.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the method according to any one of claims 1 to 12 is implemented.

15. A computer program product, characterized in that The method comprises a computer program, which implements the method according to any one of claims 1 to 12 when being executed by a processor.

Citation Information

Patent Citations

  • Method and device for improving quality of information generated by large model

    CN116881398A

  • Information processing method and device, equipment, storage medium and program product

    CN116975437A

Cited By

  • Text fact verification method and device

    CN119312797A

  • Retrieval processing method and device based on large model and barrier-free service

    CN119415765A

  • Information query method and device applied to photovoltaic power generation and electronic equipment

    CN119903074A

  • E-book text abstract generation method and device

    CN120850967A

  • Network information acquisition method and apparatus, device, storage medium, and product

    WO2026194266A1