Information promotion method and device, electronic equipment and computer readable medium

By generating promotion information based on user and item data, and using question and answer interaction to understand user needs, it solves the problems of low information promotion efficiency and low value of user feedback in the existing technology, and achieves push that is more in line with user needs and higher e-commerce conversion rate.

CN118608207APending Publication Date: 2024-09-06BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410788428.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The information dissemination efficiency of the existing off-site information promotion forms is not high, and it is difficult to match the scenario-based needs of users. The value of user feedback is not high, and it is difficult to improve the direction.

Method used

Based on the user's information promotion request for items, the user identification and item identification are determined, user-related data is generated, promotion information is generated through a large model, user needs are understood through question and answer interaction, and promotion information is optimized.

Benefits of technology

It improves the relevance of information promotion, shortens the user decision-making cycle, improves the e-commerce conversion rate, provides users with accurate answers to questions, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118608207A
    Figure CN118608207A
Patent Text Reader

Abstract

The invention provides an information promotion method and device. A specific embodiment of the method comprises the steps of determining a user identifier of a user and an article identifier of an article based on an information promotion request of the user for the article; determining data related to the user and the article based on the user identifier and the article identifier; generating promotion information for the article based on the data related to the user and the article; and based on the operation information of the user on the promotion information, generating a question-answer pair interacting with the user. According to the embodiment, the conversion rate of e-commerce is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to an information promotion method and device, an electronic device, and a computer-readable medium. Background Art

[0002] Existing off-site information promotion forms can be divided into static promotion, dynamic promotion and fun interactive promotion. Among them, static promotion uses fixed preset creative information to display fixed content to the target population; dynamic promotion generates exclusive creative information for each user based on user preferences; fun interactive promotion sets rewards to attract users to enter.

[0003] The above three promotion forms have low efficiency in information dissemination, and users often find it difficult to match creativity to their own scenario needs; user feedback is not valuable, and it is difficult to get improvement directions from user feedback. Summary of the invention

[0004] The embodiments of the present disclosure provide an information promotion method and device, a data query method and device, an electronic device, and a computer-readable medium.

[0005] In a first aspect, an embodiment of the present disclosure provides an information promotion method, the method comprising: determining a user identifier of a user and an item identifier of an item based on a user's information promotion request for an item; determining data related to the user and the item based on the user identifier and the item identifier; generating promotion information for the item based on the data related to the user and the item; and generating a question-and-answer pair for interacting with the user based on the user's operation information on the promotion information.

[0006] In some embodiments, the above-mentioned operation information includes: information click operation and question text; based on the user's operation information on the promotional information, generating a question and answer pair for interacting with the user includes: based on the user's information click operation on the promotional information, pushing an intermediate guide page to the user; in response to receiving the question text output by the user to the intermediate guide page, generating an answer text based on the question text; combining the question text and the answer text to generate a question and answer pair for interacting with the user.

[0007] In some embodiments, the above-mentioned response to receiving the question text output by the user to the middle guide page, generating the answer text based on the question text includes: in response to receiving the question text output by the user to the middle guide page, obtaining input information of the large model based on the question text; generating the answer text by inputting the input information into the large model.

[0008] In some embodiments, the above-mentioned response to receiving the question text output by the user to the intermediate guide page, based on the question text, obtaining the input information of the large model includes: in response to receiving the question text output by the user to the intermediate guide page, querying the vector knowledge base based on the question text to obtain the retrieval knowledge text; splicing the retrieval knowledge text, the thinking chain prompt words and the question text to generate the input information of the large model, and the thinking chain prompt words are prompt words that drive the large model to perform multi-step reasoning.

[0009] In some embodiments, the above method also includes: constructing library document text based on the acquired basic information of the item; determining the item text and title text based on the library document text; and vectorizing the item text and title text to obtain a vector knowledge base.

[0010] In some embodiments, the above-mentioned determination of data related to the user and the item based on the user identification and the item identification includes: determining the user's historical behavior and interest data based on the user identification; determining the attribute data and function data of the item based on the item identification; wherein the historical behavior and interest data, attribute data and function data are collectively regarded as data related to the user and the item.

[0011] In some embodiments, the above-mentioned generation of promotional information for items based on data related to users and items includes: embedding data related to users and items into a prompt word template to obtain prompt words for the promotional information; inputting the prompt words into a pre-built large model to determine guide words for generating the promotional information; and generating promotional information for the item based on the guide words.

[0012] In some embodiments, the above method also includes: improving the promotion information based on the question and answer pairs.

[0013] In some embodiments, the above method also includes: optimizing a pre-trained large model based on question-answer pairs, wherein the optimized large model is used to characterize the correspondence between the question text and the answer text.

[0014] In a second aspect, an embodiment of the present disclosure provides an information promotion device, which includes: an identification determination unit, configured to determine a user identification of a user and an item identification of an item based on a user's information promotion request for the item; a data determination unit, configured to determine data related to the user and the item based on the user identification and the item identification; an information generation unit, configured to generate promotional information for the item based on the data related to the user and the item; and a question and answer generation unit, configured to generate a question and answer pair for interacting with the user based on the user's operation information on the promotional information.

[0015] In some embodiments, the above-mentioned operation information includes: information click operation and question text; the above-mentioned question and answer generation unit is further configured to: push an intermediate guide page to the user based on the user's information click operation on the promotional information; generate an answer text based on the question text in response to receiving the question text output by the user to the intermediate guide page; combine the question text and the answer text to generate a question and answer pair for interacting with the user.

[0016] In some embodiments, the question and answer generation unit is further configured to: in response to receiving a question text output by a user to the middle guide page, obtain input information of the large model based on the question text; and generate an answer text by inputting the input information into the large model.

[0017] In some embodiments, the question and answer generation unit is further configured to: in response to receiving the question text output by the user to the intermediate guide page, obtain the retrieval knowledge text based on the question text query vector knowledge base; splice the retrieval knowledge text, the thinking chain prompt words and the question text to generate the input information of the large model, and the thinking chain prompt words are the prompt words that drive the large model to perform multi-step reasoning.

[0018] In some embodiments, the above-mentioned device also includes: a construction unit, and the above-mentioned construction unit is configured to: construct a library document text based on the acquired basic information of the object; determine the object text and title text based on the library document text; and vectorize the object text and title text to obtain a vector knowledge base.

[0019] In some embodiments, the above-mentioned data determination unit is configured to: determine the user's historical behavior and interest data based on the user identification; determine the attribute data and function data of the item based on the item identification; wherein the historical behavior and interest data, attribute data and function data are collectively used as data related to the user and the item.

[0020] In some embodiments, the above-mentioned information generation unit is configured to: embed data related to users and items into a prompt word template to obtain prompt words for promotional information; input the prompt words into a pre-built large model to determine the guide words for generating promotional information; and generate promotional information for the item based on the guide words.

[0021] In some embodiments, the above-mentioned device also includes: a first optimization unit, which is configured to: improve the promotion information based on the question-answer pair.

[0022] In some embodiments, the above-mentioned device also includes: a second optimization unit, which is configured to: optimize the pre-trained large model based on the question-answer pair, wherein the optimized large model is used to characterize the correspondence between the question text and the answer text.

[0023] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: one or more processors; a storage device on which one or more programs are stored; when the one or more programs are executed by one or more processors, the one or more processors implement the method described in any embodiment of the first aspect.

[0024] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any embodiment of the first aspect.

[0025] The information promotion method and device provided by the embodiments of the present disclosure first determine the user ID and the item ID of the user based on the user's information promotion request for the item; secondly, determine the data related to the user and the item based on the user ID and the item ID; thirdly, generate promotion information for the item based on the data related to the user and the item; finally, generate a question-and-answer pair for interacting with the user based on the user's operation information on the promotion information. Thus, based on the user's information promotion request, the promotion information is generated, and the item push can be more in line with the user's real needs, shortening the user's decision cycle and improving the conversion rate of e-commerce; based on the user's operation information on the promotion information, a question-and-answer pair for interacting with the user is generated, giving the promotion information the ability to communicate with the user, and providing accurate answers to the user's questions, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Other features, objects and advantages of the present disclosure will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0027] Figure 1 is an exemplary system architecture diagram in which an embodiment of the present disclosure may be applied;

[0028] Figure 2 is a flow chart of an embodiment of the information promotion method according to the present disclosure;

[0029] Figure 3 is a structural schematic diagram of an embodiment of the information promotion method according to the present disclosure;

[0030] Figure 4 is a structural schematic diagram of an embodiment of an information promotion device according to the present disclosure;

[0031] Figure 5 It is a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. DETAILED DESCRIPTION

[0032] The present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.

[0033] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0034] Figure 1 An exemplary system architecture 100 is shown to which the information promotion method of the present disclosure may be applied.

[0035] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, and may generally include wireless communication links and the like.

[0036] The terminal devices 101, 102, 103 interact with the server 105 via the network 104 to receive or send messages, etc. Various communication client applications, such as instant messaging tools, email clients, etc., may be installed on the terminal devices 101, 102, 103.

[0037] The terminal devices 101, 102, 103 can be hardware or software; when the terminal devices 101, 102, 103 are hardware, they can be user devices with communication and control functions, and the above user settings can communicate with the server 105. When the terminal devices 101, 102, 103 are software, they can be installed in the above user devices; the terminal devices 101, 102, 103 can be implemented as multiple software or software modules (for example, software or software modules used to provide distributed services), or they can be implemented as a single software or software module. No specific limitation is made here.

[0038] The server 105 may be a server that provides various services, such as a background server that provides support for users on the terminal devices 101, 102, and 103. The background server may receive a user's information promotion request for an item sent by the terminal devices 101, 102, and 103, determine the user ID of the user and the item ID of the item; determine data related to the user and the item based on the user ID and the item ID; generate promotion information for the item based on the data related to the user and the item; and generate a question-answer pair for interaction with the user based on the user's operation information on the promotion information.

[0039] It should be noted that the server can be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules (for example, software or software modules used to provide distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.

[0040] It should be noted that the information promotion method provided in the embodiments of the present disclosure is generally executed by the server 105 , and the information promotion device provided in the embodiments of the present disclosure is generally disposed in the server 105 .

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

[0042] Traditional off-site advertising creative forms include: static creative, dynamic creative, and fun interactive creative. Although dynamic creative can be tailored to each individual, users still see fixed information, and the impact on the user's mind is completely dependent on the information quality of the fixed creative. Users often find it difficult to match the creative to their own scenario needs. Furthermore, traditional off-site advertising can only collect click information, and it is impossible to know what selling point attracted the user to click, and it is even more difficult to know the direction of product improvement from the user's click feedback.

[0043] In view of the above defects, the present disclosure provides an information promotion method, which can effectively provide scenario-based information recommendations for users, and can also learn what attracts users through questions and answers, and learn the improvement direction of items from user feedback. Figure 2 , shows a process 200 of an embodiment of an information promotion method according to the present disclosure, the information promotion method comprises the following steps:

[0044] Step 201 : based on a user's information promotion request for an item, determine a user ID and an item ID of the item.

[0045] In this embodiment, the information promotion request is a user information promotion demand obtained after the user operates the off-site media. The information promotion request can start the interaction of promotion information, attract the user's attention through the promotion information with different faces for each user, enter the user's operation on the promotion information, and start a question-and-answer dialogue with the user.

[0046] Optionally, the information promotion request may also be a request initiated by the user on the homepage or detail page of the e-commerce website.

[0047] In this embodiment, the user identifier is a code for uniquely identifying the user, and the item identifier is a code for uniquely identifying the item in the information promotion request. The information promotion request contains corresponding user information, and the user identifier can be obtained through the user information. The corresponding item identifier can be determined through the user identifier, or the user identifier and the item identifier can be determined simultaneously through the information promotion request.

[0048] It should be noted that the acquisition, storage and application of user personal information involved in the technical solution of the present disclosure are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0049] Step 202: Determine data related to the user and the item based on the user identifier and the item identifier.

[0050] In this embodiment, the data related to the user and the item is data related to the user's historical behavior and / or long-term interests, and is also data related to the item identification, wherein the data related to the item identification may include item attribute data and item function data, the item attribute data is data such as the source and origin of the item itself, and the item function data is data such as the purpose and application scenario of the item.

[0051] The above step 202 includes: determining the user's historical behavior data based on the user identification; determining the attribute data of the item based on the item identification; wherein the user's historical behavior data and the item's attribute data are used together as data related to the user and the item.

[0052] Optionally, the above step 202 may also include: determining the user's interest data based on the user identification; determining the item's function data based on the item identification; wherein the user's interest data and the item's function data are collectively used as data related to the user and the item.

[0053] Step 203: Generate promotion information for the item based on the data related to the user and the item.

[0054] In this embodiment, the promotion information is information that introduces and displays the item so as to attract the user's attention. For example, the promotion information may be an advertisement that introduces the item.

[0055] In this embodiment, the above step 203 includes: inputting data related to users and items into the big model to obtain promotion information output by the big model.

[0056] In this embodiment, a large model refers to a deep learning or machine learning model with a large number of parameters, which can be automatically adjusted through the training process to capture complex relationships in the input data. Such models have deeper network structures and more neurons to increase the identification and learning capabilities of the model.

[0057] like Figure 3 As shown, after the information promotion request is processed in multiple steps, the promotion information is obtained.

[0058] Step 204: Based on the user's operation information on the promotion information, generate a question-answer pair for interaction with the user.

[0059] In this embodiment, the above step 204 includes: displaying the promotion information on an off-site media or e-commerce website, wherein the off-site media or e-commerce website may correspond to the information promotion request, for example, if the information promotion request is a request issued by the off-site media or e-commerce website, the promotion information is directly displayed on the off-site media or e-commerce website. Real-time detection of whether the user issues operation information for operating the promotion information; if the user's operation information for the promotion information is detected, receiving the user's question text; generating an answer text based on the user's question text; wherein the question text and the answer text serve as a question-answer pair for interacting with the user.

[0060] For example, users can ask personalized, scenario-based questions about promoted items, such as the question text "Is this lipstick suitable for me to meet my boyfriend's parents?", "Is this lens suitable for me to take pictures of landscapes?", etc., and generate answer text based on the question text.

[0061] The information promotion method provided in this embodiment is based on generating and inserting promotional information, giving the ability to communicate with users, giving full play to the channel advantages of promotional information, and obtaining the opportunity to interact with users before users decide to place an order through the display of promotional information, thereby achieving grass-roots traffic diversion, enhancing the recognition of user intentions, and improving user experience.

[0062] Based on the big model technology, an interactive advertising format with two-way information transmission is designed. The powerful understanding ability of the big model is used to break down the actual needs of users and match them with the attributes of items. This allows item recommendations to be made in line with the real needs of users, shortening the user decision cycle and improving the conversion rate of e-commerce.

[0063] The information promotion method provided by the embodiment of the present disclosure first determines the user ID of the user and the item ID of the item based on the user's information promotion request for the item; secondly, determines the data related to the user and the item based on the user ID and the item ID; thirdly, generates promotion information for the item based on the data related to the user and the item; finally, generates a question-answer pair for interacting with the user based on the user's operation information on the promotion information. Thus, based on the user's information promotion request, the promotion information is generated, and the item push can be more in line with the user's real needs, shortening the user's decision cycle and improving the conversion rate of e-commerce; based on the user's operation information on the promotion information, a question-answer pair for interacting with the user is generated, giving the promotion information the ability to communicate with the user, and providing accurate answers to the user's questions, thereby improving the user experience.

[0064] In some optional implementations of the present disclosure, the above-mentioned operation information includes: information click operations and question texts; based on the user's operation information on the promotional information, generating a question and answer pair for interacting with the user includes: based on the user's information click operation on the promotional information, pushing an intermediate guide page to the user; in response to receiving the question text output by the user to the intermediate guide page, generating an answer text based on the question text; combining the question text and the answer text to generate a question and answer pair for interacting with the user.

[0065] In this optional implementation, the intermediate guide page is a web page that guides users to input information. Compared with the detail page or homepage of items related to promotional information, the intermediate guide page can provide users with an intermediate information input method. More detailed questions of users can be obtained from the intermediate guide page, and more detailed answers to questions can be provided to users, thereby improving user experience and increasing the conversion rate of e-commerce.

[0066] In this optional implementation, users attracted by the promotional information can enter the intermediate guide page (which can be developed by the e-commerce platform). After entering the intermediate guide page, they can directly communicate with the large advertising model to inquire about item details, applicable scenarios, competitive product comparisons and other information. Even users who have not downloaded the platform application can be successfully directed to this link, which helps to drive the growth of new customers on the platform.

[0067] like Figure 3 As shown, the user (not shown in the figure) enters the question text in the middle guide page, and obtains the answer text based on the question text; the answer text can also be displayed on the middle guide page, thereby showing the user the corresponding answer to the question text, improving the user experience.

[0068] In this optional implementation, a question text input area may be provided in the middle guide page, in which the user may directly input the question text, and the answer text to the question text is displayed in the middle guide page.

[0069] The method for generating question-answer pairs provided by this optional implementation pushes an intermediate guide page based on the user's click operation on the promotional information; in response to receiving a question text output by the user to the intermediate guide page, an answer text is generated based on the question text, and a question-answer pair for interacting with the user is obtained based on the question text and the answer text, thereby providing the user with a method of information input and outputting detailed item information to the user through the question-answer pair, thereby improving the user experience.

[0070] Optionally, the above-mentioned operation information includes: information click operation and page click operation. The above-mentioned question and answer pairs generated for interacting with users based on the user's operation information on the promotional information include: based on the user's information click operation on the promotional information, an intermediate guide page is pushed to the user, and the intermediate guide page includes a click area of ​​the item homepage or details page corresponding to the promotional information; based on the user's page click operation on the click area, the item homepage or details page is pushed to the user, so that the user can directly obtain the item information corresponding to the promotional information on the item homepage or details page.

[0071] In some optional implementations of the present disclosure, in response to receiving a question text output by a user to the intermediate guide page, generating an answer text based on the question text includes: in response to receiving the question text output by the user to the intermediate guide page, obtaining input information of the large model based on the question text; and generating the answer text by inputting the input information into the large model.

[0072] In this optional implementation, the above-mentioned obtaining the input information of the large model based on the question text includes: splicing the question text with the shopping guide role prompt text to obtain the input information of the large model.

[0073] In this embodiment, the large model refers to a deep learning or machine learning model with a large number of parameters, which can be automatically adjusted through the training process to capture the complex relationships in the input data. Such models usually have a deeper network structure and more neurons to increase the representation and learning capabilities of the model. Large models have achieved remarkable achievements in technical fields such as natural language processing, computer vision, and speech recognition.

[0074] In this embodiment, the shopping guide role prompt text is a question that prompts the big model to analyze the problem from the perspective of a shopping guide. Providing the shopping guide role prompt text can enable the big model to determine that its role is a shopping guide role.

[0075] After the shopping guide role prompt text is spliced ​​into the input information, the input information of the big model can be input into the big model to obtain the answer text output by the big model. At this time, the big model analyzes the question text from the perspective of the shopping guide role and obtains the answer text corresponding to the question text, thereby improving the big model's understanding of its own role.

[0076] The method for generating answer text provided by this optional implementation generates input information of the large model based on the question text; the input information is input into the large model to obtain the answer text output by the large model, thereby providing a reliable implementation method for obtaining the answer text and ensuring the reliability of the answer text.

[0077] Optionally, in response to receiving the question text output by the user to the middle guide page, generating the answer text based on the question text includes: inputting the question text into a preset prompt word template to obtain input information of the large model, and generating the answer text by inputting the input information into the large model.

[0078] In some optional implementations of the present disclosure, in response to receiving the question text output by the user to the intermediate guide page, obtaining the input information of the large model based on the question text includes: in response to receiving the question text output by the user to the intermediate guide page, querying the vector knowledge base based on the question text to obtain the retrieval knowledge text; splicing the retrieval knowledge text, the thinking chain prompt words and the question text to generate the input information of the large model.

[0079] In this embodiment, the vector knowledge base is a vector base pre-built and related to item knowledge, through the pre-acquired item attribute knowledge, the item attribute knowledge includes: item promotion basic information, item basic information, item service information, and item-related brand, store, and category introduction information. By performing document splitting and vectorization processing on the item knowledge, an index in the vector knowledge base (using the vector as the index) and the original text corresponding to the index are obtained, and multiple vectors related to item knowledge can be obtained, and the vector knowledge base is obtained by combining. By vectorizing the item knowledge, the amount of retrieval of item attribute knowledge can be reduced. When using the vector knowledge base, the text to be retrieved is compared with the index for similarity. When the similarity is greater than the similarity threshold, the original text related to the index is used as the retrieved knowledge text.

[0080] like Figure 3 As shown, it can be obtained by querying the vector knowledge base to obtain the retrieval knowledge text (not shown in the figure), and then by retrieving the knowledge text, the answer text is obtained, and the question text and the answer text corresponding to the question text are collected to obtain the question and answer pair.

[0081] In this embodiment, the retrieval knowledge text is the original text related to the attribute knowledge of the item. The original text can be the original attribute text of the item, or the original attribute text of the item can be split to obtain the text content and title text. The above-mentioned querying a pre-built vector knowledge base based on the question text to obtain the retrieval knowledge text includes: comparing the question text with the vector (index) in the vector knowledge base for similarity; in response to the similarity threshold between the question text and the vector being greater than the similarity threshold (for example, 80%), the original text corresponding to the vector is used as the retrieval knowledge text.

[0082] In this embodiment, the thought chain prompt is a prompt that drives the large model to perform multi-step reasoning. For example, the thought chain prompt is: Please reason step by step according to the following ideas: first associate user needs with item attributes, then analyze whether the item attributes can meet user needs, and finally give the user conclusion and analyze the reasons one by one." The prompt guides the large model to reason according to a specific analysis idea.

[0083] Optionally, the vector knowledge base may also include: examples of questions and answers about a variety of different types of items, wherein the examples of questions and answers may be manually constructed question-answer pairs, and the manually constructed question-answer pairs are mainly intended to enable the large model to know what style and approach to use to answer user questions.

[0084] In this embodiment, the question and answer samples are used as a prompt word to help the large model with the question and answer format and style. For example, the question and answer samples of "Meeting boyfriend's parents -> requiring lipstick with light color; shooting landscapes -> requiring the lens to support wide-angle focal length" are used to guide the large model to understand what the question text "associate user needs with item attributes" means, and then accurately and reasonably associate new user needs with corresponding item attributes.

[0085] When the vector knowledge base includes question and answer samples, the above-mentioned query based on the question text and the pre-constructed vector knowledge base also includes: comparing the similarity of the question text with the question and answer samples in the vector knowledge base; in response to a similarity threshold between the question text and the question and answer samples being greater than a similarity threshold, concatenating the original text and the question and answer samples as retrieval knowledge text.

[0086] The method for obtaining the input information of the large model provided by this embodiment queries a pre-built vector knowledge base after receiving the question text to obtain the retrieval knowledge text; splices the retrieval knowledge text, the thinking chain prompt words and the question text to obtain the input information of the large model, thereby improving the comprehensiveness of the input information obtained and ensuring the reliability of the answer text.

[0087] Optionally, in response to receiving the question text output by the user to the intermediate guide page, obtaining the input information of the large model based on the question text includes: in response to receiving the question text output by the user to the intermediate guide page, obtaining historical question and answer pairs of the question text, the historical question and answer pairs refer to historical questions of the same user in the same dialog box and historical answers corresponding to the historical questions; splicing the question text and the historical question and answer pairs to obtain splicing information, inputting the splicing information into the large model, and obtaining new question text output by the large model; based on the new question text, querying a pre-built vector knowledge base to obtain new knowledge text; splicing the new knowledge text, thinking chain prompt words and question text to obtain the input information of the large model.

[0088] In this embodiment, guided by the historical question-answer pair prompts, the big model will first link the user's needs to the corresponding item attributes and generate a new question text. Then, the system uses the vectorization model to vectorize the question text, retrieves the relevant new knowledge text in the knowledge base, and splices it with the content generated by the big model to ask the big model. Finally, the big model can analyze whether the item attributes meet the requirements based on the item knowledge, and give a standardized answer according to the prompt of the thinking chain prompt word and the corresponding answer format.

[0089] In some optional implementations of this embodiment, the above-mentioned information promotion method also includes: constructing a library document text based on the acquired basic information of the item; determining the item text and title text based on the library document text; and vectorizing the item text and title text to obtain a vector knowledge base.

[0090] In this embodiment, the basic information of the item is the attribute information of the item corresponding to the item identifier, and the basic information includes: basic information on item promotion, basic information on items, item service information, and brand, store, and category introduction information related to the item. After obtaining the basic information of the item, it can be organized into a library document text in a strict multi-level title format, where the library document text can be a Markdown file, which is a lightweight markup language that allows people to write documents in a plain text format that is easy to read and write.

[0091] In this embodiment, based on the library document text, obtaining the item text and title text includes: segmenting the library document text, for example, using the large model application development framework LangChain (open source framework) to implement Markdown text segmentation by title, and obtaining the item text and title text of the item.

[0092] In this embodiment, the above-mentioned vectorization processing of the article text and the title text includes: using a vectorization model to vectorize the split paragraphs, using the vector as the index and the original text as the index corresponding value, and storing the data in a vector knowledge base, wherein the vector knowledge base can use Redis (Remote Dictionary Server), Vearch (distributed vector search system) and other database bases that support vector retrieval.

[0093] In this embodiment, LangChain integrates a document segmentation and slicing tool, which supports segmenting Markdown text by title and generating multiple paragraphs with titles.

[0094] In addition to the interface provided by LangChain, there are also multiple options, such as the LlamaIndex framework (LlamaIndex is a tool that connects large language models and external data together), or custom scripts for segmentation.

[0095] In this embodiment, the item text refers to the content related to the item, and the title text refers to the title related to the content related to the item. The item text and the title text can be used together as the original text of the item.

[0096] The information promotion method provided in this embodiment constructs a library document text based on the acquired basic information of the item; obtains the item text and title text based on the library document text; vectorizes the item text and title text to obtain a vector knowledge base, providing a reliable implementation method for constructing a vector knowledge base.

[0097] In some optional implementations of the present disclosure, the above-mentioned determination of data related to the user and the item based on the user identification and the item identification includes: determining the user's historical behavior and interest data based on the user identification; determining the attribute data and function data of the item based on the item identification; wherein the historical behavior and interest data, attribute data and function data are collectively regarded as data related to the user and the item.

[0098] In this embodiment, the user identification is a unique code for identifying a user, and a unique user can be determined through the user identification; the item identification is a unique code for identifying an item, and a unique item can be determined through the item identification.

[0099] In this embodiment, when a user accesses the off-site media of an e-commerce company, the off-site media sends a user ID to the information promotion method and the execution subject thereon, and the user ID is used to identify a unique user. The e-commerce platform sorts the promotion information being delivered, selects the interactive item ID for the media to be returned to the user for bidding, and the item ID corresponds to the promotion information and is used to identify the item.

[0100] In this embodiment, the attribute data of the item is data related to the item's own attributes, and the item function data is the function that the item can realize on the e-commerce homepage. The above-mentioned determination of the attribute data and function data of the item based on the item identification includes: querying the vector knowledge base based on the item identification to obtain the attribute data of the item; querying the item database based on the item identification to obtain the function data of the item. In this embodiment, the vector knowledge base is a database that stores the attribute data of the item. The attribute data of the item is the attribute information, store service information, brand / store information, etc. that are strongly bound to the commodity identification. The vector knowledge base uses vectors as indexes; the item database is a library that stores the function data of the item. The function data of the item is information such as product ingredients and efficacy, and the usage scenarios of this type of product. The item database is a key-value pair type database, and the item database uses the commodity identification as the key value of the key-value pair; the data of different aspects of the item are respectively stored in the vector knowledge base and the item database. The vector knowledge base and the item database are respectively queried through the item identification, which can improve the uniformity of data retrieval and improve the efficiency of data retrieval.

[0101] In this embodiment, for users, it is necessary to extract recent behaviors and long-term interests, among which recent behaviors belong to historical behaviors, such as historical behaviors including browsing, adding to cart, and purchasing items; long-term interests belong to interest data, such as beauty interest data, digital geek data, etc.

[0102] This optional implementation provides a method for obtaining data related to users and items. Based on the user identification, the user's historical behavior and interest data are determined; based on the item identification, the attribute data and function data of the item are determined, and the historical behavior and interest data, attribute data, and function data are collectively used as data related to users and items, providing a reliable implementation method for obtaining data related to users and items.

[0103] In some optional implementations of the present disclosure, the above-mentioned generation of promotional information for items based on data related to users and items includes: embedding the data related to users and items into a prompt word template to obtain prompt words for the promotional information; inputting the prompt words into a pre-built large model to determine guide words for generating the promotional information; and generating promotional information for the item based on the guide words.

[0104] In this embodiment, the prompt word is a text sequence obtained through a prompt word model, and the prompt word is input into the large model to obtain the guide word output by the large model.

[0105] In this embodiment, the guide word is a keyword for generating promotion information. The guide word can guide the information direction of the generated promotion information. The guide word is embedded in the creative material of the promotion information to obtain the promotion information. The creative material can be text, voice or image, and the guide word relies on the creative material to display the promotion information.

[0106] In this embodiment, the prompt word template is a fixed template for the large model prompt words, which is used for programmed questioning. The fixed information required for each request to the large model is constructed as a template, and the program automatically fills in the template with the customized information each time to obtain a complete prompt word.

[0107] In this embodiment, data related to users and items are embedded in the prompt word template to obtain personalized prompt words. For example, the content of the prompt word in the prompt word template is: "You are a marketing expert of the e-commerce platform. User A is a long-time beauty user who tends to buy brands such as B and C. He has recently browsed lipsticks and moisturizers of brands B, D, and E. Now you want to promote the essence of brand D (with functions...). Please write a short but very attractive guide word to attract users to click on the promotion information and interact with the smart big model." The prompt word is used to generate personalized guide words for the user.

[0108] In this embodiment, the purpose here is to let the big model generate "guide words" according to the "prompt words". The prompt words are professional terms (Prompt) in the field of the big model, which are used to let the big model generate highly relevant answers according to human instructions. The interactive guide words generated by the big model are embedded in the creative materials of the promotion information, and the promotion information is returned to the external media.

[0109] The method for generating promotion information provided by this optional implementation embeds data related to users and items into a prompt word template to obtain prompt words, inputs the prompt words into a large model to obtain guide words output by the large model, embeds the guide words into creative materials to obtain promotion information, provides a reliable means for obtaining promotion information, and improves the reliability of obtaining promotion information.

[0110] In some embodiments of the present disclosure, the above-mentioned information promotion method further includes: improving the promotion information based on the question and answer pairs.

[0111] Optionally, the above method also includes: generating search information or recommendation information based on the question-answer pair.

[0112] The three scenarios of promotion information, search information, and recommendation information all rely on accurate user intent recognition. However, only coarse-grained user intent can be constructed based on user portraits and behaviors, such as "the user likes a certain brand of lipstick", "the user is a fitness enthusiast", etc. However, based on the user's question text, more detailed user intent can be extracted, such as "the user likes light-colored lipstick", "the user wants to exercise waist muscles recently", etc. This fine-grained user intent helps to display search results more accurately, promote promotion information, and recommend intended items.

[0113] For example, if we know that a female user is going to meet her boyfriend’s parents, when she searches for “lipstick”, we can prioritize displaying “elegant colors suitable for meeting her boyfriend’s parents”; when she browses the item flow, we can actively recommend “elegant and appropriate clothes / jewelry” that match the scene; the same goes for promotional information.

[0114] The information promotion method provided in this embodiment improves the promotion information based on the question-answer pair to obtain the improved promotion information, so that the improved promotion information can be more in line with the user's intention and improve the user experience.

[0115] In some embodiments of the present disclosure, the above-mentioned information promotion method also includes: optimizing a pre-trained large model based on question-answer pairs, wherein the optimized large model is used to characterize the correspondence between the question text and the answer text.

[0116] In this embodiment, optimizing the large model includes fine-tuning the large model, and fine-tuning the large model can enable the large model to better understand domain knowledge and reasoning logic, but the lack of domain question and answer data makes it difficult to perform effective fine-tuning. By accumulating a large amount of user question and answer data as described above, an optional optimization method is provided for fine-tuning the large question and answer model.

[0117] The information promotion method provided in this implementation optimizes the pre-trained big model based on question-answer pairs. When the optimized big model is obtained, the optimized big model can be made more in line with the user's intention, thereby improving the user experience.

[0118] Optionally, the above-mentioned information promotion method may also include: determining the user's demand data based on the question and answer pairs, and sorting out the most potential business opportunities for the merchant based on the demand data for subsequent item design and distribution.

[0119] The information promotion method provided in this embodiment can build an interactive data return mechanism, and also extract refined user needs based on large model technology, optimize the accuracy of subsequent promotion information, search, and recommendation of multiple scenarios, and form business opportunity suggestions for merchants. Intelligent and interactive promotion information can also take on part of the role of pre-sales customer service, which can effectively reduce the operating costs of merchants and improve the user's pre-sales consulting experience.

[0120] Further references Figure 4 As an implementation of the information promotion method shown in the above figures, the present disclosure provides an embodiment of an information promotion device. Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0121] like Figure 4 As shown, an embodiment of the present disclosure provides an information promotion device 400, and the device 400 includes: an identification determination unit 401, a data determination unit 402, an information generation unit 403, and a question and answer generation unit 404. Among them, the above-mentioned identification determination unit 401 can be configured to determine the user identification of the user and the item identification of the item based on the user's information promotion request for the item. The above-mentioned data determination unit 402 can be configured to determine the data related to the user and the item based on the user identification and the item identification. The above-mentioned information generation unit 403 can be configured to generate promotion information for the item based on the data related to the user and the item. The above-mentioned question and answer generation unit 404 can be configured to generate a question and answer pair for interacting with the user based on the user's operation information on the promotion information.

[0122] In this embodiment, the specific processing of the identification determination unit 401, the data determination unit 402, the information generation unit 403, and the question and answer generation unit 404 and the technical effects thereof can be referred to in the respective Figure 2 Corresponding to step 201, step 202, step 203, and step 204 in the embodiment.

[0123] In some embodiments, the above-mentioned operation information includes: information click operation and question text; the above-mentioned question and answer generation unit 404 is further configured to: push an intermediate guide page to the user based on the user's information click operation on the promotional information; generate an answer text based on the question text in response to receiving the question text output by the user to the intermediate guide page; combine the question text and the answer text to generate a question and answer pair for interacting with the user.

[0124] In some embodiments, the question and answer generation unit 404 is further configured to: in response to receiving a question text output by a user to the middle guide page, obtain input information of the large model based on the question text; and generate an answer text by inputting the input information into the large model.

[0125] In some embodiments, the question and answer generation unit 404 is further configured to: in response to receiving the question text output by the user to the intermediate guide page, obtain the retrieval knowledge text based on the question text query vector knowledge base; splice the retrieval knowledge text, the thinking chain prompt words and the question text to generate the input information of the large model, and the thinking chain prompt words are prompt words that drive the large model to perform multi-step reasoning.

[0126] In some embodiments, the above-mentioned device also includes: a construction unit (not shown in the figure), which is configured to: construct a library document text based on the acquired basic information of the item; determine the item text and title text based on the library document text; and vectorize the item text and title text to obtain a vector knowledge base.

[0127] In some embodiments, the above-mentioned data determination unit 402 is configured to: determine the user's historical behavior and interest data based on the user identification; determine the attribute data and function data of the item based on the item identification; wherein the historical behavior and interest data, attribute data and function data are collectively used as data related to the user and the item.

[0128] In some embodiments, the information generation unit 403 is configured to: embed data related to users and items into a prompt word template to obtain prompt words for promotional information; input the prompt words into a pre-built large model to determine guide words for generating promotional information; and generate promotional information for items based on the guide words.

[0129] In some embodiments, the apparatus 400 further includes: a first optimization unit (not shown in the figure), wherein the first optimization unit is configured to: improve the promotion information based on the question-answer pair.

[0130] In some embodiments, the above-mentioned device 400 also includes: a second optimization unit (not shown in the figure), which is configured to: optimize the pre-trained large model based on the question-answer pair, wherein the optimized large model is used to characterize the correspondence between the question text and the answer text.

[0131] The information promotion device provided by the embodiment of the present disclosure first determines the user identification of the user and the item identification of the item based on the user's information promotion request for the item; secondly, the data determination unit 402 determines the data related to the user and the item based on the user identification and the item identification; thirdly, the information generation unit 403 generates promotion information for the item based on the data related to the user and the item; finally, the question and answer generation unit 404 generates a question and answer pair for interaction with the user based on the user's operation information on the promotion information. Thus, based on the user's information promotion request, the promotion information is generated, and the item push can be more in line with the user's real needs, shortening the user's decision cycle and improving the conversion rate of e-commerce; based on the user's operation information on the promotion information, the question and answer pair for interaction with the user is generated, and accurate questions can be answered for the user, improving the user experience.

[0132] Reference below Figure 5 , which shows a structural schematic diagram of an electronic device 500 suitable for implementing an embodiment of the present disclosure.

[0133] like Figure 5 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0134] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Figure 5 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 5 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0135] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0136] It should be noted that the computer-readable medium of the embodiment of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the embodiment of the present disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In the embodiment of the present disclosure, the computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0137] The computer-readable medium may be included in the server; or may exist independently without being installed in the server. The computer-readable medium carries one or more programs. When the one or more programs are executed by the server, the server: determines the user ID of the user and the item ID of the item based on the user's information promotion request for the item; determines the data related to the user and the item based on the user ID and the item ID; generates promotion information for the item based on the data related to the user and the item; generates a question-answer pair for interaction with the user based on the user's operation information on the promotion information.

[0138] Computer program code for performing the operations of embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as a separate software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

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

[0140] The units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. The units described may also be arranged in a processor, for example, may be described as: a processor comprising an identification determination unit, a data determination unit, an information generation unit, and a question and answer generation unit. The names of these units do not constitute limitations on the units themselves in certain circumstances, for example, the identification determination unit may also be described as a unit "configured to determine the user identification of the user and the item identification of the item based on the user's information promotion request for the item".

[0141] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) to form a technical solution.

Claims

1. A method for information promotion, comprising: Determining a user identifier of the user and an item identifier of the item based on a user's information promotion request for the item; Based on the user identification and the item identification, determining data related to the user and the item; generating promotional information for the item based on data related to the user and the item; Based on the user's operation information on the promotion information, a question-answer pair is generated for interacting with the user.

2. The method according to claim 1, wherein: The operation information includes: information click operation and question text; the generating of a question-answer pair for interaction with the user based on the user's operation information on the promotion information includes: Pushing an intermediate guide page to the user based on the user's click operation on the promotion information; In response to receiving the question text output by the user to the intermediate guide page, generating an answer text based on the question text; The question text and the answer text are combined to generate a question-answer pair for interaction with the user.

3. The method according to claim 2, wherein: In response to receiving the question text output by the user to the intermediate guide page, generating an answer text based on the question text includes: In response to receiving the question text output by the user to the intermediate guide page, obtaining input information of the large model based on the question text; The answer text is generated by inputting the input information into the large model.

4. The method according to claim 3, wherein: In response to receiving the question text output by the user to the intermediate guide page, obtaining input information of the large model based on the question text includes: In response to receiving the question text output by the user to the intermediate guide page, querying a vector knowledge base based on the question text to obtain a search knowledge text; The retrieval knowledge text, the thought chain prompt words and the question text are spliced ​​to generate the input information of the large model, and the thought chain prompt words are prompt words that drive the large model to perform multi-step reasoning.

5. The method according to claim 4, wherein: The method further comprises: Based on the basic information of the acquired items, the library document text is constructed; Determining an item text and a title text based on the library document text; The item text and the title text are vectorized to obtain the vector knowledge base.

6. The method according to any one of claims 1 to 5, wherein determining data related to the user and the item based on the user identifier and the item identifier comprises: Based on the user identifier, determining the user's historical behavior and interest data; Based on the item identification, determining attribute data and function data of the item; The historical behavior and interest data, the attribute data and the function data are collectively used as data related to the user and the item.

7. The method according to any one of claims 1 to 5, wherein: The generating promotion information for the item based on the data related to the user and the item includes: Embedding data related to the user and the item into a prompt word template to obtain a prompt word for the promotion information; Inputting the prompt words into a pre-built large model to determine the guide words used to generate the promotion information; Generate promotion information of the item based on the guide word.

8. The method according to claim 1, further comprising: The promotional information is improved based on the question and answer pairs.

9. The method according to claim 1, further comprising: Based on the question-answer pair, the pre-trained large model is optimized, wherein the optimized large model is used to characterize the correspondence between the question text and the answer text.

10. An information promotion device, comprising: an identification determination unit, configured to determine a user identification of the user and an item identification of the item based on a user's information promotion request for the item; a data determination unit configured to determine data related to the user and the item based on the user identifier and the item identifier; an information generating unit configured to generate promotion information for the item based on data related to the user and the item; The question and answer generating unit is configured to generate a question and answer pair for interacting with the user based on the user's operation information on the promotion information.

11. An electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 9.

12. A computer readable medium having a computer program stored thereon, wherein: When the program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.

Citation Information

Cited By

  • Human-machine cooperation dialogue strategy and dynamic modeling system based on AI large model

    CN119558409A

  • Human-Machine Collaboration Dialogue Strategy and Dynamic Modeling System Based on AI Large Model

    CN119558409B