Cigarette distribution intelligent customer service system based on artificial intelligence
Through the intelligent customer service system for cigarette distribution based on artificial intelligence, it uses large language models and enterprise WeChat terminal applications to automatically handle common problems of retail customers, solves the problem of low efficiency of traditional manual customer service, and achieves efficient response and personalized services, significantly Improved the service level and efficiency of the cigarette distribution industry.
Patent Information
- Application Number
- CN202410742551.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-08-30
AI Technical Summary
During the cigarette distribution process, the workload of after-sales consulting services for retail customers is heavy, and service quality cannot be guaranteed. Traditional manual customer service is difficult to meet efficient response and personalized needs.
Adopt an intelligent customer service system for cigarette distribution based on artificial intelligence, use the ChatGLM2-6b large language model for privatized deployment, and combine it with the enterprise WeChat terminal application to automatically reply and handle common problems through machine learning and automation technology, reducing manual intervention.
It realizes automated processing of common problems, reduces labor costs and time costs, improves service efficiency and response timeliness in the cigarette distribution industry, and improves customer satisfaction and service levels.
Smart Images

Figure CN118569873A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field related to natural language processing technology, and in particular to an intelligent customer service system for cigarette delivery based on artificial intelligence. Background Art
[0002] Looking at the development of the tobacco industry over the past decades, the cigarette market has become saturated. The shift from "incremental sharing" to "stock segmentation" and from "incremental" to focusing on "quality" cannot be separated from data empowerment. Taking data as the core and using data to drive operations is a disruptive change for enterprises and the core work of digital transformation of enterprises. In recent years, the tobacco business system has guided the high-quality development of tobacco enterprises with the new development concept. Based on the provincial tobacco integrated platform architecture, it has systematically implemented open source, potential tapping, and cost-saving actions to continuously improve operational efficiency and provide important guarantees for promoting the improvement of enterprise management quality and efficiency.
[0003] Cigarette logistics distribution refers to the process of delivering cigarettes to retail customers after completing warehousing, sorting, packaging and distribution operations at the logistics distribution center according to the customer's order time and needs, realizing the spatial location transfer and time change of cigarettes. The purpose of the entire distribution process is to deliver cigarettes from the logistics distribution center to retail customers with guaranteed quality, quantity, no damage and high efficiency.
[0004] However, if there is a problem with the cigarettes during the delivery process, the retail customers usually call the tobacco delivery person or the tobacco company customer service hotline for consultation. Currently, there are a large number of tobacco retail customers. If traditional manual customer service is used to meet the after-sales consultation needs of retail customers, the workload is large and the service quality cannot be guaranteed. Summary of the invention
[0005] In order to overcome the problems existing in the relevant technologies, the present application provides an artificial intelligence-based cigarette delivery intelligent customer service system, which uses machine learning and automation technology to automatically reply to and handle common problems, reduce the need for manual intervention, and save labor costs and time costs in the cigarette delivery and retail customer after-sales problem handling links.
[0006] The first aspect of the present application provides an artificial intelligence-based cigarette delivery intelligent customer service system, comprising:
[0007] The model architecture design unit uses the ChatGLM2-6b large language model for local private deployment;
[0008] Knowledge base data support unit, submits training content and imports it into the knowledge base;
[0009] Model building and training unit: Model architecture of the knowledge base, pre-processing of data, including data deduplication and cleaning, and setting of language recognition and filtering conditions;
[0010] Large language model calling platform: retail customers use the enterprise WeChat terminal application to call the knowledge base of the large language model calling platform to query relevant information, call all aspects of knowledge on the relevant content, and train the large language model synchronously during the operation;
[0011] The enterprise WeChat terminal application development unit uses mobile development technology to connect to the enterprise WeChat interface developer platform. Based on the management system of tobacco retail customers, it integrates the large language model application package in the enterprise WeChat terminal.
[0012] In the above-mentioned AI-based cigarette delivery intelligent customer service system, the technical routes adopted by the large language model calling platform are divided into Bert mode, GPT mode, hybrid mode and large language model (LLM) + knowledge retrieval (Knowledge Retrieval) mode.
[0013] In the above-mentioned AI-based cigarette delivery intelligent customer service system, the technical route of building the large language model calling platform + enterprise WeChat mobile application scenario includes: mobile terminal, Web background, application service, data service, large language model, and operating environment; the mobile terminal uses enterprise WeChat + applet to access through the WeChat entrance; in the Web background, the front-end technology uses vue3+element-plus+ts, and the back-end technology uses .Net Core cross-platform technology. The .NET Core is an application development framework with cross-platform capabilities, and the platform is the operating environment Windows, MacOSX, and Linux.
[0014] In the above-mentioned AI-based cigarette delivery intelligent customer service system, the application services include data warehousing, audit logs, identity authentication, domain services, API gateways, authorization, domain events, and data access.
[0015] In the above-mentioned AI-based cigarette delivery intelligent customer service system, the large language model calls the knowledge base in the platform to build. The principle of the knowledge base is that after the search, prompt information is generated and inserted into the dialogue, and the data of the knowledge base is known by the large language model calling platform; the construction adopts the following modes: rtst mode, sentence_transformers+faiss for indexing, supports pre-built indexes and running builds; also includes bing mode, cn.bing search; bingsite mode, cn.bing site search; fess mode, locally deployed fess search, and keyword extraction.
[0016] In the above-mentioned AI-based cigarette delivery intelligent customer service system, the large language model calls the platform for fine-tuning, and improves the feedback results through the large language fine-tuning model. The fine-tuning module uses the weight merging model and lora weight file provided through training, and uses the weight merging model or lora weight file to compare the hatglm-6b and chatglm2-6b models to improve the summary ability of the large language model calling the platform knowledge base.
[0017] In the above-mentioned AI-based cigarette delivery intelligent customer service system, the search performance is improved by optimizing the lora weight fine-tuning model and combining it with the large language model fess search module.
[0018] In the above-mentioned AI-based intelligent customer service system for cigarette delivery, a deep neural network is designed, and deep learning, search technology and natural language processing technology are used to design the large language model calling platform to sort the relevance of texts based on keyword matching.
[0019] A second aspect of the present application provides an electronic device, including:
[0020] Processor; and
[0021] The memory stores executable codes thereon, and when the executable codes are executed by the processor, the processor is caused to execute the method as described above.
[0022] A third aspect of the present application provides a non-transitory machine-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of an electronic device, the processor is caused to execute the method as described above.
[0023] The technical solution provided by this application may include the following beneficial effects: This type of cigarette delivery intelligent customer service system based on artificial intelligence, through private deployment, imports cigarette delivery process data into a large language model knowledge base, conducts deep learning and training combined with retail customer problem type classification, and finally generates an intelligent customer service system for cigarette delivery. Utilizing the process automation characteristics of robots, repetitive manual labor is systematically automated, freeing users from complex manual operations, reducing data query, data retrieval, and statistical workload, thereby improving work efficiency. The automated processing, efficient response, and precise service of cigarette delivery business have significantly improved the service level and efficiency of the cigarette delivery industry.
[0024] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The above and other objects, features and advantages of the present application will become more apparent through a more detailed description of exemplary embodiments of the present application in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments of the present application.
[0026] Figure 1 It is a flow chart of an intelligent customer service system for cigarette delivery based on artificial intelligence shown in an embodiment of the present application;
[0027] Figure 2 It is a schematic diagram of the system architecture of the technical route of the cigarette delivery intelligent customer service system based on artificial intelligence shown in the embodiment of the present application;
[0028] Figure 3 It is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application. DETAILED DESCRIPTION
[0029] The preferred embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.
[0030] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0031] It should be understood that although the terms "first", "second", "third", etc. may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0032] The technical solution of the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0033] See also Figure 1, an AI-based intelligent customer service system for cigarette delivery, uses emerging AI technology and digital technology to build a large language model based on AI technology and deep learning, and studies the large language model to improve the timeliness and orderliness of retail customer information interaction feedback in cigarette delivery business. Specific research includes: model architecture design unit, knowledge base data support unit, model building and training unit, large language model calling platform, and enterprise WeChat terminal application development unit. Through the deployment, construction, tuning and application development of the Chinese large language model knowledge base, and access to the enterprise WeChat retail customer application terminal, information interaction and intelligent Q&A with cigarette retail customers can be achieved. Fast and accurate self-service Q&A of key business knowledge points in the execution of specific work tasks improves the efficiency and standardization of the execution of related work tasks, helps and improves the efficiency of cigarette delivery business, and at the same time enhances the overall competitiveness of Zhuhai Tobacco Logistics Distribution Center in the context of digital transformation.
[0034] The model architecture design unit uses the ChatGLM2-6b large language model for local private deployment. Specifically, the ChatGLM2-6b large language model is studied. This model is China's first open source, bilingual Chinese and English dialogue language model. It uses similar technology to ChatGPT, is optimized for Chinese question-answering and dialogue, and is combined with model quantization technology for local private deployment on consumer-grade graphics cards (only 6GB of video memory is required at the INT4 quantization level). After bilingual training of about 1T of identifiers in Chinese and English, supplemented by supervised fine-tuning, feedback self-help, human feedback reinforcement learning and other technologies, the ChatGLM-6B with 6.2 billion parameters is not as large as the 100 billion model, but it greatly reduces the threshold for user deployment and can already generate answers that are relatively in line with data retrieval needs.
[0035] The knowledge base data support unit submits training content and imports it into the knowledge base. In the specific implementation, for the large language model knowledge base, under the premise of complying with the industry confidentiality and information security requirements, the knowledge base management department needs to submit training content (such as retail customer instructions for cigarette delivery business), and after passing the review, the management department will designate a person to import it into the knowledge base. The knowledge base content is updated and maintained by the business department based on the information submitted by the demand department to ensure the timeliness of the knowledge base.
[0036] The model building and training unit models the knowledge base, preprocesses the data, including data deduplication and cleaning, and sets language recognition and filtering conditions. Specifically, the knowledge base is modeled and preprocessed, including data deduplication and cleaning, and certain standard language recognition and filtering conditions are set to improve the quality and effect of training data. According to the model architecture, data scale, training efficiency, etc., configure the most suitable model parameters (such as the number of layers, hidden layer size, number of attention heads, activation function, position encoding, etc.), and select the most suitable model training method (such as training from scratch, using pre-trained models for fine-tuning or adaptation, etc.), so that the data support function of the trained large language model calling platform can meet the subsequent fine-tuning and practical calling needs.
[0037] The large language model calling platform allows retail customers to query relevant information from the knowledge base through the enterprise WeChat terminal application, conduct all-round knowledge calls on relevant content, and synchronously train the large language model during the operation. Specifically, the knowledge base supports local offline vector libraries, local search engines, online search engines, etc., conducts all-round knowledge calls on relevant content, and conducts multi-level and professional synchronous training on the large language model during the operation, further improving the accuracy of the large language model calling data. In addition, the platform can also generate relevant keywords based on questions, and automatically obtain multiple answers for each keyword after interacting with the knowledge base.
[0038] The enterprise WeChat terminal application development unit uses mobile terminal development technology to connect to the enterprise WeChat interface developer platform. Based on the management system of tobacco retail customers, it integrates the large language model application package in the enterprise WeChat terminal. Customized development is carried out according to specific business needs, so that retail customers can access it more conveniently and quickly.
[0039] The technical routes adopted by the large language model calling platform are divided into Bert mode, GPT mode, hybrid mode and large language model (LLM) + knowledge retrieval. The hybrid mode is adopted, that is, the advantages of the Bert mode and the GPT mode are combined to improve the application effect of the large language model. In addition, the large language model (LLM) + knowledge retrieval method is used to make up for the lack of basis and illusion of answers in professional fields of general large language models.
[0040] See also Figure 1 and Figure 2, building the technical route of the large language model calling platform + enterprise WeChat mobile application scenario, including: mobile terminal, Web background, application service, data service, large language model, operating environment; the mobile terminal adopts enterprise WeChat + applet to access through the WeChat entrance; in the Web background, the front-end technology adopts vue3+element-plus+ts, and the back-end technology adopts .Net Core cross-platform technology. The .NET Core is an application development framework with cross-platform capabilities, and the platform is the operating environment Windows, Mac OSX, and Linux.
[0041] See also Figure 1 and Figure 2 The application services include data storage, audit logs, identity authentication, domain services, API gateways, authorization, domain events, and data access.
[0042] See also Figure 1 and Figure 2 , large language model calling platform, supporting knowledge base including local offline vector library, local search engine, online search engine, etc. Integrate multiple large language modules including chatGLM-6B\chatGLM2-6B, chatRWKV, Aquila-7B, InternLM, online API access openai api and chatGLM-130b api, etc. Support Auto script, by developing plug-in JavaScript scripts, add platform functions to achieve including but not limited to custom dialogue process, access external API, online switching LoRA model.
[0043] See also Figure 1 and Figure 2 The large language model calls the knowledge base in the platform to build. The principle of the knowledge base is that after the search, prompt information is generated and inserted into the dialogue, and the data of the knowledge base is known by the large language model calling platform; the rtst mode calculates semantics and matches in the local database; the fess mode (equivalent to the local search engine) and the bing mode both call the search engine to search for answers. The construction adopts the following modes: rtst mode, sentence_transformers+faiss for indexing, supports pre-built indexes and running builds; also includes bing mode, cn.bing search; bingsite mode, cn.bing site search; fess mode, locally deployed fess search, and keyword extraction.
[0044] See also Figure 1 and Figure 2The large language model calls the platform for fine-tuning, and improves the feedback results through the large language fine-tuning model. The fine-tuning module uses the weight merging model and lora weight file provided by training, and uses the weight merging model or lora weight file to compare the hatglm-6b and chatglm2-6b models to improve the summarization ability of the large language model calling platform knowledge base.
[0045] See also Figure 1 and Figure 2 , search performance, through lora weight fine-tuning model optimization and combined with large language model fess search module to improve search performance. It is worth mentioning that Fess is a powerful and easy-to-deploy enterprise search server. Fess can be quickly installed and run on any platform that can run Java Runtime Environment. Fess is based on OpenSearch / Elasticsearch search engine. At the same time, Fess provides an easy-to-use management GUI that is easy to configure on demand. Fess also includes fast search for documents on file systems or data stores (such as CSV or databases).
[0046] See also Figure 1 and Figure 2 , WeChat for Enterprise mobile application, the mobile terminal uses WeChat for Enterprise + applet to access through WeChat portal. The front-end technology uses vue3+element-plus+ts. The back-end technology uses .Net Core cross-platform technology, .NET Core, an application development framework (Application Framework) with cross-platform (Windows, Mac OSX, Linux) capabilities. Based on .Net platform technology, it can help us achieve fast and agile development. At the same time, the platform provides many mature components and third-party technologies, allowing developers to focus on business implementation. The .Net Core cross-platform can help applications easily migrate and deploy to other platforms, thereby realizing authentication, authorization, request verification, exception handling, DTO, logging, auditing, scheduled tasks, scheduling, multiple languages, application configuration management, etc.
[0047] See also Figure 1 and Figure 2 , design deep neural networks, use deep learning, search technology and NLP (natural language processing) technology, design intelligent customer service robots that can sort texts by relevance based on keyword matching. The breakthrough of deep learning algorithms has injected new capabilities into the original search technology and NLP technology. Computers can learn through neural network models and understand the intention of texts. It is possible to apply the latest AI technology to actual cigarette delivery customer service scenarios.
[0048] This kind of cigarette delivery intelligent customer service system based on artificial intelligence has an innovative service model. Based on artificial intelligence technology, it conducts application research on the intelligent customer service system for cigarette delivery retail customers. Unlike traditional customer service systems, traditional customer service can only provide standardized answers and cannot meet the personalized needs of each user. However, this intelligent customer service system can analyze the user's semantics and emotions through technologies such as deep learning and natural language processing, and provide more personalized answers and suggestions. Traditional cigarette delivery customer service often relies on manual operation, and there are problems such as slow response speed and low processing efficiency. This kind of cigarette delivery intelligent customer service system based on artificial intelligence has innovated the service model, realized 24-hour uninterrupted online service, and can respond to customer needs in real time. Secondly, this intelligent customer service system will be more intelligent and automated. Through machine learning and automation technology, it can automatically answer and handle common problems, reduce the need for manual intervention, and achieve the goals of reducing costs and increasing efficiency, and improving retail customer satisfaction. Specifically, it includes knowledge base management, intelligent learning, unknown problems, robot mode and other types, which can save labor costs and time costs in the process of cigarette distribution and retail customer after-sales problem handling; through deep learning, intelligent customer service can gradually meet the personalized consultation responses of retail customers, and the timeliness and timeliness of responses have been greatly improved. Integrate advanced artificial intelligence technologies, such as natural language processing, search technology and machine learning, into the customer service system in the field of cigarette distribution. The intelligent customer service system realizes the automated processing, efficient response and precise service of cigarette distribution business, thereby significantly improving the service level and efficiency of the cigarette distribution industry. This innovative model not only brings technological innovation to the cigarette distribution industry, but also provides useful reference and inspiration for other traditional industries, and promotes the application and development of artificial intelligence technology in a wider range of fields.
[0049] This AI-based cigarette delivery intelligent customer service system will add an intelligent customer service application terminal to the retail customer enterprise WeChat access portal. By optimizing the internal management process, AI-based cigarette delivery intelligent customer service will be launched, including knowledge base management, intelligent learning, unknown problems, manual transfer, robot mode and other types. By launching this system, the purpose of reducing costs and increasing efficiency can be achieved. In the process of cigarette delivery and retail customer after-sales problem handling, 1 hour / man-day can be saved.
[0050] Customer service is a solution to help the user experience go smoothly as much as possible when the user service experience is not perfect. It is a fallback solution after the problem occurs. The intelligent customer service system can enable most simple problems to be solved quickly by self-service, and complex problems have the opportunity to be solved efficiently by humans. In particular, an intelligent customer service system is provided for retail customers of cigarette delivery to help them solve most problems by themselves. For retail customers' cigarette delivery problems, the system gives priority to matching robot replies, completes the recommendation of questions, and users select questions to enter the answer supply mode. The robot calls the large language model to give a reply, which generally involves policy and process issues. The robot calls business data to reply, mainly delivery order issues. When the problem cannot meet the needs of retail customers, it can be transferred to a manual call to the customer to solve it. No consultation is provided outside the cigarette delivery business, and no irrelevant questions are answered.
[0051] This AI-based cigarette delivery intelligent customer service system imports cigarette delivery process data into a large language model knowledge base through private deployment, conducts deep learning and training combined with retail customer problem type classification, and finally generates an intelligent customer service system for cigarette delivery. By utilizing the process automation characteristics of robots, repetitive manual labor is systematically automated, freeing users from complex manual operations, reducing data query, data retrieval, and statistical workload, thereby improving work efficiency. The automated processing, efficient response, and precise service of cigarette delivery business have significantly improved the service level and efficiency of the cigarette delivery industry.
[0052] See also Figure 3 , the electronic device 1000 includes a memory 1010 and a processor 1020 .
[0053] The processor 1020 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0054] The memory 1010 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. Among them, ROM can store static data or instructions required by the processor 1020 or other modules of the computer. The permanent storage device may be a readable and writable storage device. The permanent storage device may be a non-volatile storage device that does not lose the stored instructions and data even after the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device. In some other embodiments, the permanent storage device may be a removable storage device (such as a floppy disk, optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as a dynamic random access memory. The system memory may store some or all instructions and data required by the processor at run time. In addition, the memory 1010 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 1010 may include a readable and / or writable removable storage device, such as a laser disc (CD), a read-only digital versatile disc (such as a DVD-ROM, a double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (such as an SD card, a mini SD card, a Micro-SD card, etc.), a magnetic floppy disk, etc. The computer-readable storage medium does not include carrier waves and transient electronic signals transmitted wirelessly or wired.
[0055] The memory 1010 stores executable codes, and when the executable codes are processed by the processor 1020 , the processor 1020 can execute part or all of the methods described above.
[0056] The scheme of the present application has been described in detail above with reference to the accompanying drawings. In the above embodiments, the description of each embodiment has its own emphasis. For the part that is not described in detail in a certain embodiment, refer to the relevant description of other embodiments. Those skilled in the art should also know that the actions and modules involved in the description are not necessarily required for the present application. In addition, it can be understood that the steps in the method of the embodiment of the present application can be adjusted in order, merged and deleted according to actual needs, and the modules in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.
[0057] In addition, the method according to the present application may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing some or all of the steps in the above method of the present application.
[0058] Alternatively, the present application can also be implemented as a non-temporary machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) on which executable code (or computer program, or computer instruction code) is stored. When the executable code (or computer program, or computer instruction code) is executed by a processor of an electronic device (or electronic device, server, etc.), the processor executes part or all of the steps of the above-mentioned method according to the present application.
[0059] Those skilled in the art will further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the application herein may be implemented as electronic hardware, computer software, or combinations of both.
[0060] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system and method according to multiple embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a part of a module, a program segment or a code, and the part of the module, the program segment or the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or the flow chart, and the combination of the square boxes in the block diagram and / or the flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0061] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. An artificial intelligence-based cigarette delivery intelligent customer service system, characterized in that: include: The model architecture design unit uses the ChatGLM2-6b large language model for local private deployment; Knowledge base data support unit, submits training content and imports it into the knowledge base; Model building and training unit: Model architecture of the knowledge base, pre-processing of data, including data deduplication and cleaning, and setting of language recognition and filtering conditions; Large language model calling platform: retail customers use the enterprise WeChat terminal application to call the knowledge base of the large language model calling platform to query relevant information, call all aspects of knowledge on the relevant content, and train the large language model synchronously during the operation; The enterprise WeChat terminal application development unit uses mobile development technology to connect to the enterprise WeChat interface developer platform. Based on the management system of tobacco retail customers, it integrates the large language model application package in the enterprise WeChat terminal.
2. The cigarette delivery intelligent customer service system based on artificial intelligence according to claim 1, characterized in that: The technical routes adopted by the large language model calling platform are divided into Bert mode, GPT mode, hybrid mode and large language model (LLM) + knowledge retrieval (Knowledge Retrieval) mode.
3. The cigarette delivery intelligent customer service system based on artificial intelligence according to claim 2 is characterized by: The technical route for building the large language model calling platform + enterprise WeChat mobile application scenario includes: mobile terminal, Web background, application service, data service, large language model, and operating environment; the mobile terminal adopts enterprise WeChat + applet to access through the WeChat entrance; in the Web background, the front-end technology adopts vue3+element-plus+ts, and the back-end technology adopts .NetCore cross-platform technology. The .NET Core is an application development framework with cross-platform capabilities, and the platform is the operating environment Windows, Mac OSX, and Linux.
4. The cigarette delivery intelligent customer service system based on artificial intelligence according to claim 3 is characterized by: The application services include data storage, audit logs, identity authentication, domain services, API gateway, authorization, domain events, and data access.
5. The cigarette delivery intelligent customer service system based on artificial intelligence according to claim 1, characterized in that: The large language model calls the knowledge base construction in the platform. The principle of the knowledge base is that after the search, prompt information is generated and inserted into the dialogue, and the data of the knowledge base is known to the large language model calling platform; the construction adopts the following modes: rtst mode, sentence_transformers+faiss for indexing, supports pre-built indexes and running builds; also includes bing mode, cn.bing search; bingsite mode, cn.bing site search; fess mode, locally deployed fess search, and keyword extraction.
6. The cigarette delivery intelligent customer service system based on artificial intelligence according to claim 1, characterized in that: The large language model calls the platform for fine-tuning, and improves the feedback results through the large language fine-tuning model. The fine-tuning module uses the weight merging model and lora weight file provided by training, and uses the weight merging model or lora weight file to compare the hatglm-6b and chatglm2-6b models to improve the summarization ability of the large language model calling platform knowledge base.
7. The cigarette delivery intelligent customer service system based on artificial intelligence according to claim 6 is characterized by: Search performance is improved by optimizing the lora weight fine-tuning model and combining it with the large language model fess search module.
8. The cigarette delivery intelligent customer service system based on artificial intelligence according to claim 1, characterized in that: Design a deep neural network, use deep learning, search technology and natural language processing technology, and design the large language model calling platform to sort the relevance of texts based on keyword matching.
9. An electronic device, characterized in that: include: processor; as well as A memory having executable codes stored thereon, which, when executed by the processor, causes the processor to execute the method according to any one of claims 1 to 10.
10. A non-transitory machine-readable storage medium having executable codes stored thereon, which, when executed by a processor of an electronic device, causes the processor to execute the method according to any one of claims 1 to 10.
