Method and apparatus for model configuration, device, and storage medium

By obtaining configuration information related to model calls and allowing users to customize model configuration, the problem of only using the system default model in the existing technology is solved, and more powerful model selection and application performance improvement is achieved.

WO2025108124A1PCT designated stage expired Publication Date: 2025-05-30BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/131346
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-11-20
Filing Date
2024-11-11
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

When creating applications or custom application functions, the existing technology can only use the system's default models, which cannot meet users' needs for more powerful or different types of models, resulting in limited application performance and flexibility.

Method used

Provide a method for model configuration. By obtaining configuration information related to model calls, users are allowed to customize model configuration, including parameter information, request links, request methods, request headers, query parameters, etc., based on this information, the model is provided to the application to define functions.

Benefits of technology

Users can add and configure custom models according to specific needs to meet the model needs of different application scenarios and improve application performance and flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024131346_30052025_PF_FP_ABST
    Figure CN2024131346_30052025_PF_FP_ABST
Patent Text Reader

Abstract

According to embodiments of the present disclosure, a method and apparatus for model configuration, a device, and a storage medium are provided. In the method for model configuration, first model configuration information related to the invocation of a first model is obtained, and the first model configuration information at least indicates parameter information used for invoking the first model; and the first model is provided to a first application on the basis of the first model configuration information, so as to define at least one type of function in the first application. When the first model is selected to define a first function in the first application, the first model is invoked on the basis of the model configuration information so as to execute at least a portion of the tasks of the first function. In this way, various models can be flexibly configured according to needs, so as to be used during application configuration.
Need to check novelty before this filing date? Find Prior Art

Description

Method, apparatus, device and storage medium for model configuration

[0001] This application claims priority to the Chinese invention patent application entitled “Method, apparatus, device and storage medium for model configuration” and application number 202311553610.X, filed on November 20, 2023. The entire contents of that application are incorporated by reference into this application. Technical Field

[0002] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, apparatuses, devices, and computer-readable storage media for model configuration. Background Art

[0003] With the rapid development of internet technology, it has become a vital platform for people to access and share content. Users can access the internet through various applications and enjoy a wide range of services. Terminal devices present relevant content through application user interfaces, enabling interaction with users and providing services. With the advancement of machine learning technology, it is also expected that various models can be used to perform various functions or tasks required by applications.

[0004] Summary of the Invention

[0005] In a first aspect of the present disclosure, a method for model configuration is provided. The method includes: obtaining first model configuration information related to invoking a first model, the first model configuration information indicating at least parameter information for invoking the first model; and providing the first model to a first application based on the first model configuration information, for defining at least one type of function in the first application. When the first model is selected for defining a first function in the first application, the first model is invoked based on the model configuration information to perform at least a portion of the first function.

[0006] In a second aspect of the present disclosure, a device for model configuration is provided. The device includes: a configuration acquisition module configured to acquire first model configuration information related to the invocation of a first model, the first model configuration information at least indicating parameter information for invoking the first model; and a model provision module configured to provide the first model to a first application based on the first model configuration information, for defining at least one type of function in the first application; wherein, when the first model is selected for defining a first function in the first application, the first model is invoked based on the model configuration information to perform at least part of the tasks of the first function.

[0007] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.

[0008] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.

[0009] In a fifth aspect of the present disclosure, a computer program product is provided, comprising computer-executable instructions, wherein the computer-executable instructions implement the method of the first aspect when executed by a processor.

[0010] It should be understood that the content described in this section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0012] FIG1 shows a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;

[0013] FIG2 shows a schematic diagram of an example page for model configuration according to some embodiments of the present disclosure;

[0014] FIG3 shows a schematic diagram of an example model list page according to some embodiments of the present disclosure;

[0015] FIG4A shows a schematic diagram of an example page for selecting a model in a plug-in definition according to some embodiments of the present disclosure;

[0016] FIG4B shows a schematic diagram of an example page for selecting a model in a scenario definition according to some embodiments of the present disclosure;

[0017] FIG5 shows a flowchart of a process for model configuration according to some embodiments of the present disclosure;

[0018] FIG6 shows a block diagram of an apparatus for model configuration according to some embodiments of the present disclosure; and

[0019] FIG7 illustrates a block diagram of an electronic device in which one or more embodiments of the present disclosure may be implemented. DETAILED DESCRIPTION

[0020] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0021] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, i.e., "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below.

[0022] Herein, unless explicitly stated otherwise, executing a step “in response to A” does not mean executing the step immediately after “A” but may include one or more intermediate steps.

[0023] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition, use, storage or deletion of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0024] It is understandable that before using the technical solutions disclosed in the various embodiments of the present disclosure, the type, scope of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to relevant users and authorization should be obtained from relevant users in an appropriate manner in accordance with relevant laws and regulations. The relevant users may include any type of right holders, such as individuals, enterprises, and groups.

[0025] For example, in response to receiving an active request from a user, a prompt message is sent to the relevant user to clearly prompt the relevant user that the operation requested to be performed will require obtaining and using the information of the relevant user, so that the relevant user can independently choose whether to provide information to the software or hardware such as the electronic device, application, server or storage medium that executes the operation of the technical solution of the present disclosure based on the prompt message.

[0026] As an optional but non-limiting implementation, in response to receiving an active request from a relevant user, a prompt message may be sent to the relevant user in the form of a pop-up window, in which the prompt message may be presented in text form. Furthermore, the pop-up window may also include a selection control for the user to select "agree" or "disagree" to provide information to the electronic device.

[0027] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0028] 1 shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. In this example environment 100, a digital assistant 120 and an application 125 are installed in a terminal device 110. A user 140 can interact with the digital assistant 120 and the application 125 via the terminal device 110 and / or an attached device of the terminal device 110.

[0029] In some embodiments, the digital assistant 120 and the application 125 can be downloaded and installed on the terminal device 110. In some embodiments, the digital assistant 120 and the application 125 can also be accessed through other means, such as through a web page. In the environment 100 of FIG. 1 , in response to the application 125 being launched, the terminal device 110 can present the respective pages 150 of the digital assistant 120 and the application 125.

[0030] Applications 125 include, but are not limited to, one or more of the following: chat applications (also known as instant messaging applications), document applications, audio and video conferencing applications, email applications, task applications, calendar applications, objectives and key results (OKR) applications, and the like. Although a single application is shown in FIG1 , in reality, multiple applications may be installed on the terminal device 110. In some embodiments, the applications 125 may include a multi-functional collaboration platform, such as an office collaboration platform (also known as an office suite) that can provide integration of various types of applications or components to facilitate people's office work, communication, and other activities. In the multi-functional collaboration platform, people can start different applications or components as needed to complete corresponding information processing, sharing, communication, and the like.

[0031] Application 125 may provide content entities 126. Content entities 126 may be content instances created by user 140 or other users on application 125. For example, depending on the type of application 125, content entities 126 may be documents (e.g., word documents, PDF documents, presentations, spreadsheets, etc.), emails, messages (e.g., conversation messages on instant messaging applications), calendars, schedules, tasks, audio, video, images, etc.

[0032] In some embodiments, the digital assistant 120 can be provided by a separate application or can be integrated into an application 120 that can provide content entities. The application used to provide the client interface of the digital assistant can correspond to a single-function application or a multi-function collaboration platform, such as an office suite or other collaboration platform that can integrate multiple components. In some embodiments, the digital assistant 120 supports the use of plug-ins. Each plug-in can provide one or more functions of the application. Such plug-ins include, but are not limited to, one or more of the following: a search plug-in, a contact plug-in, a message plug-in, a document plug-in, a table plug-in, an email plug-in, a calendar plug-in, a schedule plug-in, a task plug-in, and the like.

[0033] Digital assistant 120 is an intelligent assistant for the user, capable of intelligent dialogue and information processing. In embodiments of the present disclosure, digital assistant 120 is used to interact with user 140 to assist user 140 in using a terminal device or application. An interaction window with digital assistant 120 may be presented in the client interface. In this interaction window, user 140 can communicate with digital assistant 120 by inputting natural language to instruct the digital assistant to assist in completing various tasks, including operations on content entity 126.

[0034] In some embodiments, the digital assistant 120 can be included as a contact of the user 140 in the current user 140's contact list in the office suite, or included in the information flow of the chat component. In some embodiments, the user 140 has a corresponding relationship with the digital assistant 120. For example, the first digital assistant corresponds to the first user, the second digital assistant corresponds to the second user, and so on. In some embodiments, the first digital assistant can uniquely correspond to the first user, the second digital assistant can uniquely correspond to the second user, and so on. In other words, the first digital assistant of the first user can be specific to or exclusive to the first user. For example, in the process of the first digital assistant providing assistance or services to the first user, the first digital assistant can utilize its historical interaction information with the first user, the data authorized by the first user to which it has access, the current interaction context with the first user, etc. If the first user is an individual or person, the first digital assistant can be considered a personal digital assistant. It is understood that in the disclosed embodiments, the first digital assistant accesses the data to which it is granted permission based on the authorization of the first user. It should be understood that "uniquely corresponding" or similar expressions in this disclosure are not intended to limit the first digital assistant to being updated accordingly based on the interaction process between the first user and the first digital assistant. Of course, depending on actual application needs, the digital assistant 120 does not have to be specific to the current user 140, but can be a general digital assistant.

[0035] In some embodiments, multiple interaction modes can be provided between user 140 and digital assistant 120, and flexible switching between the multiple interaction modes can be achieved. When a certain interaction mode is triggered, a corresponding interaction area is presented to facilitate interaction between user 140 and digital assistant 120. In different interaction modes, the interaction methods between user 140 and digital assistant 120 are different, which can flexibly adapt to the interaction needs in different application scenarios.

[0036] In some embodiments, information processing services specific to user 140 can be provided based on historical interaction information between user 140 and digital assistant 120 and / or data ranges specific to user 140. In some embodiments, historical interaction information of user 140 interacting with digital assistant 120 in multiple interaction modes can be stored in association with user 140. In this way, in one of the multiple interaction modes (any or a designated one), digital assistant 120 can provide services to user 140 based on the historical interaction information stored in association with user 140.

[0037] The digital assistant 120 can be called or awakened by an appropriate means (e.g., a shortcut key, a button, or voice) to present an interaction window with the user 140. By selecting the digital assistant 120, the interaction window with the digital assistant 120 can be opened. The interaction window may include interface elements for model configuration, such as an input box, a message list, a message bubble, and the like. In other embodiments, the digital assistant 120 can be awakened through an entry control or menu provided in a page, or by inputting a preset instruction.

[0038] In some embodiments, the interaction window between the digital assistant 120 and the user 140 may include a conversation window, such as a conversation window in an instant messaging application or an instant messaging module of a target application. In some embodiments, the interaction window between the digital assistant 120 and the user 140 may include a floating window corresponding to the digital assistant.

[0039] In some embodiments, digital assistant 120 may support a conversation window interaction mode, also referred to as conversation mode. In this interaction mode, a conversation window is presented between user 140 and digital assistant 120, in which user 140 and digital assistant 120 interact through conversation messages. In conversation mode, digital assistant 120 can perform tasks based on the conversation messages in the conversation window.

[0040] In some embodiments, the conversation mode between user 140 and digital assistant 120 can be invoked or awakened by an appropriate means (e.g., a shortcut key, button, or voice) to present a conversation window. By selecting digital assistant 120, a conversation window with digital assistant 120 can be opened. The conversation window may include interface elements for model configuration, such as an input box, a message list, a message bubble, and the like.

[0041] In some embodiments, the digital assistant 120 may support an interactive mode of a floating window (or floating window), also referred to as a floating window mode. When the floating window mode is triggered, the operation panel (also referred to as a floating window) corresponding to the digital assistant 120 is presented, and the user 140 can issue instructions to the digital assistant 120 based on the operation panel. In some embodiments, the operation panel may include at least one candidate shortcut instruction. Alternatively or additionally, the operation panel may include an input control for receiving instructions. In floating window mode, the digital assistant 120 can perform tasks according to instructions issued by the user 140 through the operation panel.

[0042] In some embodiments, the floating window mode of the user 140 and the digital assistant 120 can also be called or awakened by an appropriate means (for example, a shortcut key, a button, or voice) to present the corresponding operation panel. In some embodiments, the awakening of the digital assistant 120 can be supported in a specific application, such as a document application, to provide interaction in the floating window mode. In some embodiments, in order to trigger the floating window mode to present the operation panel corresponding to the digital assistant 120, an entry control for the digital assistant 120 can be presented in the application interface. In response to detecting a triggering operation for the entry control, it can be determined that the floating window mode is triggered, and the operation panel corresponding to the digital assistant 120 is presented in the target interface area. In some embodiments described below, for ease of discussion, the interaction window between the user and the digital assistant is mainly illustrated by taking the conversation window as an example.

[0043] In some embodiments, the terminal device 110 communicates with the server 130 to enable the provision of services to the digital assistant 120 and the application 125. The terminal device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a television receiver, a radio broadcast receiver, an e-book device, a gaming device or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the terminal device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.). The server 130 can be various types of computing systems / servers that can provide computing power, including but not limited to mainframes, edge computing nodes, computing devices in cloud environments, and the like.

[0044] In some embodiments, some functions of the digital assistant 120 and / or application 125 can be configured to be performed with the help of one or more models 162-1, 162-2, ... 162-N (collectively or individually referred to as model 162). For example, the digital assistant 120's response to the user is determined based on the output of model 162. The digital assistant 120 will use model 162 to understand the user input and provide a response to the user based on the output of model 162. Each model 162 can run on its own remote server. In some embodiments, model 162 can be a machine learning model, a deep learning model, a learning model, a neural network, etc. In some embodiments, one or more models 162 can be based on a language model (LM). The language model can have question-answering capabilities by learning from a large amount of corpus. The model can also be based on other appropriate types of models.

[0045] It should be understood that the structure and function of the various elements in the environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of the present disclosure.

[0046] With the advancement of machine learning technology, configuring models to provide various application features can significantly improve application performance. When creating an application or defining various application features, currently, only a few system default models are provided for use. However, these models may not be sufficient to meet user needs. Sometimes users desire more powerful or different types of models. A variety of models are constantly emerging. When creating applications or customizing features, some users may want to include more models to configure better applications or application features.

[0047] According to some embodiments of the present disclosure, an improved solution for model configuration is proposed. In this embodiment of the present disclosure, first model configuration information related to the invocation of a first model is obtained, where the first model configuration information at least indicates parameter information for invoking the first model; and based on the first model configuration information, the first model is provided to a first application for defining at least one type of function in the first application. When the first model is selected for defining a first function in the first application, the first model is invoked based on the model configuration information to perform at least part of the tasks of the first function.

[0048] In general solutions, users are usually only able to select the system's default available models to create applications or customize certain functions of applications. This cannot meet the user's wider needs and limits the application's performance and flexibility. According to the embodiments of the present disclosure, users are allowed to add one or more custom models. Based on the model configuration information provided by the user, the user-specified custom model can be used in some applications or functions, thereby meeting the specific model requirements of different users in different application scenarios.

[0049] Some example embodiments of the present disclosure will be described in detail below with reference to examples in the accompanying drawings.

[0050] First, embodiments of the present disclosure are described with reference to example pages of FIG. 2 to FIG. 4B .

[0051] The following will describe an example of FIG. 2 and subsequent figures with reference to FIG. The client interfaces shown in FIG. 2 and subsequent figures can all be implemented on the terminal device 110 . It should be understood that the pages shown in FIG. 2 to FIG. 4B are merely examples, and various interface designs can exist. The various graphical elements in the interface can have different arrangements and different visual representations, one or more elements can be omitted or replaced, and one or more other elements can also be present. The embodiments of the present disclosure are not limited in this respect.

[0052] In an embodiment of the present disclosure, a solution is provided in which a user configures the model to be used. The terminal device 110 is capable of obtaining first model configuration information related to the invocation of a first model. The first model configuration information at least indicates parameter information used to invoke the first model. Note that the term "first model" is used here for convenience of discussion only; users can configure individual models as appropriate.

[0053] After obtaining the first model configuration information related to the call of the first model, the terminal device 110 provides the first model to the first application based on the first model configuration information for defining at least one type of function in the first application. In this way, when the first model is selected to define the first function in the first application, the first model is called based on the model configuration information to perform at least part of the task of the first function. In some embodiments, the model that can be configured can be a model that the user has permission to call, or a model that is open for user use. In some embodiments, the first model can be provided to multiple different applications for defining the functions therein. The at least one type of function to be defined can be any appropriate function in the application that requires or can call a model to perform a task.

[0054] In some embodiments, a global model management service can be provided for users in need, allowing users to add one or more custom models. Models added by users can be selected for use when users define some applications or application functions. The model configuration information provided by the user, such as the parameter information of the model, will be integrated into the corresponding application or function to implement the call to the model. In this way, the specific needs of different users for models in different application scenarios can be met. In some embodiments, the model management service can be implemented as a functional component in a multi-functional collaboration platform, or as a separate application service. Users can use the model management service to manage the models they configure.

[0055] FIG2 illustrates a schematic diagram of an example page 200 for model configuration according to some embodiments of the present disclosure. Page 200 may be a first page for adding a model. Through the first page, the terminal device 110 may obtain first model configuration information input by a user. The provision of the first model is based on receiving a model addition confirmation for the first model configuration information. The first model configuration information at least indicates parameter information for invoking the first model, so that when the model is selected for defining a function, the first model can be invoked for processing based on the configured parameter information.

[0056] In some embodiments, the parameter information in the first model configuration information may include a request link for requesting to call the first model. The request link can be provided, for example, through an input box corresponding to the request uniform resource locator (URL) 250 in page 200 of FIG. 2 . By configuring the request link, when a function wants to call the first model, the model input provided by the function can be provided to the first model via the request link of the first model for processing. The request link of the first model can be in the form of a URL as shown in FIG. 2 , or in any other form suitable for indicating a request address of the first model.

[0057] In some embodiments, the parameter information in the first model configuration information may include a request method for requesting to call the first model. The request method can be provided, for example, through an input box corresponding to the request method 240 in page 200 of Figure 2. The request method refers to a method for requesting to call the first model from a device (e.g., a server) running the first model. In one example, the request method may include a POST method, which is used to submit data to a specific request chain for processing the request, and the submitted data can be defined as input for the function of the model to be used. The data can be included in the request body.

[0058] In some embodiments, alternatively or additionally, the parameter information in the first model configuration information may include a request header for requesting the call of the first model. The request header refers to the header in the message sent to the request link. The request header can be provided, for example, through the key-value input boxes 270 and 272 corresponding to the request header in page 200 of Figure 2. The user can define one or more types of information that need to be added to the request header when calling the first model. For example, depending on the specific requirements of the model call, the user can configure that the user's authentication information needs to be carried in the request header each time the first model is called to achieve a successful call. In addition to the authentication information, the request header can also define the application program interface (API) for the user to call the first model, and other information that needs to be carried in the request header. In some embodiments, if the call of the model does not require user authentication or a specified API, then the request header may not be provided in the first model configuration information.

[0059] In some embodiments, alternatively or additionally, the parameter information in the first model configuration information may include at least one query parameter of the first model, and the at least one query parameter is included in the call request to the first model. The query parameters can be provided, for example, through the key-value input boxes 260 and 262 corresponding to the query parameters in page 200 of Figure 2. The query parameters can specify specific query information for the first model in the call of the first model, for example, the version parameters of the first model to be called, one or some operating parameters of the first model, etc. For different model services, user-configured query parameters are supported when calling. After configuring the query parameters, the first model can run subsequent call requests according to the query parameters.

[0060] In some embodiments, alternatively or additionally, the parameter information in the first model configuration information may include parameters related to whether the first model supports function calling. The parameters related to whether function calling is supported can be provided, for example, through the option box 230 in page 200 of Figure 2. A model that supports function calling has the ability to call external functions, and such a model can more flexibly select different atomic functional components (for example, corresponding to different functions) to complete the provision of corresponding functional services when used. For example, if a function is associated with multiple plug-ins (i.e., atomic functional components), then the model that supports function calling can help analyze and determine which plug-in among the multiple plug-ins needs to be called to complete the task each time a task is performed.

[0061] In some embodiments, the first model configuration information may also include the name and / or description of the first model, for example, via input boxes 210 and 220 corresponding to the model name and model description, respectively, on page 200 of FIG. 2 . The model name and description may be presented to the current user or other users to facilitate understanding of the model's capabilities or other relevant information. In some embodiments, the first model configuration information may also include a request body for the first model and / or a response body for the first model. The request body and response body of the first model may be provided, for example, via boxes 280 and 282 corresponding to the request body and response body, respectively, on page 200 of FIG. 2 . The request body indicates the format of the entire request content when requesting to invoke the first model, and the response body indicates the format of the entire response content when the model returns a response. In some embodiments, the request body and response body must comply with corresponding protocols. In some embodiments, depending on application capabilities, examples of the request body and response body may be provided on page 200 to guide users to refer to these example formats when configuring the model's backend service. In some embodiments, users may also be allowed to adjust or define the request body and response body.

[0062] After receiving the first model configuration information on page 200, a confirmation of adding the model to the first model configuration information may be received through an "Add" control 292. The added first model may be provided to one or more applications (including the first application) for defining at least one type of functionality in the first application.

[0063] In some embodiments, the user may be allowed to add multiple models in the manner described above. In some embodiments, for the added models, a model list may be provided for the user to view and manage the models. Figure 3 shows a schematic diagram of an example model list page 300 according to some embodiments of the present disclosure. As shown in Figure 3, on the model list page 300 (sometimes also referred to as the "third page" in this document). The model list page 300 includes a list of added models, which includes relevant information of each of the one or more models added by the user, such as the model name, model description, whether function calls are supported, etc.

[0064] In some embodiments, a model add control 313 may also be provided on the model list page 300. In response to detecting a trigger for the model add control, the terminal device 110 receives the model add request and provides a first page for adding a model (e.g., page 200 in FIG. 2 ). Of course, in addition to triggering the presentation of the page 200 for adding a model on the model list page 300, a trigger entry for page 200 may also be configured on any other appropriate page. The embodiments of the present disclosure are not limited in this respect.

[0065] In some embodiments, for added models, users can also be allowed to set the enabled or disabled state of the model. For example, in the model list page 300 of Figure 3, an enable setting control 350 can be provided for each added model to set the enabled or disabled state of the corresponding model. If the terminal device 110 can receive a status setting for the first model, the status setting indicates the enabled or disabled state of the first model. In some embodiments, after the model is successfully added, the default state is disabled, and the user can manually enable / disable it. In some embodiments, each added model, including the first model, can be provided for defining at least one type of function when in the enabled state.

[0066] In some embodiments, an added model can be designated as the default model. A default model refers to the model that is selected by default for use in the application or function associated with the user. For example, in the model list page 300 of Figure 3 , a "Default Model" option 360 is provided for each added model. In some embodiments, only models that support function calls can have the "Default Model" option selected. In the example of Figure 3 , "Working Model 1" is selected as the default model. For models that do not support function calls, this option is disabled. After selecting the "Default Model" option 360, the user will see additional system functions on the client that declare the use of the function call model, and these functions will run on this model. Of all custom models that support function calls and are enabled, one, and typically at most one, model can be selected as the default model. In some embodiments, after the first model that supports function calls is successfully added, it is automatically designated as the default model. Subsequent models added that support function calls are no longer designated by default but are manually designated based on the user's wishes. If a model that supports function calls is designated as the default model and is then disabled, the first model in the added models list that supports function calls and is enabled will be automatically designated as the default model.

[0067] In some embodiments, for the added models, the user can also be allowed to continue editing the model configuration information. As shown in Figure 3, a corresponding editing control 330 is provided for each model that has been added. In response to detecting that the editing control 330 is triggered, the terminal device 110 receives an editing request for the first model and provides a first page corresponding to the model configuration information (for example, page 200 of Figure 2). Via the first page, the terminal device 110 can receive updates to the first model configuration information. In some embodiments, some or all of the information in the first model configuration information can be updated. After the editing is completed, the terminal device 110 can receive the user's model editing confirmation. After the model editing is confirmed, if the first model is selected for defining one or more functions in one or more applications, then the first model will be provided for defining the corresponding functions based on the updated model configuration information, and the functions that will be selected for definition will be selected later.

[0068] In some embodiments, the user may also be allowed to delete added models. As shown in FIG3 , a corresponding delete control 340 is provided for each added model. In response to detecting that delete control 340 has been triggered, terminal device 110 receives a delete request for the first model and deletes the first model configuration information of the first model. After deletion, the first model is no longer provided for defining at least one type of functionality.

[0069] The above describes the process of customizing a model. As described above, an added model can be selected to define one or more types of functions in a first application. These functions can be user-defined functions within the first application. In some embodiments, in response to receiving a function definition request, the terminal device 110 may provide a second page for defining the first function, with a model selection control provided on the second page. In response to receiving a trigger on the model selection control, the terminal device 110 may present a list of selectable models, which includes at least the first model (and possibly other models added by the user). In response to selecting the first model from the list of models, the first model is indicated in the function definition information of the first function. Based on this function definition information, during the execution of the first function, the first model is invoked based on the first model configuration information to execute the first function. For example, each time a task requiring a model is executed, the first function may pass the model input to the first model via a request link and receive a response from the first model, including the model output. Depending on the specific requirements of the first model configuration information, the first function may also include information required in the request header, query parameters, etc. in the request body when invoking the model.

[0070] The digital assistant is used to interact with the user. The interaction window between the user and the digital assistant can be presented in the client interface. The interaction window between the user and the digital assistant can include a conversation window, in which the interaction between the user and the digital assistant can be presented in the form of conversation messages. Alternatively or additionally, the interaction window between the user and the digital assistant can also include other types of windows, such as a window in floating window mode, in which the user can trigger the digital assistant to perform corresponding operations by inputting instructions, selecting shortcut instructions, etc. As an intelligent assistant, the digital assistant has intelligent dialogue and information processing capabilities. In the interaction window, the user enters an interactive message, and the digital assistant provides a reply message in response to the user input. The client interface for providing the digital assistant can correspond to a single-function application or a multi-function collaboration platform, such as an office suite or other collaboration platform that can integrate multiple components.

[0071] In some embodiments, the first application may include a digital assistant application, such as digital assistant 120 shown in FIG1 . In some embodiments, for the digital assistant application, functions that can be defined by the user selection model may include, but are not limited to: plug-in functions in the digital assistant application, and / or scenario functions in the digital assistant application. A plug-in function is defined as performing a corresponding task. A scenario function is defined as performing at least one task related to a scenario, with each scenario being associated with at least one plug-in function.

[0072] Some applications can provide the integration function of different plug-ins. In addition to being able to have free conversations with the digital assistant, users can also use natural language instructions to enable the digital assistant to use different plug-ins to complete some more complex business-related operations of the application, such as creating documents, inviting schedules, creating tasks, etc. For example, the search plug-in is used to obtain messages and data that match the search keywords, and the document plug-in is used to perform document-related tasks such as creating documents. In the interaction between the user and the digital assistant, the user can select or the digital assistant can independently determine the plug-in to be used. The selected plug-in will be used in the interaction between the user and the digital assistant.

[0073] In some embodiments, the digital assistant application may also allow users to customize plug-ins. User-created plug-ins can be used by the user themselves or published to other users for use.

[0074] Figure 4A shows a schematic diagram of an example page 402 for selecting a model in a plug-in definition according to some embodiments of the present disclosure. Via page 402, the user can be allowed to configure the plug-in creation information of the plug-in. The plug-in creation information may include basic information such as a plug-in icon, a plug-in name 412, a plug-in description 422, and may also include a model selection control 432 corresponding to the plug-in, and a data set selection control 442 (for defining the data set 442 to be used by the plug-in). Through the model selection control 432, the user can select the model 432 to be used when the plug-in is running. After the model selection control 432 is triggered, one or more models added by the user can be provided for the user to use. If the user does not specify, a default model can be selected to create the current plug-in. After detecting the triggering of the "Create" control 452, the corresponding plug-in can be created based on the plug-in creation information received in page 402. The created plug-in can be selected during the interaction between the user and the digital assistant to support interaction.

[0075] In some embodiments, the digital assistant also provides a scenario function. Here, a scenario refers to a collection of tasks of the same type, that is, one scenario corresponds to multiple tasks of the same type. One or more scenarios can be configured with corresponding configuration information to perform the corresponding type of task. For ease of understanding, we first briefly introduce the scenarios used in the interaction between the user and the digital assistant.

[0076] The configuration information of the scene includes at least one of the following: scene setting information, plug-in information. The scene setting information is used to describe information related to the corresponding scene. The scene setting information of the scene can affect the digital assistant's response to the user to a certain extent, or be used to determine the digital assistant's response to the user. In some embodiments, the scene setting information is used to construct a prompt input to provide to the model used in the corresponding scene. The digital assistant's response to the user is based on the output of the model. The scene setting information of the scene may, for example, include a description of the corresponding type of task, the digital assistant's response style in the scene, the definition of the workflow to be executed in the corresponding scene, the definition of the digital assistant's response format in the corresponding scene, and so on. In some embodiments, the digital assistant will use the model to understand the user input and provide a response to the user based on the output of the model. The model used by the digital assistant can run locally on the terminal device 110 or on a remote server. By using the scene setting information to construct a part of the prompt input of the model, the model can be guided to complete the task to be achieved in the corresponding scene.

[0077] The plug-in information indicates at least one plug-in for performing the task in the corresponding scenario. Through the plug-in information of the scenario, the plug-in to be used in the corresponding scenario can be configured. In some embodiments, in the corresponding scenario, during the operation of the plug-in, the plug-in can also call the model to complete the corresponding task. In some embodiments, a plug-in can also call the open interface provided by other applications (for example, documents, calendars, meetings, etc.) to complete the corresponding task, such as modifying documents, creating schedules, summarizing meetings, etc.

[0078] In some embodiments, the configuration information of a scene may further include a scene name, a description of the scene, and so on. In some embodiments, the terminal device 110 may provide a message card to the user in the conversation window, wherein the message card may present at least some of a set of scenes. The terminal device 110 may present the scene name and / or description of the corresponding scene in the message card in association with the scene. For example, the user may select a scene that meets their needs based on the scene name and / or description of the scene presented in the message card.

[0079] In some embodiments, the configuration information of the scene may also include, but is not limited to: the selected model (the model here is called to determine the response to the user in the corresponding scene), scene guidance information (scene guidance information is presented to the user after the corresponding scene is selected), at least one recommended question for the digital assistant (at least one recommended question is presented to the user for selection after the corresponding scene is selected), any combination of one or more of the foregoing, and so on. The scene guidance information can, for example, be descriptive information of the task instance that can be performed in the scene. In some embodiments, the scene setting information and configuration information of the scene can be completed, for example, in a natural language manner, so that the scene creator can easily constrain the output of the model and configure a variety of scenes.

[0080] In some embodiments, the digital assistant application may also allow users to customize scenes. The user-created scenes can be used by themselves or published to other users.

[0081] Figure 4B illustrates an example page 404 for selecting a model in a scene definition, according to some embodiments of the present disclosure. Page 404 allows users to configure scene creation information for a scene. This scene creation information may include basic information such as the scene name 410 and scene settings 420, as well as a model selection control 430 and a plug-in selection control 440 corresponding to the scene. Model selection control 430 allows users to select a model to use when running the scene. When model selection control 430 is triggered, one or more user-added models are provided for the user to use. If the user does not specify a model, a default model can be selected to create the current scene. Plugin selection control 440 allows users to select one or more plug-ins to use when running the scene. When plug-in selection control 440 is triggered, one or more available plug-ins are provided for the user to select. Upon detecting the triggering of the "Create" control 434, the corresponding scene may be created based on the scene creation information received on page 404. The created scene can be selected during user interaction with the digital assistant to support interaction.

[0082] It should be understood that some embodiments of the present disclosure are described above with reference to the specific examples in the accompanying drawings, but these specific examples do not limit the scope of the embodiments of the present disclosure. The described embodiments can also be implemented in various other variations.

[0083] FIG5 shows a flowchart of a process 500 for model configuration according to some embodiments of the present disclosure. The process 500 may be implemented at the terminal device 110. The process 500 is described below with reference to FIG1.

[0084] In block 510 , the terminal device 110 obtains first model configuration information related to calling the first model, where the first model configuration information at least indicates parameter information for calling the first model.

[0085] At block 520 , the first model is provided to the first application based on the first model configuration information for defining at least one type of function in the first application. When the first model is selected to define the first function in the first application, the first model is invoked based on the model configuration information to perform at least a portion of the tasks of the first function.

[0086] In some embodiments, obtaining the first model configuration information includes: providing a first page for adding a model in response to receiving a model addition request; and obtaining the first model configuration information via the first page. In some embodiments, providing the first model configuration information is based on receiving a model addition confirmation for the first model configuration information.

[0087] In some embodiments, process 500 also includes, in response to receiving a function definition request, providing a second page for defining the first function, providing a model selection control in the second page; in response to receiving a trigger on the model selection control, presenting a list of optional models, the list of optional models including at least the first model; and in response to selection of the first model in the model list, indicating the first model in the function definition information of the first function, and in the operation of the first function, the first model is called based on the first model configuration information to perform the first function.

[0088] In some embodiments, the parameter information in the first model configuration information includes at least one of the following: a request link for requesting to call the first model, a request method for requesting to call the first model, a request header for requesting to call the first model, at least one query parameter of the first model, at least one query parameter included in the call request to the first model, or whether the first model supports function calls.

[0089] In some embodiments, the first model configuration information further indicates: a name of the first model, and a description of the first model.

[0090] In some embodiments, process 500 further includes providing a third page, the third page including a list of added models, the list of added models including at least one of a name and a description of the first model.

[0091] In some embodiments, process 500 further includes receiving a state setting for the first model, the state setting indicating an enabled state or a disabled state of the first model, wherein the first model can be provided for defining at least one type of functionality when in the enabled state.

[0092] In some embodiments, the first application comprises a digital assistant application.

[0093] In some embodiments, at least one type of function includes: a plug-in function in a digital assistant application, where the plug-in function is defined as performing a corresponding task; a scene function in a digital assistant application, where the scene function is defined as performing at least one task related to a scene, and each scene is associated with at least one plug-in function.

[0094] In some embodiments, process 500 further includes: in response to receiving an edit request for the first model, providing a first page; receiving an update to the first model configuration information via the first page; and in response to receiving a model edit confirmation, providing the first model for defining at least one type of functionality based on the updated model configuration information.

[0095] In some embodiments, the process 500 further includes: in response to receiving a deletion request for the first model, deleting first model configuration information of the first model, so that the deleted first model is no longer provided for defining at least one type of functionality.

[0096] 6 shows a block diagram of an apparatus 600 for model configuration according to some embodiments of the present disclosure. The apparatus 600 may be implemented in or included in the terminal device 110. Each module / component in the apparatus 600 may be implemented by hardware, software, firmware, or any combination thereof.

[0097] As shown, apparatus 600 includes a configuration acquisition module 610 configured to acquire first model configuration information related to invoking a first model, wherein the first model configuration information at least indicates parameter information used to invoke the first model. Apparatus 600 also includes a model provision module 620 configured to provide the first model to a first application based on the first model configuration information, for defining at least one type of function in the first application. When the first model is selected for defining a first function in the first application, the first model is invoked based on the model configuration information to perform at least a portion of the first function's tasks.

[0098] In some embodiments, the configuration acquisition module 610 includes: a first page providing module configured to provide a first page for adding a model in response to receiving a model addition request; and a page information acquisition module configured to acquire first model configuration information via the first page. In some embodiments, providing the first model configuration information is based on receiving a model addition confirmation for the first model configuration information.

[0099] In some embodiments, the device 600 also includes: a second page providing module, configured to provide a second page for defining the first function in response to receiving a function definition request, and provide a model selection control in the second page; a model list providing module, configured to present an optional model list in response to receiving a trigger for the model selection control, the optional model list including at least the first model; and a model indication module, configured to indicate the first model in the function definition information of the first function in response to selection of the first model in the model list, and the first model is called based on the first model configuration information to perform the first function during the operation of the first function.

[0100] In some embodiments, the parameter information in the first model configuration information includes at least one of the following: a request link for requesting to call the first model, a request method for requesting to call the first model, a request header for requesting to call the first model, at least one query parameter of the first model, at least one query parameter included in the call request to the first model, or whether the first model supports function calls.

[0101] In some embodiments, the first model configuration information further indicates: a name of the first model, and a description of the first model.

[0102] In some embodiments, the apparatus 600 further includes: a third page providing module configured to provide a third page, the third page including a list of added models, the list of added models including at least one of the name and description of the first model.

[0103] In some embodiments, the device 600 also includes: a setting receiving module, configured to receive a status setting for the first model, the status setting indicating an enabled state or a disabled state of the first model, wherein the first model can be provided for defining at least one type of function when in the enabled state.

[0104] In some embodiments, the first application comprises a digital assistant application.

[0105] In some embodiments, at least one type of function includes: a plug-in function in a digital assistant application, where the plug-in function is defined as performing a corresponding task; a scene function in a digital assistant application, where the scene function is defined as performing at least one task related to a scene, and each scene is associated with at least one plug-in function.

[0106] In some embodiments, the device 600 also includes: an editing provision module, configured to provide a first page in response to receiving an editing request for the first model; a model update module, configured to receive an update to the first model configuration information via the first page; and a function update module, configured to provide the first model for defining at least one type of function based on the updated model configuration information in response to receiving a model editing confirmation.

[0107] In some embodiments, the apparatus 600 further includes: an information deletion module configured to delete the first model configuration information of the first model in response to receiving a deletion request for the first model, whereby the deleted first model is no longer provided for defining at least one type of function.

[0108] It should be understood that one or more steps in the above method can be performed by an appropriate electronic device or combination of electronic devices. Such electronic device or combination of electronic devices may include, for example, the server 130, the terminal device 110, and / or the combination of the server 130 and the terminal device 110 in FIG. 1 .

[0109] FIG7 shows a block diagram of an electronic device 700 in which one or more embodiments of the present disclosure may be implemented. It should be understood that the electronic device 700 shown in FIG7 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 700 shown in FIG7 may be used to implement the terminal device 110 of FIG1 and / or the apparatus 600 shown in FIG6 .

[0110] As shown in FIG7 , electronic device 700 is a general-purpose electronic device. Components of electronic device 700 may include, but are not limited to, one or more processors or processing units 710, memory 720, storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. Processing unit 710 may be a real or virtual processor and is capable of performing various processes according to programs stored in memory 720. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to enhance the parallel processing capabilities of electronic device 700.

[0111] The electronic device 700 typically includes a plurality of computer storage media. Such media can be any available media accessible to the electronic device 700, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 720 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory) or some combination thereof. The storage device 730 can be a removable or non-removable medium and can include a machine-readable medium, such as a flash drive, a disk or any other medium, which can be used to store information and / or data and can be accessed within the electronic device 700.

[0112] The electronic device 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 7 , a disk drive for reading from or writing to a removable, non-volatile disk (e.g., a “floppy disk”) and an optical drive for reading from or writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. The memory 720 may include a computer program product 725 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.

[0113] The communication unit 740 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 700 can be implemented as a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the electronic device 700 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0114] Input device 750 may be one or more input devices, such as a mouse, keyboard, or trackball. Output device 760 may be one or more output devices, such as a display, a speaker, or a printer. Electronic device 700 may also communicate with one or more external devices (not shown) via communication unit 740 as needed, such as storage devices, display devices, or the like, with one or more devices that allow a user to interact with electronic device 700, or with any device that allows electronic device 700 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0115] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.

[0116] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0117] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, such that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0118] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0119] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple implementations of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part for a module, program segment or instruction, and a part for a module, program segment or instruction comprises one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0120] While various implementations of the present disclosure have been described above, the foregoing description is intended to be illustrative, not exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is selected to best explain the principles of the implementations, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. A method for model configuration, comprising: Acquire first model configuration information related to calling of the first model, where the first model configuration information at least indicates parameter information used to call the first model; as well as Providing the first model to a first application based on the first model configuration information to define at least one type of function in the first application; When the first model is selected to define a first function in the first application, the first model is called based on the model configuration information to perform at least part of the tasks of the first function.

2. The method according to claim 1, wherein obtaining the first model configuration information comprises: In response to receiving a model adding request, providing a first page for adding a model; as well as Obtaining the first model configuration information via the first page, and Wherein the providing of the first model configuration information is based on receiving a model addition confirmation for the first model configuration information.

3. The method according to claim 1, further comprising In response to receiving the function definition request, providing a second page for defining the first function, and providing a model selection control in the second page; In response to receiving a trigger on the model selection control, presenting a selectable model list, the selectable model list including at least the first model; and In response to selection of the first model in the model list, the first model is indicated in function definition information of the first function, and during operation of the first function, the first model is called based on the first model configuration information to execute the first function.

4. The method according to claim 1, wherein the parameter information in the first model configuration information includes at least one of the following: A request link for requesting to call the first model, A request method for requesting to call the first model, A request header for requesting to call the first model, at least one query parameter of the first model, the at least one query parameter being included in a call request to the first model, or Whether the first model supports function calls.

5. The method according to claim 1, wherein the first model configuration information further indicates: The name of the first model, Description of the first model, The request body of the first model, The response body of the first model.

6. The method according to claim 5, further comprising: A third page is provided, the third page including an added model list, the added model list including at least one of the name and the description of the first model.

7. The method according to claim 1, further comprising: receiving a state setting for the first model, the state setting indicating an enabled state or a disabled state of the first model, The first model, when in the enabled state, can be provided for defining at least one type of functionality.

8. The method of claim 1, wherein the first application comprises a digital assistant application.

9. The method of claim 8, wherein the at least one type of functionality comprises: The plug-in function in the digital assistant application is defined as performing a corresponding task, The scene function in the digital assistant application is defined as performing at least one task related to the scene, and each scene is associated with at least one plug-in function.

10. The method according to claim 2, further comprising: In response to receiving an edit request for the first model, providing the first page; receiving, via the first page, an update to the first model configuration information; as well as In response to receiving the model edit confirmation, the first model is provided for defining the at least one type of functionality based on the updated model configuration information.

11. The method according to claim 1, further comprising: In response to receiving a deletion request for the first model, the first model configuration information of the first model is deleted, and the deleted first model is no longer provided for defining the at least one type of function.

12. An apparatus for model configuration, comprising: A configuration acquisition module, configured to acquire first model configuration information related to calling the first model, wherein the first model configuration information at least indicates parameter information used to call the first model; as well as a model providing module, configured to provide the first model to a first application based on the first model configuration information, so as to define at least one type of function in the first application; When the first model is selected to define a first function in the first application, the first model is called based on the model configuration information to perform at least part of the tasks of the first function.

13. An electronic device, comprising: at least one processing unit; as well as at least one memory coupled to the at least one processing unit and storing Instructions for execution by the at least one processing unit, which, when executed by the at least one processing unit, cause the electronic device to perform the method according to any one of claims 1 to 11.

14. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 11.

15. A computer program product comprising computer executable instructions, wherein the computer executable instructions, when executed by a processor, implement the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Universal model effect display method and device, equipment and storage medium

    CN116225424A

  • Artificial intelligence model calling method and device, computer equipment and storage medium

    CN117009113A

  • AI Named Function Infrastructure and Methods

    US20220150125A1