Information processing method and device and electronic equipment

Through the multi-modal large language model, multiple forms of user input information are received and processed in the intelligent e-commerce customer service system, the target interface is dispatched and responses are generated, which solves the problems of inaccurate user intention recognition and low service efficiency, and achieves high efficiency , Humanized customer service.

CN118690753APending Publication Date: 2024-09-24阿里巴巴(中国)网络技术有限公司
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410694273.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In scenarios such as customer service, pre-sales consultation, and after-sales service, intelligent e-commerce customer service systems have inaccurate understanding of user semantics, answer questions that are inappropriate, and have a weak ability to identify the intent of users' questions, resulting in low customer service efficiency.

Method used

A multi-modal large language model is used to receive the question information input by the target object, and by analyzing and scheduling the target interface, it obtains and generates reply information for the question, improving the user's intention understanding ability and automatic problem processing ability.

Benefits of technology

It improves the ability to understand user intentions, improves customer service efficiency, saves manpower and operating costs, and provides a high-quality, humanized service experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690753A
    Figure CN118690753A
Patent Text Reader

Abstract

The invention discloses an information processing method and device and electronic equipment. The method comprises the steps that question information input by a target object is received through a multi-mode large language model, and the expression form of the question information comprises at least one of text information, pictures, audios and videos; scheduling information of a target interface is determined based on the question information, an execution result of the target interface is obtained, the scheduling information of the target interface is used for scheduling the target interface, the target interface is used for obtaining reply information corresponding to the question information, and the execution result is used for representing whether reply is provided for the question information or not; and determining target reply information of the question information according to the question information, the scheduling information of the target interface and the execution result. The technical problem of relatively low customer service efficiency caused by relatively weak ability of a customer service system to identify the problem intention of a user in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence, and more specifically, to an information processing method, device and electronic device. Background Art

[0002] Intelligent e-commerce customer service systems have a wide range of application value in customer service, pre-sales consultation, after-sales service and other scenarios. At present, natural language processing, machine learning and other related technologies have been used in customer service systems, which can automatically handle user questions. However, in actual applications, there are usually inaccurate understanding of user semantics, irrelevant answers, and weak ability to identify the intention of user questions, resulting in relatively low customer service efficiency.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present application provide an information processing method, device and electronic device to at least solve the technical problem in the related art that the customer service system has a weak ability to identify the user's question intention, resulting in relatively low customer service efficiency.

[0005] According to one aspect of an embodiment of the present application, an information processing method is provided, including: receiving question information input by a target object through a multimodal large language model, wherein the expression form of the question information includes at least one of the following: text information, picture, audio, video; determining scheduling information of a target interface based on the question information, and obtaining an execution result of the target interface, wherein the scheduling information of the target interface is used to schedule the target interface, the target interface is used to obtain reply information corresponding to the question information, and the execution result is used to characterize whether a reply is provided for the question information; determining target reply information of the question information based on the question information, the scheduling information of the target interface, and the execution result.

[0006] Furthermore, determining the scheduling information of the target interface based on the problem information includes: analyzing the problem information to obtain first semantic information for characterizing the intention of the target object; determining the target interface from multiple interfaces based on the first semantic information; and determining the scheduling information of the target interface.

[0007] Furthermore, determining the scheduling information of the target interface includes: obtaining input parameter information corresponding to the target interface; determining the number of calls and calling logic corresponding to the target interface; and using the input parameter information, number of calls and calling logic corresponding to the target interface as the scheduling information of the target interface.

[0008] Furthermore, determining target reply information of the question information based on the question information, the scheduling information of the target interface and the execution result includes: generating prompt information based on the question information, the scheduling information of the target interface and the execution result, wherein the prompt information is used to guide the multimodal large language model to generate reply information conforming to a preset format; determining target reply information of the question information based on the prompt information.

[0009] Furthermore, determining target reply information for question information based on prompt information includes: performing semantic analysis on the prompt information to obtain second semantic information for characterizing information processing requirements; extracting target elements from the prompt information based on the second semantic information, and generating initial reply information based on the target elements and a preset format; and determining target reply information for the question information based on the initial reply information.

[0010] Furthermore, determining the target reply information of the question information based on the initial reply information includes: judging whether the initial reply information complies with preset rules to obtain a first judgment result; judging whether there is information irrelevant to the question information in the initial reply information to obtain a second judgment result; if the first judgment result indicates that the initial reply information complies with the preset rules, and the second judgment result indicates that there is no information irrelevant to the question information in the initial reply information, then the initial reply information is used as the target reply information of the question information.

[0011] Furthermore, if the expression form of the question information includes text information, after receiving the question information input by the target object through the multimodal large language model, the method also includes: judging whether the question information complies with the preset rules to obtain a third judgment result; if the third judgment result indicates that the question information complies with the preset rules, performing text correction processing on the question information to obtain corrected question information; rewriting the corrected question information to obtain rewritten question information; and determining whether to execute interface scheduling based on the rewritten question information and the preset knowledge base.

[0012] Furthermore, based on the rewritten question information and the preset knowledge base, determining whether to execute interface scheduling includes: matching the rewritten question information with the question-answer pairs in the preset knowledge base to obtain a matching result; if the matching result indicates a successful match, interface scheduling is not executed; if the matching result indicates a failed match, interface scheduling is executed.

[0013] Furthermore, the rewritten question information is matched with the question-answer pairs in a preset knowledge base to obtain a matching result, including: respectively vectorizing the rewritten question information and the question in the question-answer pair to obtain a first text vector corresponding to the rewritten question information and a second text vector corresponding to the question in the question-answer pair; calculating the similarity between the first text vector and the second text vector, and comparing the similarity with a preset threshold to obtain a comparison result; if the comparison result represents a similarity greater than or equal to the preset threshold, a successful match is taken as a matching result; if the comparison result represents a similarity less than the preset threshold, a failed match is taken as a matching result.

[0014] According to another aspect of an embodiment of the present application, an information processing method is also provided, including: obtaining question information input by a target object uploaded by a client, wherein the expression form of the question information includes at least one of the following: text information, picture, audio, and video; determining scheduling information of a target interface based on the question information through a multimodal large language model in a cloud server, and obtaining an execution result of the target interface, wherein the scheduling information of the target interface is used to schedule the target interface, the target interface is used to obtain reply information corresponding to the question information, and the execution result is used to characterize whether a reply is provided for the question information; determining target reply information of the question information based on the question information, the scheduling information of the target interface, and the execution result; and feeding back the target reply information of the question information to the client.

[0015] According to another aspect of an embodiment of the present application, an information processing device is also provided, including: a receiving unit, used to receive question information input by a target object through a multimodal large language model, wherein the expression form of the question information includes at least one of the following: text information, picture, audio, video; a first determination unit, used to determine the scheduling information of the target interface based on the question information, and obtain the execution result of the target interface, wherein the scheduling information of the target interface is used to schedule the target interface, the target interface is used to obtain reply information corresponding to the question information, and the execution result is used to characterize whether a reply is provided for the question information; a second determination unit, used to determine the target reply information of the question information based on the question information, the scheduling information of the target interface and the execution result.

[0016] Furthermore, the first determination unit includes: an analysis subunit, used to analyze the problem information to obtain first semantic information used to characterize the intention of the target object; a first determination subunit, used to determine the target interface from multiple interfaces based on the first semantic information; and a second determination subunit, used to determine the scheduling information of the target interface.

[0017] Furthermore, the second determination subunit includes: an acquisition module, used to obtain input parameter information corresponding to the target interface; a first determination module, used to determine the number of calls and call logic corresponding to the target interface; and a second determination module, used to use the input parameter information, number of calls and call logic corresponding to the target interface as scheduling information of the target interface.

[0018] Furthermore, the second determination unit includes: a generation subunit, used to generate prompt information based on the question information, the scheduling information of the target interface and the execution result, wherein the prompt information is used to guide the multimodal large language model to generate reply information that conforms to a preset format; a third determination subunit, used to determine the target reply information of the question information based on the prompt information.

[0019] Furthermore, the third determination subunit includes: an analysis module, used to perform semantic analysis on the prompt information to obtain second semantic information for characterizing information processing requirements; a generation module, used to extract target elements from the prompt information based on the second semantic information, and generate initial reply information based on the target elements and a preset format; a third determination module, used to determine target reply information for the question information based on the initial reply information.

[0020] Furthermore, the third determination module includes: a first judgment submodule, used to judge whether the initial reply information complies with the preset rules to obtain a first judgment result; a second judgment submodule, used to judge whether there is information in the initial reply information that is not related to the question information to obtain a second judgment result; a determination submodule, used to use the initial reply information as the target reply information for the question information if the first judgment result indicates that the initial reply information complies with the preset rules and the second judgment result indicates that there is no information in the initial reply information that is not related to the question information.

[0021] Furthermore, the information processing device also includes: a judgment unit, which is used to judge whether the question information complies with preset rules after receiving the question information input by the target object through the multimodal large language model if the expression form of the question information includes text information, and obtain a third judgment result; a first processing unit, which is used to perform text correction processing on the question information if the third judgment result indicates that the question information complies with the preset rules, and obtain corrected question information; a second processing unit, which is used to rewrite the corrected question information to obtain rewritten question information; and a third determination unit, which is used to determine whether to execute interface scheduling based on the rewritten question information and a preset knowledge base.

[0022] Furthermore, the third determination unit includes: a matching subunit, used to match the rewritten question information with the question and answer pairs in the preset knowledge base to obtain a matching result; a first processing subunit, used to not execute interface scheduling if the matching result indicates a successful match; and a second processing subunit, used to execute interface scheduling if the matching result indicates a failed match.

[0023] Furthermore, the matching subunit includes: a processing module, which is used to vectorize the rewritten question information and the question in the question and answer pair, respectively, to obtain a first text vector corresponding to the rewritten question information and a second text vector corresponding to the question in the question and answer pair; a calculation module, which is used to calculate the similarity between the first text vector and the second text vector, and compare the similarity with a preset threshold to obtain a comparison result; a fourth determination module, which is used to take a successful match as a matching result if the comparison result represents a similarity greater than or equal to a preset threshold; and a fifth determination module, which is used to take a failed match as a matching result if the comparison result represents a similarity less than a preset threshold.

[0024] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, comprising: a memory storing an executable program; and a processor for running the program, wherein any one of the above-mentioned information processing methods is executed when the program is running.

[0025] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the storage medium stores a program, wherein when the program is running, the device where the storage medium is located is controlled to execute any one of the above-mentioned information processing methods.

[0026] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program or instructions, and the computer program or instructions implement any one of the above information processing methods when executed by a processor.

[0027] In an embodiment of the present application, a multimodal large language model is used to receive question information input by a target object, wherein the expression form of the question information includes at least one of the following: text information, pictures, audio, and video; based on the question information, the scheduling information of the target interface is determined, and the execution result of the target interface is obtained, wherein the scheduling information of the target interface is used to schedule the target interface, the target interface is used to obtain the reply information corresponding to the question information, and the execution result is used to characterize whether a reply is provided for the question information; according to the question information, the scheduling information of the target interface, and the execution result, the target reply information of the question information is determined, and the multimodal large language model is used to process the multimodal question information, which can improve the ability to understand the user's intention. Combined with the interface calling capability of the multimodal large language model, the reply information can be obtained by calling the target interface, so that the target reply information can be determined based on the question information, the scheduling information of the target interface, and the execution result, thereby improving the automated problem processing capability, effectively saving labor costs, reducing operating costs, and achieving the purpose of improving customer experience, thereby achieving the technical effect of improving the ability to identify user problem intentions and improving customer service efficiency, thereby solving the technical problem in the related technology that the customer service system has a weak ability to identify user problem intentions, resulting in relatively low customer service efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0029] Figure 1 is a schematic diagram of a computer terminal provided according to Embodiment 1 of the present application;

[0030] Figure 2 is a flowchart of an information processing method provided according to Embodiment 1 of the present application;

[0031] Figure 3 It is a schematic diagram of a flow chart of information processing by an optional customer service system based on a multimodal large language model provided in Embodiment 1 of the present application;

[0032] Figure 4 is a flowchart of an information processing method provided according to Embodiment 2 of the present application;

[0033] Figure 5 is a schematic diagram of an information processing device provided according to Embodiment 3 of the present application;

[0034] Figure 6 It is a structural block diagram of an electronic device provided according to Embodiment 4 of the present application. DETAILED DESCRIPTION

[0035] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0036] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

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

[0038] Example 1

[0039] According to an embodiment of the present application, an information processing method is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0040] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 FIG. 1 shows a hardware structure block diagram of a computer terminal (or mobile device) for implementing an information processing method. Figure 1 As shown, the computer terminal (or mobile device) 10 may include a processor set 102 (the processor set 102 may include but is not limited to a processing device such as a microprocessor (Microcontroller Unit, referred to as MCU) or a programmable logic device (Field Programmable Gate Array, referred to as FPGA), and the processor set 102 may include a processor set, Figure 1 102a, 102b, ..., 102n are used to illustrate), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0041] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuits may be a single independent processing module, or may be integrated in whole or in part into any of the other components in the computer terminal 10 (or mobile device).

[0042] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the information processing method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, realizing the above-mentioned information processing method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0043] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0044] The display may be a touch screen type liquid crystal display that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).

[0045] Intelligent e-commerce customer service systems have extensive application value in customer service, pre-sales consultation, after-sales service and other scenarios. At present, natural language processing, machine learning and other related technologies have been used in customer service systems, which can automatically handle user problems. However, in actual applications, they usually face many problems: inaccurate understanding of user semantics, irrelevant answers; insufficient knowledge base richness and lack of knowledge; weak multi-round dialogue capabilities; lack of emotion and humanity in dialogue; weak support for multimodal questions, resulting in relatively low customer service efficiency.

[0046] In the above technical background, the present application provides Figure 2 The information processing method shown. Figure 2 1 is a flowchart of an information processing method provided according to Embodiment 1 of the present application. The method includes:

[0047] Step S201: receiving question information input by a target object through a multimodal large language model, wherein the question information is expressed in at least one of the following forms: text information, picture, audio, and video.

[0048] Optionally, embodiments of the present application can be applied to a customer service system. For example, the customer service system receives question information input by a user (i.e., a target object) through a multimodal large language model, wherein the multimodal large language model can be pre-trained based on training data. For example, a variety of different types of data (such as commodity multimodal data, e-commerce scenario dialogue data, general scenario dialogue data, interface call data, etc.) are collected as training data to train the multimodal large language model. By using e-commerce field data to train the multimodal large language model, the multimodal large language model has multimodal information processing capabilities, can support the input and output of multimodal information, and also has tool (such as interface) call capabilities and multi-round dialogue capabilities, and can understand user intentions more accurately.

[0049] For example, in the online customer service scenario of the customer service system, users enter their own questions, which can be in multiple forms such as "text", "text, picture", "text, audio", "text, video", etc., and the question information is received through the multimodal large language model.

[0050] Step S202, determine the scheduling information of the target interface based on the problem information, and obtain the execution result of the target interface, wherein the scheduling information of the target interface is used to schedule the target interface, the target interface is used to obtain reply information corresponding to the problem information, and the execution result is used to characterize whether a reply is provided for the problem information.

[0051] Optionally, after receiving the question information input by the user, the multimodal large language model can determine the scheduling information of the target interface based on the question information. For example, the multimodal large language model can determine the user's intention by understanding the semantics of the question information, and determine the target interface from multiple interfaces according to the user's intention, wherein the interface can be an application programming interface (Application Programming Interface, referred to as API) for building and integrating application software definitions and protocols, such as knowledge base recall API, calculator API, search API, calendar API, map API, etc., and then determine the scheduling information of the target interface (such as the number of calls, calling logic, etc.), and perform interface scheduling according to the scheduling information, so that the target interface can be processed to obtain the corresponding execution result.

[0052] Step S203, determining target response information of the question information according to the question information, the scheduling information of the target interface and the execution result.

[0053] Optionally, the question information, the scheduling information of the target interface and the execution results are organized, for example, integrated into a text description, and provided to the multimodal large language model to guide the multimodal large language model to generate reply information in a preset format to obtain target reply information.

[0054] In this solution, multimodal question information is processed through a multimodal large language model, which can improve the ability to understand user intentions. Combined with the interface calling capability of the multimodal large language model, reply information can be obtained by calling the target interface, so that the target reply information can be determined based on the question information, the scheduling information of the target interface and the execution result, thereby improving the automated problem handling capability, effectively saving labor costs, reducing operating costs, and achieving the purpose of improving customer experience, thereby achieving the technical effect of improving the ability to identify user question intentions and improving customer service efficiency, and thus solving the technical problem in related technologies that the customer service system has a weak ability to identify user question intentions, resulting in relatively low customer service efficiency.

[0055] In order to determine the scheduling information of the target interface, in the information processing method provided in Example 1 of the present application, determining the scheduling information of the target interface based on the problem information includes: analyzing the problem information to obtain first semantic information for characterizing the intention of the target object; determining the target interface from multiple interfaces based on the first semantic information; and determining the scheduling information of the target interface.

[0056] For example, the question information input by the user (in the form of text and pictures) is: Please help to book a flight ticket from city A to city B on a certain date in a certain year, month and month, and book a ticket for the scenic spot in the picture. The multimodal large language model can be used to analyze the question information to obtain the first semantic information used to characterize the user's intention (such as the user wants to book a flight ticket and a scenic spot ticket). For example, by performing text extraction and image feature extraction on the picture through the multimodal large language model, it can be known which scenic spot in the picture is. For example, if the picture contains a plaque at the gate of the scenic spot, text extraction can be performed; if the picture contains a building of the scenic spot, image feature extraction can be performed, and the specific scenic spot can be determined through similarity comparison. And based on the first semantic information, a target interface is determined from multiple interfaces. For example, based on the user's intention to book air tickets and attraction tickets, a calendar API, map API, search API, calculator API, etc. can be determined as target interfaces. For example, the time information of "a certain year, a certain month, and a certain day" is processed through the calendar API, and the location information such as "city A, city B, attraction" is processed through the map API. The attraction in the map is searched through the search API to determine the detailed information of the attraction. The amount is calculated through the calculator API to determine the amount information required for booking air tickets and attraction tickets, and then the scheduling information of the target interface is determined, so as to call the corresponding API interface to obtain the corresponding execution result, such as successful purchase or failed purchase.

[0057] It should be noted that by analyzing multimodal question information through a multimodal large language model, the ability to understand user intentions is improved, thereby enabling accurate determination of the target interface.

[0058] In order to determine the scheduling information of the target interface, in the information processing method provided in Example 1 of the present application, determining the scheduling information of the target interface includes: obtaining input parameter information corresponding to the target interface; determining the number of calls and calling logic corresponding to the target interface; and using the input parameter information, number of calls and calling logic corresponding to the target interface as the scheduling information of the target interface.

[0059] Optionally, after determining the target interface, by obtaining the input parameter information corresponding to the target interface and determining the number of calls and call logic corresponding to the target interface, the scheduling information of the target interface can be determined based on the input parameter information, number of calls and call logic corresponding to the target interface, that is, the input parameter information, number of calls and call logic corresponding to the target interface are used as the scheduling information of the target interface. For example, the determined target interfaces are calendar API, map API, search API, calculator API, etc., and the input parameters corresponding to these APIs are obtained respectively. According to the user's intention, the number of calls and call logic corresponding to these APIs (such as the order of calls, etc.) can be determined, thereby obtaining the scheduling information of the target interface.

[0060] It should be noted that by determining the scheduling information of the target interface through the multimodal large language model and combining the interface calling capability of the multimodal large language model, it is possible to obtain reply information by calling the target interface, thereby improving the automated problem handling capability and reducing operating costs.

[0061] In order to determine the target reply information, in the information processing method provided in Example 1 of the present application, the target reply information of the question information is determined based on the question information, the scheduling information of the target interface and the execution result, including: generating prompt information based on the question information, the scheduling information of the target interface and the execution result, wherein the prompt information is used to guide the multimodal large language model to generate reply information that conforms to a preset format; determining the target reply information of the question information based on the prompt information.

[0062] Optionally, in the process of determining the target reply information of the question information based on the question information, the scheduling information of the target interface and the execution result, prompt information is generated based on the question information, the scheduling information of the target interface and the execution result. For example, after calling the corresponding API interface to obtain the corresponding execution result, the user's original question information, the scheduling information of the target interface and the execution result are integrated into a prompt (providing input to the model to guide it to generate specific output text or instructions, i.e., prompt information), and the prompt is input into the multimodal large language model for reasoning to obtain the target reply information. That is, the target reply information of the question information can be determined based on the prompt information.

[0063] It should be noted that by integrating the problem information, the scheduling information of the target interface and the execution results, the target reply information can be accurately determined, which can enhance the multi-round dialogue capability of the customer service system, improve the automated problem handling capability and save labor costs.

[0064] In order to determine the target reply information, in the information processing method provided in Example 1 of the present application, determining the target reply information of the question information based on the prompt information includes: performing semantic analysis on the prompt information to obtain second semantic information for characterizing the information processing requirements; extracting the target element from the prompt information based on the second semantic information, and generating initial reply information based on the target element and a preset format; and determining the target reply information of the question information based on the initial reply information.

[0065] Optionally, in the process of determining target reply information for the question information based on the prompt information, second semantic information for characterizing the information processing needs can be obtained by performing semantic analysis on the prompt information (for example, formatting the text accordingly according to certain format requirements), and then the required target elements (such as text and pictures required to generate the reply information) can be extracted from the prompt information based on the second semantic information, and initial reply information can be generated based on the target elements and the preset format, and the target reply information for the question information can be determined based on the initial reply information, for example, the initial reply information can be verified accordingly, and the reply information that passes the verification can be used as the target reply information.

[0066] It should be noted that by performing semantic analysis on prompt information through a multimodal large language model, it is possible to accurately determine the target reply information, improve the automated problem handling capabilities, effectively save labor costs, and avoid the time waste caused by manual customer service queuing, thereby improving customer service efficiency and enhancing customer experience.

[0067] In order to determine the target reply information, in the information processing method provided in Example 1 of the present application, determining the target reply information of the question information based on the initial reply information includes: judging whether the initial reply information complies with the preset rules to obtain a first judgment result; judging whether there is information irrelevant to the question information in the initial reply information to obtain a second judgment result; if the first judgment result indicates that the initial reply information complies with the preset rules, and the second judgment result indicates that there is no information irrelevant to the question information in the initial reply information, then the initial reply information is used as the target reply information of the question information.

[0068] Optionally, after obtaining the initial reply information, the compliance of the initial reply information can be judged by keyword filtering or text classification models, that is, whether the initial reply information complies with preset rules to obtain a first judgment result. The initial reply information can also be judged by a pre-trained hallucination binary classification model to determine whether it is a hallucination (that is, whether there is information irrelevant to the question information), that is, whether there is information irrelevant to the question information in the initial reply information to obtain a second judgment result.

[0069] Optionally, if the first judgment result indicates that the initial reply information complies with the preset rules, and the second judgment result indicates that there is no information irrelevant to the question information in the initial reply information, the initial reply information is used as the target reply information of the question information. For example, if the initial reply information complies with the rules and there is no illusion, the initial reply information is returned to the user as the target reply information of the question information. If the initial reply information does not comply with the rules or there is an illusion, it can be transferred to the manual customer service for reply.

[0070] It should be noted that by judging whether the initial reply information is compliant, the humanization capabilities of the customer service system can be improved, and the probability of the appearance of strong words in the reply information can be effectively reduced, thereby improving customer experience and satisfaction.

[0071] In order to improve the ability to understand user intentions, in the information processing method provided in Example 1 of the present application, if the expression form of the question information includes text information, after receiving the question information input by the target object through the multimodal large language model, it is judged whether the question information complies with the preset rules to obtain a third judgment result; if the third judgment result indicates that the question information complies with the preset rules, the question information is text-corrected to obtain the corrected question information; the corrected question information is rewritten to obtain the rewritten question information; and based on the rewritten question information and the preset knowledge base, it is determined whether to execute interface scheduling.

[0072] Optionally, a product knowledge base is established for multiple products, including product information, pictures, audio, video, reviews, historical questions and answers, activity information, etc. Among them, for multimodal data such as pictures, audio, and video, the corresponding semantic texts need to be paired and stored; at the same time, a user knowledge base is established for multiple users, including logistics information, user information, etc.

[0073] Optionally, after receiving the question information input by the user through the multimodal large language model, pre-processing can be performed, that is, judging whether the question information complies with preset rules to obtain a third judgment result. For example, keyword filtering or text classification models can be used to judge whether the input text information is compliant; an image classification model can be used to judge whether the input image is compliant; an audio classification model can be used to judge whether the input audio is compliant; and a video classification model can be used to judge whether the input video is compliant.

[0074] Optionally, if the third judgment result indicates that the question information does not conform to the preset rules, then the reply information for prompting the user to re-enter is output, that is, for non-compliant input, the user is prompted to re-enter; if the third judgment result indicates that the question information conforms to the preset rules, the question information is text-corrected to obtain the corrected question information, for example, typos are corrected in the text input by the user, the problem is corrected, and then the corrected question information is rewritten (such as keyword filling, etc.) to obtain the rewritten question information. For example, the multimodal large language model can determine whether the question can be rewritten based on the context information of the conversation, and clarify the questions that cannot be rewritten, that is, output the reply information for prompting the user to re-enter.

[0075] Optionally, based on the rewritten question information and the preset knowledge base (such as the aforementioned commodity knowledge base and user knowledge base), it can be determined whether to perform interface scheduling. For example, if a historical question-answer pair can be matched from the preset knowledge base, the answer in the historical question-answer pair can be used as the reply information, that is, the current problem can be solved by the knowledge in the preset knowledge base, and there is no need to perform interface scheduling; if a historical question-answer pair cannot be matched from the preset knowledge base, it is necessary to perform interface scheduling to solve the current problem.

[0076] It should be noted that by constructing a product knowledge base and a user knowledge base, the knowledge in the knowledge base is enriched, providing a basis for improving the ability to understand user intentions. Through pre-processing, text correction and rewriting of question information, the multimodal large language model can better understand user intentions and effectively improve the accuracy of understanding user intentions.

[0077] In order to determine whether to execute interface scheduling, in the information processing method provided in Example 1 of the present application, determining whether to execute interface scheduling is based on the rewritten question information and the preset knowledge base, including: matching the rewritten question information with the question and answer pairs in the preset knowledge base to obtain a matching result; if the matching result indicates a successful match, interface scheduling is not executed; if the matching result indicates a failed match, interface scheduling is executed.

[0078] Optionally, in the process of determining whether to execute interface scheduling based on the rewritten question information and the preset knowledge base, a matching result can be obtained by matching the rewritten question information with the question and answer pairs in the preset knowledge base. For example, a similarity match is performed between the rewritten question information and the question in the question and answer pair. If the matching result indicates a successful match, interface scheduling is not executed. If the matching result indicates a failed match, interface scheduling is executed.

[0079] In order to determine the matching result, in the information processing method provided in Example 1 of the present application, the rewritten question information is matched with the question and answer pairs in the preset knowledge base, and the matching result is obtained, including: vectorizing the rewritten question information and the question in the question and answer pair respectively to obtain a first text vector corresponding to the rewritten question information and a second text vector corresponding to the question in the question and answer pair; calculating the similarity between the first text vector and the second text vector, and comparing the similarity with a preset threshold to obtain a comparison result; if the comparison result represents that the similarity is greater than or equal to the preset threshold, then the match success is regarded as the matching result; if the comparison result represents that the similarity is less than the preset threshold, then the match failure is regarded as the matching result.

[0080] Optionally, in order to improve the matching speed, the question information can be matched with the questions in the historical question and answer pairs using complete characters. If a match is found (i.e. the question information is exactly the same as the question in the question pair), the corresponding answer is returned as the reply information. If no match is found, vector matching is performed.

[0081] Optionally, the rewritten question information and the questions in the question-answer pair are vectorized respectively. For example, the embedding vector of the input text is obtained through a general text representation model to obtain a first text vector corresponding to the rewritten question information and a second text vector corresponding to the question in the question-answer pair. Similarity matching is then performed, i.e., the similarity between the first text vector and the second text vector is calculated (such as the cosine similarity of the vectors), and the similarity is compared with a preset threshold to obtain a comparison result. If the comparison result indicates that the similarity is greater than or equal to the preset threshold, a successful match is taken as a matching result, i.e., historical questions with a high similarity exceeding the specified threshold are found, and the answers corresponding to the historical questions can be returned to the user. If the comparison result indicates that the similarity is less than the preset threshold, a failed match is taken as a matching result, i.e., the similarity between all historical questions and user questions does not exceed the specified threshold, and the reply information can be determined through an interface call.

[0082] It should be noted that since the knowledge base constructed is a multimodal knowledge base, the answers returned to users include not only text, but also pictures, audio, video and any combination thereof. Through knowledge base matching, user questions can be preliminarily processed, thereby improving customer service efficiency.

[0083] In an optional embodiment, it is possible to use Figure 3 The schematic diagram shown is used to realize customer service. Figure 3 is a flow chart of information processing by a customer service system based on a multimodal large language model according to an optional embodiment of the present application, such as Figure 3As shown, a product knowledge base is established for multiple products, including product information, pictures, audio, video, evaluation, historical questions and answers, activity information, etc. Among them, for multimodal data such as pictures, audio, and video, the corresponding semantic text needs to be paired and stored; at the same time, a user knowledge base is established for multiple users, including logistics information, user information, etc. In order to train a multimodal large language model, training data is collected. For example, a variety of different types of data (such as product multimodal data, e-commerce scenario dialogue data, general scenario dialogue data, interface call data, etc.) are collected as training data to train the multimodal large language model so that it can support the input and output of multimodal information.

[0084] In the online customer service scenario, users input their own questions, which can be in various forms such as "text", "text, picture", "text, audio", "text, video", etc. The multimodal large language model receives the user's questions and performs pre-processing. For example, keyword filtering or text classification models can be used to judge whether the input text information is compliant; picture classification models can be used to judge whether the input picture is compliant; audio classification models can be used to judge whether the input audio is compliant; and video classification models can be used to judge whether the input video is compliant. For non-compliant input, the output is a reply message to prompt the user to re-enter.

[0085] For compliant input, the text entered by the user is corrected for problematic words (such as typos), the problem is corrected, and then the question is rewritten (such as keyword filling, etc.) or clarified. For example, the multimodal large language model can determine whether the question can be rewritten based on the contextual information of the conversation. For questions that cannot be rewritten, clarification is performed, that is, reply information is output to prompt the user to re-enter.

[0086] Optionally, the rewritten question is matched with the knowledge base. In order to improve the matching speed, the user question can be matched with the question in the historical question-answer pair by using complete characters. If a match is found (i.e., the user question is exactly the same as the question in the question pair), the corresponding answer is returned. If a match is not found, vector matching is performed to vectorize the rewritten question and the question in the question-answer pair respectively. For example, the embedding vector of the input text is obtained through a general text representation model to obtain the first text vector corresponding to the rewritten question and the second text vector corresponding to the question in the question-answer pair. Then similarity matching is performed, i.e., the similarity between the first text vector and the second text vector is calculated (such as the cosine similarity of the vectors), and the similarity is compared with a specified threshold. If a historical question with a high similarity that exceeds the specified threshold is matched, the answer corresponding to the historical question can be returned to the user; if a match is not found, i.e., the similarity between all historical questions and the user question does not exceed the specified threshold, the answer can be determined through agent scheduling (i.e., interface call).

[0087] Optionally, a multimodal large language model is used as an intelligent agent to determine, based on the user's input, which one or more of the knowledge base recall API, calculator API, search API, calendar API, and map API to call, and output the input parameters of the corresponding API interface, the number of API calls, the calling logic, etc., and then based on the output results of the intelligent agent, the API interface is called to obtain the corresponding results.

[0088] Optionally, the user's original question, the output of the intelligent agent, and the result of calling the API interface are integrated into a prompt and input into a multimodal large language model for reasoning, and the output results of the multimodal large language model are post-processed. For example, keyword filtering or text classification models can be used to judge whether the output text is compliant, and a pre-trained hallucination binary classification model can be used to judge whether the output text has hallucinations. If the output is compliant and there is no hallucination, the answer is returned to the user. If it is not compliant or there is a hallucination, it can be transferred to manual customer service for a reply.

[0089] Through the customer service system based on a multimodal large language model, we have effectively solved problems such as low accuracy in identifying user question intentions, insufficient knowledge sources, lack of humanization in answers, and weak multimodal capabilities, providing users with high-quality, humanized, and personalized service experiences, improving customer service efficiency, and reducing operating costs.

[0090] In an embodiment of the present application, a multimodal large language model is used to receive question information input by a target object, wherein the expression form of the question information includes at least one of the following: text information, pictures, audio, and video; based on the question information, the scheduling information of the target interface is determined, and the execution result of the target interface is obtained, wherein the scheduling information of the target interface is used to schedule the target interface, the target interface is used to obtain the reply information corresponding to the question information, and the execution result is used to characterize whether a reply is provided for the question information; according to the question information, the scheduling information of the target interface, and the execution result, the target reply information of the question information is determined, and the multimodal large language model is used to process the multimodal question information, which can improve the ability to understand the user's intention. Combined with the interface calling capability of the multimodal large language model, the reply information can be obtained by calling the target interface, so that the target reply information can be determined based on the question information, the scheduling information of the target interface, and the execution result, thereby improving the automated problem processing capability, effectively saving labor costs, reducing operating costs, and achieving the purpose of improving customer experience, thereby achieving the technical effect of improving the ability to identify user problem intentions and improving customer service efficiency, thereby solving the technical problem in the related technology that the customer service system has a weak ability to identify user problem intentions, resulting in relatively low customer service efficiency.

[0091] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

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

[0093] Example 2

[0094] According to an embodiment of the present application, an information processing method is also provided, such as Figure 4 As shown, the method includes:

[0095] Step S401, obtaining question information input by a target object uploaded by a client, wherein the question information may be expressed in at least one of the following forms: text information, picture, audio, and video;

[0096] Step S402: determining the scheduling information of the target interface based on the question information through the multimodal large language model in the cloud server, and obtaining the execution result of the target interface, wherein the scheduling information of the target interface is used to schedule the target interface, the target interface is used to obtain the reply information corresponding to the question information, and the execution result is used to characterize whether a reply is provided for the question information; determining the target reply information of the question information based on the question information, the scheduling information of the target interface and the execution result;

[0097] Step S403: Feedback target answer information of the question information to the client.

[0098] Through the above scheme, multimodal question information is processed by a multimodal large language model, which can improve the ability to understand user intentions. Combined with the interface calling capability of the multimodal large language model, reply information can be obtained by calling the target interface, so that the target reply information can be determined based on the question information, the scheduling information of the target interface and the execution result, thereby improving the automated problem handling capability, effectively saving labor costs, reducing operating costs, and achieving the purpose of improving customer experience, thereby achieving the technical effect of improving the ability to identify user problem intentions and improving customer service efficiency, and thus solving the technical problem in the related technology that the customer service system has a weak ability to identify user problem intentions, resulting in relatively low customer service efficiency.

[0099] In the cloud server, the specific method for information processing is the same as that in the first embodiment, and will not be repeated here.

[0100] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

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

[0102] Example 3

[0103] According to an embodiment of the present application, an information processing device for implementing the above information processing method is also provided. Figure 5 As shown, the device includes: a receiving unit 501, a first determining unit 502, and a second determining unit 503.

[0104] The receiving unit 501 is used to receive question information input by the target object through the multimodal large language model, wherein the expression form of the question information includes at least one of the following: text information, picture, audio, and video;

[0105] The first determining unit 502 is used to determine the scheduling information of the target interface based on the problem information, and obtain the execution result of the target interface, wherein the scheduling information of the target interface is used to schedule the target interface, the target interface is used to obtain the reply information corresponding to the problem information, and the execution result is used to indicate whether a reply is provided for the problem information;

[0106] The second determining unit 503 is used to determine target answer information of the question information according to the question information, the scheduling information of the target interface and the execution result.

[0107] In the information processing device provided in Example 3 of the present application, the receiving unit 501 receives question information input by the target object through a multimodal large language model, wherein the expression form of the question information includes at least one of the following: text information, picture, audio, and video; the first determination unit 502 determines the scheduling information of the target interface based on the question information, and obtains the execution result of the target interface, wherein the scheduling information of the target interface is used to schedule the target interface, and the target interface is used to obtain reply information corresponding to the question information, and the execution result is used to characterize whether a reply is provided for the question information; the second determination unit 503 determines the target reply information of the question information based on the question information, the scheduling information of the target interface, and the execution result. In this solution, multimodal question information is processed through a multimodal large language model, which can improve the ability to understand user intentions. Combined with the interface calling capability of the multimodal large language model, reply information can be obtained by calling the target interface, so that the target reply information can be determined based on the question information, the scheduling information of the target interface and the execution result, thereby improving the automated problem handling capability, effectively saving labor costs, reducing operating costs, and achieving the purpose of improving customer experience, thereby achieving the technical effect of improving the ability to identify user question intentions and improving customer service efficiency, and thus solving the technical problem in related technologies that the customer service system has a weak ability to identify user question intentions, resulting in relatively low customer service efficiency.

[0108] Optionally, in the information processing device provided in Example 3 of the present application, the first determination unit 502 includes: an analysis subunit, used to analyze the problem information to obtain first semantic information used to characterize the intention of the target object; a first determination subunit, used to determine the target interface from multiple interfaces based on the first semantic information; and a second determination subunit, used to determine the scheduling information of the target interface.

[0109] Optionally, in the information processing device provided in Example 3 of the present application, the second determination sub-unit includes: an acquisition module, used to acquire input parameter information corresponding to the target interface; a first determination module, used to determine the number of calls and call logic corresponding to the target interface; and a second determination module, used to use the input parameter information, number of calls and call logic corresponding to the target interface as scheduling information of the target interface.

[0110] Optionally, in the information processing device provided in Example 3 of the present application, the second determination unit 503 includes: a generation subunit, used to generate prompt information based on the question information, the scheduling information of the target interface, and the execution result, wherein the prompt information is used to guide the multimodal large language model to generate reply information that conforms to a preset format; and a third determination subunit, used to determine the target reply information of the question information based on the prompt information.

[0111] Optionally, in the information processing device provided in Example 3 of the present application, the third determination subunit includes: an analysis module, used to perform semantic analysis on the prompt information to obtain second semantic information for characterizing information processing requirements; a generation module, used to extract target elements from the prompt information based on the second semantic information, and generate initial reply information based on the target elements and a preset format; a third determination module, used to determine target reply information for the question information based on the initial reply information.

[0112] Optionally, in the information processing device provided in Example 3 of the present application, the third determination module includes: a first judgment submodule, used to judge whether the initial reply information complies with preset rules to obtain a first judgment result; a second judgment submodule, used to judge whether there is information in the initial reply information that is not related to the question information to obtain a second judgment result; a determination submodule, used to use the initial reply information as the target reply information for the question information if the first judgment result indicates that the initial reply information complies with the preset rules and the second judgment result indicates that there is no information in the initial reply information that is not related to the question information.

[0113] Optionally, in the information processing device provided in Example 3 of the present application, the information processing device also includes: a judgment unit, which is used to judge whether the question information complies with preset rules after receiving the question information input by the target object through the multimodal large language model if the expression form of the question information includes text information, and obtain a third judgment result; a first processing unit, which is used to perform text correction processing on the question information if the third judgment result indicates that the question information complies with the preset rules, and obtain corrected question information; a second processing unit, which is used to rewrite the corrected question information to obtain rewritten question information; and a third determination unit, which is used to determine whether to execute interface scheduling based on the rewritten question information and a preset knowledge base.

[0114] Optionally, in the information processing device provided in Example 3 of the present application, the third determination unit includes: a matching subunit, used to match the rewritten question information with the question and answer pairs in a preset knowledge base to obtain a matching result; a first processing subunit, used to not execute interface scheduling if the matching result indicates a successful match; and a second processing subunit, used to execute interface scheduling if the matching result indicates a failed match.

[0115] Optionally, in the information processing device provided in Example 3 of the present application, the matching subunit includes: a processing module, used to vectorize the rewritten question information and the question in the question and answer pair, respectively, to obtain a first text vector corresponding to the rewritten question information and a second text vector corresponding to the question in the question and answer pair; a calculation module, used to calculate the similarity between the first text vector and the second text vector, and compare the similarity with a preset threshold to obtain a comparison result; a fourth determination module, used to take a successful match as a matching result if the comparison result represents a similarity greater than or equal to a preset threshold; a fifth determination module, used to take a failed match as a matching result if the comparison result represents a similarity less than a preset threshold.

[0116] It should be noted that the above-mentioned receiving unit 501, first determining unit 502, and second determining unit 503 correspond to steps S201 to S203 in Example 1, and the above-mentioned units and corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned modules as part of the device can be run in the computer terminal 10 provided in Example 1.

[0117] It should be noted that the preferred implementation scheme involved in the above embodiments of the present application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.

[0118] Example 4

[0119] The embodiment of the present application may provide an electronic device, which may be any electronic device in a group of electronic devices. Optionally, in this embodiment, the electronic device may also be replaced by a terminal device such as a mobile terminal.

[0120] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.

[0121] In this embodiment, the above-mentioned electronic device can execute the program code of the following steps in the information processing method: receiving question information input by the target object through a multimodal large language model, wherein the expression form of the question information includes at least one of the following: text information, picture, audio, video; determining the scheduling information of the target interface based on the question information, and obtaining the execution result of the target interface, wherein the scheduling information of the target interface is used to schedule the target interface, the target interface is used to obtain reply information corresponding to the question information, and the execution result is used to characterize whether a reply is provided for the question information; determining the target reply information of the question information based on the question information, the scheduling information of the target interface and the execution result.

[0122] The electronic device can also execute the program code of the following steps in the information processing method: analyzing the problem information to obtain first semantic information for characterizing the intention of the target object; determining the target interface from multiple interfaces based on the first semantic information; and determining the scheduling information of the target interface.

[0123] The above-mentioned electronic device can also execute the program code of the following steps in the information processing method: obtaining the input parameter information corresponding to the target interface; determining the number of calls and calling logic corresponding to the target interface; and using the input parameter information, number of calls and calling logic corresponding to the target interface as the scheduling information of the target interface.

[0124] The above-mentioned electronic device can also execute the program code of the following steps in the information processing method: generate prompt information based on the question information, the scheduling information of the target interface and the execution result, wherein the prompt information is used to guide the multimodal large language model to generate reply information that conforms to a preset format; determine the target reply information of the question information based on the prompt information.

[0125] The above-mentioned electronic device can also execute the program code of the following steps in the information processing method: perform semantic analysis on the prompt information to obtain second semantic information for characterizing the information processing needs; extract target elements from the prompt information based on the second semantic information, and generate initial reply information based on the target elements and a preset format; determine the target reply information of the question information based on the initial reply information.

[0126] The above-mentioned electronic device can also execute the program code of the following steps in the information processing method: determine whether the initial reply information complies with the preset rules to obtain a first judgment result; determine whether there is information irrelevant to the question information in the initial reply information to obtain a second judgment result; if the first judgment result indicates that the initial reply information complies with the preset rules, and the second judgment result indicates that there is no information irrelevant to the question information in the initial reply information, then the initial reply information is used as the target reply information for the question information.

[0127] The electronic device can also execute the program code of the following steps in the information processing method: if the expression form of the question information includes text information, after receiving the question information input by the target object through the multimodal large language model, judge whether the question information conforms to the preset rules to obtain a third judgment result; if the third judgment result indicates that the question information conforms to the preset rules, perform text correction processing on the question information to obtain corrected question information; rewrite the corrected question information to obtain rewritten question information; determine whether to execute interface scheduling based on the rewritten question information and the preset knowledge base.

[0128] The above-mentioned electronic device can also execute the program code of the following steps in the information processing method: matching the rewritten question information with the question and answer pairs in the preset knowledge base to obtain a matching result; if the matching result indicates a successful match, interface scheduling is not performed; if the matching result indicates a failed match, interface scheduling is performed.

[0129] The electronic device can also execute the program code of the following steps in the information processing method: vectorizing the rewritten question information and the question in the question-answer pair respectively to obtain a first text vector corresponding to the rewritten question information and a second text vector corresponding to the question in the question-answer pair; calculating the similarity between the first text vector and the second text vector, and comparing the similarity with a preset threshold to obtain a comparison result; if the comparison result indicates that the similarity is greater than or equal to the preset threshold, a successful match is taken as a matching result; if the comparison result indicates that the similarity is less than the preset threshold, a failed match is taken as a matching result.

[0130] Optionally, Figure 6 is a structural block diagram of an electronic device according to an embodiment of the present application. Figure 6 As shown, the electronic device 60 may include: one or more ( Figure 6 Only one is shown in the figure) processor 602 and memory 604. The electronic device 60 may also include a storage controller, through which the memory 604 is controlled and managed; the electronic device 60 may also include a peripheral interface, through which a radio frequency module, an audio module, and a display screen are connected.

[0131] Among them, the memory can be used to store software programs and modules, such as program instructions / modules corresponding to the information processing method and device in the embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned information processing method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0132] The processor can call the information and application stored in the memory through the transmission device to execute the following steps: receive question information input by the target object through a multimodal large language model, wherein the expression form of the question information includes at least one of the following: text information, picture, audio, video; determine the scheduling information of the target interface based on the question information, and obtain the execution result of the target interface, wherein the scheduling information of the target interface is used to schedule the target interface, the target interface is used to obtain reply information corresponding to the question information, and the execution result is used to characterize whether a reply is provided for the question information; determine the target reply information of the question information based on the question information, the scheduling information of the target interface and the execution result.

[0133] Optionally, the processor may also execute program code of the following steps: analyzing the question information to obtain first semantic information for characterizing the intention of the target object; determining a target interface from a plurality of interfaces based on the first semantic information; and determining scheduling information of the target interface.

[0134] Optionally, the processor may also execute the following program code steps: obtaining input parameter information corresponding to the target interface; determining the number of calls and call logic corresponding to the target interface; and using the input parameter information, number of calls and call logic corresponding to the target interface as scheduling information of the target interface.

[0135] Optionally, the processor may also execute program code of the following steps: generating prompt information based on question information, scheduling information of the target interface, and execution results, wherein the prompt information is used to guide the multimodal large language model to generate reply information conforming to a preset format; and determining target reply information for the question information based on the prompt information.

[0136] Optionally, the processor may also execute program code of the following steps: performing semantic analysis on the prompt information to obtain second semantic information for characterizing information processing requirements; extracting target elements from the prompt information based on the second semantic information, and generating initial reply information based on the target elements and a preset format; and determining target reply information for the question information based on the initial reply information.

[0137] Optionally, the processor may also execute the following program code steps: determining whether the initial reply information complies with preset rules to obtain a first judgment result; determining whether there is information in the initial reply information that is not related to the question information to obtain a second judgment result; if the first judgment result indicates that the initial reply information complies with preset rules, and the second judgment result indicates that there is no information in the initial reply information that is not related to the question information, then the initial reply information is used as the target reply information for the question information.

[0138] Optionally, the processor may also execute the following steps of program code: if the expression form of the question information includes text information, after receiving the question information input by the target object through the multimodal large language model, determine whether the question information complies with the preset rules to obtain a third judgment result; if the third judgment result indicates that the question information complies with the preset rules, perform text correction processing on the question information to obtain corrected question information; rewrite the corrected question information to obtain rewritten question information; and determine whether to execute interface scheduling based on the rewritten question information and the preset knowledge base.

[0139] Optionally, the processor may also execute the following program code: matching the rewritten question information with the question-answer pairs in the preset knowledge base to obtain a matching result; if the matching result indicates a successful match, interface scheduling is not performed; if the matching result indicates a failed match, interface scheduling is performed.

[0140] Optionally, the processor may also execute the program code of the following steps: vectorizing the rewritten question information and the question in the question-answer pair respectively to obtain a first text vector corresponding to the rewritten question information and a second text vector corresponding to the question in the question-answer pair; calculating the similarity between the first text vector and the second text vector, and comparing the similarity with a preset threshold to obtain a comparison result; if the comparison result indicates that the similarity is greater than or equal to the preset threshold, a successful match is taken as a matching result; if the comparison result indicates that the similarity is less than the preset threshold, a failed match is taken as a matching result.

[0141] It can be understood by those skilled in the art that Figure 6 The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, or other terminal devices. Figure 6 The structure of the electronic device is not limited. For example, the electronic device 60 may also include Figure 6 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 6 Different configurations are shown.

[0142] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0143] Example 5

[0144] The embodiment of the present application also provides a computer-readable storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the information processing method provided in the first embodiment.

[0145] Optionally, in this embodiment, the above storage medium may be located in any electronic device in a group of electronic devices in a computer network, or in any mobile terminal in a group of mobile terminals.

[0146] Example 6

[0147] The embodiment of the present application further provides a computer program product. Optionally, in this embodiment, the computer program product may include a computer program, and when the computer program is executed by a processor, the information processing method provided in the first embodiment is implemented.

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

[0149] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0150] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0151] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0152] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0153] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.

[0154] The above are only preferred implementations of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. An information processing method, characterized in that: include: Receiving question information input by a target object through a multimodal large language model, wherein the question information is expressed in at least one of the following forms: text information, pictures, audio, and video; Determine scheduling information of a target interface based on the problem information, and obtain an execution result of the target interface, wherein the scheduling information of the target interface is used to schedule the target interface, the target interface is used to obtain reply information corresponding to the problem information, and the execution result is used to indicate whether a reply is provided for the problem information; The target answer information of the question information is determined according to the question information, the scheduling information of the target interface and the execution result.

2. The method according to claim 1, characterized in that Determining the scheduling information of the target interface based on the problem information includes: Analyzing the question information to obtain first semantic information for representing the intention of the target object; Determining the target interface from a plurality of interfaces according to the first semantic information; Scheduling information for the target interface is determined.

3. The method according to claim 2, characterized in that Determining the scheduling information of the target interface includes: Obtain input parameter information corresponding to the target interface; Determine the call count and call logic corresponding to the target interface; The input parameter information, the calling times and the calling logic corresponding to the target interface are used as the scheduling information of the target interface.

4. The method according to claim 1, characterized in that: Determining target answer information of the question information according to the question information, the scheduling information of the target interface and the execution result includes: Generate prompt information according to the question information, the scheduling information of the target interface and the execution result, wherein the prompt information is used to guide the multimodal large language model to generate reply information that conforms to a preset format; The target answer information of the question information is determined according to the prompt information.

5. The method according to claim 4, characterized in that Determining target answer information of the question information according to the prompt information includes: Performing semantic analysis on the prompt information to obtain second semantic information for representing the information processing requirement; extracting a target element from the prompt information according to the second semantic information, and generating initial reply information according to the target element and the preset format; The target answer information of the question information is determined according to the initial answer information.

6. The method according to claim 5, characterized in that Determining target answer information of the question information according to the initial answer information includes: Determine whether the initial reply information complies with a preset rule, and obtain a first determination result; Determine whether there is information irrelevant to the question information in the initial reply information, and obtain a second determination result; If the first judgment result indicates that the initial reply information complies with the preset rule, and the second judgment result indicates that there is no information irrelevant to the question information in the initial reply information, the initial reply information is used as the target reply information of the question information.

7. The method according to claim 1, characterized in that If the expression form of the question information includes the text information, after receiving the question information input by the target object through the multimodal large language model, the method further includes: Determine whether the question information meets the preset rules to obtain a third determination result; If the third judgment result indicates that the question information meets the preset rule, the question information is subjected to text correction processing to obtain corrected question information; rewriting the corrected question information to obtain rewritten question information; Whether to execute interface scheduling is determined according to the rewritten problem information and the preset knowledge base.

8. The method according to claim 7, characterized in that Determining whether to execute interface scheduling according to the rewritten problem information and the preset knowledge base includes: Matching the rewritten question information with the question-answer pairs in the preset knowledge base to obtain a matching result; If the matching result indicates a successful match, interface scheduling is not performed; If the matching result indicates a matching failure, interface scheduling is performed.

9. The method according to claim 8, characterized in that The rewritten question information is matched with the question-answer pairs in the preset knowledge base, and the matching results obtained include: Vectorizing the rewritten question information and the question in the question-answer pair respectively to obtain a first text vector corresponding to the rewritten question information and a second text vector corresponding to the question in the question-answer pair; Calculating the similarity between the first text vector and the second text vector, and comparing the similarity with a preset threshold to obtain a comparison result; If the comparison result indicates that the similarity is greater than or equal to the preset threshold, a successful match is taken as the matching result; If the comparison result indicates that the similarity is less than the preset threshold, a match failure is taken as the match result.

10. An information processing method, characterized in that: include: Acquire question information input by the target object uploaded by the client, wherein the question information is expressed in at least one of the following forms: text information, picture, audio, and video; In the cloud server, the scheduling information of the target interface is determined based on the question information through a multimodal large language model, and the execution result of the target interface is obtained, wherein the scheduling information of the target interface is used to schedule the target interface, the target interface is used to obtain the reply information corresponding to the question information, and the execution result is used to characterize whether a reply is provided for the question information; the target reply information of the question information is determined according to the question information, the scheduling information of the target interface and the execution result; The target answer information of the question information is fed back to the client.

11. An information processing device, characterized in that: include: A receiving unit, configured to receive question information input by a target object through a multimodal large language model, wherein the question information is expressed in at least one of the following forms: text information, pictures, audio, and video; A first determining unit is used to determine the scheduling information of the target interface based on the problem information, and obtain the execution result of the target interface, wherein the scheduling information of the target interface is used to schedule the target interface, the target interface is used to obtain the reply information corresponding to the problem information, and the execution result is used to indicate whether a reply is provided for the problem information; The second determining unit is configured to determine target answer information of the question information according to the question information, the scheduling information of the target interface, and the execution result.

12. An electronic device, characterized in that: include: A memory storing an executable program; A processor, configured to run the program, wherein the program executes the information processing method of any one of claims 1 to 10 when running.

13. A computer program product, characterized in that The invention comprises a computer program or instructions, which, when executed by a processor, implements the information processing method according to any one of claims 1 to 10.

Citation Information

Cited By

  • Data processing method and device, electronic equipment and computer program product

    CN118966363A

  • Capability permission management method and related apparatus

    WO2026137277A1