Information processing method
The large language model automatically identifies multiple target objects of online consumption platform users and generates search keywords, which solves the problem of users needing to search for multiple target objects one by one, improves efficiency, and saves time and resources.
Patent Information
- Application Number
- CN202410574136.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-09
- Publication Date
- 2024-08-27
AI Technical Summary
On online consumption platforms, when users need to purchase multiple different target objects, they need to search one by one, resulting in a waste of time and traffic and low efficiency.
Use a large language model to automatically identify target objects from user demand information, generate search keywords, and obtain business information and object information based on keywords, reducing the number of searches and saving time and traffic.
This eliminates the need for users to search for each target object one by one, saving time and traffic, helping users buy all the items they need at one merchant, and reducing the waste of product packaging and express delivery resources.
Smart Images

Figure CN118552276A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an information processing method. Background Art
[0002] There are many online consumption platforms, such as those used for ordering food, shopping or learning. The popularization of these online platforms has brought great convenience to users' lives, work and study.
[0003] When a user needs to purchase a target object such as an item or service, he or she submits information such as keywords or images of the target object to the consumption platform. The consumption platform searches for matching items or services based on the information submitted by the user, and provides information of multiple searched objects to the user, from which the user can filter out the target object that meets his or her needs.
[0004] However, when a user needs to purchase multiple different target objects, he needs to search for each target object one by one on the consumption platform in the above manner, which results in a lot of time and traffic consumption and is very inefficient. Summary of the invention
[0005] In response to the above-mentioned deficiencies in the prior art, the present application proposes an information processing method, which utilizes a large language model to automatically identify multiple target objects required by the user from the user demand information. There is no need to search for each target object one by one, which can save a lot of time and traffic. Recommendation information is fed back to the user on a merchant basis, which helps the user to buy all the target objects from one merchant and reduce the waste of product packaging and express delivery resources.
[0006] The first aspect of the present application proposes an information processing method, which is applied to a server, and the method comprises:
[0007] Receiving user demand information from a client, and generating first prompt information, wherein the first prompt information is used to inquire about each target object that meets the user demand information;
[0008] Sending the first prompt information to a preset large language model, and receiving the search keywords of the target objects output by the preset large language model;
[0009] Based on each of the search keywords, obtaining at least one piece of recommendation information, the recommendation information including merchant information of a target merchant and object information of the target object belonging to the target merchant;
[0010] The at least one recommendation information is sent to the client.
[0011] In some embodiments of the present application, the receiving user demand information from the client and generating the first prompt information includes:
[0012] Receiving user demand information from a client, and identifying a target subject from the user demand information, wherein the target subject is formed based on the target objects;
[0013] Determine the subject category to which the target subject belongs;
[0014] The first prompt information is generated based on preset information corresponding to the target subject and the subject category, wherein the preset information includes at least one of a preset answer format, a preset question and answer example, and a preset thinking chain prompt sentence.
[0015] In some embodiments of the present application, identifying the target subject required by the user from the user requirement information includes:
[0016] Acquire historical context information of the user, the historical context information including historical demand information from the user within a preset period of time in the past and historical recommendation information based on responses to the historical demand information;
[0017] Based on the user demand information and the historical context information, a target subject required by the user is identified.
[0018] In some embodiments of the present application, the method further includes:
[0019] Sending the first prompt information to the preset large language model, receiving production process information of the target subject output by the preset large language model, wherein the production process information is used to describe the operation process of producing the target subject by using the target objects;
[0020] The production process information is sent to the client.
[0021] In some embodiments of the present application, obtaining at least one recommendation information based on each of the search keywords includes:
[0022] Based on each of the search keywords, respectively obtain object information of multiple target objects corresponding to each of the search keywords and merchant information of the target merchant to which each of the target objects belongs;
[0023] Based on the merchant information of the target merchant to which each target object belongs, determining the target objects belonging to the same target merchant;
[0024] The object information of the target object belonging to the same target merchant and the merchant information of the same target merchant are used as the recommendation information corresponding to the same target merchant.
[0025] In some embodiments of the present application, when the at least one recommendation information includes a plurality of recommendation information, before sending the at least one recommendation information to the client, the method further includes:
[0026] Based on the merchant information and the object information included in each recommendation information, remove the recommendation information that does not meet the preset delivery condition from the multiple recommendation information, wherein the preset delivery condition includes a condition for restricting the target merchant from delivering the target object to the user;
[0027] In the case that a plurality of recommendation information remains after the elimination operation, generating second prompt information based on the remaining plurality of recommendation information, wherein the second prompt information is used to inquire about the arrangement order of the remaining plurality of recommendation information;
[0028] Based on the second prompt information, the remaining plurality of recommendation information are obtained after sorting through the preset large language model.
[0029] In some embodiments of the present application, generating the second prompt information based on the remaining plurality of recommendation information includes:
[0030] The second prompt information is generated based on the remaining recommendation information and a preset sorting strategy, wherein the preset sorting strategy is used to sort based on at least one of the coverage of the target merchant to the target object, the distance between the target merchant and the user corresponding to the client, and the price of the target object.
[0031] In some embodiments of the present application, before sending the at least one recommendation information to the client, the method further includes:
[0032] Based on the user demand information, respectively determine the quantity of each target object that meets the user demand information;
[0033] Calculating the total value corresponding to the recommendation information based on the object information of the target objects included in the recommendation information and the number of each target object;
[0034] The total value corresponding to the recommendation information is added to the recommendation information.
[0035] The second aspect of the present application proposes an information processing method, which is applied to a client, and the method comprises:
[0036] Receiving user demand information submitted by a user, wherein the user demand information is used to describe a target subject required by the user, and the target subject is formed based on multiple target objects;
[0037] Sending the user demand information to a server, so that the server obtains search keywords of each target object through a preset large language model based on the user demand information and then searches for at least one recommendation information; the recommendation information includes merchant information of the target merchant and object information of the target object belonging to the target merchant;
[0038] Receive and display the at least one recommendation information returned by the server.
[0039] In some embodiments of the present application, the displaying the at least one recommendation information returned by the server includes:
[0040] Displaying a plurality of card components in the current interface, the number of the card components being equal to the number of the recommended information, and each of the card components being used to display different recommended information;
[0041] Displaying one piece of the recommendation information in each of the card components;
[0042] A purchase operation component is displayed in each of the card components.
[0043] The third aspect of the present application proposes an information processing method, which is applied to a client, and the method includes:
[0044] Displaying a first interface, the first interface including an entry component for submitting user demand information; the user demand information is used to describe a target subject required by the user, and the target subject is formed based on multiple target objects;
[0045] Receiving the user demand information submitted by the user through the entry component, and sending the user demand information to the server;
[0046] Receive at least one recommendation information returned by the server, wherein the recommendation information is obtained by searching for search keywords of each target object obtained by the server through a preset large language model based on the user demand information; the recommendation information includes merchant information of a target merchant and object information of the target object belonging to the target merchant;
[0047] An information processing result interface is displayed, wherein the information processing result interface includes the at least one recommended information.
[0048] In some embodiments of the present application, the receiving, through the portal component, the user demand information submitted by the user includes:
[0049] Detecting a triggering event of the entry component, calling up an input program corresponding to the entry component;
[0050] Displaying an input component corresponding to the input program in the first interface;
[0051] The user demand information submitted by the user is obtained through the input component.
[0052] In some embodiments of the present application, before receiving at least one recommendation information returned by the server, the method further includes:
[0053] A prompt message is displayed in the first interface to indicate that the user demand information is being processed.
[0054] In some embodiments of the present application, the method further includes:
[0055] Receiving the production process information of the target subject returned by the server;
[0056] The information processing result display interface includes:
[0057] The production process information is displayed in the processing result interface, and the at least one recommended information is displayed according to the order of the at least one recommended information returned by the server.
[0058] A fourth aspect of the present application provides an information processing system, the system comprising a server and a client;
[0059] The client is used to receive user demand information submitted by a user, send the user demand information to the server, and receive and display at least one recommendation information returned by the server;
[0060] The server is used to receive user demand information from the client, generate first prompt information, and query each target object that meets the user demand information; send the first prompt information to a preset large language model, and receive search keywords for each target object output by the preset large language model; based on the search keywords for each target object, obtain at least one recommendation information, and the recommendation information includes merchant information of a target merchant and object information of the target object belonging to the target merchant; and send the at least one recommendation information to the client.
[0061] The fifth aspect of the present application proposes an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described in the first aspect, the second aspect, or the third aspect above.
[0062] The sixth aspect of the present application proposes a computer-readable storage medium having a computer program stored thereon, wherein the program is executed by a processor to implement the method described in the first aspect, the second aspect or the third aspect above.
[0063] The seventh aspect of the present application proposes a computer program product, including a computer program, wherein the computer program is executed by a processor to implement the method described in the first aspect, the second aspect or the third aspect above.
[0064] Based on the information processing methods described in the first, second and third aspects above, the present application has at least the following beneficial effects or advantages:
[0065] In an embodiment of the present application, the client only needs to submit user demand information to the server. The server uses a preset large language model to automatically analyze the search keywords of each target object that the user needs to purchase, automatically uses each search keyword to search, and feeds back the object information of the searched target object on a merchant basis. This realizes automatic identification of multiple target objects required by the user from the user demand information, without the need to search for each target object one by one, which can save a lot of time and traffic. In addition, the server feeds back recommended information to the user on a merchant basis, which helps the user to buy all the target objects they need from one merchant, thereby reducing the waste of product packaging and express delivery resources.
[0066] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0068] Figure 1 is a schematic diagram of a network architecture of an information processing system according to some exemplary embodiments;
[0069] Figure 2 is a flow chart of an information processing method according to some exemplary embodiments;
[0070] Figure 3 A schematic diagram of a process of information processing by a server according to some exemplary embodiments;
[0071] Figure 4 It is a flowchart of a method for information processing by a client according to some exemplary embodiments;
[0072] Figure 5 is a schematic diagram of an authorization interface according to some exemplary embodiments;
[0073] Figure 6 is a schematic diagram of a page showing a card component according to some exemplary embodiments;
[0074] Figure 7 (a) is a schematic diagram showing an entry component displayed on a home page according to some exemplary embodiments; Figure 7 (b) is a schematic diagram showing an entry component displayed in a search result page according to some exemplary embodiments;
[0075] Figure 8 is a schematic diagram of a function guide page according to some exemplary embodiments;
[0076] Fig. 9 is a schematic diagram of a page for displaying recommendation information according to some exemplary embodiments;
[0077] Fig.10 A flowchart of another information processing method performed by a client according to some exemplary embodiments;
[0078] Fig.11 is a schematic diagram of interactive components according to some exemplary embodiments;
[0079] Fig.12 is a schematic diagram of a display keyboard assembly according to some exemplary embodiments;
[0080] Fig.13 is a schematic diagram showing prompt information that user demand information is being processed according to some exemplary embodiments;
[0081] Fig.14 is a schematic diagram of a processing result page according to some exemplary embodiments;
[0082] Fig.15 is a schematic diagram of the structure of an information processing device applied to a server according to some exemplary embodiments;
[0083] Fig.16 is a schematic diagram of the structure of an information processing device applied to a client according to an exemplary embodiment;
[0084] Fig.17 is another structural schematic diagram of another information processing device applied to a client according to an exemplary embodiment;
[0085] Fig.18 is a schematic diagram of a hardware structure of an electronic device according to an exemplary embodiment;
[0086] Fig.19 The figure is a schematic diagram of the structure of a storage medium according to an exemplary embodiment. DETAILED DESCRIPTION
[0087] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0088] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0089] It should be understood that, although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determination", etc.
[0090] 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.
[0091] Currently, users often purchase goods or services on online consumer platforms. When shopping on consumer platforms, users enter keywords of the goods they want to buy, and the consumer platforms search for multiple items matching the keywords for users to choose from. However, when users need to purchase multiple different items, they need to search for each item one by one on the consumer platform, which consumes a lot of time and traffic and is very inefficient.
[0092] For example, if a user wants to make a dish of fish-flavored shredded pork, he needs to buy the ingredients needed to make it. The user needs to know that the ingredients needed for fish-flavored shredded pork are meat, fungus, carrots, green peppers, and red carrots. If the user does not know what ingredients are needed for fish-flavored shredded pork, the user needs to first inquire about the required ingredients through other channels. Then the user searches for these ingredients one by one on the consumption platform and places an order. In this way, the user will spend a long time searching for ingredients, and the ingredients ordered by the user are likely to belong to different merchants. This not only wastes a lot of user time and traffic, but also requires multiple merchants to pack, and couriers to pick up the goods from multiple merchants, and even multiple couriers to deliver these ingredients separately, resulting in a waste of packaging resources and express resources.
[0093] Based on this, the embodiments of the present application provide an information processing method, system, electronic device and storage medium, which generates search keywords for each target object that meets the user's needs based on user demand information through a preset large language model, searches based on each search keyword output by the preset large language model and sends recommendation information to the user, and the recommendation information is based on merchants, and one recommendation information includes the merchant information of a merchant and the object information of multiple target objects belonging to the merchant. In this way, the user only needs to submit his or her own user demand information to the consumption platform, and the consumption platform uses the preset large language model to automatically analyze the search keywords for each target object that the user needs to purchase, automatically uses each search keyword to search, and feedbacks the object information of the searched target object based on the merchant. In this way, there is no need to search each target object one by one, which can save a lot of time and traffic, and feedback to users based on merchants helps users buy all the target objects they need from one merchant, thereby reducing the waste of product packaging and express delivery resources.
[0094] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The several specific embodiments listed can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0095] Figure 1 A schematic diagram of the network architecture of the consumption platform on which the information processing method provided in the embodiment of the present application is based, wherein the network architecture includes a server and a client, and the server and the client are connected via network communication. The server can be a single server, a server cluster consisting of multiple servers, or a cloud server, etc. The client can be an application installed on a terminal such as a mobile phone or a computer, or a website that can be opened through a browser.
[0096] A preset large language model is deployed on the server side. The preset large language model may include a GPT (Generative Pre-Training) series model or other large language models. Other large language models may be models based on autoencoders, sequence-to-sequence models, recursive neural network models, etc. The preset large language module can be deployed in whale mode. The whale mode refers to a solution that is tailored to actual needs and scenarios and deployed on the server side of the consumer platform. Before the preset large language model is deployed on the server side, the knowledge data involved in the deployed application scenario is input into the preset large language model for learning, so that the preset large language model has the background knowledge of the application scenario. For example, assuming that the deployed application scenario is a kitchen shopping application scenario, it is necessary to input a variety of recipe knowledge, nutritional matching knowledge, nutrition and calories of ingredients and other related knowledge into the preset large language model for learning.
[0097] Before deploying the preset large language model on the server, some question and answer samples can be obtained, and the preset large language model can be trained using these question and answer samples, and some training acceleration technologies can be used to improve the model training efficiency and shorten the training time. For example, flash attention (a new type of attention algorithm with IO perception, fast and memory-efficient) is used in the attention layer of the preset large language model to accelerate the calculation of the attention mechanism and reduce its memory usage, thereby improving the training efficiency of the preset large language model and the reasoning efficiency of subsequent models. The embodiment of the present application can also use other training acceleration or reasoning acceleration methods to improve the computing efficiency of the preset large language model, such as using a physical processor (PPU) to provide computing power for the preset large language model to accelerate the calculation speed of the preset large language model. The embodiment of the present application can also use other acceleration methods, which are not listed one by one here.
[0098] Figure 2 This is a flowchart of an information processing method shown in some embodiments of the present application, and the method is applied to the above-mentioned server, such as Figure 2 As shown, the method specifically includes the following steps 101-104.
[0099] Step 101: The server receives user demand information from the client and generates first prompt information, where the first prompt information is used to inquire about target objects that meet the user demand information.
[0100] Step 102: The server sends the first prompt information to a preset large language model, and receives search keywords for each target object output by the preset large language model.
[0101] Step 103: The server obtains at least one piece of recommendation information based on each search keyword, where the recommendation information includes merchant information of a target merchant and object information of a target object belonging to the target merchant.
[0102] Step 104: The server sends at least one recommendation information to the client.
[0103] In the embodiment of the present application, the user demand information is information used to describe the target subject required by the user, and the target subject described by the user demand information may include multiple target objects. In other words, multiple target objects can constitute the target subject, or multiple target objects can generate the target subject through a certain production process. The target object can be an item or a service, etc.
[0104] For example, if the target subject is shredded pork with fish flavor, the multiple target objects include meat, carrots, green peppers, red carrots, etc. For another example, if the target subject is stationery needed for school, the multiple target objects include pencils, erasers, rulers, ballpoint pens, notebooks, exercise books, etc.
[0105] The user demand information may be expressed in various forms, such as a combination of one or more of text, voice, image or video.
[0106] For example, the user demand information may be the text "Fish-flavored Shredded Pork", the voice "Fish-flavored Shredded Pork", or a picture of Fish-flavored Shredded Pork, or the user demand information may be the text or voice "What do I need to prepare for my child's school start?" or "What do I need to prepare for a spring outing?"
[0107] The first prompt information is used as a prompt word (prompt) of the preset large language model. The prompt word of the preset large language model is a text or instruction that points to the input of the preset large language model to guide it to generate a specific output. In the embodiment of the present application, the first prompt information is used to describe the user's demand information, to inquire the preset large language model about the target objects required to meet the user's demand information, and to guide the preset large language model to output the search keywords of each target object that meets the user's demand information.
[0108] The preset large language model outputs the search keywords for each target object. The search keywords may be the object name, brand name or model number of the target object. For example, when the target object is carrot, the search keyword may be "carrot"; when the target object is a mobile phone, the search keyword may be the brand name or model number of the mobile phone.
[0109] Based on each search keyword, the server searches for the target object matching each search keyword in the preset database, and obtains the object information of multiple target objects corresponding to each search keyword and the merchant information of the target merchant to which each searched target object belongs. The target objects belonging to the same target merchant are clustered, and the object information of multiple target objects belonging to the same target merchant obtained by clustering and the merchant information of the target merchant are used as a recommendation information corresponding to the target merchant. In this way, at least one recommendation information is obtained, and each recommendation information corresponds to a different target merchant. Among them, one recommendation information may include the object information of all target objects that meet the user's demand information, or one recommendation information may only include the object information of some target objects that meet the user's demand information.
[0110] The merchant information of the target merchant includes the merchant's name, address, distance between the target merchant and the client's location, etc., and the object information of the target object includes the name, specification, price, quantity, etc. of the target object.
[0111] In an embodiment of the present application, the client sends user demand information to the server, and the server generates a first prompt information for describing the user demand information, inputs the first prompt information into a preset large language model, and outputs search keywords for each target object that meets the user demand information. The server obtains at least one recommendation information based on each search keyword output by the preset large language model, and one recommendation information includes merchant information of a target merchant and object information of multiple target objects belonging to the target merchant. Through the method of this embodiment, the client only needs to submit user demand information to the server, and the server automatically analyzes the search keywords of each target object that the user needs to purchase using the preset large language model, automatically uses each search keyword to search, and feeds back the object information of the searched target object in units of merchants, realizing automatic identification of multiple target objects required by the user from the user demand information, without searching each target object one by one, providing users with a one-stop, fast purchase of multiple items or services, which can save users a lot of time and traffic, and feed back recommendation information to users in units of merchants, which helps users buy all the target objects they need in one merchant, thereby reducing the waste of commodity packaging and express delivery resources.
[0112] In some embodiments of the present application, the specific process of generating the first prompt information in step 101 may include:
[0113] The server identifies a target subject from user demand information from a client, where the target subject is formed based on each target object; determines the subject category to which the target subject belongs; and generates first prompt information based on preset information corresponding to the target subject and the subject category, where the preset information includes at least one of a preset answer format, a preset question and answer example, and a preset thinking chain prompt statement.
[0114] The user demand information may be a combination of one or more of text, voice, image, etc. When the user demand information includes text, the text is segmented to obtain multiple words, the semantics of each word is identified, and based on the semantics of each word, the word that expresses the target subject of the user demand is selected from each word. When the user demand information includes voice data, the voice data is recognized, the voice data is converted into text, and then the target subject is identified according to the above text processing method.
[0115] In the case where the user demand information includes an image, the image is recognized. If the image includes text, the OCR (Optical Character Recognition) technology is used to recognize the text in the image, and the recognized text is processed using the above text processing method. For the non-text part of the image, the image features are extracted, and based on the extracted image features, a query is made from the preset database to find out whether there is an image similar to the image. Specifically, the preset database stores a mapping relationship between the image features and image description information of a large number of images, wherein the image description information is a text used to describe the content of the corresponding image. The similarity between the image features of the image in the user demand information and the image features of each image in the preset database is calculated respectively, and the image with a similarity greater than a preset threshold is determined as a similar image, and the image description information corresponding to the similar image is obtained from the preset database, and the image description information is processed using the above text processing method, so as to identify the target subject corresponding to the user demand information. Among them, the above preset threshold can be 90%, 95%, 99%, etc.
[0116] There is a certain association relationship between the target subject and the multiple target objects corresponding to the user demand information. The target subject may include these multiple target objects, or the target subject may be made by using these multiple target objects through a certain production process. For example, the target subject "Fish-flavored Shredded Pork" is made by using the target objects "meat, carrots, green peppers, and red carrots" through a certain cooking method. Another example is that the target subject "stationery needed for school" includes the target objects "pencils, erasers, rulers, and notebooks."
[0117] In the embodiment of the present application, the target subject is divided into different subject categories based on whether the target subject needs to be manufactured through a certain manufacturing process, such as dividing the target subject into a first subject category that requires a manufacturing process and a second subject category that does not require a manufacturing process. The embodiment of the present application does not limit the specific division method of classifying the target subject, and in actual applications, the target subject can be divided into multiple subject categories according to needs.
[0118] The reason for dividing the target subject into subject categories is that for the target subject that requires a production process, the user may not be clear about the production process. Therefore, in addition to recommending the target objects required to produce the target subject to the user, it is also necessary to provide the user with the production process. Therefore, for the target subject that requires a production process, the first prompt information to be generated needs to include a prompt to guide the preset large language model to output the production process. Based on this, the embodiment of the present application divides the target subject into categories. The server identifies the target subject from the user demand information and determines the subject category to which the target subject belongs. Specifically, the server can determine the subject category to which the target subject belongs based on whether the target subject needs to go through a certain production process to be formed.
[0119] The embodiment of the present application sets different preset information for different subject categories, and the preset information is used to generate the first prompt information of the corresponding subject category. The preset information includes at least one of a preset answer format, a preset question and answer example, and a preset thought chain prompt sentence.
[0120] The preset answer format is used to define the organization form of the answer output by the preset large language model for the first prompt information. For example, for the first subject category whose subject category is the one that needs to make a process, the preset answer format can be:
[0121] "Target Subject Name": Subject1;
[0122] "Target objects": the names of all target objects required by subject 1;
[0123] "Method": The step-by-step method of main body 1, with at least 5 steps, 20-30 words for each step, written in a detailed, vivid, and interesting way, with more diverse expressions, suitable for novices to get started and stimulate users' interest.
[0124] For another example, for the second subject category that does not require a production process, the preset answer format can be:
[0125] "Target Subject Name": Subject2;
[0126] "Target objects": the names of all target objects required by subject 2.
[0127] The preset question and answer examples in the preset information corresponding to the subject type include representative solved questions and answers corresponding to the subject type. The preset question and answer examples can be used as a reference for the preset large language model to understand and solve new problems involving the subject type. The preset question and answer examples may include one or more groups of questions and answers. The preset question and answer examples are like tiny teaching units for the preset large language model, enabling the preset large language model to learn task requirements and answer patterns from the preset question and answer examples, and then apply the knowledge learned from the preset question and answer examples to deal with new and unseen questions without additional training. Preset question and answer examples can achieve better generalization effects using a small amount of example data.
[0128] The preset thinking chain prompts in the preset information are used to guide the preset large language model to solve the problem by showing its reasoning process or steps in detail, that is, the preset large language model lists its thinking path one by one in a logical order, including intermediate calculations, hypothesis testing, evidence citation, logical reasoning, etc., until the final conclusion is reached. For example, for a target subject with a production process, the preset thinking chain prompts may include:
[0129] “Step 1: extract the target subject from the first prompt information. If there are multiple target subjects, such as subject 1 and subject 2, execute the subsequent steps in sequence;
[0130] Step 2: Provide all target objects required by the target subject;
[0131] Step 3: Provide detailed practices of the target entity. ”
[0132] The above-mentioned preset thinking chain prompts are used in the process of generating the first prompt information. The preset thinking chain prompts can stimulate the preset large language model to conduct deeper and structured thinking. The preset large language model generates an answer based on the first prompt information generated in this way. The generated answer has higher transparency and explainability. The user can see from the answer how the preset large language model derives the answer step by step from the first prompt information, thereby enhancing the user's trust and understanding of the preset large language model's decision.
[0133] After the server determines the target subject and the subject category to which the target subject belongs, it obtains the preset information corresponding to the subject category and generates the first prompt information based on the target subject and the preset information. The generated first prompt information includes the target subject. In addition, the first prompt information may also include the format definition of the answer output by the preset large language model, or may also include one or more groups of questions and answers as examples, or may also include a preset thought chain prompt sentence.
[0134] The first prompt information generated in the above manner can guide the preset large language model to think about all target objects required to form the target subject, thereby realizing automatic identification of the target subjects required by the user based on the user demand information. In the case where the first prompt information includes a format definition, the preset large language model can output the answer in a defined format, and the answer output by the model can be made more organized and easy to understand by setting the format definition. In the case where the first prompt information includes a question and answer example, the preset large language model can learn the task requirements and answer patterns from the question and answer example, so as to apply the knowledge learned from the question and answer example to deal with new and unseen questions, and achieve a better generalization effect using a small amount of example data. In the case where the first prompt information includes a preset thinking chain prompt statement, it stimulates the preset large language model to conduct more in-depth and structured thinking, which helps to improve the transparency and interpretability of the answer output by the preset large language model, making the output answer richer and more detailed.
[0135] In other embodiments of the present application, after submitting user demand information in actual applications, users may feel that the submitted user demand information is inaccurate, so they will submit new user demand information again, or supplement the content not included in the user demand information submitted last time. In this way, users may submit user demand information multiple times within a period of time. If the target subject is identified each time only based on the user demand information submitted by the current user, the identification may not be accurate enough. Therefore, in order to improve the accuracy of identifying the target subject, the embodiment of the present application can also identify the target subject based on multiple rounds of dialogues with the server within a preset time period to improve the accuracy of identifying the target subject, which in turn helps to improve the accuracy of subsequent information recommendations to users.
[0136] Specifically, each time the client sends user demand information, the server generates a first prompt message based on the user demand information, and outputs a corresponding answer based on the first prompt message through a preset large language model, and obtains corresponding recommendation information based on the answer. When the client sends user demand information to the server, it also sends the user's user account to the server. The server stores the mapping relationship between each user demand information received within a preset time period, the answer output by the preset large language model corresponding to the user demand information, the recommendation information obtained based on the answer, and the user account. For ease of description, the stored mapping relationship is referred to as historical context information. The historical context information includes historical demand information from the client within the past preset time period and historical recommendation information based on the response to the historical demand information.
[0137] The preset duration may be 1 hour, 3 hours, 5 hours, 12 hours or one day, etc. The embodiment of the present application does not limit the specific value of the preset duration, and the specific value of the preset duration may be set according to the actual application.
[0138] After receiving the user demand information sent by the client, the server obtains the historical context information corresponding to the current user, and identifies the target subject required by the user based on the currently received user demand information and the historical context information of the user.
[0139] After receiving the user demand information and user account sent by the client, the server obtains the historical context information corresponding to the user account from the stored historical context information based on the user account. The target subject currently needed by the user is identified based on the currently received user demand information and the historical demand information within a certain time period closest to the current time in the historical context information of the user. The certain time period is less than the above-mentioned preset time period, and the certain time period can be 10 minutes, 30 minutes, or 1 hour, etc.
[0140] The above method of identifying the target subject based on the current user demand information and the user's historical demand information is the same as the previous method of identifying the target subject based on the user demand information, except that the information based on which the target subject is identified here is richer, which can improve the accuracy of identifying the target subject.
[0141] The target subject required by the user is obtained in the above manner, and then a first prompt information is generated, and the first prompt information is input into a preset large language model. The preset large language model analyzes the first prompt information and outputs a corresponding answer. In an embodiment of the present application, the answer includes search keywords for multiple target objects that meet the user's demand information. Based on these multiple search keywords, the server searches for the object information of the matching target object and the merchant information of the target merchant to which the target object belongs from the preset database, and then obtains at least one recommendation information and feeds it back to the client.
[0142] In other embodiments of the present application, for a target subject that needs to be produced through a certain production process, the server can also obtain production process information that meets the user's demand information based on the first prompt information and through a preset large language model, and the production process information is used to describe the operation process of producing the target subject using each target object; the production process information and the at least one recommendation information mentioned above are sent to the client.
[0143] The preset large language model will not only automatically identify the target objects that meet the user's needs, but also identify the production process of using each target object to produce the target subject. The production process and recommendation information containing the target merchant information and the object information of each target object will be sent to the client, so that the user can easily purchase the target objects and can refer to the production process to produce the target subject.
[0144] In some embodiments of the present application, a sharing function is also provided for users. For target entities that require a production process, after the user successfully produces the target entity based on the production process information fed back by the server, the user can also share the content such as images, videos or text descriptions of the target entity produced by himself through the sharing component provided by the client. The client sends the shared content submitted by the user through the sharing component to the server. The server adds the user's shared content to the sharing page, and other users can see the user's shared content when they request to access the sharing page. The embodiments of the present application can also formulate a list based on the number of views and likes of the user's shared content, and the users corresponding to the excellent shared content on the list can obtain reward resources. The fun is increased by the sharing mechanism, and the probability of users using the information processing method provided by the embodiments of the present application is increased.
[0145] In other embodiments of the present application, after the server obtains the search keywords of each target object through a preset large language model, based on each search keyword, it respectively obtains the object information of multiple target objects corresponding to each search keyword and the merchant information of the target merchant to which each target object belongs; based on the merchant information of the target merchant to which each target object belongs, it determines the target objects belonging to the same target merchant; and uses the object information of the target objects belonging to the same target merchant and the merchant information of the same target merchant as recommendation information corresponding to the same target merchant.
[0146] The server is configured with a preset database, which includes merchant information of merchants who provide goods or services to users through the server, and object information of objects such as goods or services provided by each merchant. The server obtains search keywords for each target object, and based on each search keyword, searches the preset database for object information of target objects that match each search keyword and merchant information of target merchants to which the matched target objects belong. For each search keyword, object information of one or more target objects may be matched from the preset database.
[0147] After obtaining the object information of the target objects matching each search keyword and the merchant information of the target merchant to which the target objects belong from the preset database, the server classifies all the obtained target objects based on the merchant information of the merchant to which the matching target objects belong, and classifies the target objects belonging to the same target merchant into one category. The object information of each target object classified into one category and the merchant information of the target merchant to which the target objects of this category belong are used as the recommendation information corresponding to the target merchant.
[0148] In the one or more recommendation information obtained in the above manner, each recommendation information corresponds to a target merchant, that is, one recommendation information includes a target merchant and information of one or more target objects provided by the target merchant. After the recommendation information is fed back to the client, the user can purchase all the target objects needed from a few merchants, or even from one merchant, which can effectively save the packaging resources and express delivery resources of the target objects and greatly improve the efficiency of the user's online shopping.
[0149] In some embodiments of the present application, when there are multiple recommendation information, before sending the recommendation information to the client, the server may also eliminate the recommendation information that does not meet the preset delivery conditions from the multiple recommendation information based on the merchant information and object information included in each recommendation information, and the preset delivery conditions include conditions for constraining the target merchant to deliver the target object to the user; when multiple recommendation information remain after the elimination operation, based on the remaining multiple recommendation information, generate a second prompt information, the second prompt information is used to inquire about the arrangement order of the remaining multiple recommendation information; based on the second prompt information, obtain the remaining multiple recommendation information after sorting through the preset large language model.
[0150] Among them, the preset delivery conditions may include that the inventory of the target object provided by the target merchant is greater than or equal to the current user's demand for the target object, the target object provided by the target merchant must be on sale, the total price of each target object included in the recommended information is greater than or equal to the starting delivery price specified by the target merchant, and the target merchant is in business, etc.
[0151] Based on the merchant information and object information included in the recommendation information, the server determines whether the recommendation information meets the preset delivery conditions. If it does, it means that if the user places an order for all the target objects in the recommendation information, the target merchant corresponding to the recommendation information can deliver the target objects ordered by the user to the user. If it does not, it means that if the user places an order for all the target objects in the recommendation information, the target merchant corresponding to the recommendation information cannot deliver the target objects ordered by the user to the user. By using the preset delivery conditions, the recommendation information that cannot be delivered is filtered out from all the obtained recommendation information, ensuring that the remaining recommendation information can be successfully delivered.
[0152] After filtering by the preset delivery conditions, if there is no remaining recommended information, the preset fallback information is returned, and the preset fallback information is used to guide the user to resubmit clearer and more specific user demand information. If only one recommended information remains after filtering, the one recommended information is directly returned to the client. If there are still multiple recommended information remaining, in one implementation, the remaining multiple recommended information can be directly returned to the client. In another implementation, the remaining multiple recommended information can also be sorted.
[0153] Specifically, the server generates second prompt information based on the remaining multiple recommendation information, and the second prompt information includes the remaining multiple recommendation information. The second prompt information is used to guide the preset large language model to output the ranking result of the remaining multiple recommendation information.
[0154] The second prompt information is generated in a similar manner to the first prompt information, and can also be generated based on one or more of a preset format definition, a preset question and answer example, and a preset thought chain prompt sentence. Of course, the preset format definition, question and answer example, and thought chain prompt sentence are all related to the ranking of the recommended information.
[0155] First, multiple recommended information is filtered through preset delivery conditions, and then the remaining multiple recommended information is sorted using a preset large language model, so that the client displays the sorted recommended information, which helps users place orders for the target objects of the target merchants in the front recommended information.
[0156] In the embodiment of the present application, a preset sorting strategy is also carried in the second prompt information, and the preset sorting strategy is used to enable the preset large language model to learn the rules for sorting the recommended information. The preset sorting strategy may include sorting according to the coverage rate of the target merchants for each target object required by the user, sorting according to the distance between the target merchant and the location of the client, sorting according to the price of each target object in the recommended information, and one or more of the sorting strategies.
[0157] Specifically, the server generates a second prompt message based on the remaining recommendation information and a preset sorting strategy, where the preset sorting strategy is used to sort based on at least one of the coverage of the target merchant to the target object, the distance between the target merchant and the user corresponding to the client, and the price of the target object.
[0158] After the second prompt information is generated in the above manner and the second prompt information is input into the preset large language model, the preset large language model can learn the rules for sorting the recommended information from the second prompt information, thereby sorting the multiple recommended information in the second prompt information according to the learned rules. Among the multiple recommended information sorted in this way, the recommended information in the front may include all the target objects required by the user, thereby helping the user to purchase all the target objects required in a target merchant, improving the user's shopping efficiency, and the target merchant can pack these target objects together, which can effectively save packaging resources. Moreover, only one courier is needed to deliver these target objects between a target merchant and the user, which can effectively save express delivery resources. Moreover, among the multiple recommended information sorted above, the price of each target object in the recommended information in the front may be relatively more favorable, and / or the distance between the target merchant in the recommended information in the front and the user may be relatively closer, thereby reducing costs for users and completing the delivery of target objects faster.
[0159] In some embodiments of the present application, the server may also determine the number of target objects that meet the user demand information based on the user demand information; calculate the total value corresponding to the recommended information based on the object information of the target objects and the number of each target object included in the recommended information; and add the total value corresponding to the recommended information to the recommended information.
[0160] The server analyzes whether the user demand information contains quantity-related information. If so, the server determines the quantity of each target object that meets the user demand information based on the quantity-related information contained in the user demand information. If the user demand information does not contain quantity-related information, the server determines the quantity of each target object based on the preset quantity information.
[0161] For example, if the user demand information is "make a plate of fish-flavored shredded pork", the amount of meat, carrots, green peppers and red carrots is determined based on the amount of a plate of fish-flavored shredded pork. For another example, if the user demand information is "make 4 servings of fish-flavored shredded pork", the amount of meat, carrots, green peppers and red carrots is determined based on the amount of 4 servings of fish-flavored shredded pork. For another example, if the user demand information is "fish-flavored shredded pork", the amount is determined based on the preset quantity information "1 serving of fish-flavored shredded pork".
[0162] After the quantity of each target object is determined, the total value corresponding to the recommendation information is calculated based on the price included in the object information of the target object included in the recommendation information, and the total value is the sum of the product of the price and quantity of each target object in the recommendation information. The calculated total value is added to the recommendation information.
[0163] After the server feeds back the recommended information to the client, the client will also display the total value of each recommended information when displaying the recommended information, so that the user can intuitively see the difference in the total value of each recommended information, which can effectively help the user to quickly screen out the target objects for ordering and improve the efficiency of the entire shopping process.
[0164] In order to facilitate the understanding of the operation process of the server, the following Figure 3 To explain, Figure 3 As shown, after the client sends the user demand information to the server, the server understands the user's intention based on the user demand information, generates a first prompt information, inputs the first prompt information into a preset large language model, outputs multiple search keywords, recalls the target object and the merchant based on these multiple keywords, forms multiple recommendation information based on the recalled information, generates a second prompt information based on these multiple recommendation information, inputs the second prompt information into the preset large language model to output multiple sorted recommendation information, and sends the sorted multiple recommendation information to the client. The server also records the user's historical context information, and generates the first prompt information based on the historical context information and the user demand information submitted by the current user.
[0165] In some embodiments of the present application, the recommendation information fed back by the server to the client may include pictures and text descriptions, so that after the client displays the recommendation information, the user can more intuitively understand the situation of the target merchant and the target object, and the visualization effect is better.
[0166] The embodiment of the present application can provide customized services for users in application scenarios where users need to purchase multiple items at one time. According to user demand information, users can purchase all the target objects they need at one time in one merchant, realizing one-stop and fast purchase of multiple items. Compared with traditional purchase methods, it is more convenient and saves users from searching and purchasing at multiple merchants, which can improve user experience and satisfaction, increase user stickiness and usage frequency. Moreover, users only need to submit user demand information on the client, and the user operation is very simple, which improves user convenience and purchase experience.
[0167] In an embodiment of the present application, the client only needs to submit user demand information to the server. The server uses a preset large language model to automatically analyze the search keywords of each target object that the user needs to purchase, automatically uses each search keyword to search, and feeds back the object information of the searched target object on a merchant basis. This realizes automatic identification of multiple target objects required by the user from the user demand information, without the need to search for each target object one by one, which can save a lot of time and traffic. In addition, the server feeds back recommended information to the user on a merchant basis, which helps the user to buy all the target objects they need from one merchant, thereby reducing the waste of product packaging and express delivery resources.
[0168] Figure 4 This is a flowchart of an information processing method shown in some embodiments of the present application, and the method is applied to the client. The relevant operations of the server in the embodiments of the present application can refer to the operations of the server in the above embodiments, and will not be repeated in the embodiments of the present application.
[0169] like Figure 4 As shown, the method specifically includes the following steps 201-203.
[0170] Step 201: The client receives user demand information submitted by the user. The user demand information is used to describe the target subject required by the user. The target subject is formed based on multiple target objects.
[0171] Step 202: The client sends the user demand information to the server, so that the server obtains the search keywords of each target object through a preset large language model based on the user demand information and then searches for at least one recommended information; the recommended information includes the merchant information of the target merchant and the object information of the target object belonging to the target merchant.
[0172] Step 203: The client receives and displays at least one piece of recommendation information returned by the server.
[0173] The client can be an application installed on a terminal such as a user's mobile phone or tablet computer. The interface of the client is provided with an entry component for the user to submit user demand information, and the entry component may include one or more of a text input box, a voice submission component or an image submission component. Among them, when the voice submission component is triggered, the recording device of the terminal will be called up to record the user's voice data. When the image submission component is triggered, the local file system of the terminal will be called up to allow the user to select an image from the local file system for submission. Alternatively, when the image submission image is triggered, the camera device of the terminal will be called up to capture the image.
[0174] The above-mentioned entry component can be set in the homepage of the client, or in the search result page displayed when the user searches for a certain keyword, or in both the homepage and the search result page.
[0175] The user submits user demand information to the client through the above-mentioned entry component. After receiving the user demand information submitted by the user, the client sends the user demand information to the server. After receiving the user demand information, the server obtains at least one recommendation information corresponding to the user demand information through the specific operation of the server in the above-mentioned embodiment applied to the server, and the server returns the obtained recommendation information to the client. The client receives the recommendation information returned by the server and displays it.
[0176] The user only needs to submit the user demand information to the client, and the client sends the user demand information to the server. The server uses the preset large language model to automatically analyze the search keywords of each target object that the user needs to purchase, automatically uses each search keyword to search, and feedbacks the object information of the searched target object by merchant. The client displays the information feedback from the server. It realizes the automatic identification of multiple target objects required by the user from the user demand information. The user does not need to search for each target object one by one, which can save a lot of time and traffic. In addition, the recommendation information is fed back to the user by merchant, which helps the user to buy all the target objects they need from one merchant, thereby reducing the waste of product packaging and express delivery resources.
[0177] Since the information processing method provided by the embodiment of the present application is used, the user needs to submit user demand information, and the server side analyzes and processes it through a preset large language model, and finally feeds back recommended information to the user. In this process, the user demand information submitted by the user and the content of the recommended information finally returned must comply with regulatory requirements, and the recommended information fed back by the preset large language model is only for user reference. The provider of the recommended information cannot fully guarantee the authenticity, accuracy, legality and availability of the recommended information. Based on this, when a user uses the information processing method provided by the embodiment of the present application for the first time, it is necessary to sign an authorization agreement with the user so that the user agrees that the information submitted during the use of the information processing method must comply with regulations and that the user confirms possible problems with the recommended information obtained using the information processing method.
[0178] Specifically, in some embodiments of the present application, when the user has signed the above-mentioned authorization agreement, the mapping relationship between the user account and the authorization flag can be stored in the server and the client. Among them, the user account is used to uniquely identify the user, and the authorization flag is used to identify that the user has signed the above-mentioned authorization agreement. After the client receives the user demand information submitted by the user in the above-mentioned step 201, after the client receives the user demand information submitted by the user, it checks whether the mapping relationship between the user account and the authorization flag of the user is stored locally. If so, it is determined that the user has signed the authorization agreement, and then the client sends the user demand information to the server through step 202. If not, it is determined that the user has not signed the authorization agreement, then the client first sends an authorization request to the server, and after the server receives the authorization request, it returns the page information of the authorization interface. The client receives the page information, and renders and displays the authorization interface based on the page information. The authorization interface includes a prompt information for prompting the user to sign the authorization agreement and a button for agreeing to the agreement. The prompt information includes a link to the authorization agreement, and the user clicks the link to jump to display the detailed information of the authorization agreement.
[0179] After the client displays the authorization interface, if it detects that the button for agreeing to the agreement in the authorization interface is clicked, it sends an authorization notification to the server. After receiving the authorization notification, the server stores the mapping relationship between the user account and the authorization flag on the server and feeds back a response notification to the client. After receiving the response notification, the client stores the mapping relationship between the user account and the authorization flag locally on the client.
[0180] In an embodiment of the present application, before the information processing method based on the preset large language model provided by the embodiment of the present application is used for the first time, the above-mentioned user authorization process is performed. The trigger condition of the above-mentioned authorization process may be when the user uses the method for the first time to input text representing the user's needs or initiates a request. The trigger mechanism of the authorization process may be set at one or more places in the client's homepage, search results page and other pages. If the user completes the above-mentioned authorization process in one of the pages, the trigger entry for triggering the authorization process will no longer appear in other pages. If the user does not agree to the above-mentioned authorization agreement, the information processing method provided by the embodiment of the present application cannot be performed, but it does not affect the client and the server from providing other operation services to the user.
[0181] like Figure 5 The authorization interface shown includes the prompt message "You have started using the functions of the large language model and need to comply with the "Authorization Agreement"", as well as the button "Agree" for agreeing to the agreement.
[0182] In some embodiments of the present application, the client displays the recommendation information returned by the server in the following manner, including:
[0183] The client displays multiple card components in the current interface. The number of card components is equal to the number of recommended information. Each card component is used to display different recommended information. One piece of recommended information is displayed in each card component. A purchase operation component is displayed in each card component.
[0184] The current interface may be the same page as the page to which the entry component belongs, or the current interface may be a pop-up box that pops up on the page to which the entry component belongs. Alternatively, the current interface may be a page that is jumped to from the page to which the entry component belongs.
[0185] The card component is used to display recommendation information in a modular manner. One recommendation information is displayed in one card component. The merchant information and object information of each target object displayed in the card component can be displayed through interactive components such as buttons or links, so that users can click on the buttons or links used to display merchant information or object information to further understand the detailed information of the target merchant or target object.
[0186] In the case of multiple recommended information, the multiple recommended information is displayed through multiple card components of the same number. The multiple card components can be arranged in a certain arrangement, such as in a matrix form of certain rows and columns, or in a vertical column or a horizontal row, etc., and adjacent card components can be spaced a certain distance apart. In the case of too much recommended information so that the current interface cannot display all the card components, a sliding component can be set in the current interface, and all the card components can be embedded in the sliding component. The user can view the recommended information displayed in each card component through sliding operations.
[0187] As an example, Figure 6 The page shown shows two card components, each of which displays different recommended information. One recommended information includes merchant information of a target merchant and object information of multiple target objects of the target merchant. The user can view the recommended information displayed by other card components by swiping left and right.
[0188] In the embodiment of the present application, the client only needs to submit user demand information to the server, and the server automatically analyzes the search keywords of each target object that the user needs to purchase using a preset large language model, automatically uses each search keyword to search, and feeds back at least one recommendation information to the client based on the merchant. This realizes automatic identification of multiple target objects required by the user from the user demand information, without the need to search for each target object one by one, which can save a lot of time and traffic, and feeds back recommendation information to the user based on the merchant, which helps the user buy all the target objects they need from one merchant, thereby reducing the waste of product packaging and express delivery resources.
[0189] Corresponding to the above-mentioned information processing method embodiments, other embodiments of the present application further provide an information processing system, such as Figure 1 The system shown includes a server and a client;
[0190] The client is used to receive user demand information submitted by the user, send the user demand information to the server, and receive and display at least one recommendation information returned by the server;
[0191] The server is used to generate first prompt information based on user demand information from a client, the first prompt information being used to inquire about target objects that meet the user demand information; based on the first prompt information, obtain search keywords for each target object through a preset large language model; based on the search keywords for each target object, obtain at least one recommendation information, the recommendation information including merchant information of a target merchant and object information of a target object belonging to the target merchant; and send at least one recommendation information to the client.
[0192] The information processing system provided in the embodiment of the present application and the information processing method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented therein.
[0193] To facilitate understanding of the information processing method provided in the embodiments of the present application, the information processing method is introduced below in conjunction with a specific application scenario.
[0194] The information processing method provided in the embodiment of the present application can be applied to any list-type scenario that requires multiple items or services, such as the need to prepare dishes with multiple ingredients in a kitchen scenario, planning a diet plan or a weight loss diet plan for a period of time in a diet nutrition planning scenario, and various list-type consumption requiring multiple items in a retail scenario.
[0195] For example, in a kitchen scenario, a dish needs to be made with multiple ingredients. A user sees a dish called "Fish-flavored Shredded Pork" on some food bloggers or food forums and wants to make it himself, but finds it troublesome to buy all the ingredients. In this case, the user can submit user demand information through the client on his mobile phone or tablet computer. The user demand information can be the name of the dish entered by the user, the voice of the dish spoken by the user, or an image of the dish submitted by the user.
[0196] like Figure 7 (a) is a schematic diagram of the homepage of the client, in which an entry component of the information processing function of the embodiment of the present application is set, and the entry component displays a guiding text "If you don't know what to eat, ask me" and a button "Go ask". Figure 7 Enter the keyword "fish-flavored pork shreds" on the homepage shown in (a) to search for it. Figure 7 (b) shows a search result page showing the dish "Fish-flavored Shredded Pork" provided by multiple merchants. Figure 7 (b) also includes an entry component, the guiding text of which may be "Can't find a suitable result? Come and ask me" and a button "Go ask".
[0197] If users want to make fish-flavored pork shreds by themselves, they need to buy all the ingredients needed to make fish-flavored pork shreds, rather than the finished products made by the merchant. Figure 7 (a) or Figure 7 (b) The client detects that the button is clicked and jumps to the display. Figure 8 The function guidance interface shown in the figure displays multiple function guidance components "recipe selection", "weight loss meal planning", and "nutrition matching". The function guidance interface also provides a text input box, a voice input component, an image submission component "image recognition" and a send button.
[0198] Users can Figure 8 Enter the text "fish-flavored pork shreds" in the text input box, or press and hold the voice input component and say "fish-flavored pork shreds" to submit voice data, or click the image submission component "image recognition" to submit a picture of fish-flavored pork shreds. Alternatively, users can click Figure 8 The function guide component "Recipe Recommendation" in the client detects that the function guide component is clicked, and jumps to display the recipe list interface, which displays multiple recipe names. The user can find "Fish-flavored Shredded Pork" from them and click "Fish-flavored Shredded Pork".
[0199] The client detects the user demand information submitted by the user in any of the above methods, i.e., the text, voice, or image of "Fish-flavored Shredded Pork", or detects a click event of "Fish-flavored Shredded Pork" in the recipe list interface, and takes the recipe name "Fish-flavored Shredded Pork" as the user demand information.
[0200] Afterwards, the client sends the user demand information and the user account to the server. The server receives the user demand information and the user account, and generates first prompt information for describing the user demand information based on the user demand information.
[0201] For example, the first prompt information generated may be:
[0202] "As a chef, you know the ingredients and methods needed for all dishes. Please extract the "dish" from the 'first prompt information' and then give the "ingredients and methods corresponding to the dish."
[0203] Step 1: Extract "dish" from the 'first prompt information'. If there are multiple "dishes", such as dish 1 and dish 2, execute the subsequent steps in sequence;
[0204] Step 2: Provide all the ingredients needed for the "dish";
[0205] Step 3: Give detailed instructions for making the “dish”.
[0206] You need to give your answer in the following format:
[0207] {List of dishes[
[0208] {Dish name: Dish 1
[0209] Ingredients: A list of all ingredients needed for dish 1;
[0210] "Method": step-by-step instructions for dish 1, at least 5 steps, 20-30 words for each step, detailed, vivid, interesting, and with more diverse expressions, suitable for beginners to stimulate users' interest.}
[0211] {Dish name: Dish 2
[0212] Ingredients: A list of all ingredients needed for dish 2;
[0213] "How to make": step-by-step instructions for dish 2, at least 5 steps, 20-30 words for each step, detailed, vivid, interesting, with more diverse expressions, suitable for beginners to get started and stimulate users' interest.}]}"
[0214] The server inputs the first prompt information into the preset large language model. Under the guidance of the first prompt information, the preset large language model outputs the production process information of "Fish-flavored Shredded Pork" and the keywords "meat, carrot, fungus, green pepper, and red carrot" of all the ingredients required to make "Fish-flavored Shredded Pork". The server searches for ingredients matching each keyword "meat, carrot, green pepper, and red carrot" in the local commodity library, obtains the ingredient information of the matching ingredients and the merchant information of the target merchant to which the ingredients belong, and uses the ingredient information of each ingredient belonging to the same target merchant and the merchant information of the target merchant as a recommendation information.
[0215] For example, suppose the server obtains a total of 3 recommendation information, recommendation information 1 includes merchant A's merchant information and ingredient information of "meat, carrots, fungus, green peppers, and red carrots"; recommendation information 2 includes merchant B's merchant information and ingredient information of "meat, carrots, fungus, and green peppers"; recommendation information 3 includes merchant C's merchant information and ingredient information of "meat and carrots".
[0216] When the server obtains multiple recommendation information, it first filters out the recommendation information with any of the following conditions based on the merchant information and food information included in the recommendation information:
[0217] Insufficient inventory of ingredients, ingredients are out of stock, the sum of the prices of ingredients in the recommended information does not meet the merchant's minimum delivery price, the merchant is temporarily closed, etc.
[0218] Assuming that there are still multiple recommendation information remaining after the filtering operation, the server generates a second prompt information based on the remaining multiple recommendation information, inputs the second prompt information into the preset large language model, and outputs the sorted multiple recommendation information. Among them, the second prompt information includes the remaining multiple recommendation information and the preset sorting strategy. The preset sorting strategy includes sorting according to the merchant's coverage of ingredients, recommending merchants with high ingredient coverage, and avoiding placing orders with multiple merchants. The preset sorting strategy may include sorting according to the distance between the merchant and the user, recommending merchants with closer distances, which can save express resources and shorten the user's waiting time. The preset sorting strategy may also include sorting according to the total value of each ingredient provided by the merchant in the recommendation information, and recommending merchants with lower total value, which can save costs for users and improve user experience.
[0219] The server sends the production process information of "Fish-flavored Shredded Pork" and the sorted multiple recommended information to the client, and the client displays the production process information and the multiple recommended information.
[0220] Client from Figure 8 The function guide interface shown jumps to display Fig. 9 The recommended result page shown. Fig. 9 As shown, the method of making fish-flavored pork shreds and card components are shown, and each card component displays a recommendation information. Each card also displays the total value of each ingredient included in the corresponding recommendation information. Each card also displays a shopping cart button and a one-click purchase button. Fig. 9 The recommended result page in the APP cannot display all the card components at one time. You can view each card component by swiping left or right.
[0221] The client only needs to submit the user demand information "Fish-flavored Shredded Pork" to the server, and the server will use the preset large language model to automatically analyze the search keywords of the ingredients that the user needs to buy, automatically use the search keywords to search, and feedback at least one recommendation information to the client on a merchant basis. It realizes the automatic identification of multiple target objects required by the user from the user demand information, without the need to search for each ingredient one by one, which can save a lot of time and traffic, and feedbacks the recommendation information to the user on a merchant basis, which helps the user to buy all the ingredients needed from one merchant, thereby reducing the waste of product packaging and express delivery resources. The information processing method provided by the embodiment of the present application can more intuitively, quickly and intelligently meet the needs of users for finding recipes, finding nutritional combinations and buying ingredients.
[0222] In addition to the above-mentioned application scenario of shopping in the kitchen, the information processing method provided in the embodiment of the present application is also applicable to many scenarios. For example, in order to lose weight, you want to cook fat-reducing meals yourself every day, but it is troublesome to match what to eat for each meal. In this scenario, you can use the information processing method provided in the embodiment of the present application to provide yourself with the fat-reducing meals you need to match for a day or a week. The information processing method will automatically match a calorie-controlled diet menu for each meal, and allow users to clearly see the calorie content of each meal. You can also purchase all the ingredients you need at one time based on the recommended ingredients.
[0223] The information processing method of the embodiments of the present application is applicable to any other list-type consumption scenarios that require purchasing multiple items or services at one time, and the applicable application scenarios are not listed one by one here.
[0224] Some embodiments of the present application also provide an information processing method, which is applied to a client, such as Fig.10 As shown, the method includes:
[0225] Step 301: The client displays a first interface, which includes an interactive component for submitting user demand information; the user demand information is used to describe a target subject required by the user, and the target subject is formed based on multiple target objects.
[0226] Step 302: The client receives user demand information submitted by the user through the interactive component, and sends the user demand information to the server.
[0227] Step 303: The client receives at least one recommendation information returned by the server, where the recommendation information is obtained by searching for search keywords of each target object obtained by the server based on user demand information through a preset large language model; the recommendation information includes merchant information of the target merchant and object information of the target object belonging to the target merchant.
[0228] Step 304: The client displays an information processing result interface, which includes at least one piece of recommended information.
[0229] The first interface may be any interface of the client, such as the first interface may be the client's home page, search results page, product details page, etc. The interactive component may include a text input box, a voice input component, a picture input component, or a combination of one or more thereof.
[0230] like Fig.11 In the schematic diagram of the first interface shown, the interactive components include a text input box, a voice input component and a picture input component "picture recognition", and the interactive component also includes a submission button "send".
[0231] Through the interactive component in the first interface, an entry for submitting user demand information is provided to the user, so that the user can submit the user demand information intuitively and conveniently.
[0232] In some embodiments, the client detects a triggering event of the interactive component, calls up an input program corresponding to the interactive component; displays an input component corresponding to the input program in the first interface; and obtains user demand information submitted by the user through the input component.
[0233] When a user needs to use the method provided in the embodiment of the present application to process information, the user can click on the interactive component in the first interface, and the client detects a trigger event of the interactive component, which can be a click event or a touch event of the interactive component. When the client detects the trigger event, it calls up the input program corresponding to the interactive component. The input program is a program corresponding to the interactive component for receiving user input information, corresponding to the type of the interactive component. The input component is a component corresponding to the type of the interactive component.
[0234] For example, if the interactive component is a text input box, when the user clicks the text input box, the keyboard program is called up and the keyboard component is displayed in the first interface, so that the keyboard program runs to receive the text information input by the user through the displayed keyboard component.
[0235] For another example, if the interactive component is a voice input component, when the user clicks the voice input component, a recording program is called up, and a recording component of "press and speak" is displayed in the first interface. When the recording component is pressed, the recording program is run to record the user's voice.
[0236] For another example, if the interactive component is a picture input component, when the user clicks the picture input component, a shooting component is displayed in the first interface, and the shooting component includes a shooting button and a local upload button. When the shooting button is triggered, the camera program is called up, and the camera program is run to shoot the scene in the camera shooting area to obtain an image. Alternatively, when the local upload button is triggered, the local file browsing program is called up to select an interface for selecting a picture from the local file system.
[0237] like Fig.12 The schematic diagram of inputting user requirement information is shown, which is a schematic diagram of displaying a keyboard after the user clicks on the text input box.
[0238] By interacting with the user through the above-mentioned interactive components and input components, the user can submit user demand information very conveniently, simplify user operations, and improve the fun of user operations.
[0239] After receiving the user demand information submitted by the user in the above manner, the client sends the user demand information to the server. The server obtains at least one recommendation information matching the user demand information through the information processing method applied to the server side provided by any of the above embodiments, and feeds back the obtained recommendation information to the user.
[0240] In some embodiments, before the client receives the recommendation information returned by the server, a prompt message for prompting that the user's demand information is being processed may also be displayed in the first interface. Fig.13 In the schematic diagram shown, the prompt message displayed is "Looking for Brand A mineral water for you..."
[0241] By displaying the above prompt information, the user can intuitively feel that his / her user demand information is being processed.
[0242] In some embodiments of the present application, in addition to returning at least one recommendation information to the user, the server may also return to the user detailed information of the target subject targeted by the user's demand information. In this case, the client receives the detailed information of the target subject returned by the server; displays the production process information in the processing result interface, and displays at least one recommendation information according to the order of the at least one recommendation information returned by the server.
[0243] The detailed information may include one or more of the target subject's production process information, ingredient composition information, instructions for use, etc. The at least one recommendation information may be sorted from low to high by price, or from small to large by product specifications, or may be sorted according to other rules, or may be sorted by a combination of multiple rules.
[0244] like Fig.14 The processing result page shown shows detailed information of "Brand A Mineral Water", "Brand A Mineral Water includes a variety of trace elements and has a pure taste after multiple purification treatments", as well as recommended information for three Brand A mineral waters. The three Brand A mineral waters are sorted according to the specifications of the mineral water.
[0245] Displaying detailed information of the target entity corresponding to the user demand information and at least one recommended information on the processing result page can enable the user to intuitively see richer information of the target entity, and can facilitate the user to purchase the target entity from the displayed recommended information, which can effectively improve shopping efficiency and reduce user operations during the online shopping process.
[0246] The information processing method provided in the embodiment of the present application is based on the same inventive concept as the information processing method provided in the previous embodiments, and has the same beneficial effects as the methods adopted, run or implemented therein.
[0247] Corresponding to the embodiments of the aforementioned information processing method, the present application also provides embodiments of an information processing device.
[0248] Fig.15 FIG. 1 is a schematic diagram of a structure of an information processing device according to an exemplary embodiment. The device is used to execute the information processing method applied to the server provided in any of the above embodiments. Fig.15 As shown, the information processing device includes:
[0249] A generating module 401 is used to generate first prompt information based on user demand information from a client, where the first prompt information is used to inquire about target objects that meet the user demand information;
[0250] A keyword acquisition module 402 is used to acquire search keywords of each target object through a preset large language model based on the first prompt information;
[0251] A search module 403 is used to obtain at least one recommendation information based on each search keyword, the recommendation information including merchant information of a target merchant and object information of a target object belonging to the target merchant;
[0252] The sending module 404 is used to send at least one recommendation information to the client.
[0253] Generation module 401 is used to identify a target subject from user demand information from a client, where the target subject is formed based on target objects; determine the subject category to which the target subject belongs; and generate first prompt information based on preset information corresponding to the target subject and the subject category, where the preset information includes at least one of a preset answer format, a preset question and answer example, and a preset thinking chain prompt statement.
[0254] The generation module 401 is used to obtain the user's historical context information, which includes the historical demand information from the user within a preset period of time and the historical recommendation information based on the historical demand information response; based on the user demand information and the historical context information, the target subject required by the user is identified.
[0255] The device also includes: a production process recommendation module, which is used to obtain production process information that meets user demand information based on the first prompt information through a preset large language model, and the production process information is used to describe the operation process of using each target object to produce a target subject; and send the production process information to the client.
[0256] The search module 403 is used to obtain, based on each search keyword, the object information of multiple target objects corresponding to each search keyword and the merchant information of the target merchant to which each target object belongs; based on the merchant information of the target merchant to which each target object belongs, determine the target objects belonging to the same target merchant; and use the object information of the target objects belonging to the same target merchant and the merchant information of the same target merchant as recommendation information corresponding to the same target merchant.
[0257] The device further includes: a rejection module, for rejecting recommendation information that does not meet preset delivery conditions from multiple recommendation information based on the merchant information and object information included in each recommendation information, wherein the preset delivery conditions include conditions for restricting the target merchant from delivering the target object to the user;
[0258] The sorting module is used to generate second prompt information based on the remaining multiple recommendation information when multiple recommendation information remain after the elimination operation, and the second prompt information is used to inquire about the arrangement order of the remaining multiple recommendation information; based on the second prompt information, the remaining multiple recommendation information after sorting is obtained through a preset large language model.
[0259] The above-mentioned sorting module is used to generate the second prompt information based on the remaining recommendation information and the preset sorting strategy. The preset sorting strategy is used to sort based on at least one of the coverage rate of the target merchant to the target object, the distance between the target merchant and the user corresponding to the client, and the price of the target object.
[0260] The device also includes: a value calculation module, which is used to determine the number of target objects that meet the user demand information based on the user demand information; calculate the total value corresponding to the recommended information based on the object information of the target objects included in the recommended information and the number of each target object; and add the total value corresponding to the recommended information to the recommended information.
[0261] The information processing device provided in the embodiment of the present application and the information processing method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented therein.
[0262] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.
[0263] Fig.16 FIG. 1 is a schematic diagram of a structure of an information processing device according to an exemplary embodiment. The device is used to execute the information processing method applied to a client provided in any of the above embodiments. Fig.16 As shown, the information processing device includes:
[0264] A receiving module 501 is used to receive user demand information submitted by a user, where the user demand information is used to describe a target subject required by the user, and the target subject is formed based on multiple target objects;
[0265] The sending module 502 is used to send the user demand information to the server, so that the server obtains the search keywords of each target object through the preset large language model based on the user demand information and then searches for at least one recommended information; the recommended information includes the merchant information of the target merchant and the object information of the target object belonging to the target merchant;
[0266] The display module 503 is used to receive and display at least one recommendation information returned by the server.
[0267] Display module 503 is used to display multiple card components in the current interface. The number of card components is equal to the number of recommended information. Each card component is used to display different recommended information. One piece of recommended information is displayed in each card component. A purchase operation component is displayed in each card component.
[0268] The information processing device provided in the embodiment of the present application and the information processing method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented therein.
[0269] Fig.17 FIG. 1 is a schematic diagram of a structure of an information processing device according to an exemplary embodiment. The device is used to execute the information processing method applied to a client provided in any of the above embodiments. Fig.17 As shown, the information processing device includes:
[0270] The first display module 601 is used to display a first interface, which includes an interactive component for submitting user demand information; the user demand information is used to describe the target subject required by the user, and the target subject is formed based on multiple target objects;
[0271] The sending module 602 is used to receive user demand information submitted by the user through the interactive component, and send the user demand information to the server;
[0272] The receiving module 603 is used to receive at least one recommendation information returned by the server, where the recommendation information is obtained by searching for search keywords of each target object obtained by the server based on the user demand information through a preset large language model; the recommendation information includes merchant information of the target merchant and object information of the target object belonging to the target merchant;
[0273] The second display module 604 is used to display an information processing result interface, which includes at least one recommended information.
[0274] The sending module 602 is used to detect a triggering event of the interactive component, call up an input program corresponding to the interactive component; display the input component corresponding to the input program in the first interface; and obtain user demand information submitted by the user through the input component.
[0275] The first display module 601 is further used to display prompt information in the first interface for prompting that the user demand information is being processed.
[0276] The receiving module 603 is also used to receive the detailed information of the target subject returned by the server;
[0277] The second display module 604 is further used to display detailed information in the processing result interface, and to display at least one piece of recommended information according to the order of the at least one piece of recommended information returned by the server.
[0278] The information processing device provided in the embodiment of the present application and the information processing method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented therein.
[0279] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.
[0280] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are merely schematic, wherein the modules described as separate components may or may not be physically separated, and the components illustrated as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present application. A person of ordinary skill in the art may understand and implement it without creative work.
[0281] The embodiment of the present application also provides an electronic device corresponding to the information processing method provided in the above embodiment to execute the above information processing method.
[0282] Fig.18 7 is a hardware structure diagram of an electronic device according to an exemplary embodiment, and the electronic device includes: a communication interface 701, a processor 702, a memory 703 and a bus 704; wherein the communication interface 701, the processor 702 and the memory 703 communicate with each other through the bus 704. The processor 702 can execute the information processing method described above by reading and executing the machine executable instructions corresponding to the control logic of the information processing method in the memory 703. The specific content of the method is referred to the above embodiment, and will not be repeated here.
[0283] The memory 703 mentioned in the embodiment of the present application can be any electronic, magnetic, optical or other physical storage device, and can contain storage information, such as executable instructions, data, etc. Specifically, the memory 703 can be RAM (Random Access Memory), flash memory, storage drive (such as hard disk drive), any type of storage disk (such as optical disk, DVD, etc.), or similar storage medium, or a combination thereof. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 701 (which can be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. can be used.
[0284] The bus 704 may be an ISA bus, a PCI bus or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 703 is used to store programs, and the processor 702 executes the programs after receiving execution instructions.
[0285] The processor 702 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 702 or an instruction in the form of software. The above-mentioned processor 702 can be a general-purpose processor, including a network processor (Network Processor, referred to as NP), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware controls, etc. The disclosed methods, steps and logic block diagrams in the embodiments of the present application can be implemented or executed. 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 conjunction with the embodiments of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor are combined to execute.
[0286] The electronic device provided in the embodiment of the present application and the information processing method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented therein.
[0287] The present application also provides a computer-readable storage medium corresponding to the information processing method provided in the above embodiment. Fig.19 As shown, the computer-readable storage medium shown is a CD 30 on which a computer program (ie, a program product) is stored. When the computer program is run by a processor, the information processing method provided by any of the aforementioned embodiments will be executed.
[0288] It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.
[0289] The computer-readable storage medium provided by the above-mentioned embodiments of the present application and the information processing method provided by the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.
[0290] An embodiment of the present application also provides a computer program product corresponding to the information processing method provided by the aforementioned embodiment. The computer program product includes a computer program, and the computer program is executed by a processor to implement the information processing method provided by the aforementioned embodiment.
[0291] The computer program product provided by the above-mentioned embodiments of the present application and the information processing method provided by the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by the application program stored therein.
[0292] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.
[0293] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0294] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. An information processing method, It is characterized in that Applied to the server, the method includes: Receiving user demand information from a client, and generating first prompt information, wherein the first prompt information is used to inquire about each target object that meets the user demand information; Sending the first prompt information to a preset large language model, and receiving the search keywords of the target objects output by the preset large language model; Based on each of the search keywords, obtaining at least one piece of recommendation information, the recommendation information including merchant information of a target merchant and object information of the target object belonging to the target merchant; The at least one recommendation information is sent to the client.
2. The method according to claim 1, It is characterized in that The receiving user demand information from the client and generating first prompt information includes: Receiving user demand information from a client, and identifying a target subject from the user demand information, wherein the target subject is formed based on the target objects; Determine the subject category to which the target subject belongs; The first prompt information is generated based on preset information corresponding to the target subject and the subject category, wherein the preset information includes at least one of a preset answer format, a preset question and answer example, and a preset thinking chain prompt sentence.
3. The method according to claim 2, It is characterized in that The step of identifying the target subject required by the user from the user requirement information includes: Acquire historical context information of the user, the historical context information including historical demand information from the user within a preset period of time in the past and historical recommendation information based on responses to the historical demand information; Based on the user demand information and the historical context information, a target subject required by the user is identified.
4. The method according to any one of claims 1 to 3, It is characterized in that The acquiring at least one recommendation information based on each of the search keywords includes: Based on each of the search keywords, respectively obtain object information of multiple target objects corresponding to each of the search keywords and merchant information of the target merchant to which each of the target objects belongs; Based on the merchant information of the target merchant to which each target object belongs, determining the target objects belonging to the same target merchant; The object information of the target object belonging to the same target merchant and the merchant information of the same target merchant are used as the recommendation information corresponding to the same target merchant.
5. The method according to any one of claims 1 to 3, It is characterized in that In the case that the at least one recommendation information includes a plurality of recommendation information, before sending the at least one recommendation information to the client, the method further includes: Based on the merchant information and the object information included in each recommendation information, remove the recommendation information that does not meet the preset delivery condition from the multiple recommendation information, wherein the preset delivery condition includes a condition for restricting the target merchant from delivering the target object to the user; In the case that a plurality of recommendation information remains after the elimination operation, generating second prompt information based on the remaining plurality of recommendation information, wherein the second prompt information is used to inquire about the arrangement order of the remaining plurality of recommendation information; Based on the second prompt information, the remaining plurality of recommendation information are obtained after sorting through the preset large language model.
6. The method according to claim 5, It is characterized in that The generating second prompt information based on the remaining plurality of recommendation information includes: The second prompt information is generated based on the remaining recommendation information and a preset sorting strategy, wherein the preset sorting strategy is used to sort based on at least one of the coverage of the target merchant to the target object, the distance between the target merchant and the user corresponding to the client, and the price of the target object.
7. An information processing method, It is characterized in that Applied to a client, the method comprises: Receiving user demand information submitted by a user, wherein the user demand information is used to describe a target subject required by the user, and the target subject is formed based on multiple target objects; Sending the user demand information to a server, so that the server obtains search keywords of each target object through a preset large language model based on the user demand information and then searches for at least one recommendation information; the recommendation information includes merchant information of the target merchant and object information of the target object belonging to the target merchant; Receive and display the at least one recommendation information returned by the server.
8. The method according to claim 7, It is characterized in that The displaying of the at least one recommendation information returned by the server includes: Displaying a plurality of card components in the current interface, the number of the card components being equal to the number of the recommended information, and each of the card components being used to display different recommended information; Displaying one piece of the recommendation information in each of the card components; A purchase operation component is displayed in each of the card components.
9. An information processing method, It is characterized in that Applied to a client, the method comprises: Displaying a first interface, wherein the first interface includes an interactive component for submitting user demand information; the user demand information is used to describe a target subject required by the user, and the target subject is formed based on multiple target objects; Receiving the user demand information submitted by the user through the interactive component, and sending the user demand information to the server; Receive at least one recommendation information returned by the server, wherein the recommendation information is obtained by searching for search keywords of each target object obtained by the server through a preset large language model based on the user demand information; the recommendation information includes merchant information of a target merchant and object information of the target object belonging to the target merchant; An information processing result interface is displayed, wherein the information processing result interface includes the at least one recommended information.
10. The method according to claim 9, It is characterized in that The receiving, through the interactive component, the user demand information submitted by the user includes: Detecting a triggering event of the interactive component, and calling up an input program corresponding to the interactive component; Displaying an input component corresponding to the input program in the first interface; The user demand information submitted by the user is obtained through the input component.
Citation Information
Cited By
Information recommendation method and apparatus, storage medium, and computer device
WO2025112724A1
