[go: up one dir, main page]

WO2026001385A1 - Information processing methods, store diagnosis method, intelligent assistant working method, system and device - Google Patents

Information processing methods, store diagnosis method, intelligent assistant working method, system and device

Info

Publication number
WO2026001385A1
WO2026001385A1 PCT/CN2025/094497 CN2025094497W WO2026001385A1 WO 2026001385 A1 WO2026001385 A1 WO 2026001385A1 CN 2025094497 W CN2025094497 W CN 2025094497W WO 2026001385 A1 WO2026001385 A1 WO 2026001385A1
Authority
WO
WIPO (PCT)
Prior art keywords
store
query
target
factor
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2025/094497
Other languages
French (fr)
Chinese (zh)
Inventor
李�灿
刘静雯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Alibaba International Internet Industry Co Ltd
Original Assignee
Hangzhou Alibaba International Internet Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Alibaba International Internet Industry Co Ltd filed Critical Hangzhou Alibaba International Internet Industry Co Ltd
Publication of WO2026001385A1 publication Critical patent/WO2026001385A1/en
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/04Inference or reasoning models
    • G06N5/041Abduction
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • Medical Informatics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Provided in the embodiments of the present disclosure are information processing methods, a store diagnosis method, an intelligent assistant working method, a system and a device. A solution provided in the present disclosure uses a causal inference algorithm to build a text repository (for example, at least one factor of a preset question stored in the text repository, which is obtained by performing attribution analysis on the preset question by using the causal inference algorithm), and empowers a merchant-side management tool with a first preset model which is fine-tuned by using a training sample set related to a store operation scenario, so as to upgrade the level of intelligence of the management tool. The text repository provides data support to retrieve a store-diagnosis result and/or at least one factor of a user's query question, as well as suggestion content linked to said factor; the first preset model provides intelligent response support; and, on the basis of the store diagnosis result and/or the user's query question and the suggestion content linked to the at least one factor, the first preset model can output a text that better conforms to natural language logic and is suitable for the store operation scenario.

Description

信息处理、店铺诊断及智能助手工作方法、系统及设备Information processing, store diagnostics, and intelligent assistant working methods, systems, and equipment

本公开要求申请号为202410867589.9的中国专利申请的优先权,该中国专利申请于2024年06月28日提交中国专利局,申请名称为“信息处理、店铺诊断及智能助手工作方法、系统及设备”,其全部内容通过引用结合在本公开中。This disclosure claims priority to Chinese Patent Application No. 202410867589.9, filed with the China Patent Office on June 28, 2024, entitled “Information Processing, Store Diagnosis and Intelligent Assistant Working Method, System and Device”, the entire contents of which are incorporated herein by reference.

技术领域Technical Field

本公开涉及计算机技术领域,尤其涉及一种信息处理、店铺诊断及智能助手工作方法、系统及设备。This disclosure relates to the field of computer technology, and in particular to a method, system and device for information processing, store diagnosis and intelligent assistant operation.

背景技术Background Technology

电商平台上有很多商家,商家可通过平台提供的管理工具对商家在电商平台上经营的店铺进行管理,比如可通过该管理工具获取店铺近期流量数据(如访问数量、下单数量、支付单量等等),还可通过该管理工具为店铺商品设置关键词以提高商品搜索几率等等。There are many merchants on e-commerce platforms. Merchants can manage their stores on the e-commerce platform through the management tools provided by the platform. For example, they can use the management tools to obtain recent traffic data of the store (such as the number of visits, the number of orders, the number of paid orders, etc.) and set keywords for the store's products to improve the chances of product search.

但现有管理工具还不够智能,商家仅能通过该管理工具了解店铺的一些统计数据。对于有经验商家来说,可通过这些统计数据精准的定位出店铺的问题,然后凭丰富的经验调整经营策略。但对于经验不足的商家来说,看到这些统计数据并不能精准的定位出店铺问题,也不知该如何调整经营策略。However, existing management tools are not intelligent enough; merchants can only access some statistical data about their stores through these tools. Experienced merchants can use this data to pinpoint store problems and adjust their business strategies based on their extensive experience. But for less experienced merchants, these statistics are insufficient to accurately identify store issues, and they don't know how to adjust their business strategies.

发明内容Summary of the Invention

本公开各实施例提供一种信息处理、店铺诊断及智能助手工作方法、系统及设备,以助力商家运营店铺。The embodiments of this disclosure provide an information processing, store diagnosis, and intelligent assistant working method, system, and device to help merchants operate their stores.

在本公开的第一个实施例中,提供了一种信息处理方法。该方法包括:In a first embodiment of this disclosure, an information processing method is provided. The method includes:

针对目标店铺,确定目标问题;For the target store, identify the target problem;

在文案资料库中,检索所述目标问题的至少一个因子;Retrieve at least one factor of the target question from the document database;

基于所述目标问题及所述至少一个因子关联的建议内容,生成提示词Prompt;Based on the target question and the suggested content associated with at least one factor, a prompt word is generated.

利用第一预设模型输出所述Prompt对应的文案,以助力用户解决或改善所述目标问题;The first preset model is used to output the text corresponding to the Prompt, so as to help users solve or improve the target problem;

其中,所述文案资料库存储有:利用因果推断算法对预设问题进行归因分析得到的所述预设问题的至少一个因子;所述第一预设模型是在预训练模型的基础上,针对店铺运营场景下的智能应答任务对所述预训练模型进行调整训练得到。The document database stores at least one factor of the preset question obtained by attribution analysis of the preset question using a causal inference algorithm; the first preset model is obtained by adjusting and training the pre-trained model based on the pre-trained model for intelligent response tasks in the store operation scenario.

在本公开的第二个实施例中,提供了一种信息处理方法。该方法包括:In a second embodiment of this disclosure, an information processing method is provided. The method includes:

构建查询Query模板库,所述Query模板库包括多个Query模板,一个Query模板关联一个与店铺运营相关的预设问题;Construct a query template library, which includes multiple query templates, and each query template is associated with a preset question related to store operations;

基于所述Query模板库,构建文案资料库;其中,所述文案资料库存储有:利用因果推断算法对Query模板关联的预设问题进行归因分析得到所述Query模板的至少一个因子;Based on the Query template library, a copywriting database is constructed; wherein, the copywriting database stores at least one factor of the Query template obtained by attribution analysis of preset questions associated with the Query template using a causal inference algorithm;

根据所述Query模板库和所述文案资料库,生成训练样本集;A training sample set is generated based on the Query template library and the copywriting database;

利用所述训练样本集,对预训练模型进行调整训练,得到能处理店铺运营场景下智能应答任务的第一预设模型。Using the training sample set, the pre-trained model is adjusted and trained to obtain a first preset model that can handle intelligent response tasks in store operation scenarios.

在本公开的第三个实施例中,提供了一种店铺诊断方法。该方法适用于客户端,具体的,所述方法包括:In a third embodiment of this disclosure, a store diagnostic method is provided. This method is applicable to the client side, and specifically, the method includes:

响应针对目标店铺的诊断触发事件,触发店铺诊断以呈现和/或播放诊断出的目标问题;Respond to diagnostic trigger events for the target store, trigger store diagnostics to present and/or play the diagnosed target issues;

展示和/或播放文案,所述文案包括助力用户解决或改善所述目标问题的建议内容;Display and/or play text, which includes suggestions to help users solve or improve the target problem;

其中,所述文案是利用第一预设模型得到,所述第一预设模型是在预训练模型的基础上,针对店铺运营场景下的智能应答任务对所述预训练模型进行调整训练得到的;所述建议内容与所述目标问题的至少一个因子关联,所述问题的至少一个因子是利用因果推断算法对所述目标问题进行归因分析出的。The copy is obtained using a first preset model, which is obtained by adjusting and training the pre-trained model based on a pre-trained model for intelligent response tasks in a store operation scenario; the suggested content is associated with at least one factor of the target problem, and the at least one factor of the problem is obtained by attribution analysis of the target problem using a causal inference algorithm.

在本公开的第四个实施例中,提供了一种店铺智能助手工作方法。该方法适用于服务端,具体的,该方法包括:In the fourth embodiment of this disclosure, a method for operating a smart store assistant is provided. This method is applicable to the server side, and specifically, the method includes:

显示目标店铺的管理页面;Display the target store's management page;

监听用户在所述管理页面上的操作,以捕捉用户在店铺运营上的目标问题;Monitor user actions on the management page to identify user-defined issues related to store operations;

响应用户针对所述目标问题触发的确认指令,展示和/或播放文案,所述文案包括助力用户解决或改善所述目标问题的建议内容;In response to a user's confirmation command triggered for the target problem, display and/or play text, which includes suggestions to help the user solve or improve the target problem;

其中,所述文案是利用第一预设模型得到,所述第一预设模型是在预训练模型的基础上,针对店铺运营场景下的智能应答任务对所述预训练模型进行调整训练得到的;所述建议内容与所述目标问题的至少一个因子关联,所述问题的至少一个因子是利用因果推断算法对所述目标问题进行归因分析出的。The copy is obtained using a first preset model, which is obtained by adjusting and training the pre-trained model based on a pre-trained model for intelligent response tasks in a store operation scenario; the suggested content is associated with at least one factor of the target problem, and the at least one factor of the problem is obtained by attribution analysis of the target problem using a causal inference algorithm.

在本公开的第五个实施例中,提供了一种服务系统。该服务系统包括客户端和服务端。其中,客户端用于实现上述店铺诊断方法实施例中的步骤或上述店铺智能助手工作方法实施例中的步骤。服务端用于实现上述各信息处理方法实施例中的步骤。In a fifth embodiment of this disclosure, a service system is provided. This service system includes a client and a server. The client is used to implement the steps in the above-described store diagnosis method embodiment or the steps in the above-described store intelligent assistant working method embodiment. The server is used to implement the steps in the above-described information processing method embodiments.

在本公开的第六个实施例中,提供了一种电子设备。该电子设备包括存储器和处理器。其中,存储器用于存储可执行指令;处理器通过运行所述可执行指令以实现如上述各方法实施例中的步骤。In a sixth embodiment of this disclosure, an electronic device is provided. The electronic device includes a memory and a processor. The memory stores executable instructions; the processor executes the executable instructions to perform the steps as described in the above method embodiments.

在本公开的第六个实施例中,提供了一种计算机可读存储介质。该存储介质存储有计算机指令,该指令被处理器执行时可实现上述各方法实施例中的步骤。In a sixth embodiment of this disclosure, a computer-readable storage medium is provided. This storage medium stores computer instructions that, when executed by a processor, can perform the steps described in the above method embodiments.

本公开的第七个实施例还提供了一种计算机程序产品,该计算机程序产品包括计算机程序或指令,当所述计算机程序或指令被处理器执行时,使得处理器执行上述各方法实施例中的步骤。A seventh embodiment of this disclosure also provides a computer program product comprising a computer program or instructions that, when executed by a processor, cause the processor to perform the steps in the above method embodiments.

本公开各实施例中提及的预训练模型是指利用海量数据用自监督方法进行训练生成的拥有庞大参数量的机器学习模型,它为下游任务(如本公开各实施例中提及的店铺运营场景下的智能应答任务)提供了优良的分布式特征表示能力和模型泛化能力。预训练模型也可称为通用化大模型。The pre-trained models mentioned in the embodiments of this disclosure refer to machine learning models with a large number of parameters generated by training with massive amounts of data using self-supervised methods. They provide excellent distributed feature representation capabilities and model generalization capabilities for downstream tasks (such as the intelligent response task in the store operation scenario mentioned in the embodiments of this disclosure). Pre-trained models can also be called generalized large models.

本公开实施例提供的技术方案将大模型与因果推断技术结合起来,即在构建文案资料库时使用了因果推断算法,以对Query模板关联的预设问题进行归因分析得到至少一个因子;用于对预训练模型进行调整训练的训练样本,是基于Query模板库和文案资料库生成的。利用多个这样的训练样本组成的训练样本集,对预训练模型进行调整训练以将其调整为适用于店铺运营场景的第一预设模型。The technical solution provided in this disclosure combines a large model with causal inference technology. Specifically, a causal inference algorithm is used when constructing the copywriting database to perform attribution analysis on the preset questions associated with the query template to obtain at least one factor. The training samples used to adjust and train the pre-trained model are generated based on the query template library and the copywriting database. Using a training sample set composed of multiple such training samples, the pre-trained model is adjusted and trained to adapt it into a first preset model suitable for store operation scenarios.

本公开实施例提供的方案,利用因果推断算法构建文案资料库(如文案资料库中存储的利用因果推断算法对预设问题进行归因分析得到的预设问题的至少一个因子),并将利用与店铺运营场景相关的训练样本集调整过的第一预设模型给商家侧管理工具赋能,使得管理工具的智能化程度更高。文案资料库、第一预设模型等可部署在服务端,相应的在客户端对应的产品形态可以是智能助手,用户可通过该智能助手对目标店铺进行诊断,或询问店铺运营相关的问题等等。文案资料库为智能助手提供了数据支持,可检索出店铺诊断结果和/或用户询问的问题的至少一个因子,及因子关联的建议内容;经调整训练的第一预设模型为智能助手提供了智能应答支持,基于店铺诊断结果和/或用户询问的问题以及至少一个因子关联的建议内容,第一预设模型可输出更符合自然语言逻辑、适于店铺运营场景的文案,以助力用户运营店铺。The solution provided in this disclosure utilizes a causal inference algorithm to construct a document database (such as at least one factor of a preset question obtained by attribution analysis of a preset question using the causal inference algorithm stored in the document database). A first preset model, adjusted using a training sample set related to store operation scenarios, empowers the merchant-side management tool, thereby enhancing the intelligence of the management tool. The document database and the first preset model can be deployed on the server side, and the corresponding product form on the client side can be a smart assistant. Users can use this smart assistant to diagnose target stores or ask questions related to store operations. The document database provides data support for the smart assistant, retrieving at least one factor of the store diagnosis results and/or the user's question, as well as suggested content associated with that factor. The adjusted and trained first preset model provides intelligent response support for the smart assistant. Based on the store diagnosis results and/or the user's question, and suggested content associated with at least one factor, the first preset model can output document that is more consistent with natural language logic and suitable for store operation scenarios, thus assisting users in operating their stores.

可见,本公开各实施例提供的技术方案,利用大模型和因果推断技术,提升了平台的智能化服务能力,助力商家经营店铺。As can be seen, the technical solutions provided in the various embodiments of this disclosure utilize large models and causal inference techniques to enhance the platform's intelligent service capabilities and assist merchants in operating their stores.

附图说明Attached Figure Description

为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

图1为本公开实施例提供的技术方案对应的技术架构示意图;Figure 1 is a schematic diagram of the technical architecture corresponding to the technical solution provided in the embodiments of this disclosure;

图2为本公开一实施例提供的服务系统的示意图;Figure 2 is a schematic diagram of a service system provided in an embodiment of this disclosure;

图3为本公开一实施例提供的信息处理方法的流程示意图;Figure 3 is a flowchart illustrating an information processing method provided in an embodiment of this disclosure;

图4为本公开另一实施例提供的信息处理方法的流程示意图;Figure 4 is a flowchart illustrating an information processing method provided in another embodiment of this disclosure;

图5为本公开一实施例提供的店铺诊断方法的流程示意图;Figure 5 is a schematic flowchart of a store diagnosis method provided in an embodiment of this disclosure;

图6a为本公开一实施例提供的技术方案对应的第一种界面示意图;Figure 6a is a schematic diagram of the first interface corresponding to the technical solution provided in an embodiment of this disclosure;

图6b为本公开一实施例提供的技术方案对应的第二种界面示意图;Figure 6b is a schematic diagram of the second interface corresponding to the technical solution provided in an embodiment of this disclosure;

图6c为本公开一实施例提供的技术方案对应的第三种界面示意图;Figure 6c is a schematic diagram of a third interface corresponding to a technical solution provided in an embodiment of this disclosure;

图7为本公开一实施例提供的店铺智能助手工作方法的流程示意图;Figure 7 is a flowchart illustrating the working method of a smart store assistant provided in an embodiment of this disclosure;

图8为本公开一实施例提供的电子设备的结构框图。Figure 8 is a structural block diagram of an electronic device provided in an embodiment of this disclosure.

具体实施方式Detailed Implementation

为了使本技术领域的人员更好地理解本公开方案,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述。To enable those skilled in the art to better understand the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.

在本公开的说明书、权利要求书及上述附图中描述的一些流程中,包含了按照特定顺序出现的多个操作,这些操作可以不按照其在本文中出现的顺序来执行或并行执行。操作的序号如101、102等,仅仅是用于区分各个不同的操作,序号本身不代表任何的执行顺序。另外,这些流程可以包括更多或更少的操作,并且这些操作可以按顺序执行或并行执行。需要说明的是,本文中的“第一”、“第二”等描述,是用于区分不同的消息、设备、模块等,不代表先后顺序,也不限定“第一”和“第二”是不同的类型。下文所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。In some processes described in the specification, claims, and accompanying drawings of this disclosure, multiple operations appearing in a specific order are included. These operations may be executed out of order or in parallel. Operation numbers such as 101, 102, etc., are merely used to distinguish different operations and do not represent any execution order. Furthermore, these processes may include more or fewer operations, and these operations may be executed sequentially or in parallel. It should be noted that the terms "first," "second," etc., used herein are used to distinguish different messages, devices, modules, etc., and do not represent a sequential order, nor do they limit "first" and "second" to different types. The embodiments described below are merely some embodiments of this disclosure, not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure.

在介绍各实施例之前,先对对本文中出现的一些技术术语进行简单的介绍。Before introducing the various embodiments, a brief introduction to some technical terms used in this document will be given.

Query:查询的意思,为了在数据库中寻找文件、网站、记录或一系列记录,由搜索引擎或数据库送出的消息。Query: A query is a message sent by a search engine or database in order to find a file, website, record, or series of records in a database.

预训练模型:指利用海量数据用自监督方法进行训练而生成拥有庞大参数量的机器学习模型,它为下游任务提供了优良的分布式特征表示能力和模型泛化能力。预训练模型可称为通用化大模型。Pre-trained models refer to machine learning models with a large number of parameters generated by training on massive amounts of data using self-supervised methods. They provide excellent distributed feature representation capabilities and model generalization capabilities for downstream tasks. Pre-trained models can be called generalized large models.

SFT:Supervised Finetuning,有监督微调,在一个大型预训练模型的基础上,针对某一具体场景下的任务对预训练模型进行微调。在微调的过程中,预训练模型会根据任务的特点调整预训练模型的参数和结构,以提高预训练模型在该任务上的表现。SFT: Supervised Fine-tuning. This involves fine-tuning a pre-trained model based on a large pre-trained model for a specific task in a particular scenario. During fine-tuning, the pre-trained model's parameters and structure are adjusted according to the characteristics of the task to improve its performance on that task.

LoRA:一种模型Fine Tuning(微调)的方法,它冻结了预训练模型的模型参数,并将可训练的低秩矩阵注入到Transformer(是一个利用注意力机制来提高模型训练速度的模型)架构的注意力层中,大大减少了下游任务的可训练参数的数量,提升训练速度。LoRA: A model fine-tuning method that freezes the model parameters of a pre-trained model and injects trainable low-rank matrices into the attention layer of a Transformer architecture (a model that uses attention mechanisms to improve model training speed), which greatly reduces the number of trainable parameters for downstream tasks and improves training speed.

SHAP:Shapley Value,夏普利值,一种计算特征与Label(标签)间因果性的方法,通过枚举不同的特征组合,计算在某个特征组合下增加一个特征,相对于不增加这个特征对于预测结果的影响,这个影响是这个特征对于这个特征组合的边际效益。SHAP: Shapley Value, a method for calculating the causality between features and labels. It calculates the marginal benefit of adding a feature to a given feature combination relative to not adding that feature by enumerating different feature combinations.

Tars:ICUB大型语言模型,基于海量文本数据训练的深度学习模型。Tars: ICUB large-scale language model, a deep learning model trained on massive amounts of text data.

ab:询盘,买方或卖方为了购买或销售某项商品时,向对方提出的关于交易条件的询问。ab: Inquiry, which is a question made by a buyer or seller to the other party regarding the terms of a transaction in order to buy or sell a certain product.

rfq:报价请求。rfq: Request for quote.

为了方便理解技术方案,本公开各实施例所基于的底层技术架构角度进行阐述。下述各实施例提供的技术方案均基于该技术架构实现。参见图1所示,本公开提供的技术方案的技术架构图。如图1所示,本公开提供的技术方案的技术架构包括:To facilitate understanding of the technical solutions, the embodiments of this disclosure are described from the perspective of the underlying technical architecture. The technical solutions provided in the following embodiments are all implemented based on this technical architecture. Refer to Figure 1, which shows the technical architecture diagram of the technical solutions provided in this disclosure. As shown in Figure 1, the technical architecture of the technical solutions provided in this disclosure includes:

一、构建Query模板库(图1中标号101)I. Building a Query Template Library (Figure 1, number 101)

在一个可实现的技术方案中,构建Query模板库可包括:In one feasible technical solution, building a query template library may include:

S11、确定多个基础Query模板;S11. Determine multiple basic query templates;

S12、利用第二预设模型,对所述多个基础Query模板进行扩展,得到多个扩展Query模板;S12. Using the second preset model, the multiple basic query templates are extended to obtain multiple extended query templates;

S13、对所述多个扩展Query模板进行评测,保留通过评测的扩展Query模板;S13. Evaluate the multiple extended query templates and retain the extended query templates that pass the evaluation;

其中,所述Query模板库包括的多个基础Query模板以及通过评测的多个扩展Query模板。The Query template library includes multiple basic Query templates and multiple extended Query templates that have passed evaluation.

举例来说,上述S11中的多个基础Query模板可包括但不限于:覆盖所有流量节点的多个基础Query模板、多个与店铺优化项相关的基础Query模板、多个与店铺运营问题相关的基础Query模板,等等。其中,在电商场景中,流量节点可包括但不限于:关键词搜索、用户访问、加入购物车、询盘、下单、支付等等。店铺优化项可包括但不限于:店铺内商品关键词、店铺内商品图片、店铺推广商品、商品适用人群等等。店铺运营问题可包括但不限于:如何提高被搜索几率、如何提高支付量、如何提高店铺访问量等等。本文中提及的店铺可以是电商平台上的线上店铺或社交平台上的线上店铺等等,线上店铺也可称为“网店”或“电子商店”。电商平台或社交平台为商家提供了在互联网上运营店铺、在线上店铺内展示和销售商品或服务等技术支持。电商平台或社交平台利用互联网技术,允许消费者浏览商品信息、进行比较、下单、支付货款,并等待商品配送到指定地址。For example, the multiple basic query templates in S11 mentioned above may include, but are not limited to: multiple basic query templates covering all traffic nodes, multiple basic query templates related to store optimization items, multiple basic query templates related to store operation issues, and so on. In e-commerce scenarios, traffic nodes may include, but are not limited to: keyword search, user visits, adding to cart, inquiries, order placement, payment, etc. Store optimization items may include, but are not limited to: in-store product keywords, in-store product images, store promotional products, target audience for products, etc. Store operation issues may include, but are not limited to: how to increase search visibility, how to increase payment volume, how to increase store traffic, etc. The stores mentioned in this article can be online stores on e-commerce platforms or online stores on social media platforms, etc. Online stores can also be called "online stores" or "e-commerce shops." E-commerce platforms or social media platforms provide merchants with technical support for operating stores on the internet, displaying and selling goods or services in online stores. E-commerce platforms or social media platforms utilize internet technology to allow consumers to browse product information, compare, place orders, pay for goods, and wait for delivery to a designated address.

其中,覆盖所有流量节点的多个基础Query模板,可分成两大类场景,第一类是店铺自身流量数据与参照店铺(如同行店铺和/或同等级店铺)的流量数据存在差异所对应的多个基础Query模板;第二类是对比店铺第一时段的流量数据和历史上第二时段的流量数据存在差异所对应的多个基础Query模板。Among them, the multiple basic query templates covering all traffic nodes can be divided into two main categories. The first category consists of multiple basic query templates corresponding to differences between the store's own traffic data and the traffic data of reference stores (such as peer stores and/or stores of the same level). The second category consists of multiple basic query templates corresponding to differences between the store's traffic data in the first time period and the historical traffic data in the second time period.

有了多个基础Query模板后,还可利用第二预设模型,离线的扩展出多个扩展Query模板。第二预设模型可以是大型语言模型(LLM,Large Language Model),大型语言模型是基于海量文本数据训练的深度学习模型,它不仅能够生成自然语言文本,还能够深入理解文本含义,处理各种自然语言任务。After establishing multiple basic query templates, a second preset model can be used to offline expand multiple extended query templates. The second preset model can be a Large Language Model (LLM), a deep learning model trained on massive amounts of text data. It can not only generate natural language text but also deeply understand the meaning of text and handle various natural language tasks.

通过第二预设模型扩展出的多个扩展Query,不一定都符合要求。因此,可对第二预设模型输出的多个扩展Query进行评测。评测过程可包括但不限于:获取评测规则;利用评测规则分别对各扩展Query进行评测,保留通过评测的扩展Query模板。进一步的,评测过程中也可增加人工参与接口,比如将通过评测的扩展Query模板展示到客户端界面,用户还可对通过评测的扩展Query模板进行编辑、删除等等。Multiple extended queries derived from the second preset model may not all meet the requirements. Therefore, the multiple extended queries output by the second preset model can be evaluated. The evaluation process may include, but is not limited to: obtaining evaluation rules; evaluating each extended query separately using the evaluation rules, and retaining the extended query templates that pass the evaluation. Furthermore, a human intervention interface can be added to the evaluation process, such as displaying the extended query templates that pass the evaluation on the client interface, and allowing users to edit, delete, etc., the extended query templates that pass the evaluation.

其中,本公开对评测规则不做具体限定,可包括多个规则项,各规则项可人为设定。This disclosure does not specify the evaluation rules, and may include multiple rule items, each of which can be set manually.

最后,得到包含多个基础Query模板和通过评测的多个扩展Query模板的Query模板库。在店铺诊断时,可针对店铺的诊断结果(如店铺曝光率低、点击率低、询盘量低等)对Query模板库中的多个Query模板进行排序。比如,与店铺诊断结果相关性紧密的Query模板排在前面。这样可将排序在前的几个,如1、2、3或4个等等,作为店铺诊断结果对应的Query模板。或者是,通过大数据统计,统计出同行业或同等级店铺普遍存在的问题,基于统计结果对Query模板库中的多个Query模板进行排序。这样可将排序在前的几个,如1、2、3或4个等,作为推荐Query模板。Finally, a query template library is obtained, containing multiple basic query templates and multiple extended query templates that have passed evaluation. During store diagnostics, the query templates in the library can be sorted based on the store's diagnostic results (such as low store exposure, low click-through rate, low inquiry volume, etc.). For example, query templates closely related to the store's diagnostic results can be ranked higher. This allows the top-ranked templates (e.g., 1, 2, 3, or 4) to be used as the corresponding query templates for the store's diagnostic results. Alternatively, through big data statistics, common problems found in stores of the same industry or level can be identified, and the query templates in the library can be sorted based on these statistical results. This allows the top-ranked templates (e.g., 1, 2, 3, or 4) to be used as recommended query templates.

综上,所述Query模板库可包括如下中的至少一项:In summary, the Query template library may include at least one of the following:

平台上任一店铺与参照店铺的数据存在差异原因对应的Query模板;The query template for the reason why the data of any store on the platform differs from that of a reference store;

平台上任一店铺不同时期数据存在差异原因对应的Query模板;Query templates for explaining why data discrepancies exist for any store on the platform at different times;

店铺管理问题对应的Query模板;Query templates for store management issues;

店铺优化项对应的Query模板;Query templates corresponding to store optimization items;

利用第二预设模型扩展出的Query模板。The query template is extended using the second preset model.

二、构建文案资料库(图1中标号102)II. Building a document database (Figure 1, number 102)

2.1、收集基础数据,如平台上店铺的属性信息、店铺的流量数据、店铺的运营数据等等。其中,店铺的属性信息可包括但不限于:店铺所属行业、店铺等级等等。店铺的流量数据可包括但不限于:店铺历史时段(如过去30天、60天等)曝光率、点击率、询盘量、订单日均数量等等。店铺的运营数据可包括但不限于:店铺橱窗数、优品数、自营销互动数、rfd金额、广告消耗金额、店铺引流情况(包括通过搜索、活动、付费广告、直播等不同渠道进店的数量)等等。2.1 Collect basic data, such as store attribute information, store traffic data, and store operational data on the platform. Store attribute information may include, but is not limited to: the store's industry, store rating, etc. Store traffic data may include, but is not limited to: historical exposure rate, click-through rate, inquiry volume, and average daily order volume for the past 30 days, 60 days, etc. Store operational data may include, but is not limited to: number of store showcases, number of featured products, number of self-marketing interactions, RFD amount, advertising expenditure, and store traffic generation (including the number of visitors entering the store through different channels such as search, events, paid advertising, and live streaming), etc.

2.2、店铺优化项归因2.2 Attribution of Store Optimization Items

因果推断是一种统计和推理方法,旨在理解和推断事件、变量或行为之间的因果关系。本公开方案就是要利用因果推断技术,分析引起店铺问题的异常流量节点,这些流量节点便是店铺可进行优化的店铺优化项。在归因分析时使用了漏斗分析技术。即利用漏斗分析技术对平台上店铺的流量数据和运营数据进行分析,以分析出解决或改善店铺问题的店铺优化项。Causal inference is a statistical and reasoning method aimed at understanding and inferring causal relationships between events, variables, or behaviors. This disclosed solution utilizes causal inference techniques to analyze abnormal traffic nodes that cause store problems; these traffic nodes represent potential store optimization opportunities. Funnel analysis is employed in the attribution analysis. Specifically, funnel analysis is used to analyze the store's traffic and operational data on the platform to identify store optimization options for resolving or improving store issues.

数据漏斗节点是漏斗分析中的一个关键要素,代表从事件开始到事件结束所经历的各个流量节点。这些流量节点包括起点、中间过程性节点和终点。具体来说,对于不同的应用场景,数据漏斗节点设置会有所不同。在电商领域,数据漏斗节点可包括:客户访问、加入购物车、下单、支付等等。通过对这些节点的数据进行分析,可以了解客户在各个阶段的转化情况,从而发现潜在的问题和优化项。例如,发现某个节点的转化率较低,可能意味着该节点存在问题,需要进一步的调整和优化。该节点也就是店铺需要优化的店铺优化项。Data funnel nodes are a key element in funnel analysis, representing the various traffic points encountered from the start to the end of an event. These nodes include the starting point, intermediate process nodes, and the ending point. Specifically, the data funnel node settings will vary depending on the application scenario. In e-commerce, data funnel nodes may include: customer visits, adding to cart, placing orders, payment, etc. By analyzing the data from these nodes, we can understand the customer's conversion rate at each stage, thereby identifying potential problems and optimization areas. For example, finding a low conversion rate at a certain node may indicate a problem at that node, requiring further adjustments and optimizations. This node represents the store's optimization needs.

因此,在进行漏斗分析时,需要仔细的确定和定义数据漏斗的节点,以确保分析的准确性和有效性。本公开实施例对数据漏斗的节点的确定和定义不做具体限定,需具体场景具体分析。具体实践时,可根据经验来确定和定义。Therefore, when performing funnel analysis, it is necessary to carefully identify and define the nodes of the data funnel to ensure the accuracy and effectiveness of the analysis. This disclosure does not specifically limit the identification and definition of the nodes of the data funnel; each scenario requires specific analysis. In practice, they can be determined and defined based on experience.

在进行漏斗分析时,可基于单调栈的方法来进行流量漏斗中的节点优化点归因分析。其中,单调栈常用于找出数组中某个元素左边或右边第一个比它大或小的元素的位置,从而识别出序列中的局部极大值和极小值。When performing funnel analysis, the monotonic stack method can be used to perform attribution analysis of node optimization points in the flow funnel. The monotonic stack is often used to find the position of the first element to the left or right of a given element in an array that is larger or smaller than it, thereby identifying local maxima and minima in the sequence.

例如,在具体实施时可维护两个递增的单调栈来找出商家询问的问题或商家店铺诊断出的问题关联的指标(访问量、询盘数等)与参照店铺(与商家店铺同属一个行业或同行同等级的另一个店铺)相差最大的节点,即一个数组中每个位置的前面最小值所在位置。通过使用两个单调递增栈,可以有效的找到异常节点位置,这个位置就是优化的关键点,即店铺优化项。For example, in practical implementation, two monotonically increasing stacks can be maintained to find the node where the metrics (visits, inquiries, etc.) related to the questions asked by merchants or the problems diagnosed in the merchant's store differ the most from those of a reference store (another store in the same industry or at the same level as the merchant's store). This is essentially the position of the minimum value at each position in an array. By using two monotonically increasing stacks, the location of the abnormal node can be effectively found; this position is the key point for optimization, i.e., the store optimization item.

2.3店铺优化项的因子排序2.3 Factor Ranking of Store Optimization Items

以店铺优化项为目标建模,基于多个因子构建因果树模型。该因果树模型可以是LightGBM模型(简称LGB模型)。在具体实施时,多个因子可选自电商搜索场景中的多个搜索排序特征。具体实施时,可基于预设的训练集对因果树模型进行训练。其中,预设的训练集可根据平台上店铺的店铺数据构建。对于无法变动的因子,比如店铺类型及统计特征等,为避免干扰因果树模型的分割节点,影响特征重要性效果,训练时会删除。Modeling is performed with store optimization as the target, constructing a causal tree model based on multiple factors. This causal tree model can be a LightGBM model (LGB model for short). In practice, the multiple factors can be selected from multiple search ranking features in e-commerce search scenarios. The causal tree model can be trained based on a pre-set training set, which can be constructed based on store data from the platform. Factors that cannot be changed, such as store type and statistical features, will be removed during training to avoid interfering with the splitting nodes of the causal tree model and affecting the feature importance effect.

基于平台上店铺的店铺数据(如店铺的流量数据和店铺的运营数据)构建数据集。该数据集与上述训练集不同,数据集可称为预测集。因果树模型经训练集训练后,再利用数据集计算多个因子中各因子对因果树模型预测结果的影响,得到所述多个因子各自对应的影响度。A dataset is constructed based on store data (such as store traffic data and store operational data) from stores on the platform. This dataset differs from the training set mentioned above; it can be referred to as the prediction set. After the causal tree model is trained on the training set, the dataset is used to calculate the influence of each of the multiple factors on the prediction results of the causal tree model, thus obtaining the influence degree of each of the multiple factors.

具体的,上述计算影响度可具体为SHAP值(夏普利值)。SHAP(Shapley Additive exPlanations)是一个“模型解释”包,它可以解释任何机器学习模型的输出。所有特征都被视为“贡献者”。对于每个预测样本,模型都产生一个预测值,SHAP值就是该样本中每个特征所分配到的数值。在本公开中SHAP值就是每个因子对因果树模型输出的预测结果的影响度或贡献力。计算SHAP值,整体思想是枚举不同的因子组合,计算在某个因子组合下增加一个因子相对于不增加这个因子对于预测结果的影响,这个影响就是这个因子对于这个因子组合的边际收益,公式如下:
Specifically, the calculated influence can be expressed as the SHAP value (Shapley value). SHAP (Shapley Additive exPlanations) is a "model interpretation" package that can interpret the output of any machine learning model. All features are considered "contributors." For each predicted sample, the model produces a predicted value, and the SHAP value is the numerical value assigned to each feature in that sample. In this disclosure, the SHAP value represents the influence or contribution of each factor to the predicted result of the causal tree model output. The overall idea for calculating the SHAP value is to enumerate different factor combinations and calculate the impact of adding a factor relative to not adding that factor on the predicted result under a certain factor combination. This impact is the marginal benefit of that factor for that factor combination, as shown in the following formula:

其中,V(i):表示多个因子中因子i的夏普利值;N:表示多个因子的集合;|N|:表示多个因子的个数;S:是N的子集;|S|:是N的子集个数;v(S)表示S集合中多个因子的价值。Where V(i) represents the Shapley value of factor i among multiple factors; N represents the set of multiple factors; |N| represents the number of multiple factors; S is a subset of N; |S| is the number of subsets of N; v(S) represents the value of multiple factors in set S.

在夏普利值的计算中,对所有可能的因子组合集S进行遍历,并计算因子i加入组合S后的新增贡献,即v(S∪{i})-v(S)。然后,对所有组合的新增贡献进行加权平均,其中权重根据组合的大小来确定。In the calculation of the Shapley value, all possible combinations of factors S are traversed, and the additional contribution of factor i after being added to combination S is calculated, i.e., v(S∪{i})-v(S). Then, a weighted average of the additional contributions of all combinations is calculated, where the weights are determined according to the size of the combination.

上述公式的含义是:夏普利值等于某一个因子在所有可能的合作组合中所做的平均贡献。它考虑了每个因子的边际贡献,并通过加权平均来确定最终的分配。因子的夏普利值被定义为该因子对于因果树模型预测结果的贡献度。在因子数量较多的情况下,可使用因子采样或者因子独立性假设等方式计算shapley value的近似值。The above formula means that the Shapley value equals the average contribution of a factor across all possible combinations of cooperation. It considers the marginal contribution of each factor and determines the final allocation through a weighted average. The Shapley value of a factor is defined as its contribution to the prediction results of the causal tree model. When there are many factors, approximate values for the Shapley value can be calculated using methods such as factor sampling or the assumption of factor independence.

因为前面以店铺优化项为目标建模,基于多个因子构建因果树模型;然后又利用上述算法计算出多个因子中各因子的SHAP值。所以,在得到多个因子的SHAP值后,便可按照SHAP值对多个因子进行排序;进而得到所述店铺优化项的因子排序。Because the preceding modeling focused on store optimization items, a causal tree model was constructed based on multiple factors; then, the SHAP value of each factor was calculated using the aforementioned algorithm. Therefore, after obtaining the SHAP values of multiple factors, they can be sorted according to their SHAP values; thus, the factor ranking of the store optimization items can be obtained.

店铺优化项有很多项,如是否使用了设定渠道以提高点击率、关键词是否准确等等,这些都是店铺优化项。通过上述技术手段,可得到各个店铺优化项的因子排序。There are many aspects to store optimization, such as whether specific channels are used to improve click-through rate, and whether keywords are accurate. These are all store optimization items. Using the techniques described above, the factors for each store optimization item can be ranked.

其实,所属不同行业的店铺、处于不同等级(按照平台评级规则评定的级别)的店铺、处于不同阶段(如成长阶段或等级升级准备阶段等等)的店铺,他们在店铺运营上是有差异的。也就是说,不同行业、或不同等级、或不同阶段的店铺,针对同一店铺优化项的因子排序会不同。例如,依据店铺所属一级和二级行业、所属等级、是否投广告、是否为成长期、是否处于等级升级准备阶段等等,对平台上的店铺进行分组。In fact, stores belonging to different industries, at different levels (as determined by the platform's rating rules), and at different stages (such as the growth stage or the stage of preparing for level upgrades) will have different operational approaches. In other words, the factor ranking for the same optimization item will differ depending on the industry, level, or stage of the store. For example, stores on the platform can be grouped based on their primary or secondary industry, level, whether they advertise, whether they are in the growth stage, or whether they are in the stage of preparing for level upgrades.

一级行业和二级行业是行业分类的两个层次,它们构成了一个从宽泛到具体的分类体系。一级行业是行业分类中最基础的层次,可包括农、林、牧、渔业、工业、建筑业等。二级行业是这些一级行业基础上进一步细分的行业大类。Primary and secondary industries are two levels of industry classification, forming a classification system that ranges from broad to specific. Primary industries are the most basic level of industry classification and can include agriculture, forestry, animal husbandry, fishery, industry, construction, etc. Secondary industries are further subdivided from these primary industries into broader industry categories.

因此,本公开提出了对平台上的店铺进行分组的概念,针对不同分组的店铺,计算对应的店铺优化项的因子排序。即上述技术方案中,在构建数据集时会基于同属一个分组的店铺数据(如店铺的流量数据和店铺的运营数据)来构建。然后利用同一分组内店铺的店铺数据构建的数据集,计算出的各因子的SHAP值,再基于SHAP值排序得到的因子排序,为该分组的店铺优化项的因子排序。简单来说,采用上述技术方案,针对统一店铺优化项,会计算出不同分组对应的店铺优化项的因子排序。为方便理解可表示为如下表1:
Therefore, this disclosure proposes the concept of grouping stores on the platform, and calculating the factor ranking of corresponding store optimization items for stores in different groups. That is, in the above technical solution, the dataset is constructed based on store data belonging to the same group (such as store traffic data and store operational data). Then, using the dataset constructed from store data within the same group, the SHAP values of each factor are calculated, and the factor ranking obtained based on the SHAP values is the factor ranking of the store optimization items for that group. Simply put, using the above technical solution, for a unified store optimization item, the factor ranking of the store optimization item corresponding to different groups will be calculated. For ease of understanding, this can be represented as shown in Table 1 below:

2.4回答资料库2.4 Answer Database

分别为因子配置关联的建议内容,该建议内容可以是店铺可执行的任务(如更改关键词、投放广告、借助辅助渠道等等)。进一步的,还可构建不同Query模板下的文案模板。例如,针对服务类、广告类或交易类任务,文案模板中可规定除含有建议内容外,还需给出目标店铺与参照店铺数据对比内容,等等。对于商品类、子账号类任务,文案模板中可规定除含有建议内容外,还给出可优化对象(可优化目标商品或子账号等)的列表卡片,等等。Each factor is associated with suggested content, which can be a task that the store can perform (such as changing keywords, running ads, or using auxiliary channels). Furthermore, different copy templates can be built for different query templates. For example, for service, advertising, or transaction tasks, the copy template can specify that in addition to suggested content, it should also provide a comparison of data between the target store and the reference store, and so on. For product or sub-account tasks, the copy template can specify that in addition to suggested content, it should also provide a list of optimization targets (target products or sub-accounts, etc.), and so on.

综上,文案资料库可存储有:平台上店铺的属性信息、平台上店铺的流量数据和运营数据、Query模板关联的店铺优化项、店铺优化项的因子排序、因子关联的建议内容、不同Query模板对应的文案模板信息的语料知识库。In summary, the copywriting database can store: attribute information of stores on the platform, traffic and operational data of stores on the platform, store optimization items associated with query templates, factor sorting of store optimization items, suggested content associated with factors, and a corpus knowledge base of copywriting template information corresponding to different query templates.

三、模型部署(图1中标号103)III. Model Deployment (Figure 1, No. 103)

3.1、生成训练样本3.1 Generating training samples

基于上述(二)部分得到的文案资料库和上述(一)部分得到的Query模板库,调用第三预设模型生成多个训练样本。其中,第三预设模型可以是大型语言模型(LLM,Large Language Model)等,本实施例对此不做具体限定。例如,调用第三预设模型离线生成4000条,或更多条(如5000、6000等)有效数据作为训练样本。其中,有些训练样本中含有敏感数据(如商家隐私信息),敏感信息需进行脱敏处理,比如采用掩码<MASK>的形式替代。同时,还可通过调整提示词(Prompt)的方式使得第一预设模型输出的文案为指定格式,如JSON格式(JavaScriptObject Notation,一种轻量级的数据交换格式),方便后续组间和跳转衔接的接入。Based on the text database obtained in Part (II) and the query template database obtained in Part (I), a third preset model is invoked to generate multiple training samples. The third preset model can be a large language model (LLM), etc., but this embodiment does not specify a particular model. For example, the third preset model can be invoked to generate 4000 or more (e.g., 5000, 6000, etc.) valid data offline as training samples. Some training samples contain sensitive data (such as merchant privacy information), which needs to be anonymized, for example, by using a mask. Simultaneously, the prompt words can be adjusted to ensure that the text output by the first preset model is in a specified format, such as JSON (JavaScript Object Notation, a lightweight data exchange format), facilitating subsequent integration between groups and jumps.

例如,在Prompt中明确指出:期望模型以JSON格式返回文案。如,提供一个简单的JSON格式示例。一个示例的JSON输出可以是这样的:{"问题":"目标问题是什么?","答案":"这是对应的文案。"}请按照这种格式提供你的回答。For example, the Prompt explicitly states that the model is expected to return the text in JSON format. Here's a simple JSON example: An example JSON output might look like this: {"Question":"What is the target question?","Answer":"This is the corresponding text."} Please provide your answer in this format.

3.2、模型调整训练3.2 Model Adjustment and Training

利用上述3.1生成的训练样本,可采用微调方法(如LoRA方法)训练Fine Tuning(微调)预训练模型以增强预训练模型在店铺运营场景下输出的逻辑性及准确度。LoRA的好处是LoRA方法只训练预训练模型的少量参数,通过在Transformer的注意力层中加入低秩矩阵,以提升模型预估准确性。Using the training samples generated in section 3.1 above, a fine-tuning method (such as LoRA) can be used to train a pre-trained model to enhance the logic and accuracy of the pre-trained model's output in store operation scenarios. The advantage of LoRA is that it only trains a small number of parameters of the pre-trained model, and improves the model's prediction accuracy by adding a low-rank matrix to the attention layer of the Transformer.

其中,预训练模型可以是大型语言模型(LLM)。预训练模型学习了丰富的特征表示和模式识别能力,通过微调可利用这些学习到的特征表示快速、有效地适应性具体场景下的任务(如店铺运营场景下的任务)。微调比从头训练模型更快,起到了加速训练过程的作用。The pre-trained model can be a large language model (LLM). Pre-trained models learn rich feature representations and pattern recognition capabilities. Through fine-tuning, these learned feature representations can be used to quickly and effectively adapt to specific tasks (such as tasks in a store operation scenario). Fine-tuning is faster than training a model from scratch, thus accelerating the training process.

四、线上链路搭建(图1中的104)IV. Online Link Setup (104 in Figure 1)

在具体实施时,可基于Rlab(一种面向工程应用计算的高级编程语言)工具完成线上部署。当然,也可基于其他工具完成线上部署,本公开对此不做具体限定,此处仅示例性的列举出使用Rlab工具的情况。线上链路搭建还需如下但不限于:EAS、Igraph、预训练模型开发工具(Tars Studio)、PAI及Itag工具支持。其中,EAS(Elastic Algorithm Service,模型在线服务)是机器学习平台产品为实现一站式模型开发部署应用,针对在线推理场景提供的模型在线服务,支持将模型服务部署在公共资源组或专属资源组,实现基于异构硬件(如CPU或GPU)的模型加载和数据请求的实时响应。Igraph是一种在线图存储与查询的系统,提供大规模图数据的存储、查询、更新和计算服务。预训练模型开发工具(Tars Studio)提供了可视化开发工具。PAI是机器学习平台,以让开发者更高效、简洁、标准地使用人工智能AI技术。Itag提供了数据标注服务,可帮助用户快速高效的完成数据标注任务。In practical implementation, online deployment can be completed using Rlab (a high-level programming language for engineering application computing). Of course, other tools can also be used for online deployment; this disclosure does not specifically limit this, but only exemplifies the use of Rlab. The online infrastructure also requires support from, but is not limited to, EAS, Igraph, pre-trained model development tools (Tars Studio), PAI, and Itag tools. EAS (Elastic Algorithm Service) is an online model service provided by the machine learning platform product for online inference scenarios to achieve one-stop model development and deployment applications. It supports deploying model services in public or dedicated resource groups, enabling real-time response to model loading and data requests based on heterogeneous hardware (such as CPUs or GPUs). Igraph is an online graph storage and query system that provides storage, query, update, and computation services for large-scale graph data. The pre-trained model development tools (Tars Studio) provide visual development tools. PAI is a machine learning platform designed to enable developers to use artificial intelligence (AI) technologies more efficiently, simply, and in a standardized manner. Itag provides data annotation services to help users complete data annotation tasks quickly and efficiently.

线上搭建的链路可包括但不限于:Online connections may include, but are not limited to:

S21、确定目标Query。S21. Determine the target query.

S22、改写目标Query。S22, Rewrite the target query.

其中,目标Query的改写可包括但不限于:The rewriting of the target query may include, but is not limited to:

Query归一:通过简单的字符串处理对目标Query进行改写,如去空格、大小写转换、特殊字符处理等等;Query unification: Rewrite the target query through simple string manipulation, such as removing spaces, case conversion, and handling special characters;

Query纠错:对有拼写错误的目标Query进行主动纠错;Query correction: Proactively corrects target queries that contain spelling errors;

Query扩展:根据目标Query语义或意图进行拓展,找到与目标Query一致的一组Query,并与目标Query一同进行检索;Query expansion: Expand the target query based on its semantics or intent to find a set of queries that are consistent with the target query and retrieve them together with the target query;

等等。etc.

S23、基于Igraph获取数据。S23. Obtain data based on Igraph.

如获取到的数据可以是:从文案资料库中检索出的数据。数据可包括但不限于:目标店铺的店铺数据(如包括店铺的流量数据和运营数据)、参照店铺的店铺数据(如包括参照店铺的流量数据和运营数据)及文案信息。文案信息可包括但不限于:文案模板、与经过上述S22改写处理后的目标Query匹配的Query模板、匹配的Query关联的店铺优化项、店铺优化项的至少一个因子、因子关联的建议内容等等。The data obtained may include: data retrieved from a copywriting database. This data may include, but is not limited to: target store data (such as store traffic and operational data), reference store data (such as reference store traffic and operational data), and copywriting information. Copywriting information may include, but is not limited to: copywriting templates, query templates matching the target query after the above S22 rewriting process, store optimization items associated with the matched query, at least one factor of the store optimization item, suggested content associated with the factor, etc.

S24、对获取到的数据进行预处理。S24. Preprocess the acquired data.

本公开方案对“预处理”不做具体限定,预处理可以是但不限于:数据清洗、标准化、转换格式等操作。例如,通过数据清洗过程从获取到数据中筛选出有用数据。比如对于非结构化的数据(如文本)可能需要通过分词、词干提取等步骤来进行结构化处理。根据预训练模型的输入要求,需将数据转换为适当的格式,如JSON格式或文本格式。This disclosure does not specifically limit the term "preprocessing," which can include, but is not limited to, operations such as data cleaning, standardization, and format conversion. For example, data cleaning can be used to filter useful data from the acquired data. For instance, unstructured data (such as text) may require structuring processes such as word segmentation and stemming. Based on the input requirements of the pre-trained model, the data needs to be converted into an appropriate format, such as JSON or text format.

S25、提示词Prompt拼接S25. Prompt prompt concatenation

可将匹配到的Query模板与经过上述预处理后的数据拼接到Prompt中。第一预设模型(如该第一预设模型可以是经过微调的大型语言模型)的输出(或应答)质量取决于提示词(即Prompt)。简单来说,Prompt就是用户想要询问的问题,作为输入送到第一预设模型中,第一预设模型会尝试理解这个输入,然后输出合适的回答或响应。这里拼接Prompt,就是让第一预设模型输出更加准确、有用的文案。The matched query template can be concatenated with the preprocessed data described above into the Prompt. The output (or response) quality of the first preset model (such as a finely tuned large language model) depends on the prompt word (i.e., the Prompt). Simply put, the Prompt is the question the user wants to ask, which is sent as input to the first preset model. The first preset model attempts to understand this input and then outputs an appropriate answer or response. Concatenating the Prompt here makes the first preset model output more accurate and useful copy.

Prompt属于较为重要的一环,Prompt用于指导模型的行为,可通过调Prompt的方式,提高模型输出文案的质量。在具体实施时,设计人员可人工设计Prompt拼接规则,以在执行Prompt拼接时能依据预设的拼接规则进行拼接。The Prompt is a crucial component, guiding the model's behavior. Adjusting the Prompt can improve the quality of the model's output. In practice, designers can manually design Prompt splicing rules to ensure that the splicing process adheres to these preset rules during Prompt splicing.

五、前端功能部署V. Front-end Function Deployment

有了上述一、二、三及四部分的技术架构支持,可在前端应用(APP)或浏览器网页上部署相应的功能接口,以便用户通过功能接口调用后端(如具有上述技术架构的服务端)相应的服务,如店铺诊断服务、智能问答服务等等。With the technical architecture support of the above parts one, two, three and four, the corresponding functional interfaces can be deployed on the front-end application (APP) or browser webpage, so that users can call the corresponding services in the back-end (such as the server with the above technical architecture) through the functional interfaces, such as store diagnosis service, intelligent question answering service, etc.

功能接口在APP页面或浏览器网页上的形态可以是功能控件,用户可通过点击功能控件调用后端相应的服务。或者,APP页面或浏览器网页上设有特定的标识,如智能助手标识,该标识可以是任意图案或动画,此处不做限定。用户可通过语音或手势唤醒智能助手功能,智能助手标识改变展示样式,以让用户感知智能助手唤醒成功。用户可通过与智能助手交互调用后端相应的服务。即上述技术架构在客户端侧所呈现的产品形态,可以是智能助手标识。The functional interface can take the form of functional controls on the app page or browser webpage, allowing users to invoke corresponding backend services by clicking on these controls. Alternatively, the app page or browser webpage can display a specific icon, such as a smart assistant icon. This icon can be any pattern or animation, without limitation. Users can activate the smart assistant function via voice or gesture, and the smart assistant icon will change its display style to indicate successful activation. Users can then interact with the smart assistant to invoke corresponding backend services. In short, the product form presented on the client side of the above technical architecture can be the smart assistant icon.

其中,店铺诊断服务可包括:对店铺进行诊断,诊断店铺存在问题时给出与该问题强相关的店铺优化项。进一步的,店铺诊断服务还可给出改善店铺优化项的行动建议内容等等。The store diagnostic service may include: diagnosing the store and, when problems are identified, providing optimization suggestions strongly related to those problems. Furthermore, the service may also offer action recommendations for improving these optimizations.

智能问答服务可包括:响应用户输入的行为建议问题,输出该行为建议问题对应的行动策略和目标等等。Intelligent question-answering services may include: responding to user-inputted behavioral suggestion questions, and outputting the corresponding action strategies and goals for those behavioral suggestion questions, etc.

综上,本公开提供的技术方案至少具有如下几点技术效果:In summary, the technical solution provided in this disclosure has at least the following technical effects:

1、本公开提供的技术方案通过对预训练模型进行适于下游任务(如店铺运营场景下智能应答任务)的调整训练,可对输出的文案进行改写和润色,实现内容个性化。1. The technical solution provided in this disclosure can rewrite and polish the output copy by adjusting and training the pre-trained model to suit downstream tasks (such as intelligent response tasks in store operation scenarios), thereby achieving content personalization.

2、以多个因子作为出发点,分别建立不同店铺优化项对应的因果树模型,进而确定出不同店铺优化项的因子排序。因子关联有建议内容,如商家可执行任务的建议内容。2. Starting with multiple factors, establish causal tree models for different store optimization items, thereby determining the factor ranking of different store optimization items. Factor associations include suggested content, such as suggested tasks that merchants can perform.

3、因为不同行业和不同等级店铺之间是存在差异的,同样的问题(比如,怎样提高访问量),不同行业的店铺对应的同一店铺优化项的因子排序是不同的。如机械器械行业和服装行业的两个店铺,在解决访问量问题时,其对应的因子排序是存在差异的。所以,本公开技术方案对平台上的店铺进行分组;在确定不同店铺优化项的因子排序时按照分组,分别确定不同分组下不同店铺优化项的因子排序。3. Because there are differences between different industries and stores of different levels, the factor ranking for the same optimization item will differ for stores in different industries (e.g., how to increase traffic). For example, two stores in the machinery and equipment industry and two stores in the clothing industry will have different factor rankings when addressing the issue of increasing traffic. Therefore, this disclosed technical solution groups the stores on the platform; when determining the factor ranking for different store optimization items, the factor ranking for optimization items under different groups is determined separately.

本公开提供的技术方案,将预训练模型与因果推断技术结合,实现了电商场景落地。具体的,本公开方案构建了适于店铺运营场景的Query模板库;还基于Query模板库构建了适于店铺运营场景的文案资料库。并且,在构建文案资料库时,还利用了因果推断技术归因分析出各店铺运营相关问题的至少一个因子,其中,因子关联有建议内容。这样,便可基于Query模板库和文案资料库生成训练样本集,并利用该训练样本集对预训练模型进行适于店铺运营场景的调整训练,增强在店铺运营场景下输出文案的逻辑性和准确度。The technical solution disclosed herein combines a pre-trained model with causal inference technology to achieve practical application in e-commerce scenarios. Specifically, this solution constructs a query template library suitable for store operation scenarios; it also constructs a copywriting resource library suitable for store operation scenarios based on the query template library. Furthermore, when constructing the copywriting resource library, causal inference technology is used to analyze attribution and identify at least one factor for each store operation-related issue, where the factor is associated with suggested content. In this way, a training sample set can be generated based on the query template library and the copywriting resource library, and this training sample set can be used to adjust and train the pre-trained model to suit store operation scenarios, enhancing the logic and accuracy of the output copywriting in store operation scenarios.

上文中提及技术架构对应的技术方案(如图1中的一、二、三及四部分对应的方案)可部署在服务端。该服务端可以是服务器、服务集群、虚拟服务器或云端等等,本实施例对此不做具体限定。服务端为客户端提供相应的功能服务,如店铺诊断、智能问答服务等等。用户可通过客户端设备上的浏览器或客户端应用(APP),进入平台提供给用户的管理页面。客户端设备可以是但不限于:智能手机、智能穿戴设备、平板电脑、笔记本电脑、台式计算机等等。如图2所示,本公开一实施例提供一种服务系统,该服务系统包括服务端和客户端。其中,The technical solutions corresponding to the technical architecture mentioned above (as shown in parts one, two, three, and four of Figure 1) can be deployed on the server side. This server side can be a server, service cluster, virtual server, or cloud, etc., and this embodiment does not specifically limit this. The server side provides corresponding functional services to the client side, such as store diagnostics, intelligent Q&A services, etc. Users can access the management page provided by the platform through a browser or client application (APP) on their client devices. Client devices can be, but are not limited to: smartphones, smart wearable devices, tablets, laptops, desktop computers, etc. As shown in Figure 2, one embodiment of this disclosure provides a service system, which includes a server side and a client side.

服务端11,用于构建查询Query模板库,所述Query模板库包括多个Query模板,一个Query模板关联一个与店铺运营相关的预设问题;基于所述Query模板库,构建文案资料库;其中,所述文案资料库存储有:利用因果推断算法对Query模板关联的预设问题进行归因分析得到所述Query模板的至少一个因子;根据所述Query模板库和所述文案资料库,生成训练样本集;利用所述训练样本集,对预训练模型进行调整训练,得到能处理店铺运营场景下智能应答任务的第一预设模型。Server 11 is used to construct a query template library, which includes multiple query templates, each associated with a preset question related to store operations. Based on the query template library, a copywriting database is constructed. The copywriting database stores at least one factor of the query template obtained by attribution analysis of the preset question associated with the query template using a causal inference algorithm. A training sample set is generated based on the query template library and the copywriting database. The pre-trained model is adjusted and trained using the training sample set to obtain a first preset model capable of handling intelligent response tasks in store operation scenarios.

客户端12,用于部署相应的接口,以便用户通过接口调用服务端,在文案资料库中检索目标文案资料,并利用第一预设模型输出该文案资料对应的文案。Client 12 is used to deploy the corresponding interface so that users can call the server through the interface to retrieve target copywriting materials in the copywriting material database and output the copywriting corresponding to the copywriting materials using the first preset model.

进一步的,服务系统包括的服务端11和客户端12还用于实现如下功能。具体的:Furthermore, the service system, including server 11 and client 12, is also used to implement the following functions. Specifically:

客户端12,还用于响应针对目标店铺的诊断触发事件,触发店铺诊断以呈现和/或播放诊断出的目标问题,并针对所述目标问题向服务端发送信息;或者,显示目标店铺的管理页面;监听用户在所述管理页面上的操作,以捕捉用户在店铺运营上的目标问题;响应用户针对所述目标问题触发的确认指令,向服务端发送针对所述目标问题的信息;Client 12 is also configured to respond to diagnostic trigger events for a target store, trigger store diagnostics to present and/or play the diagnosed target problem, and send information to the server regarding the target problem; or, display the management page of the target store; listen to the user's operations on the management page to capture the user's target problems in store operations; respond to the user's confirmation instruction triggered for the target problem, and send information regarding the target problem to the server.

服务端11,还用于针对目标店铺,确定目标问题;在文案资料库中,检索所述目标问题的至少一个因子;基于所述目标问题及所述至少一个因子关联的建议内容,生成提示词Prompt;利用第一预设模型输出所述Prompt对应的文案,以助力用户解决或改善所述目标问题;Server 11 is also used to identify target problems for target stores; retrieve at least one factor of the target problem from the copywriting database; generate a prompt word based on the target problem and the suggested content associated with the at least one factor; and output the copywriting corresponding to the prompt using a first preset model to help users solve or improve the target problem.

客户端12,还用于接收所述服务端反馈的所述文案,展示和/或播放所述文案。Client 12 is also used to receive the text fed back by the server, and to display and/or play the text.

这里需要补充的是:上述“店铺诊断”的执行主体可以是客户端12,触发店铺诊断后,客户端12可从服务端11侧获取参照店铺的店铺数据,和/或目标店铺的历史店铺数据,等等,然后调用客户端12本地的诊断程序以对目标店铺进行店铺诊断。或者,“店铺诊断”的执行主体是服务端11。在客户端12触发店铺诊断后,客户端12向服务端11发送目标店铺诊断请求,以便服务端11获取目标店铺当前店铺数据、历史店铺数据、参照店铺的店铺数据等等,并基于获取到的数据,对目标店铺进行诊断,以确定目标问题。服务端11将确定出的目标店铺反馈给客户端12。It's important to note that the "store diagnosis" described above can be performed by client 12. After triggering the diagnosis, client 12 can obtain store data from the reference store and/or historical store data of the target store from server 11, etc., and then call its local diagnostic program to perform a store diagnosis on the target store. Alternatively, the "store diagnosis" can be performed by server 11. After client 12 triggers the diagnosis, it sends a target store diagnosis request to server 11 so that server 11 can obtain the target store's current store data, historical store data, reference store data, etc., and perform a diagnosis based on the obtained data to identify the target problem. Server 11 then returns the identified target store to client 12.

可见,本公开实施例提供的服务系统,利用服务端11侧的强大算力,构建Query模板库、利用因果推断技术找出导致店铺问题的至少一个因子;还通过大模型(即第一预设模型)实现输出文案在店铺运营场景下的逻辑性和准确度,以助力用户(或店铺商家)成长。As can be seen, the service system provided in this embodiment utilizes the powerful computing power of the server 11 to build a query template library and use causal inference technology to find at least one factor that causes store problems; it also uses a large model (i.e., the first preset model) to realize the logic and accuracy of the output copy in the store operation scenario, so as to help users (or store merchants) grow.

这里需要重点说明的是:上文是以店铺运营场景为例来对本公开技术方案进行介绍的。实际上,本公开提供的技术架构也可适用于其他具体场景,比如企业管理场景、项目管理场景等等。It is important to note here that the above description uses a store operation scenario as an example to introduce the technical solution disclosed herein. In fact, the technical architecture provided in this disclosure can also be applied to other specific scenarios, such as enterprise management scenarios, project management scenarios, and so on.

下面将以方法实施例的方式对本公开提供的技术方案进行说明。The technical solutions provided in this disclosure will be described below by way of method embodiments.

图3示出了本公开一个实施例提供的信息处理方法的流程示意图。本实施例提供的所述方法的执行主体可以是上述服务系统中服务端。如图3,所述方法可包括:Figure 3 shows a flowchart illustrating an information processing method provided in an embodiment of this disclosure. The executing entity of the method provided in this embodiment can be a server in the aforementioned service system. As shown in Figure 3, the method may include:

301、针对目标店铺,确定目标问题。301. Identify the target problem for the target store.

302、在文案资料库中,检索所述目标问题的至少一个因子。302. Retrieve at least one factor of the target question from the document database.

303、基于所述目标问题及所述至少一个因子关联的建议内容,生成提示词Prompt。303. Based on the target question and the suggested content associated with the at least one factor, generate the prompt word Prompt.

304、利用第一预设模型输出所述Prompt对应的文案,以助力用户解决或改善所述目标问题。304. Utilize the first preset model to output the text corresponding to the Prompt, in order to help users solve or improve the target problem.

其中,所述文案资料库存储有:利用因果推断算法对预设问题进行归因分析得到的所述预设问题的至少一个因子;所述第一预设模型是在预训练模型的基础上,针对店铺运营场景下的智能应答任务对所述预训练模型进行调整训练得到。The document database stores at least one factor of the preset question obtained by attribution analysis of the preset question using a causal inference algorithm; the first preset model is obtained by adjusting and training the pre-trained model based on the pre-trained model for intelligent response tasks in the store operation scenario.

上述技术架构中列举了构建Query模板库的示例,其实Query模板是与问题对应的。也就是说,可以直接将Query模板理解为一个对应的问题模板。或者说,在具体实施时,上述构建Query模板库也可以是“构建问题库”。The technical architecture described above provides an example of building a query template library. In fact, a query template corresponds to a question. That is, a query template can be directly understood as a corresponding question template. Alternatively, in practical implementation, building a query template library can also be interpreted as "building a question library."

上述301在确定目标店铺的目标问题时,可通过对目标店铺进行诊断来确定目标店铺的目标问题,或基于用户操作确定目标问题。其中,基于用于操作确定目标问题可包括但不限于:基于用户输入的信息确定目标店铺存在的目标问题、或用户针对一个设置项触发的请求确定目标店铺的目标问题、或网络侧基于大数据分析推荐至少一个推荐问题,用户操作从中选择一个,选中的推荐问题即目标问题。When determining the target problem of a target store, the aforementioned 301 can do so by diagnosing the target store or by determining the target problem based on user actions. Determining the target problem based on user input may include, but is not limited to: determining the target problem based on user input information, determining the target problem based on a user request triggered by a setting item, or having the network side recommend at least one recommended problem based on big data analysis, from which the user selects the recommended problem as the target problem.

即上述301“针对目标店铺,确定目标问题”可包括:That is, the aforementioned 301 "Identify the target issue for the target store" may include:

3011、响应用户输入,基于用户输入信息确定针对所述目标店铺的目标问题;和/或3011. Responding to user input, determining a target question for the target store based on the user input information; and/or

3012、响应用户在目标店铺的管理页面上针对一个设置项触发的请求,针对所述设置项,确定所述目标问题;和/或3012. Responding to a user's request triggered on the management page of a target store for a setting item, and for said setting item, determining the target problem; and/or

3013、对所述目标店铺进行诊断,基于诊断结果确定所述目标问题;和/或3013. Diagnose the target store and determine the target problem based on the diagnosis results; and/or

3014、获取网络侧基于大数据分析推荐的至少一个推荐问题,响应选择事件,将被选中的一个推荐问题作为所述目标问题。3014. Obtain at least one recommendation question recommended by the network side based on big data analysis, and respond to the selection event by taking the selected recommendation question as the target question.

在一个具体实施方式中,上述3013“对所述目标店铺进行诊断,基于诊断结果确定所述目标问题”可包括:In one specific implementation, the above-mentioned 3013 "diagnosing the target store and determining the target problem based on the diagnosis results" may include:

诊断所述目标店铺与所述参照店铺间的差距、和/或所述目标店铺不同时期存在的数据差异、和/或所述目标店铺的店铺数据与设定指标存在的差距,得到诊断结果;Diagnose the gap between the target store and the reference store, and/or the data differences of the target store at different times, and/or the gap between the store data of the target store and the set indicators, and obtain the diagnostic results;

基于所述诊断结果确定所述目标问题。The target problem is determined based on the diagnostic results.

其中,参照店铺可以是:与目标店铺同属一个行业、且店铺数据处于该行业所有店铺中位数或高位数的店铺。或者,参照店铺为:与目标店铺同属一个行业、同一等级、且店铺数据处于该行业所有店铺中位数或高位数的店铺。或者,参照店铺为:与目标店铺同属一个分组、同一等级且店铺数据处于该行业所有店铺中位数或高位数的店铺。或者,参照店铺为:用户指定的店铺,等等。The reference store can be: a store belonging to the same industry as the target store, whose data is at or above the median of all stores in that industry. Alternatively, the reference store can be: a store belonging to the same industry and level as the target store, whose data is at or above the median of all stores in that industry. Alternatively, the reference store can be: a store belonging to the same group and level as the target store, whose data is at or above the median of all stores in that industry. Alternatively, the reference store can be: a store specified by the user, and so on.

上述“目标店铺不同时期存在数据差异”可以是:目标店铺第一时段的店铺数据与第二时段的店铺数据存在的数据差异。第二时段可与第一时段不重叠,且第二时段早于第一时段。或者,第二时段与第一时段有部分重叠,第二时段的起始时刻早于第一时段的起始时刻,第二时段的终止时刻早于第一时段的终止时刻。或者,第二时段包含第一时段。即第一时段的起始时刻是第二时段内的某一个时刻,第一时段的终止时刻与第二时段的终止时刻为同一时刻。The aforementioned "data differences between different periods for the target store" can refer to: data differences between the target store's data in the first time period and the store's data in the second time period. The second time period may not overlap with the first time period, and the second time period may be earlier than the first time period. Alternatively, the second time period may partially overlap with the first time period, with the start time of the second time period earlier than the start time of the first time period, and the end time of the second time period earlier than the end time of the first time period. Or, the second time period may contain the first time period. That is, the start time of the first time period is a certain time within the second time period, and the end time of the first time period and the end time of the second time period are the same time.

上述“设定指标”可以是:用户自定义设定的目标指标。比如,用户期望未来店铺访问量提高10%,这个提高10%即设定指标。或者,上述“设定指标”还可以是:参照店铺所具有的指标。其中,参照店铺参见上文。The aforementioned "set metrics" can be user-defined target metrics. For example, if a user expects future store traffic to increase by 10%, this 10% increase is the set metric. Alternatively, the aforementioned "set metrics" can also be metrics that are used as a reference for other stores. See above for reference stores.

指标可包括店铺指标及商品指标。其中,店铺指标包括但不限于:店铺浏览量、转化率、粉丝活跃度、会员活跃度、客单价(店铺每一个购买产品的用户平均购买商品的金额)等等。转化率包括:搜索转化率、UV(unique visitor,指通过互联网访问、浏览店铺页面的人)订单转化率等。商品指标可包括但不限于:商品关注量、商品加购率、商品转化率,等等。Metrics can include store metrics and product metrics. Store metrics include, but are not limited to: store page views, conversion rate, fan activity, member activity, average order value (the average amount spent by each customer who purchases a product), etc. Conversion rates include: search conversion rate, unique visitor (UV) order conversion rate, etc. Product metrics may include, but are not limited to: product views, product add-to-cart rate, product conversion rate, etc.

由上文内容可知,所述文案资料库存储有:利用因果推断算法对查询Query模板关联的预设问题进行归因分析得到的所述Query模板的至少一个因子。相应的,上述步骤302“在文案资料库中,检索所述目标问题的至少一个因子”,可包括如下步骤:As can be seen from the above, the document database stores at least one factor of the query template obtained by attribution analysis of the preset question associated with the query template using a causal inference algorithm. Accordingly, step 302, "retrieving at least one factor of the target question from the document database," may include the following steps:

3021、根据所述目标问题,确定目标Query;3021. Based on the target problem, determine the target query;

3022、在所述文案资料库中,检索与所述目标Query匹配的Query模板,获取匹配到的Query模板的至少一个因子;3022. In the document database, retrieve query templates that match the target query, and obtain at least one factor of the matched query template;

其中,在生成所述Prompt时(即上述步骤303)基于所述目标Query及匹配到的所述Query模板的至少一个因子关联的建议内容生成。Specifically, when generating the Prompt (i.e., step 303 above), suggested content is generated based on at least one factor associated with the target Query and the matched Query template.

上文中有提及预先构建了Query模板库,Query模板库中包括多个Query模板。相应的,上述步骤3021“根据所述目标问题确定目标Query”的一种可实现方案是:As mentioned above, a query template library has been pre-built, which includes multiple query templates. Accordingly, one possible implementation of step 3021, "determine the target query based on the target problem," is:

根据所述目标问题,对Query模板库中的多个Query模板进行排序;Based on the target problem, sort the multiple query templates in the query template library;

基于排序第一的Query模板确定所述目标Query,或者将排序在前第一数量个的Query模板作为候选Query供用户选择,基于用户选中的一个候选Query确定所述目标Query。The target query is determined based on the first ranked query template, or the first number of ranked query templates are provided as candidate queries for the user to choose from, and the target query is determined based on the candidate query selected by the user.

具体实施时,排序在前第一数量个可以是:排序在前的2个、3个或5个等等,本实施例对此不做具体限定。In practice, the first number of items in the order can be 2, 3, or 5, etc. This embodiment does not make a specific limitation on this.

进一步的,所述文案资料库存储有:利用因果推断算法对Query模板关联的预设问题进行归因分析得到的,能解决或改善所述预设问题的店铺优化项以及店铺优化项的至少一个因子。相应的,上述步骤3022“在所述文案资料库中,检索与所述目标Query匹配的Query模板,获取匹配到的Query模板的至少一个因子”,可包括:Furthermore, the copywriting database stores: store optimization items that can solve or improve the preset problem, obtained by attribution analysis of the preset problem associated with the query template using a causal inference algorithm, and at least one factor of the store optimization item. Correspondingly, step 3022 above, "retrieving query templates matching the target query from the copywriting database and obtaining at least one factor of the matched query templates," may include:

在所述文案资料库中,检索与所述目标Query匹配的Query模板;Retrieve a query template that matches the target query from the document database;

获取匹配到的Query模板关联的店铺优化项,以及所述店铺优化项的至少一个因子;Obtain the store optimization items associated with the matched query template, and at least one factor of the store optimization items;

其中,在生成所述Prompt时(即上述步骤303)基于所述目标Query、匹配到的Query模板关联的店铺优化项以及所述店铺优化项的至少一个因子关联的建议内容生成。Specifically, when generating the Prompt (i.e., step 303 above), the suggested content is generated based on the target Query, the store optimization items associated with the matched Query template, and at least one factor associated with the store optimization items.

在构建文案资料库时,本公开方案采用了因果推断算法。即,本公开实施例提供的方案中,在构建文案资料库时包括如下步骤:利用因果推断算法对Query模板关联的预设问题进行归因分析,得到解决或改善所述预设问题的店铺优化项以及店铺优化项的至少一个因子。这部分属于本公开实施例方案的一个重要内容。一种可实现的方式,该步骤“利用因果推断算法对Query模板关联的预设问题进行归因分析,得到解决或改善所述预设问题的店铺优化项以及店铺优化项的至少一个因子”可包括如下步骤:When constructing the copywriting database, this disclosure employs a causal inference algorithm. Specifically, the solution provided in this disclosure includes the following steps when constructing the copywriting database: using a causal inference algorithm to perform attribution analysis on a preset problem associated with a query template, obtaining store optimization items that solve or improve the preset problem, and at least one factor of the store optimization items. This part is an important aspect of the solution in this disclosure. One implementable method is that the step "using a causal inference algorithm to perform attribution analysis on a preset problem associated with a query template, obtaining store optimization items that solve or improve the preset problem, and at least one factor of the store optimization items" may include the following steps:

305、针对Query模板关联的预设问题,利用漏斗分析技术对平台上店铺的流量数据和运营数据进行分析,以分析出解决或改善所述预设问题的店铺优化项;305. For the preset problem associated with the query template, funnel analysis technology is used to analyze the traffic data and operation data of the stores on the platform to identify store optimization items to solve or improve the preset problem;

306、以所述店铺优化项为目标建模,基于多个因子构建因果树模型;306. Model the store optimization items as targets, and construct a causal tree model based on multiple factors;

307、基于平台上店铺的流量数据和运营数据,构建数据集;307. Construct a dataset based on the traffic and operational data of stores on the platform;

308、利用所述数据集,计算所述多个因子中各因子对所述因果树模型的预测结果的影响,得到所述多个因子各自对应的影响度;308. Using the dataset, calculate the influence of each of the multiple factors on the prediction results of the causal tree model, and obtain the influence degree of each of the multiple factors;

309、根据所述多个因子各自对应的影响度,对所述多个因子进行排序,得到所述店铺优化项的因子排序;309. Based on the influence of each of the multiple factors, sort the multiple factors to obtain the factor ranking of the store optimization items;

其中,所述店铺优化项的至少一个因子为:所述店铺优化项的因子排序中排序在前第二数量个的因子。Wherein, at least one factor of the store optimization item is: the second-to-last factor in the factor ranking of the store optimization item.

有关上述步骤305~309的具体实现内容,可参见上文描述,此次不做赘述。For details on the implementation of steps 305 to 309 above, please refer to the description above, which will not be repeated here.

进一步的,考虑了不同行业、不同等级店铺之间存在的差异性,同一店铺优化项其对应的因子排序(因子优先级)是不同的;本实施例提供的所述方法还对平台上的店铺进行了分组,以针对不同分组确定店铺优化项的因子排序。即,本公开实施例提供的所述方法还可包括如下步骤:Furthermore, considering the differences between stores in different industries and at different levels, the factor ranking (factor priority) corresponding to the same optimization item for a store is different; the method provided in this embodiment also groups the stores on the platform to determine the factor ranking of store optimization items for different groups. That is, the method provided in this disclosure embodiment may further include the following steps:

310、对平台上的店铺进行分组;310. Group the stores on the platform;

311、在构建所述数据集时,基于一个分组内店铺的流量数据和运营数据构建;以及311. When constructing the dataset, it is built based on the traffic and operational data of stores within a group; and

312利用所述数据集得到的所述店铺优化项对应的因子排序,为该分组对应的店铺优化项的因子排序;312. Using the factor ranking of the store optimization items obtained from the dataset, the factor ranking of the store optimization items corresponding to the group is obtained.

其中,在“获取匹配到的Query模板关联的店铺优化项,以及所述店铺优化项的至少一个因子”(即步骤3022包括的一个下位步骤)时,确定所述目标店铺所属的分组;获取匹配到的Query模板关联的店铺优化项,以及所述目标店铺所属分组对应的所述店铺优化项的至少一个因子。Specifically, in the step of "obtaining the store optimization items associated with the matched query template and at least one factor of the store optimization items" (i.e., a subordinate step included in step 3022), the group to which the target store belongs is determined; the store optimization items associated with the matched query template and at least one factor of the store optimization items corresponding to the group to which the target store belongs are obtained.

本实施例提供的所述方法是在部署了如图1所示技术架构的基础上,如何应用技术架构提供的支持助力用户解决或改善店铺问题的角度撰写的。实际上,本公开实施例提供的所述方法还包括如下步骤,这些步骤属于前期部署任务。具体的,本实施例提供的所述方法还可包括如下步骤:The method provided in this embodiment is written from the perspective of how to apply the support provided by the technical architecture shown in Figure 1 to help users solve or improve store problems. In fact, the method provided in this embodiment also includes the following steps, which are part of the preliminary deployment tasks. Specifically, the method provided in this embodiment may further include the following steps:

313、构建Query模板库,所述Query模板库包括多个Query模板;313. Construct a query template library, which includes multiple query templates;

314、基于所述Query模板库,构建所述文案资料库;314. Based on the Query template library, construct the copywriting database;

315、根据所述Query模板库及所述文案资料库,生成所述训练样本集;315. Generate the training sample set based on the Query template library and the copywriting database;

316、利用所述训练样本集,对所述预训练模型进行调整训练。316. Using the training sample set, adjust and train the pre-trained model.

有关上述步骤313~316的具体实现,可参见上文描述,此次不做赘述。For details on the implementation of steps 313 to 316 above, please refer to the description above, which will not be repeated here.

在一个可实现的实施例中,所述Query模板库包括如下中的至少一项:平台上任一店铺与参照店铺的数据存在差异原因对应的Query模板、平台上任一店铺不同时期数据存在差异原因对应的Query模板、店铺管理问题对应的Query模板、店铺优化项对应的Query模板、利用第二预设模型扩展出的Query模板。In one feasible embodiment, the Query template library includes at least one of the following: Query templates corresponding to the reasons for data differences between any store on the platform and a reference store, Query templates corresponding to the reasons for data differences between any store on the platform at different times, Query templates corresponding to store management issues, Query templates corresponding to store optimization items, and Query templates extended using a second preset model.

所述文案资料库存储有:平台上店铺的属性信息、平台上店铺的流量数据和运营数据、Query模板关联的店铺优化项、店铺优化项的因子排序、因子关联的建议内容、不同Query模板对应的文案模板信息的语料知识库。The copywriting database stores: attribute information of stores on the platform, traffic data and operational data of stores on the platform, store optimization items associated with query templates, factor sorting of store optimization items, suggested content associated with factors, and a corpus knowledge base of copywriting template information corresponding to different query templates.

本实施例提供的技术方案将大模型与因果推断技术结合起来,即在构建文案资料库时使用了因果推断算法,以对Query模板关联的预设问题进行归因分析得到至少一个因子;用于对预训练模型进行调整训练的训练样本,是基于Query模板库和文案资料库生成的。利用多个这样的训练样本组成的训练样本集,对预训练模型进行调整训练以将其调整为适用于店铺运营场景的第一预设模型。文案资料库提供了数据支持,可检索出店铺诊断结果和/或用户询问的问题的至少一个因子,及因子关联的建议内容;经调整训练的第一预设模型提供了智能应答支持,基于店铺诊断结果和/或用户询问的问题以及至少一个因子关联的建议内容,第一预设模型可输出更符合自然语言逻辑、适于店铺运营场景的文案,以助力用户运营店铺。The technical solution provided in this embodiment combines a large model with causal inference technology. Specifically, a causal inference algorithm is used when constructing the copywriting database to perform attribution analysis on preset questions associated with query templates to obtain at least one factor. The training samples used to adjust and train the pre-trained model are generated based on the query template library and the copywriting database. Using a training sample set composed of multiple such training samples, the pre-trained model is adjusted and trained to become a first preset model suitable for store operation scenarios. The copywriting database provides data support, retrieving at least one factor of store diagnostic results and/or user-inquired questions, as well as suggested content associated with that factor. The adjusted and trained first preset model provides intelligent response support. Based on store diagnostic results and/or user-inquired questions and suggested content associated with at least one factor, the first preset model can output copywriting that is more consistent with natural language logic and suitable for store operation scenarios, thus assisting users in operating their stores.

本公开另一个实施例还提供一种信息处理方法,更具体的是一种模型训练方法。本公开实施例提供的所述方法的执行主体可以是上述服务系统中的服务端。具体的,如图4所示,所述方法包括:Another embodiment of this disclosure also provides an information processing method, more specifically a model training method. The executing entity of the method provided in this embodiment can be a server in the aforementioned service system. Specifically, as shown in Figure 4, the method includes:

401、构建查询Query模板库,所述Query模板库包括多个Query模板,一个Query模板关联一个与店铺运营相关的预设问题。401. Construct a query template library, which includes multiple query templates, and each query template is associated with a preset question related to store operations.

402、基于所述Query模板库,构建文案资料库;其中,所述文案资料库存储有:利用因果推断算法对Query模板关联的预设问题进行归因分析得到所述Query模板的至少一个因子。402. Based on the Query template library, construct a copywriting database; wherein the copywriting database stores at least one factor of the Query template obtained by attribution analysis of preset questions associated with the Query template using a causal inference algorithm.

403、根据所述Query模板库和所述文案资料库,生成训练样本集。403. Generate a training sample set based on the Query template library and the copywriting database.

404、利用所述训练样本集,对预训练模型进行调整训练,得到能处理店铺运营场景下智能应答任务的第一预设模型。404. Using the training sample set, the pre-trained model is adjusted and trained to obtain a first preset model that can handle intelligent response tasks in store operation scenarios.

上述步骤402构建所述文案资料库时,利用因果推断算法对Query模板关联的预设问题进行归因分析得到所述Query模板的至少一个因子,可包括:When constructing the document database in step 402 above, attribution analysis of the preset questions associated with the query template is performed using a causal inference algorithm to obtain at least one factor of the query template, which may include:

4021、针对Query模板关联的预设问题,利用漏斗分析技术对平台上店铺的流量数据和运营数据进行分析,以分析出解决或改善所述预设问题的店铺优化项;4021. For the preset problem of Query template association, funnel analysis technology is used to analyze the traffic data and operation data of stores on the platform to identify store optimization items to solve or improve the preset problem;

4022、以所述店铺优化项为目标建模,基于多个因子构建因果树模型;4022. Model the store optimization items as targets, and construct a causal tree model based on multiple factors;

4023、基于平台上店铺的流量数据和运营数据,构建数据集;4023. Based on the traffic and operational data of stores on the platform, construct a dataset;

4024、利用所述数据集,计算所述多个因子中各因子对所述因果树模型预测结果的影响,得到所述多个因子各自对应的影响度;4024. Using the dataset, calculate the influence of each of the multiple factors on the prediction results of the causal tree model, and obtain the influence degree of each of the multiple factors;

4025、根据所述多个因子各自对应的影响度,对所述多个因子进行排序,得到所述店铺优化项的因子排序。4025. Based on the influence of each of the multiple factors, sort the multiple factors to obtain the factor ranking of the store optimization items.

进一步的,本实施例提供的所述方法还可包括如下步骤:Furthermore, the method provided in this embodiment may also include the following steps:

405、对平台上的店铺进行分组。405. Group the stores on the platform.

406、在构建所述数据集时,基于一个分组内店铺的流量数据及运营数据构建。406. When constructing the dataset, it is based on the traffic data and operational data of stores within a group.

407、利用所述数据集得到的店铺优化项的因子排序,为该分组对应的店铺优化项的因子排序。407. Use the factor ranking of the store optimization items obtained from the dataset to rank the factors of the store optimization items corresponding to this group.

在一个具体实施例中,上述步骤401“基于所述Query模板库,构建文案资料库”可包括:In one specific embodiment, step 401, "constructing a document database based on the Query template library," may include:

获取并存储平台上店铺的属性信息;Acquire and store the attribute information of stores on the platform;

获取并存储平台上店铺的流量数据和运营数据;Acquire and store traffic and operational data of stores on the platform;

利用因果推断算法对所述Query模板库中Query模板关联的预设问题进行归因分析得到所述Query模板的至少一个因子;Attribution analysis of preset questions associated with query templates in the query template library is performed using a causal inference algorithm to obtain at least one factor of the query template;

确定并存储因子关联的建议内容;Identify and store the suggested content for factor association;

构建不同Query模板对应的文案模板信息的语料知识库。Construct a corpus knowledge base of copywriting template information corresponding to different query templates.

在一个具体实施例中,上述步骤403“根据所述Query模板库和所述文案资料库,生成训练样本集”可包括:In one specific embodiment, step 403 above, "generating a training sample set based on the Query template library and the copywriting database," may include:

利用第三预设模型基于所述Query模板库和所述文案资料库输出多个训练样本;The third preset model is used to output multiple training samples based on the Query template library and the copywriting database;

其中,所述训练样本集包括所述多个训练样本。The training sample set includes the plurality of training samples.

上述步骤401“构建查询Query模板库”可包括:Step 401, "Building a query template library," may include:

4011、确定多个基础Query模板;4011. Determine multiple basic query templates;

4012、利用第二预设模型,对所述多个基础Query模板进行扩展,得到多个扩展Query模板;4012. Using the second preset model, the multiple basic query templates are extended to obtain multiple extended query templates;

4013、对所述多个扩展Query模板进行评测,保留通过评测的扩展Query模板;4013. Evaluate the multiple extended query templates and retain the extended query templates that pass the evaluation;

其中,所述Query模板库包括的多个基础Query模板以及通过评测的多个扩展Query模板。The Query template library includes multiple basic Query templates and multiple extended Query templates that have passed evaluation.

有关本实施例中的各步骤的具体内容,可参见上文描述,此处不做赘述。For details of each step in this embodiment, please refer to the description above, which will not be repeated here.

本公开还一实施例提供一种店铺诊断方法。本实施例提供的所述方法的执行主体可以是上述服务系统中的客户端。如图5所示,所述方法包括:This disclosure also provides a store diagnosis method according to an embodiment. The execution entity of the method provided in this embodiment can be a client in the aforementioned service system. As shown in Figure 5, the method includes:

501、响应针对目标店铺的诊断触发事件,触发店铺诊断以呈现和/或播放诊断出的目标问题;501. Respond to diagnostic trigger events for the target store, trigger store diagnostics to present and/or play the diagnosed target issues;

502、展示和/或播放文案,所述文案包括助力用户解决或改善所述目标问题的建议内容;502. Display and/or play text, said text including suggestions to help users solve or improve the target problem;

其中,所述文案是利用第一预设模型得到,所述第一预设模型是在预训练模型的基础上,针对店铺运营场景下的智能应答任务对所述预训练模型进行调整训练得到的;所述建议内容与所述目标问题的至少一个因子关联,所述至少一个因子是利用因果推断算法对所述目标问题进行归因分析出的。The text is obtained using a first preset model, which is obtained by adjusting and training the pre-trained model based on a pre-trained model for intelligent response tasks in a store operation scenario; the suggested content is associated with at least one factor of the target problem, and the at least one factor is obtained by attribution analysis of the target problem using a causal inference algorithm.

参见图6a~6c所示,上述针对目标店铺的诊断触发事件可包括:Referring to Figures 6a-6c, the diagnostic trigger events for the target store mentioned above may include:

响应用户对界面上的诊断控件的操作,产生诊断触发事件;和/或Responding to user actions on diagnostic controls on the interface, generating diagnostic trigger events; and/or

响应用户的店铺诊断语音,产生诊断触发事件;和/或Responding to the user's store diagnostic voice prompts, generating diagnostic trigger events; and/or

响应用户通过智能助手交互界面输入的店铺诊断指令,产生诊断触发事件。The system responds to store diagnostic commands input by users through the smart assistant interface, generating diagnostic trigger events.

参见图6a示出的界面示例,该界面可以是店铺管理界面,该界面上展示有诊断控件,如图6a示出的“店铺诊断”,用户点击该“店铺诊断”控件便可触发诊断。Referring to the interface example shown in Figure 6a, this interface can be a store management interface, which displays diagnostic controls, such as "Store Diagnosis" shown in Figure 6a. Users can trigger the diagnosis by clicking the "Store Diagnosis" control.

参见图6b示出的界面示例,用户可先通过语音(如“你好,智能助手”)唤醒智能助手,此时界面上可展示有智能助手标识1,然后用户便可发出“店铺诊断”语音,以触发诊断。智能助手标识可以是任意形状、图案,本实施例对此不做限定。Referring to the interface example shown in Figure 6b, the user can first wake up the smart assistant via voice (such as "Hello, smart assistant"), at which point the smart assistant icon 1 can be displayed on the interface. Then, the user can issue the voice command "Store Diagnosis" to trigger the diagnosis. The smart assistant icon can be any shape or pattern, and this embodiment does not limit it.

参见图6c示出的界面示例,显示屏上显示有智能助手交互界面2,该智能交互界面2上展示有输入框3,用户可在输入框3中输入“店铺诊断”,然后点击确认或发送控件4(如图6c中的),便能触发店铺诊断。Referring to the interface example shown in Figure 6c, the display screen shows a smart assistant interaction interface 2. This smart interaction interface 2 displays an input box 3, where the user can enter "store diagnosis" and then click confirm or send control 4 (as shown in Figure 6c). This will trigger store diagnostics.

上述“店铺诊断”的执行主体可以是客户端,触发店铺诊断后,客户端可从服务端侧获取参照店铺的店铺数据,和/或目标店铺的历史店铺数据,等等,然后调用客户端本地的诊断程序以对目标店铺进行店铺诊断。或者,“店铺诊断”的执行主体是服务端。在客户端触发店铺诊断后,客户端向服务端发送目标店铺诊断请求,以便服务端获取目标店铺当前店铺数据、历史店铺数据、参照店铺的店铺数据等等,并基于获取到的数据,对目标店铺进行诊断,以确定目标问题。服务端将确定出的目标店铺反馈给客户端。The aforementioned "store diagnosis" can be performed by the client. After triggering the diagnosis, the client can obtain store data of the reference store and/or historical store data of the target store from the server, and then call the client's local diagnostic program to perform a store diagnosis on the target store. Alternatively, the "store diagnosis" can be performed by the server. After the client triggers the diagnosis, it sends a target store diagnosis request to the server so that the server can obtain the target store's current store data, historical store data, reference store data, etc., and perform a diagnosis on the target store based on the obtained data to identify the target problem. The server then returns the identified target store to the client.

具体的,“对目标店铺进行诊断”可包括:诊断所述目标店铺与所述参照店铺间的差距、和/或所述目标店铺不同时期存在的数据差异、和/或所述目标店铺的店铺数据与设定指标存在的差距,得到诊断结果。Specifically, "diagnosing the target store" may include: diagnosing the gap between the target store and the reference store, and/or the data differences of the target store at different times, and/or the gap between the store data of the target store and the set indicators, and obtaining diagnostic results.

上述502中展示和/播放的文案可由服务端反馈,具体内容可参见上文描述,此次不做赘述。The text displayed and/or played in the aforementioned 502 error can be provided by the server. For details, please refer to the description above, which will not be repeated here.

本公开还一实施例提供一种店铺智能助手工作方法。本实施例提供的所述方法的执行主体可以是上述服务系统中的客户端。如图7所示,所述方法包括:This disclosure also provides an embodiment of a method for operating a smart store assistant. The executing entity of the method provided in this embodiment can be a client in the aforementioned service system. As shown in Figure 7, the method includes:

601、显示目标店铺的管理页面;601. Display the management page of the target store;

602、监听用户在所述管理页面上的操作,以捕捉用户在店铺运营上的目标问题;602. Monitor user actions on the management page to identify user-defined issues related to store operations;

603、响应用户针对所述目标问题触发的确认指令,展示和/或播放文案,所述文案包括助力用户解决或改善所述目标问题的建议内容;603. In response to a user's confirmation command triggered for the target problem, display and/or play text, the text including suggestions to help the user solve or improve the target problem;

其中,所述文案是利用第一预设模型得到,所述第一预设模型是在预训练模型的基础上,针对店铺运营场景下的智能应答任务对所述预训练模型进行调整训练得到的;所述建议内容与所述目标问题的至少一个因子关联,所述至少一个因子是利用因果推断算法对所述目标问题进行归因分析出的。The text is obtained using a first preset model, which is obtained by adjusting and training the pre-trained model based on a pre-trained model for intelligent response tasks in a store operation scenario; the suggested content is associated with at least one factor of the target problem, and the at least one factor is obtained by attribution analysis of the target problem using a causal inference algorithm.

上述602中,监听用户在管理页面上的操作,以捕捉用户在店铺运营上的目标问题,可包括:In the aforementioned 602, monitoring user actions on the management page to capture user-defined issues related to store operations may include:

6021、响应用户在管理页面上的输入操作,基于用户输入信息确定目标问题;和/或6021. Respond to user input on the management page and determine the target problem based on the user input information; and/or

6022、响应用户在管理页面上的一个控件的触控操作,根据与所述控件关联的设置项,确定目标问题(比如,这个设置项如何设置等);和/或6022. Responding to a user's touch operation on a control on a management page, determining the target problem (e.g., how to set this setting) based on the settings associated with the control; and/or

6023、监测到鼠标光标在管理页面上的一个内容项处的停留事件,基于该内容项,确定目标问题;和/或6023. Detect a mouse cursor hovering over a content item on the management page, and based on that content item, determine the target problem; and/or

6024、监听到店铺数据查看操作,根据店铺数据确定目标问题。6024. Listen for store data viewing operations and determine the target problem based on the store data.

上述6021中,用户可直接在管理页面上的智能助手交互区内输入问题信息。In the aforementioned 6021, users can directly input problem information in the smart assistant interaction area on the management page.

上述6022中,例如,设置项可以是关键词设置项。用户可在关键词设置项处为商品设置关键词。如图所示,在管理页面上的关键词设置项的附近设置有与该设置项关联的控件,用户触控了该控件后,便可确定目标问题为“如何设置关键词?”In the aforementioned 6022, for example, the setting could be a keyword setting. Users can set keywords for products in the keyword setting section. As shown in the figure, a control associated with the keyword setting is placed near it on the management page. When a user touches this control, the target question is determined to be "How to set keywords?"

上述6023中,用户在某一内容项处停留较长时间,其存在疑问的可能性较大。因此,在监测到鼠标光标在一个内容项处停留超过一定时长(如10s、30s等),可基于该内容项确定目标问题。In case 6023 above, if a user lingers on a particular content item for an extended period, there is a higher probability that they have questions. Therefore, if the mouse cursor is detected to linger on a content item for a certain duration (e.g., 10 seconds, 30 seconds, etc.), the target question can be determined based on that content item.

上述6024中,用户通过管理页面查看了店铺近期的访问量,则可根据用户当前看到的店铺访问量确定目标问题,如“为什么访问量降低?”。In the case of 6024 above, if a user views the store's recent traffic through the management page, the target question can be determined based on the store traffic the user is currently seeing, such as "Why is the traffic decreasing?".

进一步的,本实施例提供的所述方法还可包括如下步骤:Furthermore, the method provided in this embodiment may also include the following steps:

604、在目标店铺对应的管理页面上,展示智能助手标识;604. Display the smart assistant icon on the management page corresponding to the target store;

605、响应智能助手唤醒操作,呈现包含输入框及至少一个推荐Query的智能助手页面;其中,至少一个推荐Query是通过诊断所述目标店铺得到。605. In response to the smart assistant wake-up operation, present a smart assistant page containing an input box and at least one recommended query; wherein, at least one recommended query is obtained by diagnosing the target store.

用户可通过输入框输入目标问题,还能与智能助手进行交互以获取所需数据、问题解决方案等等。Users can enter their target problem in the input box and interact with the intelligent assistant to obtain the necessary data, solutions, and more.

上述两个实施例提供的方法是将本公开提供的技术方案对应的产品形态为智能助手的角度撰写的。该智能助手在上述服务端提供的技术支持基础上,可帮助商家提升分析的效率、提供有效的策略和把握市场机会,帮助商家更好的成长起来。智能助手可诊断出店铺的问题,利用因果推断技术分析出解决或改善问题的店铺优化项,以及店铺优化项的至少一个因子,再借助大模型输出符合人类语言逻辑且符合店铺运营场景的应答文案,以助力商家成长。The methods provided in the two embodiments above are written from the perspective of an intelligent assistant, corresponding to the product form of the technical solutions provided in this disclosure. Based on the technical support provided by the aforementioned server, this intelligent assistant can help merchants improve analysis efficiency, provide effective strategies, and seize market opportunities, thus helping merchants grow better. The intelligent assistant can diagnose store problems, use causal inference technology to analyze and identify store optimization items to solve or improve problems, as well as at least one factor of the store optimization items. Then, using a large model, it outputs response text that conforms to human language logic and fits the store's operational scenario, thereby assisting merchants in their growth.

本公开一实施例还提供一种信息处理装置。该信息处理装置包括:确定模块、检索模块、生成模块及计算模块。其中,确定模块用于针对目标店铺,确定目标问题。所述检索模块用于在文案资料库中,检索所述目标问题的至少一个因子。所述生成模块用于基于所述目标问题及所述至少一个因子关联的建议内容,生成提示词Prompt。所述计算模块用于利用第一预设模型输出所述Prompt对应的文案,以助力用户解决或改善所述目标问题。This disclosure also provides an information processing apparatus in one embodiment. The apparatus includes a determining module, a retrieving module, a generating module, and a calculating module. The determining module identifies a target problem for a target store. The retrieving module retrieves at least one factor of the target problem from a document database. The generating module generates a prompt based on suggested content associated with the target problem and the at least one factor. The calculating module outputs text corresponding to the prompt using a first preset model to help the user solve or improve the target problem.

其中,所述文案资料库存储有:利用因果推断算法对预设问题进行归因分析得到的所述预设问题的至少一个因子;所述第一预设模型是在预训练模型的基础上,针对店铺运营场景下的智能应答任务对所述预训练模型进行调整训练得到。The document database stores at least one factor of the preset question obtained by attribution analysis of the preset question using a causal inference algorithm; the first preset model is obtained by adjusting and training the pre-trained model based on the pre-trained model for intelligent response tasks in the store operation scenario.

进一步的,所述文案资料库存储有:利用因果推断算法对查询Query模板关联的预设问题进行归因分析得到的所述Query模板的至少一个因子。所述检索模块用于根据所述目标问题,确定目标Query;在所述文案资料库中,检索与所述目标Query匹配的Query模板,获取匹配到的Query模板的至少一个因子;其中,在生成所述Prompt时基于所述目标Query及匹配到的所述Query模板的至少一个因子关联的建议内容生成。Furthermore, the document database stores at least one factor of the query template obtained by attribution analysis of a preset question associated with the query template using a causal inference algorithm. The retrieval module is used to determine the target query based on the target question; retrieve query templates matching the target query from the document database, and obtain at least one factor of the matched query templates; wherein, when generating the prompt, suggested content is generated based on the target query and at least one factor associated with the matched query template.

进一步的,确定模块在根据所述目标问题确定目标Query时,用于根据所述目标问题,对Query模板库中的多个Query模板进行排序;基于排序第一的Query模板确定所述目标Query,或者将排序在前第一数量个的Query模板作为候选Query供用户选择,基于用户选中的一个候选Query确定所述目标Query。Furthermore, when determining the target query based on the target question, the determining module sorts multiple query templates in the query template library according to the target question; determines the target query based on the first ranked query template, or provides the first number of ranked query templates as candidate queries for the user to choose from, and determines the target query based on a candidate query selected by the user.

进一步的,所述文案资料库存储有:利用因果推断算法对Query模板关联的预设问题进行归因分析得到的,能解决或改善所述预设问题的店铺优化项以及店铺优化项的至少一个因子。所述检索模块在所述文案资料库中,检索与所述目标Query匹配的Query模板,获取匹配到的Query模板的至少一个因子时,具体用于:在所述文案资料库中,检索与所述目标Query匹配的Query模板;获取匹配到的Query模板关联的店铺优化项,以及所述店铺优化项的至少一个因子;其中,在生成所述Prompt时基于所述目标Query、匹配到的Query模板关联的店铺优化项以及所述店铺优化项的至少一个因子关联的建议内容生成。Furthermore, the copywriting database stores: store optimization items that can solve or improve the preset problems associated with the query template, obtained by attribution analysis using a causal inference algorithm, and at least one factor of the store optimization items. When the retrieval module retrieves query templates matching the target query from the copywriting database and obtains at least one factor of the matched query templates, it specifically performs the following: retrieving query templates matching the target query from the copywriting database; obtaining store optimization items associated with the matched query templates, and at least one factor of the store optimization items; wherein, when generating the Prompt, suggested content is generated based on the target query, the store optimization items associated with the matched query templates, and at least one factor of the store optimization items.

进一步的,本实施例提供的所述装置还可包括文案资料库构建模块。该文案资料库构建模块可利用因果推断算法对Query模板关联的预设问题进行归因分析,得到解决或改善所述预设问题的店铺优化项以及店铺优化项的至少一个因子。具体的,所述文案资料库构建模块可具体用于:Furthermore, the apparatus provided in this embodiment may also include a copywriting database construction module. This copywriting database construction module can utilize a causal inference algorithm to perform attribution analysis on preset questions associated with the query template, obtaining store optimization items that solve or improve the preset questions, and at least one factor of the store optimization items. Specifically, the copywriting database construction module may be used for:

针对Query模板关联的预设问题,利用漏斗分析技术对平台上店铺的流量数据和运营数据进行分析,以分析出解决或改善所述预设问题的店铺优化项;以所述店铺优化项为目标建模,基于多个因子构建因果树模型;基于平台上店铺的流量数据和运营数据,构建数据集;利用所述数据集,计算所述多个因子中各因子对所述因果树模型的预测结果的影响,得到所述多个因子各自对应的影响度;根据所述多个因子各自对应的影响度,对所述多个因子进行排序,得到所述店铺优化项的因子排序;其中,所述店铺优化项的至少一个因子为:所述店铺优化项的因子排序中排序在前第二数量个的因子。For the preset problem associated with the query template, funnel analysis technology is used to analyze the traffic and operational data of stores on the platform to identify store optimization items that solve or improve the preset problem. A causal tree model is constructed based on multiple factors, with the store optimization items as the target. A dataset is built based on the traffic and operational data of stores on the platform. Using the dataset, the influence of each factor on the prediction results of the causal tree model is calculated to obtain the influence degree of each factor. The factors are ranked according to their respective influence degrees to obtain the factor ranking of the store optimization items. At least one factor of each store optimization item is the second-to-last ranked factor in the factor ranking of the store optimization items.

进一步的,本实施例提供的装置中的所述文案资料库构建模块还用于:对平台上的店铺进行分组;在构建所述数据集时,基于一个分组内店铺的流量数据和运营数据构建;以及利用所述数据集得到的所述店铺优化项对应的因子排序,为该分组对应的店铺优化项的因子排序。其中,在获取匹配到的Query模板关联的店铺优化项,以及所述店铺优化项的至少一个因子时,确定所述目标店铺所属的分组;获取匹配到的Query模板关联的店铺优化项,以及所述目标店铺所属分组对应的所述店铺优化项的至少一个因子。Furthermore, the document database construction module in the device provided in this embodiment is also used for: grouping stores on the platform; constructing the dataset based on traffic data and operational data of stores within a group; and using the factor ranking corresponding to the store optimization items obtained from the dataset to perform factor ranking of the store optimization items corresponding to the group. Specifically, when obtaining the store optimization items associated with the matched query template and at least one factor of the store optimization items, the group to which the target store belongs is determined; the store optimization items associated with the matched query template and at least one factor of the store optimization items corresponding to the group to which the target store belongs are obtained.

进一步的,本实施例提供的装置还包括Query模板库构建模块、样本生成模块、调整训练模块。其中,Query模板库构建模块用于构建Query模板库,所述Query模板库包括多个Query模板。文案资料构建模块用于基于所述Query模板库,构建所述文案资料库。所述样本生成模块用于根据所述Query模板库及所述文案资料库,生成所述训练样本集。所述调整训练模块用于利用所述训练样本集,对所述预训练模型进行调整训练。Furthermore, the apparatus provided in this embodiment also includes a Query template library construction module, a sample generation module, and an adjustment and training module. The Query template library construction module is used to construct a Query template library, which includes multiple Query templates. The document data construction module is used to construct a document data library based on the Query template library. The sample generation module is used to generate the training sample set based on the Query template library and the document data library. The adjustment and training module is used to adjust and train the pre-trained model using the training sample set.

进一步的,所述确定模块在针对目标店铺,确定目标问题时,具体用于:Furthermore, when determining the target problem for a target store, the determining module is specifically used for:

响应用户输入,基于用户输入信息确定针对所述目标店铺的目标问题;和/或Responding to user input, determining the target question for the target store based on the user input information; and/or

响应用户在目标店铺的管理页面上针对一个设置项触发的请求,针对所述设置项,确定所述目标问题;和/或Responding to a user request triggered on the management page of a target store regarding a setting item, and for that setting item, determining the target issue; and/or

对所述目标店铺进行诊断,基于诊断结果确定所述目标问题;和/或The target store is diagnosed, and the target problem is determined based on the diagnosis results; and/or

获取网络侧基于大数据分析推荐的至少一个推荐问题,响应选择事件,将被选中的一个推荐问题作为所述目标问题。Obtain at least one recommendation question from the network side based on big data analysis, and in response to a selection event, take the selected recommendation question as the target question.

其中,确定模块在对所述目标店铺进行诊断,基于诊断结果确定所述目标问题时,具体用于:诊断所述目标店铺与所述参照店铺间的差距、和/或所述目标店铺不同时期存在的数据差异、和/或所述目标店铺的店铺数据与设定指标存在的差距,得到诊断结果;基于所述诊断结果确定所述目标问题。Specifically, when the determination module diagnoses the target store and determines the target problem based on the diagnosis results, it is used to: diagnose the gap between the target store and the reference store, and/or the data differences of the target store at different times, and/or the gap between the store data of the target store and the set indicators, and obtain the diagnosis results; and determine the target problem based on the diagnosis results.

本公开另一个实施例提供的信息处理装置包括:Query模板库构建模块、文案资料库构建模块、样本生成模块及调整训练模块。其中,所述Query模板库构建模块用于构建查询Query模板库,所述Query模板库包括多个Query模板,一个Query模板关联一个与店铺运营相关的预设问题。所述文案资料库构建模块用于基于所述Query模板库,构建文案资料库;其中,所述文案资料库存储有:利用因果推断算法对Query模板关联的预设问题进行归因分析得到所述Query模板的至少一个因子。所述样本生成模块用于根据所述Query模板库和所述文案资料库,生成训练样本集。所述调整训练模块用于利用所述训练样本集,对预训练模型进行调整训练,得到能处理店铺运营场景下智能应答任务的第一预设模型。Another embodiment of this disclosure provides an information processing apparatus comprising: a query template library construction module, a copywriting database construction module, a sample generation module, and an adjustment and training module. The query template library construction module is used to construct a query template library, which includes multiple query templates, each associated with a preset question related to store operations. The copywriting database construction module is used to construct a copywriting database based on the query template library; wherein the copywriting database stores at least one factor of the query template obtained by attribution analysis of the preset question associated with the query template using a causal inference algorithm. The sample generation module is used to generate a training sample set based on the query template library and the copywriting database. The adjustment and training module is used to adjust and train a pre-trained model using the training sample set to obtain a first preset model capable of handling intelligent response tasks in store operation scenarios.

在一具体实施方案中,上述文案资料库构建模块在构建所述文案资料库时,利用因果推断算法对Query模板关联的预设问题进行归因分析得到所述Query模板的至少一个因子时,具体用于:In one specific implementation scheme, when the above-mentioned copywriting database construction module constructs the copywriting database, it uses a causal inference algorithm to perform attribution analysis on the preset questions associated with the query template to obtain at least one factor of the query template. Specifically, this is used for:

针对Query模板关联的预设问题,利用漏斗分析技术对平台上店铺的流量数据和运营数据进行分析,以分析出解决或改善所述预设问题的店铺优化项;以所述店铺优化项为目标建模,基于多个因子构建因果树模型;基于平台上店铺的流量数据和运营数据,构建数据集;利用所述数据集,计算所述多个因子中各因子对所述因果树模型预测结果的影响,得到所述多个因子各自对应的影响度;根据所述多个因子各自对应的影响度,对所述多个因子进行排序,得到所述店铺优化项的因子排序。For the preset problem associated with the query template, funnel analysis technology is used to analyze the traffic and operational data of stores on the platform to identify store optimization items that solve or improve the preset problem. A causal tree model is constructed based on multiple factors, with the store optimization items as the target model. A dataset is built based on the traffic and operational data of stores on the platform. Using the dataset, the influence of each factor on the prediction results of the causal tree model is calculated to obtain the influence degree of each factor. Based on the influence degree of each factor, the factors are ranked to obtain the factor ranking of the store optimization items.

进一步的,所述文案资料库构建模块还用于:对平台上的店铺进行分组;在构建所述数据集时,基于一个分组内店铺的流量数据及运营数据构建;以及利用所述数据集得到的店铺优化项的因子排序,为该分组对应的店铺优化项的因子排序。Furthermore, the copywriting database construction module is also used to: group the stores on the platform; construct the dataset based on the traffic data and operational data of the stores within a group; and use the factor ranking of the store optimization items obtained from the dataset to perform factor ranking of the store optimization items corresponding to the group.

进一步的,所述文案资料库构建模块在基于所述Query模板库,构建文案资料库时,具体用于:获取并存储平台上店铺的属性信息;获取并存储平台上店铺的流量数据和运营数据;利用因果推断算法对所述Query模板库中Query模板关联的预设问题进行归因分析得到所述Query模板的至少一个因子;确定并存储因子关联的建议内容;构建不同Query模板对应的文案模板信息的语料知识库。Furthermore, when constructing the copywriting database based on the Query template library, the copywriting database construction module is specifically used for: acquiring and storing attribute information of stores on the platform; acquiring and storing traffic data and operational data of stores on the platform; using a causal inference algorithm to perform attribution analysis on preset questions associated with Query templates in the Query template library to obtain at least one factor of the Query template; determining and storing suggested content associated with the factor; and constructing a corpus knowledge base of copywriting template information corresponding to different Query templates.

所述样本生成模块在根据所述Query模板库和所述文案资料库,生成训练样本集时,具体用于:利用第三预设模型基于所述Query模板库和所述文案资料库输出多个训练样本;其中,所述训练样本集包括所述多个训练样本。When generating a training sample set based on the Query template library and the copywriting database, the sample generation module is specifically used to: output multiple training samples based on the Query template library and the copywriting database using a third preset model; wherein, the training sample set includes the multiple training samples.

进一步的,所述Query模板库构建模块在构建查询Query模板库时,具体用于:确定多个基础Query模板;利用第二预设模型,对所述多个基础Query模板进行扩展,得到多个扩展Query模板;对所述多个扩展Query模板进行评测,保留通过评测的扩展Query模板;其中,所述Query模板库包括的多个基础Query模板以及通过评测的多个扩展Query模板。Furthermore, when constructing the query template library, the query template library construction module is specifically used to: determine multiple basic query templates; expand the multiple basic query templates using a second preset model to obtain multiple extended query templates; evaluate the multiple extended query templates and retain the extended query templates that pass the evaluation; wherein, the query template library includes multiple basic query templates and multiple extended query templates that have passed the evaluation.

这里需要说明的是:上述两个实施例提供的信息处理装置可实现上述相应方法实施例中描述的技术方案,上述各模块或单元具体实现的原理可参见上述各方法实施例中的相应内容,此处不再赘述。It should be noted that the information processing devices provided in the above two embodiments can implement the technical solutions described in the corresponding method embodiments. The specific implementation principles of each module or unit can be found in the corresponding content of each method embodiment, and will not be repeated here.

本公开一实施例提供的店铺诊断装置包括触发模块及输出模块。其中,触发模块用于响应针对目标店铺的诊断触发事件,触发店铺诊断以呈现和/或播放诊断出的目标问题。输出模块用于展示和/或播放文案,所述文案包括助力用户解决或改善所述目标问题的建议内容。其中,所述文案是利用第一预设模型得到,所述第一预设模型是在预训练模型的基础上,针对店铺运营场景下的智能应答任务对所述预训练模型进行调整训练得到的;所述建议内容与所述目标问题的至少一个因子关联,所述至少一个因子是利用因果推断算法对所述目标问题进行归因分析出的。An embodiment of this disclosure provides a store diagnostic device including a trigger module and an output module. The trigger module responds to a diagnostic trigger event for a target store, triggering store diagnostics to present and/or play the diagnosed target problem. The output module displays and/or plays text, including suggestions to help users solve or improve the target problem. The text is obtained using a first preset model, which is trained and adjusted based on a pre-trained model for intelligent response tasks in a store operation scenario. The suggestions are associated with at least one factor of the target problem, and the at least one factor is determined by attribution analysis of the target problem using a causal inference algorithm.

这里需要说明的是:上述实施例提供店铺诊断装置可实现上述对应方法实施例中描述的技术方案,上述各模块或单元具体实现的原理可参见上述对应方法实施例中的相应内容,此处不再赘述。It should be noted that the store diagnostic device provided in the above embodiments can realize the technical solutions described in the corresponding method embodiments. The specific implementation principles of each module or unit can be found in the corresponding content in the corresponding method embodiments, and will not be repeated here.

本公开一实施例提供的店铺智能助手装置包括显示装置、监听捕捉模块及输出模块。其中,显示模块用于显示目标店铺的管理页面。监听捕捉模块用于监听用户在所述管理页面上的操作,以捕捉用户在店铺运营上的目标问题。输出模块用于响应用户针对所述目标问题触发的确认指令,展示和/或播放文案,所述文案包括助力用户解决或改善所述目标问题的建议内容。An embodiment of this disclosure provides a smart store assistant device including a display device, a monitoring and capture module, and an output module. The display module displays the management page of the target store. The monitoring and capture module monitors user operations on the management page to capture target issues related to store operations. The output module responds to confirmation commands triggered by the user regarding the target issues, displaying and/or playing text, including suggestions to help the user resolve or improve the target issues.

其中,所述文案是利用第一预设模型得到,所述第一预设模型是在预训练模型的基础上,针对店铺运营场景下的智能应答任务对所述预训练模型进行调整训练得到的;所述建议内容与所述目标问题的至少一个因子关联,所述至少一个因子是利用因果推断算法对所述目标问题进行归因分析出的。The text is obtained using a first preset model, which is obtained by adjusting and training the pre-trained model based on a pre-trained model for intelligent response tasks in a store operation scenario; the suggested content is associated with at least one factor of the target problem, and the at least one factor is obtained by attribution analysis of the target problem using a causal inference algorithm.

这里需要说明的是:上述实施例提供店铺智能助手装置可实现上述对应方法实施例中描述的技术方案,上述各模块或单元具体实现的原理可参见上述对应方法实施例中的相应内容,此处不再赘述。It should be noted that the smart assistant device for stores provided in the above embodiments can implement the technical solutions described in the corresponding method embodiments. The specific implementation principles of each module or unit can be found in the corresponding content in the above method embodiments, and will not be repeated here.

本公开一实施例还提供一种电子设备。如图8所示,所述电子设备包括处理器42及存储器41。其中,所述存储器41用于存储一条或多条计算机程序;所述处理器42与所述存储器41耦合,用于所述至少一条或多条计算机程序,以用于实现本公开各实施例提供的方法中的步骤。An embodiment of this disclosure also provides an electronic device. As shown in FIG8, the electronic device includes a processor 42 and a memory 41. The memory 41 is used to store one or more computer programs; the processor 42 is coupled to the memory 41 and is used for the at least one or more computer programs to implement the steps in the methods provided in the embodiments of this disclosure.

上述存储器41可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The aforementioned memory 41 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

进一步,电子设备还包括:通信组件43、显示器44、电源组件45及音频组件46等其它组件。此处仅示意性给出部分组件,并不意味着电子设备只这些组件。Furthermore, the electronic device also includes other components such as a communication component 43, a display 44, a power supply component 45, and an audio component 46. Only some components are shown here for illustrative purposes, and it is not intended that the electronic device contains only these components.

相应地,本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,所述计算机程序被计算机执行时能够实现上述本公开各实施例提供的方法步骤或功能。Accordingly, this disclosure also provides a computer-readable storage medium storing a computer program, which, when executed by a computer, can implement the method steps or functions provided in the embodiments of this disclosure described above.

本公开中的方法可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。由此即,本公开还提供了一计算机程序产品。该计算机程序产品包括计算机程序/指令,当所述计算机程序/指令被诸如处理器之类的电子元件执行时,可全部或部分地执行本公开各实施例提供的方法中的步骤或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、网络设备、用户设备、核心网设备、OAM或者其它可编程装置。The methods in this disclosure can be implemented, in whole or in part, by software, hardware, firmware, or any combination thereof. When implemented in software, they can be implemented, in whole or in part, as a computer program product. Therefore, this disclosure also provides a computer program product. This computer program product includes a computer program/instructions that, when executed by an electronic component such as a processor, can perform, in whole or in part, the steps or functions of the methods provided in the embodiments of this disclosure. The computer can be a general-purpose computer, a special-purpose computer, a computer network, network equipment, user equipment, core network equipment, OAM, or other programmable device.

Claims (22)

一种信息处理方法,其中,包括:An information processing method, comprising: 针对目标店铺,确定目标问题;For the target store, identify the target problem; 在文案资料库中,检索所述目标问题的至少一个因子;Retrieve at least one factor of the target question from the document database; 基于所述目标问题及所述至少一个因子关联的建议内容,生成提示词Prompt;Based on the target question and the suggested content associated with at least one factor, a prompt word is generated. 利用第一预设模型输出所述Prompt对应的文案,以助力用户解决或改善所述目标问题;The first preset model is used to output the text corresponding to the Prompt, so as to help users solve or improve the target problem; 其中,所述文案资料库存储有:利用因果推断算法对预设问题进行归因分析得到的所述预设问题的至少一个因子;所述第一预设模型是在预训练模型的基础上,针对店铺运营场景下的智能应答任务对所述预训练模型进行调整训练得到。The document database stores at least one factor of the preset question obtained by attribution analysis of the preset question using a causal inference algorithm; the first preset model is obtained by adjusting and training the pre-trained model based on the pre-trained model for intelligent response tasks in the store operation scenario. 根据权利要求1所述的方法,其中,所述文案资料库存储有:利用因果推断算法对查询Query模板关联的预设问题进行归因分析得到的所述Query模板的至少一个因子;以及According to the method of claim 1, wherein the document database stores: at least one factor of the query template obtained by attribution analysis of preset questions associated with the query template using a causal inference algorithm; and 在文案资料库中,检索所述目标问题的至少一个因子,包括:Retrieve at least one factor of the target question from the document database, including: 根据所述目标问题,确定目标Query;Based on the target question, determine the target query; 在所述文案资料库中,检索与所述目标Query匹配的Query模板,获取匹配到的Query模板的至少一个因子;In the document database, retrieve query templates that match the target query and obtain at least one factor of the matched query template; 其中,在生成所述Prompt时基于所述目标Query及匹配到的所述Query模板的至少一个因子关联的建议内容生成。Specifically, when generating the Prompt, suggested content is generated based on at least one factor associated with the target Query and the matched Query template. 根据权利要求2所述的方法,其中,根据所述目标问题确定目标Query,包括:According to the method of claim 2, determining the target query based on the target question includes: 根据所述目标问题,对Query模板库中的多个Query模板进行排序;Based on the target problem, sort the multiple query templates in the query template library; 基于排序第一的Query模板确定所述目标Query,或者将排序在前第一数量个的Query模板作为候选Query供用户选择,基于用户选中的一个候选Query确定所述目标Query。The target query is determined based on the first ranked query template, or the first number of ranked query templates are provided as candidate queries for the user to choose from, and the target query is determined based on the candidate query selected by the user. 根据权利要求2或3所述的方法,其中,所述文案资料库存储有:利用因果推断算法对Query模板关联的预设问题进行归因分析得到的,能解决或改善所述预设问题的店铺优化项以及店铺优化项的至少一个因子;以及According to the method of claim 2 or 3, wherein the copywriting database stores: store optimization items that can solve or improve the preset problems, and at least one factor of the store optimization items, obtained by attribution analysis of preset problems associated with query templates using a causal inference algorithm; and 在所述文案资料库中,检索与所述目标Query匹配的Query模板,获取匹配到的Query模板的至少一个因子,包括:In the document database, retrieve query templates that match the target query, and obtain at least one factor of the matched query templates, including: 在所述文案资料库中,检索与所述目标Query匹配的Query模板;Retrieve a query template that matches the target query from the document database; 获取匹配到的Query模板关联的店铺优化项,以及所述店铺优化项的至少一个因子;Obtain the store optimization items associated with the matched query template, and at least one factor of the store optimization items; 其中,在生成所述Prompt时基于所述目标Query、匹配到的Query模板关联的店铺优化项以及所述店铺优化项的至少一个因子关联的建议内容生成。Specifically, when generating the Prompt, the suggested content is generated based on the target Query, the store optimization items associated with the matched Query template, and at least one factor associated with the store optimization items. 根据权利要求4所述的方法,其中,利用因果推断算法对Query模板关联的预设问题进行归因分析,得到解决或改善所述预设问题的店铺优化项以及店铺优化项的至少一个因子,包括:According to the method of claim 4, the attribution analysis of the preset problem associated with the query template using a causal inference algorithm to obtain store optimization items that solve or improve the preset problem and at least one factor of the store optimization items includes: 针对Query模板关联的预设问题,利用漏斗分析技术对平台上店铺的流量数据和运营数据进行分析,以分析出解决或改善所述预设问题的店铺优化项;To address the pre-defined issues associated with query templates, funnel analysis techniques are used to analyze the traffic and operational data of stores on the platform in order to identify store optimization items that can solve or improve the pre-defined issues. 以所述店铺优化项为目标建模,基于多个因子构建因果树模型;Modeling is performed using the aforementioned store optimization items as targets, and a causal tree model is constructed based on multiple factors; 基于平台上店铺的流量数据和运营数据,构建数据集;A dataset is constructed based on the traffic and operational data of stores on the platform; 利用所述数据集,计算所述多个因子中各因子对所述因果树模型的预测结果的影响,得到所述多个因子各自对应的影响度;Using the dataset, the influence of each of the multiple factors on the prediction results of the causal tree model is calculated, and the influence degree of each of the multiple factors is obtained. 根据所述多个因子各自对应的影响度,对所述多个因子进行排序,得到所述店铺优化项的因子排序;Based on the influence of each of the multiple factors, the multiple factors are sorted to obtain the factor ranking of the store optimization items; 其中,所述店铺优化项的至少一个因子为:所述店铺优化项的因子排序中排序在前第二数量个的因子。Wherein, at least one factor of the store optimization item is: the second-to-last factor in the factor ranking of the store optimization item. 根据权利要求5所述的方法,其中,还包括:The method according to claim 5, further comprising: 对平台上的店铺进行分组;Group the stores on the platform; 在构建所述数据集时,基于一个分组内店铺的流量数据和运营数据构建;以及The dataset was constructed based on traffic and operational data of stores within a group; and 利用所述数据集得到的所述店铺优化项对应的因子排序,为该分组对应的店铺优化项的因子排序;The factor ranking corresponding to the store optimization item obtained using the dataset is the factor ranking of the store optimization item corresponding to this group. 其中,在获取匹配到的Query模板关联的店铺优化项,以及所述店铺优化项的至少一个因子时,确定所述目标店铺所属的分组;获取匹配到的Query模板关联的店铺优化项,以及所述目标店铺所属分组对应的所述店铺优化项的至少一个因子。Specifically, when obtaining the store optimization items associated with the matched query template and at least one factor of the store optimization items, the group to which the target store belongs is determined; the store optimization items associated with the matched query template and at least one factor of the store optimization items corresponding to the group to which the target store belongs are obtained. 根据权利要求1~6中任一项所述的方法,其中,还包括:The method according to any one of claims 1 to 6, further comprising: 构建Query模板库,所述Query模板库包括多个Query模板;Build a query template library, which includes multiple query templates; 基于所述Query模板库,构建所述文案资料库;Based on the Query template library, the copywriting database is constructed; 根据所述Query模板库及所述文案资料库,生成所述训练样本集;The training sample set is generated based on the Query template library and the copywriting database; 利用所述训练样本集,对所述预训练模型进行调整训练。The pre-trained model is adjusted and trained using the training sample set. 根据权利要求7所述的方法,其中,所述Query模板库包括如下中的至少一项:According to the method of claim 7, the Query template library comprises at least one of the following: 平台上任一店铺与参照店铺的数据存在差异原因对应的Query模板;The query template for the reason why the data of any store on the platform differs from that of a reference store; 平台上任一店铺不同时期数据存在差异原因对应的Query模板;Query templates for explaining why data discrepancies exist for any store on the platform at different times; 店铺管理问题对应的Query模板;Query templates for store management issues; 店铺优化项对应的Query模板;Query templates corresponding to store optimization items; 利用第二预设模型扩展出的Query模板;The query template is extended using the second preset model; 所述文案资料库存储有:The document database stores: 平台上店铺的属性信息;The attribute information of stores on the platform; 平台上店铺的流量数据和运营数据;Traffic and operational data of stores on the platform; Query模板关联的店铺优化项;Store optimization items associated with the query template; 店铺优化项的因子排序;Factor sorting of store optimization items; 因子关联的建议内容;Suggested content regarding factor correlation; 不同Query模板对应的文案模板信息的语料知识库。A corpus knowledge base of copywriting template information corresponding to different query templates. 根据权利要求8所述的方法,其中,针对目标店铺,确定目标问题,包括:According to the method of claim 8, wherein determining the target problem for the target store includes: 响应用户输入,基于用户输入信息确定针对所述目标店铺的目标问题;和/或Responding to user input, determining the target question for the target store based on the user input information; and/or 响应用户在目标店铺的管理页面上针对一个设置项触发的请求,针对所述设置项,确定所述目标问题;和/或Responding to a user request triggered on the management page of a target store regarding a setting item, and for that setting item, determining the target issue; and/or 对所述目标店铺进行诊断,基于诊断结果确定所述目标问题;和/或The target store is diagnosed, and the target problem is determined based on the diagnosis results; and/or 获取网络侧基于大数据分析推荐的至少一个推荐问题,响应选择事件,将被选中的一个推荐问题作为所述目标问题。Obtain at least one recommendation question from the network side based on big data analysis, and in response to a selection event, take the selected recommendation question as the target question. 根据权利要求9所述的方法,其中,对所述目标店铺进行诊断,基于诊断结果确定所述目标问题,包括:According to the method of claim 9, wherein diagnosing the target store and determining the target problem based on the diagnosis results includes: 诊断所述目标店铺与所述参照店铺间的差距、和/或所述目标店铺不同时期存在的数据差异、和/或所述目标店铺的店铺数据与设定指标存在的差距,得到诊断结果;Diagnose the gap between the target store and the reference store, and/or the data differences of the target store at different times, and/or the gap between the store data of the target store and the set indicators, and obtain the diagnostic results; 基于所述诊断结果确定所述目标问题。The target problem is determined based on the diagnostic results. 一种信息处理方法,其中,包括:An information processing method, comprising: 构建查询Query模板库,所述Query模板库包括多个Query模板,一个Query模板关联一个与店铺运营相关的预设问题;Construct a query template library, which includes multiple query templates, and each query template is associated with a preset question related to store operations; 基于所述Query模板库,构建文案资料库;其中,所述文案资料库存储有:利用因果推断算法对Query模板关联的预设问题进行归因分析得到所述Query模板的至少一个因子;Based on the Query template library, a copywriting database is constructed; wherein, the copywriting database stores at least one factor of the Query template obtained by attribution analysis of preset questions associated with the Query template using a causal inference algorithm; 根据所述Query模板库和所述文案资料库,生成训练样本集;A training sample set is generated based on the Query template library and the copywriting database; 利用所述训练样本集,对预训练模型进行调整训练,得到能处理店铺运营场景下智能应答任务的第一预设模型。Using the training sample set, the pre-trained model is adjusted and trained to obtain a first preset model that can handle intelligent response tasks in store operation scenarios. 根据权利要求11所述的方法,其中,构建所述文案资料库时,利用因果推断算法对Query模板关联的预设问题进行归因分析得到所述Query模板的至少一个因子,包括:According to the method of claim 11, wherein, when constructing the document database, attribution analysis is performed on the preset questions associated with the query template using a causal inference algorithm to obtain at least one factor of the query template, including: 针对Query模板关联的预设问题,利用漏斗分析技术对平台上店铺的流量数据和运营数据进行分析,以分析出解决或改善所述预设问题的店铺优化项;To address the pre-defined issues associated with query templates, funnel analysis techniques are used to analyze the traffic and operational data of stores on the platform in order to identify store optimization items that can solve or improve the pre-defined issues. 以所述店铺优化项为目标建模,基于多个因子构建因果树模型;Modeling is performed using the aforementioned store optimization items as targets, and a causal tree model is constructed based on multiple factors; 基于平台上店铺的流量数据和运营数据,构建数据集;A dataset is constructed based on the traffic and operational data of stores on the platform; 利用所述数据集,计算所述多个因子中各因子对所述因果树模型预测结果的影响,得到所述多个因子各自对应的影响度;Using the dataset, the influence of each of the multiple factors on the prediction results of the causal tree model is calculated, and the influence degree of each of the multiple factors is obtained. 根据所述多个因子各自对应的影响度,对所述多个因子进行排序,得到所述店铺优化项的因子排序。Based on the influence of each of the multiple factors, the factors are sorted to obtain the factor ranking of the store optimization items. 根据权利要求12所述的方法,其中,还包括:The method according to claim 12, further comprising: 对平台上的店铺进行分组;Group the stores on the platform; 在构建所述数据集时,基于一个分组内店铺的流量数据及运营数据构建;以及The dataset was constructed based on traffic and operational data of stores within a group; and 利用所述数据集得到的店铺优化项的因子排序,为该分组对应的店铺优化项的因子排序。The factor ranking of the store optimization items obtained using the dataset is used to rank the store optimization items corresponding to this group. 根据权利要求11~13中任一项所述的方法,其中,基于所述Query模板库,构建文案资料库,包括:The method according to any one of claims 11 to 13, wherein constructing a document database based on the Query template library includes: 获取并存储平台上店铺的属性信息;Acquire and store the attribute information of stores on the platform; 获取并存储平台上店铺的流量数据和运营数据;Acquire and store traffic and operational data of stores on the platform; 利用因果推断算法对所述Query模板库中Query模板关联的预设问题进行归因分析得到所述Query模板的至少一个因子;Attribution analysis of preset questions associated with query templates in the query template library is performed using a causal inference algorithm to obtain at least one factor of the query template; 确定并存储因子关联的建议内容;Identify and store the suggested content for factor association; 构建不同Query模板对应的文案模板信息的语料知识库。Construct a corpus knowledge base of copywriting template information corresponding to different query templates. 根据权利要求11~14中任一项所述的方法,其中,根据所述Query模板库和所述文案资料库,生成训练样本集,包括:The method according to any one of claims 11 to 14, wherein generating a training sample set based on the Query template library and the copywriting database includes: 利用第三预设模型基于所述Query模板库和所述文案资料库输出多个训练样本;The third preset model is used to output multiple training samples based on the Query template library and the copywriting database; 其中,所述训练样本集包括所述多个训练样本。The training sample set includes the plurality of training samples. 根据权利要求11~15中任一项所述的方法,其中,构建查询Query模板库,包括:The method according to any one of claims 11 to 15, wherein constructing the query template library includes: 确定多个基础Query模板;Identify multiple basic query templates; 利用第二预设模型,对所述多个基础Query模板进行扩展,得到多个扩展Query模板;Using the second preset model, the multiple basic query templates are expanded to obtain multiple extended query templates; 对所述多个扩展Query模板进行评测,保留通过评测的扩展Query模板;The multiple extended query templates are evaluated, and the extended query templates that pass the evaluation are retained; 其中,所述Query模板库包括的多个基础Query模板以及通过评测的多个扩展Query模板。The Query template library includes multiple basic Query templates and multiple extended Query templates that have passed evaluation. 一种店铺诊断方法,其中,适用于客户端,所述方法包括:A store diagnostic method, applicable to the client, the method includes: 响应针对目标店铺的诊断触发事件,触发店铺诊断以呈现和/或播放诊断出的目标问题;Respond to diagnostic trigger events for the target store, trigger store diagnostics to present and/or play the diagnosed target issues; 展示和/或播放文案,所述文案包括助力用户解决或改善所述目标问题的建议内容;Display and/or play text, which includes suggestions to help users solve or improve the target problem; 其中,所述文案是利用第一预设模型得到,所述第一预设模型是在预训练模型的基础上,针对店铺运营场景下的智能应答任务对所述预训练模型进行调整训练得到的;所述建议内容与所述目标问题的至少一个因子关联,所述至少一个因子是利用因果推断算法对所述目标问题进行归因分析出的。The text is obtained using a first preset model, which is obtained by adjusting and training the pre-trained model based on a pre-trained model for intelligent response tasks in a store operation scenario; the suggested content is associated with at least one factor of the target problem, and the at least one factor is obtained by attribution analysis of the target problem using a causal inference algorithm. 一种店铺智能助手工作方法,其中,适用于客户端,所述方法包括:A method for operating a smart store assistant, applicable to the client side, the method includes: 显示目标店铺的管理页面;Display the target store's management page; 监听用户在所述管理页面上的操作,以捕捉用户在店铺运营上的目标问题;Monitor user actions on the management page to identify user-defined issues related to store operations; 响应用户针对所述目标问题触发的确认指令,展示和/或播放文案,所述文案包括助力用户解决或改善所述目标问题的建议内容;In response to a user's confirmation command triggered for the target problem, display and/or play text, which includes suggestions to help the user solve or improve the target problem; 其中,所述文案是利用第一预设模型得到,所述第一预设模型是在预训练模型的基础上,针对店铺运营场景下的智能应答任务对所述预训练模型进行调整训练得到的;所述建议内容与所述目标问题的至少一个因子关联,所述至少一个因子是利用因果推断算法对所述目标问题进行归因分析出的。The text is obtained using a first preset model, which is obtained by adjusting and training the pre-trained model based on a pre-trained model for intelligent response tasks in a store operation scenario; the suggested content is associated with at least one factor of the target problem, and the at least one factor is obtained by attribution analysis of the target problem using a causal inference algorithm. 一种服务系统,其中,包括:A service system, comprising: 客户端,用于实现上述权利要求17或18所述方法;A client for implementing the method described in claim 17 or 18 above; 服务端,用于实现上述权利要求1~16中任一项所述的方法。A server-side component for implementing the method described in any one of claims 1 to 16. 一种电子设备,其中,包括存储器及处理器;其中,An electronic device, comprising a memory and a processor; wherein, 所述存储器用于存储可执行指令;The memory is used to store executable instructions; 所述处理器通过运行所述可执行指令以实现如上述权利要求1~16中任一项所述的信息处理方法中的步骤,或上述权利要求17所述的店铺诊断方法中的步骤,或上述权利要求18所述的店铺智能助手工作方法中的步骤。The processor executes the executable instructions to implement the steps in the information processing method as described in any one of claims 1 to 16, the steps in the store diagnosis method as described in claim 17, or the steps in the store smart assistant working method as described in claim 18. 一种计算机可读存储介质,其中,存储介质上存储有计算机指令,该指令被处理器执行时可实现如上述权利要求1~16中任一项所述的信息处理方法中的步骤,或上述权利要求17所述的店铺诊断方法中的步骤,或上述权利要求18所述的店铺智能助手工作方法中的步骤。A computer-readable storage medium storing computer instructions that, when executed by a processor, can perform the steps of the information processing method as described in any one of claims 1 to 16, the steps of the store diagnosis method as described in claim 17, or the steps of the store smart assistant working method as described in claim 18. 一种计算机程序产品,其中,该计算机程序产品包括计算机程序或指令,当所述计算机程序或指令被处理器执行时,使得处理器执行如上述权利要求1~16中任一项所述的信息处理方法中的步骤,或上述权利要求17所述的店铺诊断方法中的步骤,或上述权利要求18所述的店铺智能助手工作方法中的步骤。A computer program product comprising a computer program or instructions that, when executed by a processor, cause the processor to perform steps in the information processing method of any one of claims 1 to 16, or steps in the store diagnosis method of claim 17, or steps in the store smart assistant working method of claim 18.
PCT/CN2025/094497 2024-06-28 2025-05-13 Information processing methods, store diagnosis method, intelligent assistant working method, system and device Pending WO2026001385A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202410867589.9A CN118917411A (en) 2024-06-28 2024-06-28 Information processing, shop diagnosis and intelligent assistant working method, system and equipment
CN202410867589.9 2024-06-28

Publications (1)

Publication Number Publication Date
WO2026001385A1 true WO2026001385A1 (en) 2026-01-02

Family

ID=93307540

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2025/094497 Pending WO2026001385A1 (en) 2024-06-28 2025-05-13 Information processing methods, store diagnosis method, intelligent assistant working method, system and device

Country Status (2)

Country Link
CN (1) CN118917411A (en)
WO (1) WO2026001385A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118917411A (en) * 2024-06-28 2024-11-08 杭州阿里巴巴海外互联网产业有限公司 Information processing, shop diagnosis and intelligent assistant working method, system and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108921398A (en) * 2018-06-14 2018-11-30 口口相传(北京)网络技术有限公司 Shop quality evaluating method and device
CN109345282A (en) * 2018-08-22 2019-02-15 中国平安人寿保险股份有限公司 A kind of response method and equipment of business consultation
CN115860869A (en) * 2022-12-15 2023-03-28 阿里巴巴(中国)有限公司 Store information recommendation method, device and storage medium
US20240070210A1 (en) * 2022-08-30 2024-02-29 Maplebear Inc. (Dba Instacart) Suggesting keywords to define an audience for a recommendation about a content item
CN118917411A (en) * 2024-06-28 2024-11-08 杭州阿里巴巴海外互联网产业有限公司 Information processing, shop diagnosis and intelligent assistant working method, system and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108921398A (en) * 2018-06-14 2018-11-30 口口相传(北京)网络技术有限公司 Shop quality evaluating method and device
CN109345282A (en) * 2018-08-22 2019-02-15 中国平安人寿保险股份有限公司 A kind of response method and equipment of business consultation
US20240070210A1 (en) * 2022-08-30 2024-02-29 Maplebear Inc. (Dba Instacart) Suggesting keywords to define an audience for a recommendation about a content item
CN115860869A (en) * 2022-12-15 2023-03-28 阿里巴巴(中国)有限公司 Store information recommendation method, device and storage medium
CN118917411A (en) * 2024-06-28 2024-11-08 杭州阿里巴巴海外互联网产业有限公司 Information processing, shop diagnosis and intelligent assistant working method, system and equipment

Also Published As

Publication number Publication date
CN118917411A (en) 2024-11-08

Similar Documents

Publication Publication Date Title
JP7759132B2 (en) Domain-specific language interpreter and interactive visual interface for rapid screening
CN111177569B (en) Recommendation processing method, device and equipment based on artificial intelligence
US10958748B2 (en) Resource push method and apparatus
CN118093801B (en) Information interaction method and device based on large language model and electronic equipment
CN112508609B (en) Method, device, equipment and storage medium for predicting population expansion
CN113781149B (en) Information recommendation method, device, computer-readable storage medium, and electronic device
US11501214B2 (en) Systems and methods for managing, distributing and deploying a recursive decisioning system based on continuously updating machine learning models
CN118861193B (en) Search term analysis model data processing method, device and computer equipment
CN116738081B (en) A front-end component binding method, device and storage medium
CN117057855A (en) A data processing method and related devices
CN118503396A (en) ERP system large model calling method, device and medium based on open prompt words
WO2026001385A1 (en) Information processing methods, store diagnosis method, intelligent assistant working method, system and device
CN118861241A (en) Dialogue generation method, device, computer equipment and storage medium
CN114648350A (en) Information processing method, information processing apparatus, and storage medium
EP4154108A1 (en) Domain-specific language interpreter and interactive visual interface for rapid screening
CN111768218B (en) Method and device for processing user interaction information
CN119379383A (en) User interaction behavior prediction method, device and computer equipment
CN111507471A (en) A model training method, device, equipment and storage medium
CN118674393A (en) Intelligent operation management method and system for big data of scenic spot
CN115757956A (en) Combination product recommendation method, device, electronic equipment and storage medium
CN109299381B (en) Software defect retrieval and analysis system and method based on semantic concept
CN117807188B (en) Search information processing method, apparatus, electronic device and storage medium
CN121031788A (en) Agent-based information processing methods, devices, and storage media
CN119597884A (en) Online man-machine conversation method, customer service system, equipment and storage medium
CN121092704A (en) Text data auditing method, apparatus, computer device, readable storage medium and program product