Method and apparatus for digital assistant creation, device, medium, and product
By acquiring and utilizing the interface definition of the assistant application platform, the assistant creation platform and the assistant application platform can be independently connected, solving the problem of high development and adaptation costs and expanding the release channels of digital assistants.
Patent Information
- Application Number
- PCT/CN2024/138847
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-30
- Filing Date
- 2024-12-12
- Publication Date
- 2025-11-06
AI Technical Summary
Existing assistant creation platforms require integration with different assistant application platforms, resulting in high development and adaptation costs, and making it impossible to connect to all assistant application platforms.
By acquiring the registration information of the assistant application platform, including the interface definition, receiving the release confirmation information, and releasing the target digital assistant to the assistant application platform based on the interface definition, the platform provides the ability to customize channels, enabling the assistant application platform to independently connect to the assistant creation platform.
It reduces development and adaptation costs, expands the distribution channels for digital assistants, supports more assistant application platforms as distribution channels, and reduces integration complexity.
Smart Images

Figure CN2024138847_06112025_PF_FP_ABST
Abstract
Description
Methods, apparatuses, devices, media, and products for digital assistant creation
[0001] The present application claims priority to the Chinese patent application No. 202410544496.2, filed on April 30, 2024, entitled “Methods, apparatuses, devices, media, and products for digital assistant creation”, the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] Example embodiments of the present disclosure generally relate to the field of computers, and in particular, to methods, apparatuses, electronic devices, computer-readable storage media, and computer program products for digital assistant creation. BACKGROUND
[0003] Digital assistants are provided to assist users in various task processing needs in different applications and scenarios. Digital assistants generally have intelligent conversation and task processing capabilities. In the process of interaction with a digital assistant, a user inputs an interaction message, and the digital assistant provides a reply message in response to the user input. Generally, a digital assistant can support a user to input a question in a natural language manner, and perform a task and provide a reply based on the understanding of the natural language input and logical reasoning capabilities. Such an interaction manner has become a tool that people love and rely on due to its flexible and convenient characteristics. SUMMARY
[0004] In a first aspect of the present disclosure, a method for digital assistant creation is provided. The method comprises: obtaining registration information of a first assistant application platform, the registration information comprising at least a first interface definition for publishing a digital assistant on the first assistant application platform; receiving publishing confirmation information for a target digital assistant, the publishing confirmation information indicating that the target digital assistant is to be published to the first assistant application platform; and in response to the publishing confirmation information, publishing the target digital assistant to the first assistant application platform based at least on the first interface definition.
[0005] In a second aspect of the present disclosure, an apparatus for digital assistant creation is provided. The apparatus comprises: an information obtaining module configured to obtain registration information of a first assistant application platform, the registration information comprising at least a first interface definition for publishing a digital assistant on the first assistant application platform; an information receiving module configured to receive publishing confirmation information for a target digital assistant, the publishing confirmation information indicating that the target digital assistant is to be published to the first assistant application platform; and a publishing module configured to, in response to the publishing confirmation information, publish the target digital assistant to the first assistant application platform based at least on the first interface definition.
[0006] In a third aspect of the 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. The instructions, when executed by the at least one processing unit, cause the electronic device to perform the method of the first aspect.
[0007] In a fourth aspect of the disclosure, a computer-readable storage medium is provided. The medium has stored thereon a computer program which, when executed by a processor, implements the method of the first aspect.
[0008] In a fifth aspect of the disclosure, a computer program product is provided. The computer program product is tangibly stored in a computer storage medium and includes computer- executable instructions that, when executed by a device, cause the device to perform the method of the first aspect.
[0009] According to embodiments of the disclosure, the assistant creation platform can be capable of customizing the assistant application platform, thereby enabling the assistant application platform to autonomously access the assistant creation platform. Further, based on the assistant creation platform, the creator can publish the digital assistant created by the creator to the assistant application platform.
[0010] It should be understood that the contents described in this section are not intended to limit the key features or important features of the embodiments of the disclosure, nor are they used to limit the scope of the disclosure. Other features of the disclosure will become apparent through the following description. BRIEF DESCRIPTION OF DRAWINGS
[0011] The above and other features, advantages, and aspects of embodiments of the disclosure will become more apparent by describing in detail some embodiments thereof with reference to the annexed drawings in which:
[0012] FIG. 1 shows a schematic diagram of an example environment in which embodiments of the disclosure can be implemented;
[0013] FIG. 2 shows a schematic diagram of an example process for registering an assistant application platform according to some embodiments of the disclosure;
[0014] FIG. 3A shows a schematic diagram of an example architecture for publishing a digital assistant to an assistant application platform according to some embodiments of the disclosure;
[0015] FIG. 3B shows a schematic diagram of an example interface of a candidate platform list according to some embodiments of the disclosure;
[0016] FIG. 4 shows a schematic diagram of an example architecture for a user interacting with a digital assistant according to some embodiments of the disclosure;
[0017] FIG. 5 shows a flowchart of a process for digital assistant creation, according to some embodiments of the present disclosure;
[0018] FIG. 6 shows a schematic structural block diagram of an apparatus for digital assistant creation, according to some embodiments of the present disclosure; and
[0019] FIG. 7 shows a block diagram of an electronic device that can implement one or more embodiments of the present disclosure. DETAILED DESCRIPTION
[0020] Embodiments of the present disclosure will be described in more detail with reference to the drawings. While certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be interpreted as being limited to the embodiments set forth herein; rather, these embodiments are provided so that the present disclosure can be more thoroughly and completely understood. It will be appreciated that the drawings of the present disclosure are for illustrative purposes only and are not intended to limit the scope of the present disclosure.
[0021] In the description of embodiments of the present disclosure, the term "comprising" and its conjugations should be understood to encompass the terms "consisting of" and "consisting essentially of", such that the term "comprising" and its conjugations should be interpreted as "including, but not limited to". The term "based on" should be understood as "based, at least in part, on". The term "one embodiment" or "an embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit or implicit definitions can also be included below.
[0022] In this document, unless explicitly stated otherwise, performing a step "in response to" an event means performing the step at least partially in response to the event, and can include one or more intervening steps.
[0023] It can be understood that the data involved in the technical solutions of the present disclosure (including but not limited to the data itself, the obtaining, use, storage or deletion of the data) should comply with the requirements of the relevant laws and regulations and the relevant provisions.
[0024] It can be understood that, before using the technical solutions disclosed in the embodiments of the present disclosure, the type of information involved in the present disclosure, the scope of use, the use scenario, etc. should be informed to the relevant user and the authorization of the relevant user should be obtained by appropriate means, wherein the relevant user can include any type of right subject, such as an individual, an enterprise, or a group.
[0025] For example, in response to receiving a user's active request, a prompt message is sent to the relevant user to explicitly 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 voluntarily choose whether to provide information to the electronic device, application program, server or storage medium, etc. software or hardware that performs the operation of the technical solutions of the present disclosure according to the prompt message.
[0026] As an optional but non-limiting implementation, in response to receiving the active request of the related user, the prompt information can be sent to the related user in the form of a pop-up window, and the prompt information can be presented in the form of text in the pop-up window. In addition, the pop-up window can also carry selection controls for the user to select "agree" or "disagree" to provide information to the electronic device.
[0027] It can be understood that the above notification and user authorization process is only illustrative and does not limit the implementation of the present disclosure, and other ways that meet relevant laws and regulations can also be applied to the implementation of the present disclosure.
[0028] As used herein, the term "model" can learn the association between the corresponding input and output from the training data, so that after the training is completed, the corresponding output can be generated for a given input. The generation of the model can be based on machine learning techniques. Deep learning is a machine learning algorithm that uses multiple layers of processing units to process inputs and provide corresponding outputs. The neural network model is an example of a model based on deep learning. In this article, "model" can also be referred to as "machine learning model", "learning model", "machine learning network" or "learning network", which are used interchangeably in this article.
[0029] With the rapid development of computer technology, model applications are increasingly penetrating into society and production and life. At present, model-based applications can be divided into three levels, namely model foundation layer, model development layer and model application layer. Based on the model development platform, users (sometimes also called creators of assistants) can build different assistants (Bots). The creator of the assistant can organize the call of the model by the assistant in the form of prompt information, interface, code. Then, the creator can publish the assistant created by him to different assistant application platforms.
[0030] However, for the current assistant creation platform, the assistant creation platform needs to actively interface with different assistant application platforms. Through this way, since the development and connection of the assistant creation platform need to be developed, it causes the problem of high development cost. Further, due to the differences between various assistant application platforms, it causes the problem of high adaptation cost. Correspondingly, due to limited resources, for example, some assistant application platforms do not support, there is no way to access unlimited assistant application platforms.
[0031] According to an embodiment of the present disclosure, an improved solution for digital assistant creation is provided. According to the solution, registration information of a first assistant application platform is acquired, the registration information including at least a first interface definition for publishing a digital assistant on the first assistant application platform. Then, a publishing confirmation information for a target digital assistant is received, the publishing confirmation information indicating that the target digital assistant is to be published to the first assistant application platform. Then, in response to the publishing confirmation information, the target digital assistant is published to the first assistant application platform based at least on the first interface definition.
[0032] In this way, the assistant application platform can be enabled to autonomously access the assistant creation platform. Further, based on the assistant creation platform, a creator can publish a digital assistant created by the creator to the assistant application platform.
[0033] FIG. 1 shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. The environment 100 involves an assistant creation platform 110 and N assistant application platforms 130-1, 130-2, …, 130-N, where N is an integer greater than or equal to 1. For ease of discussion, the assistant application platforms 130-1, 130-2, …, 130-N can be collectively referred to as or individually referred to as an assistant application platform 130.
[0034] In some embodiments, the assistant application platforms 130-1, 130-2, …, 130-N can be respectively deployed locally at terminal devices of users 145-1, 145-2, …, 145-N and / or can be supported by a remote server. For ease of discussion, the users 145-1, 145-2, …, 145-N can be collectively referred to as or individually referred to as a user 145. The assistant creation platform 110 can present a corresponding page to the user 145 based on an operation of the user 145 to output and / or receive information from the user 145. For example, the assistant creation platform 110 can receive registration information provided by the user 145 to the assistant creation platform 110 to implement publishing of a digital assistant created based on the creation platform 110. The user 145 can be a provider or a manager of the corresponding assistant application platform 130.
[0035] As shown in FIG. 1, an assistant creation platform 110 can provide a user 105 with an environment for creating and publishing a digital assistant. In some embodiments, the assistant creation platform 110 can be a low-code platform that provides a collection of tools for digital assistant creation. The assistant creation platform 110 can support visual development of a digital assistant, allowing developers to skip the process of hand-coding and speed up the development cycle and cost of an application. The assistant creation platform 110 can support any suitable platform for a user to develop a digital assistant and other types of applications, which can include, for example, an application platform-as-a-service (aPaaS)-based platform. Such a platform can enable efficient development of an application by a user, enabling operations such as application creation, application functionality adjustment, etc. In this document, a “platform” can correspond to an application, a website, etc. The user 105 can be any user that has access to the assistant creation platform 110 to create and publish a digital assistant via the assistant creation platform 110.
[0036] The assistant creation platform 110 can be deployed locally on a terminal device of the user 105 and / or can be supported by a remote server. For example, the terminal device of the user 105 can run a client of the assistant creation platform 110 that can support interaction of the user with the assistant creation platform 110. In a case where the assistant creation platform 110 is run locally on a terminal device of the user, the user 105 can directly interact with the assistant creation platform 110 locally via the client. In a case where the assistant creation platform 110 is run on a server device, the server device can provide services to the client running on the terminal device based on a communication connection between the server device and the terminal device. The assistant creation platform 110 can present a corresponding page 122 to the user 105 based on an operation of the user 105 to output and / or receive information from the user 105.
[0037] In some embodiments, the assistant creation platform 110 can be associated with a corresponding database that stores data or information required for a digital assistant creation process supported by the assistant creation platform 110. For example, the database can store code and description information corresponding to each functional module used to compose a digital assistant, etc. The assistant creation platform 110 can also perform operations such as calling, adding, deleting, updating, etc. of the functional modules in the database. The database can also store operations executable on different functional blocks. For example, in a scenario where a digital assistant is to be created, the assistant creation platform 110 can call corresponding functional blocks from the database to build the digital assistant.
[0038] In embodiments of the present disclosure, a user 105 can create a digital assistant 120 on the assistant creation platform 110 as needed and publish the digital assistant 120. The digital assistant 120 can be published to one or more assistant application platforms 130 (sometimes also referred to as a “publisher” or simply “publisher” of a digital assistant). After publication, the digital assistant 120 running on the assistant application platform 120 can be used for conversational interaction with a user 135. A client of the assistant application platform 130 can present an interaction window 132, e.g., a conversation window, of the digital assistant 120 in a client interface. Only the interaction between the digital assistant 120 on the assistant application platform 130-1 and the user 135 is shown in the figure, and other assistant application platforms 130 can also provide similar ways of interaction between a digital assistant and a user.
[0039] The digital assistant 120 is an intelligent assistant with intelligent conversational and information processing capabilities. The user 135 can input a conversation message in the conversation window, and the digital assistant 120 can determine a reply message based on the created configuration information and present the reply message to the user in the interaction window 132. In some embodiments, depending on the configuration of the digital assistant 120, the interaction message with the digital assistant 120 can include messages in multiple modalities, such as text messages (e.g., natural language text), voice messages, image messages, video messages, etc.
[0040] The assistant creation platform 110 and / or the assistant application platform 130 can run on appropriate electronic devices. An electronic device herein can be any type of device with computing capability, including an end device or a server device. An end device can be any type of mobile terminal, fixed terminal, or portable terminal including a mobile handset, 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 positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a game device, or any combination thereof, including accessories and peripherals of such devices or any combination thereof. A server device can include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, etc. In some embodiments, the assistant creation platform 110 and / or the assistant application platform 130 can be implemented based on cloud services.
[0041] It should be appreciated that the structure and functionality of the environment 100 are described for illustrative purposes only and without implying any limitation on the scope of the present disclosure. For example, while FIG. 1 illustrates a single user interacting with the assistant creation platform 110 and a single user interacting with the assistant application platform 130, in practice multiple users can access the assistant creation platform 110 to each create a digital assistant, and each digital assistant can be used to interact with multiple users.
[0042] Some example embodiments of the present disclosure will be described in detail below with reference to examples of the accompanying drawings. It should be appreciated that the pages shown in the accompanying drawings are merely examples, and various page designs can actually exist. Various graphical elements in the pages can have different arrangements and different visual representations, one or more of which can be omitted or replaced, and one or more other elements can also exist. Embodiments of the present disclosure are not limited in this respect.
[0043] The digital assistant creation process described by embodiments of the present disclosure can be implemented in an assistant creation platform, a terminal device on which the assistant creation platform is installed, and / or a server corresponding to the assistant creation platform. In the examples below, for the need of discussion, the perspective of the assistant creation platform is described, such as the assistant creation platform 110 shown in FIG. 1. The pages presented by the assistant creation platform 110 can be presented via the terminal device of the user 105, and user inputs can be received via the terminal device of the user 105. In this document, the user 105 who creates a digital assistant is also sometimes referred to as an assistant creator, an assistant developer, etc.
[0044] In some embodiments, the assistant creation platform 110 obtains registration information of the first assistant application platform. The registration information at least includes a first interface definition for publishing a digital assistant on the first assistant application platform. The assistant application platforms 130 (e.g., the assistant application platform 130-1, the assistant application platform 130-2, etc.) provide their respective registration information to the assistant creation platform 110, so that the assistant application platforms 130 can autonomously access the assistant creation platform 110.
[0045] In some examples, the assistant application platform 130 can be any platform that is capable of providing a running of a digital assistant. In some embodiments, the assistant application platform can correspond to a provider of various types of electronic devices, a provider of various types of application client platforms, etc. For example, the assistant application platform can be a provider of Internet of Things (IoT) devices, by registering to the assistant creation platform, the assistant creator can be allowed to publish a digital assistant to run on the corresponding IoT devices and for users of the IoT devices to download, install, and use.
[0046] In some embodiments, the interface definition can define a standard application programming interface (API), and can include a custom API Schema object to define the input and output format of the interface. For example, a first interface definition for publishing a digital assistant can define the input and output parameters of the API interface for publishing a digital assistant.
[0047] The OpenAPI Schema object is used to define the input and output format of the interface. That is, the assistant application platform is able to describe the specification of its own API through a computer language (e.g., a JSON file, a YAML file, etc.). Therefore, even if the API specifications of different assistant application platforms are different, after the different assistant application platforms describe the specifications of the API in this way, the assistant creation platform is able to call the assistant application platforms.
[0048] The solution for digital assistant creation of the present disclosure is implemented in the assistant creation platform 110. The assistant creation platform 110 receives registration information from the assistant application platform 130, which includes an interface definition. In some embodiments, the interface definition in the registration information is an application programming interface specification that can be parsed by the assistant creation platform 110.
[0049] Such an application programming interface (API) definition specification can be a general interface definition specification. For example, the OpenAPI (OAS) specification. The OpenAPI (OAS) specification is a standard, programming language-independent RESTful API specification. The OpenAPI specification enables humans and computers to understand the capabilities of a service or function without “touching any program source code and documentation, monitoring network communications”. In some embodiments, the interface definition information can include an OpenAPI Schema object. Of course, in other embodiments, other interface definition specifications that can be parsed by the assistant creation platform can also be selected in order to facilitate the parsing of the interface information of the assistant application platform by the assistant creation platform to complete the publishing capability of the created digital assistant to the assistant publishing platform.
[0050] In some embodiments, the registration information of the first assistant application platform acquired by the assistant creation platform 110 further includes description information of the first assistant application platform. In some examples, the assistant application platform 130 provides its description information to the assistant creation platform 110. The description information may, for example, include identification information (e.g., name, avatar, etc.) of the assistant application platform, and a brief introduction, etc. For example, the name of the assistant application platform 130, the avatar of the assistant application platform 130, the introduction of the assistant application platform 130, and the like are provided as description information to the assistant creation platform 110. In some embodiments, part or all of the description information of the first assistant application platform can be presented to the assistant creator later, so as to be selected by the assistant creator to publish the digital assistant created by the assistant creator.
[0051] In some embodiments, the assistant creation platform 110 can acquire the registration information of the first assistant application platform in the following manner. First, the assistant creation platform 110 receives a registration request of the first assistant application platform. Then, the assistant creation platform 110 provides a registration page to the first assistant application platform, the registration page including input controls for the registration information. Finally, the assistant creation platform 110 receives the registration information of the first assistant application platform via the registration page.
[0052] In some examples, the user 145 can send a registration request to the assistant creation platform 110. The assistant creation platform 110 provides a registration page for the user 145 to input the registration information after receiving the registration request from the assistant application platform 130. Then, the assistant creation platform 110 receives the registration information of the assistant application platform 130 based on the registration page.
[0053] In some embodiments, the assistant creation platform 110 receives a publication confirmation information of the target digital assistant, the publication confirmation information indicating that the target digital assistant is to be published to the first assistant application platform. Then, the assistant creation platform 110 publishes the target digital assistant to the first assistant application platform based at least on the first interface definition in response to the publication confirmation information.
[0054] In some examples, the assistant creation platform 110 completes the registration of the assistant application platform 130 after receiving the registration information of the assistant application platform 130. Then, the assistant creator 105 creates the digital assistant 120 based on the assistant creation platform 110, and selects the registered assistant application platform 130 as a publication channel, and clicks to confirm the publication. The assistant creation platform 110 publishes the digital assistant 120 to the registered assistant application platform 130 based at least on the first interface definition in response to the publication confirmation information. The publication of the digital assistant to the assistant application platform will be described in detail below with reference to FIGS. 3A-3B.
[0055] In some embodiments, after the assistant creation platform 110 publishes the digital assistant 120 to the assistant application platform 130, the assistant creation platform 110 can also send a publishing notification to the assistant application platform 130 that the digital assistant 120 has been published. After the assistant creator 105 completes the publishing, the assistant creation platform 110 can notify the assistant application platform 130 that the digital assistant 120 has been published through a predefined interface for publishing the digital assistant 120.
[0056] The following describes a scheme for registering an assistant application platform of the present disclosure with reference to FIG. 2 first for better understanding. FIG. 2 shows a schematic diagram of a process 200 for registering an assistant application platform according to some embodiments of the present disclosure.
[0057] In the process 200, the user 145 can send 211 the description information to the assistant creation platform 110, and send 212 the interface definition to the assistant creation platform 110 to request to register a publishing channel. In some examples, the user 145 can send the description information and the interface definition together to the assistant creation platform 110 to request to register the assistant application platform 130 on the assistant creation platform 110.
[0058] After the assistant creation platform 110 receives the description information and the interface definition from the assistant application platform 130, the assistant creation platform 110 registers 213 the assistant application platform 130 as a channel for publishing digital assistants. In some examples, after the assistant creation platform 110 receives the description information and the interface definition from the assistant application platform 130, the assistant creation platform 110 audits and registers the assistant application platform 130 as a channel for publishing digital assistants. Subsequently, the assistant creation platform 110 returns 214 the registration result to the assistant application platform 130.
[0059] The above describes the registration of an assistant application platform with reference to FIG. 2. Through the process 200, the assistant application platform will be registered as one of the publishing platforms for digital assistants. In embodiments of the present disclosure, by allowing the assistant application platform to register and adapt to the assistant creation platform by providing a unified standard interface definition, the assistant application platform is adapted as a publishing candidate for digital assistants. This provides a more flexible way of extending the assistant application platform, so that more assistant application platforms can act as publishing channels for digital assistants through this scheme. In addition, this also reduces the processing complexity of the assistant creation platform, without the need to develop individualized interfaces and processing approaches for different assistant application platforms, the same digital assistant can be published and run to more assistant application platforms.
[0060] After one or more assistant application platforms 130 are registered to the assistant creation platform 110 through the self-define way, an assistant creator (e.g., a user 105) can create a digital assistant 120 on the assistant creation platform 110 and select the registered assistant application platforms 130 as the publishing channels, and click to confirm the publishing. The following will describe that the assistant creator 105 creates a digital assistant 120 on the assistant creation platform 110 and selects the registered assistant application platforms 130 as the publishing channels based on the assistant creation platform 110 with reference to FIG. 3A. FIG. 3A shows a schematic diagram of an example architecture for publishing a digital assistant to an assistant application platform according to some embodiments of the present disclosure.
[0061] In some embodiments, the assistant creation platform 110 provides a candidate platform list in response to detecting a publishing request for a target digital assistant. The candidate platform list includes at least a first registered assistant application platform. Then, the assistant creation platform 110 receives a publishing confirmation information based on at least a selection of the first assistant application platform and a publishing confirmation of the target digital assistant.
[0062] In the example architecture 300A, a user 105 (also sometimes referred to as an assistant creator 105) sends (311) a request to create a digital assistant 120 to the assistant creation platform 110. The assistant creation platform 110 creates the digital assistant 120 based on the request of the assistant creator 105. Subsequently, the assistant creator 105 sends (312) a request to publish the digital assistant 120 to the assistant application platform 130 to the assistant creation platform 110.
[0063] The assistant creation platform 110 detects the publishing request for the digital assistant 120 and provides a candidate platform list to the assistant creator 105. The candidate platform list includes at least a registered assistant application platform 130, e.g., including a registered assistant application platform 130-1, an assistant application platform 130-2, an assistant application platform 130-3, and so on. FIG. 3B shows a schematic diagram of an example interface of a candidate platform list according to some embodiments of the present disclosure.
[0064] As shown in the example interface 300B, the assistant creation platform 110 provides a candidate platform list 321 to the assistant creator 105, which includes at least a registered assistant application platform 130-1. The assistant creator 105 can click a selection box 322 to select the authorized assistant application platform 130-1. In some examples, the candidate platform list includes one or more assistant application platforms registered by the platform party itself, and can also include one or more assistant application platforms provided by default by the digital creation platform.
[0065] The assistant creator 105 selects the assistant application platform 130 based on the candidate platform list provided by the assistant creation platform 110. Then, the assistant creation platform 110 receives the publishing confirmation information based on the assistant creator 105’s confirmation of at least the selection of the assistant application platform 130 and the publication of the digital assistant 120.
[0066] The above describes the assistant creator 105 creating the digital assistant 120 based on the assistant creation platform 110 and selecting the registered assistant application platform 130 as the publishing channel with reference to FIG. 3A. The following will continue to describe the process of the assistant creation platform 110 receiving the authorization of the assistant creator by the assistant application platform 130 after the assistant creator 105 selects the registered assistant application platform 130 as the publishing channel with reference to FIG. 3B.
[0067] In some embodiments, the registration information received by the assistant creation platform 110 further includes an authorization mode of the first assistant application platform to the assistant creator. In some embodiments, the authorization mode is used to indicate that the assistant application platform 130 needs to provide a way of API request authentication to the assistant creation platform 110. For example, if the assistant application platform 130 requires the assistant creator to authorize, an OAuth authorization operation is performed first.
[0068] In some embodiments, the assistant creation platform 110 requests the authorization of the creator of the target digital assistant by the corresponding assistant application platform 130 based on the authorization mode in response to the publishing confirmation information. Then, the assistant creation platform 110 publishes the target digital assistant to the first assistant application platform based on the first interface definition in response to determining that the authorization of the creator of the target digital assistant by the assistant application platform 130 is completed.
[0069] Continuing the example framework 300A, if the assistant creation platform 110 requires the user 105 to perform an authorization operation after the assistant creation platform 110 receives the publishing confirmation information, the assistant creation platform 110 requests (315) the assistant application platform 130 to authorize the assistant creator 105. In some embodiments, the assistant application platform 130 can be jumped (316) to authorize the user 105.
[0070] The assistant application platform 130 returns (317) the authorization result (e.g., agree to authorize or refuse to authorize) to the assistant creation platform 110. If the authorization of the assistant creator 105 of the digital assistant 120 is completed, the assistant creation platform 110 publishes the digital assistant 120 to the assistant application platform 130 according to the interface definition. The assistant creation platform 110 can also send (318) a publishing notification to inform the assistant application platform 130 that the digital assistant 120 has been published.
[0071] In some embodiments, the assistant application platform can customize the exposure scope at the time of registration, for example, can be used by a part of the digital assistant creation party or all digital assistant creation party. The creation party within the exposure scope can publish the digital assistant created by itself to the assistant application platform. The assistant application platform can define its own authorization mode to facilitate the authorization of the assistant creation party.
[0072] The process of the present disclosure for publishing a digital assistant to an assistant application platform 130 is described above with reference to FIG. 3A. It will be described below that after the digital assistant 120 is published, based on the second interface definition, an access link to the published digital assistant 120 on the assistant application platform 130 is provided. In this way, after the digital assistant 120 is published, the access link to the digital assistant 120 on the corresponding assistant application platform 130 can be automatically created for the user 105, so that the user 105 can quickly access the published digital assistant.
[0073] In some embodiments, the registration information further includes a second interface definition for accessing the digital assistant published on the first assistant application platform. The second interface definition (for example, OpenIn sharing link) is used to indicate that the assistant application platform 130 needs to provide a way to access the digital assistant directly (OpenIn) based on the OpenAPI schema, for example, a link, an application link (APP Link).
[0074] In some embodiments, the interface definition can define a standard application programming interface (API), and can include a custom API Schema object for defining the input and output formats of the interface. For example, the second interface definition for accessing the published digital assistant can define the input and output parameters of the API interface for accessing the digital assistant.
[0075] In some embodiments, the assistant creation platform 110 provides an access link to the published target digital assistant on the first assistant application platform based on the second interface definition in response to the target digital assistant being published to the first assistant application platform. After that, the target digital assistant on the first assistant application platform will be jumped via the access link.
[0076] In some examples, the assistant application platform 130, when providing the registration information, can provide a second interface definition for the assistant creation platform 110 to provide an access link to the digital assistant 120 when the digital assistant 120 is published to the assistant application platform 130. Thus, the assistant creator 105 can directly access the published digital assistant 120 through the access link. For example, the “XX application” provides the second interface definition when providing the registration information. If the assistant creator 105 creates the “XX digital assistant” and publishes it in the “XX application”, the second interface definition is the link that can be directly used to access the “XX digital assistant”.
[0077] In some embodiments, if the assistant application platform 130 does not provide the second interface definition when providing the registration information, the assistant creation platform 110 can directly provide a text instruction to the assistant creator 105 to inform the assistant creator 105 how to access the published digital assistant 120 on the assistant application platform 130.
[0078] The above describes that the access link to the published digital assistant 120 on the assistant application platform 130 is provided based on the second interface definition after the digital assistant 120 is published. The following will continue to describe that the assistant creation platform 110, when receiving the registration information, also associates the assistant application platform 130 to a third interface definition so that the assistant application platform 130 interacts with the digital assistant according to its own business scenario. FIG. 4 shows a schematic diagram of an example architecture for a user to interact with a digital assistant according to some embodiments of the present disclosure.
[0079] In some embodiments, the assistant creation platform 110, in response to the registration information of the first assistant application platform, associates the first assistant application platform to a third interface definition. The third interface definition is used to define an interaction interface between the user and the digital assistant published on the first assistant application platform. The third interface definition is a model-based interaction interface (also referred to as “Chat interface”) provided by the assistant creation platform 110.
[0080] It can be understood that the user 135 (also referred to as the assistant interaction user on the assistant application platform side) interacts with the digital assistant 120 on the assistant application platform 130 side, and the assistant application platform 130 interacts through the third interface definition provided by the assistant creation platform 110 and returns the result and displays it. In some examples, the third interface definition is a fixed interface provided by the assistant creation platform 110.
[0081] In some embodiments, the assistant creation platform 110 receives, from the first assistant application platform, query content of a user to the target digital assistant according to the third interface definition after the target digital assistant is published to the first assistant application platform. Upon receiving the query content, the reply content to the query content is determined by utilizing the target digital assistant.
[0082] In some examples, the target digital assistant can determine the reply content to the query content based on a machine learning model (e.g., a language model LLM). In some embodiments, the assistant creation platform 110 provides the reply content to the first assistant application platform according to the third interface definition for generating a reply message to the user by the first assistant application platform.
[0083] In some examples, the assistant creation platform 110 receives, from the assistant application platform 130, query content to the digital assistant 120 according to the third interface definition after the digital assistant 120 is published to the assistant application platform 130. Upon receiving the query content, the assistant creation platform 110 can utilize the digital assistant 120 to determine reply content to the query content. In some examples, the digital assistant 120 can determine the reply content to the query content based on a machine learning model (e.g., a language model LLM). Subsequently, the assistant creation platform 110 provides the reply content to the assistant application platform 130 according to the third interface definition for generating a reply message to the user by the assistant application platform 130.
[0084] In some embodiments, the assistant creation platform 110 associates the second assistant application platform to the third interface definition upon obtaining the registration information of the second assistant application platform. The assistant creation platform 110 receives, from the second assistant application platform, another query content of a user to the target digital assistant according to the third interface definition after the target digital assistant is published to the second assistant application platform. Upon receiving the query content, the assistant creation platform 110 utilizes the target digital assistant to determine reply content to the other query content.
[0085] In some examples, the target digital assistant can determine the reply content to the query content based on a machine learning model (e.g., a language model LLM). In some embodiments, the assistant creation platform 110 provides the reply content to the second assistant application platform according to the third interface definition for generating a reply message to the user by the second assistant application platform.
[0086] In some examples, the assistant creation platform 110 associates the assistant application platform 130-1 to the third interface definition upon obtaining the registration information of the assistant application platform 130-1. After the digital assistant 120 is published to the assistant application platform 130-1, the assistant creation platform 110 receives another query content for the digital assistant 120 from the assistant application platform 130-1 according to the third interface definition. Upon receiving the other query content, the assistant creation platform 110 can determine a reply content for the other query content with the digital assistant 120. The digital assistant 120 can determine the reply content for the query content based on a machine learning model (e.g., a language model LLM). Subsequently, the assistant creation platform 110 provides the reply content to the assistant application platform 130-1 based on the third interface definition for generating a reply message to the user by the assistant application platform 130.
[0087] In the example architecture 400, the user 135 sends (411) a user message to the digital assistant 120, the user message indicating a message sent by the user 135 in an interaction window. The digital assistant 120 sends (412) a query content to the assistant application platform 130, the query content indicating a substantial content in the message sent by the user 135 in the interaction window. Upon receiving the query content, the assistant application platform 130 sends (413) an interaction request to the assistant creation platform 110.
[0088] Upon receiving the reply content, the assistant application platform 130 returns (415) the reply content to the digital assistant 120. Upon receiving the reply content, the digital assistant 120 presents (416) the reply content to the user 135 in a reply message.
[0089] For example, the third interface definition used by different assistant application platforms is the same interface. The third interface definition can distinguish different assistant application platforms based on parameters corresponding to the different assistant application platforms. In some embodiments, the third interface definition also has interfaces of different modalities. For example, a voice modality for interaction in a voice form. For another example, a text modality for interaction in a text form.
[0090] In some examples, since the message forms supported by different assistant application platforms are various, for example, card form, text form, voice form, etc. Therefore, for the messages of the user on the side of the different assistant application platforms, the assistant creation platform needs to organize and display the messages for the user in the message display manner supported by the assistant application platform through the interface according to the message display manner supported by the assistant application platform, thereby increasing the development cost. The following description is based on the third interface definition, the user interacts with the digital assistant.
[0091] The third interface definition provided by the assistant creation platform 110 is requested by the assistant application platform 130. After receiving the request, the assistant creation 110 structures the parameters included in the assistant application platform 130. Then, the assistant application platform 130 determines to display the message content in the target display manner.
[0092] For example, if the specification of the API described in the JSON text language of the assistant application platform 130, the assistant creation platform 110 informs the assistant application platform 130 what the text is, what the voice is, what the picture is, etc. The message content of the user's interaction with the digital assistant. Then, the assistant application platform 130 determines what display manner to display the message content. For example, the assistant application platform 130 can choose to display the message content in the card form. If the assistant application platform 130 does not support the card, the text and the picture can be displayed as two messages, or the text can be converted to voice and played, or the result determined by the machine learning model can be played in the form of a phone call through voice.
[0093] After the assistant application platform is registered, the assistant creation platform can initiate a request to the assistant application platform according to the API Schema at the time of registration to complete related operations. For example, publishing a digital assistant, requesting authorization, sharing a digital assistant, etc. Correspondingly, the assistant creation platform also provides a standard model-based interaction interface so that the assistant application platform can interact with the digital assistant according to its business scenarios.
[0094] In summary, the assistant creation platform can provide the ability of customizing the channel and develop to provide access support to the society. For example, the assistant application platform (IoT platform, such as smart home, smart wearable device manufacturers) can independently access the assistant creation platform, and the assistant creator can also publish the digital assistant developed based on the model to the assistant application platform. Further, for the internal application of the company, the internal scene of the government and the school, etc. can independently access the assistant creation platform, which can bring convenience of model application to the society, enterprises, schools, students, etc. Correspondingly, for the assistant creation platform, the cost of access channel can be saved.
[0095] FIG. 5 illustrates a flowchart of a process 500 for digital assistant creation, according to some embodiments of the present disclosure. The process 500 can be implemented at the assistant creation platform 110. The process 500 is described below with reference to FIG. 1.
[0096] At block 510, the assistant creation platform 110 obtains registration information of the first assistant application platform, the registration information including at least a first interface definition for publishing a digital assistant on the first assistant application platform.
[0097] At block 520, the assistant creation platform 110 receives publishing confirmation information for the target digital assistant, the publishing confirmation information indicating that the target digital assistant is published to the first assistant application platform.
[0098] At block 530, the assistant creation platform 110 publishes the target digital assistant to the first assistant application platform based at least on the first interface definition, in response to the publishing confirmation information.
[0099] In some embodiments, the registration information further includes an authorization mode of the first assistant application platform for the assistant creator, wherein the publishing the target digital assistant to the first assistant application platform comprises: requesting the first assistant application platform to authorize the creator of the target digital assistant based on the authorization mode, in response to the publishing confirmation information; and publishing the target digital assistant to the first assistant application platform based on the first interface definition, in response to determining that the first assistant application platform completes the authorization of the creator of the target digital assistant.
[0100] In some embodiments, the registration information further includes a second interface definition for accessing the digital assistant published on the first assistant application platform, and the process 500 further comprises: providing an access link to the published target digital assistant on the first assistant application platform based on the second interface definition, in response to the target digital assistant being published to the first assistant application platform, wherein the target digital assistant on the first assistant application platform is jumped to via the access link.
[0101] In some embodiments, the process 500 further comprises: associating the first assistant application platform to a third interface definition for defining an interaction interface between a user and a digital assistant published on the first assistant application platform, in response to the registration information of the first assistant application platform.
[0102] In some embodiments, the process 500 further comprises: receiving a query content of a user for the target digital assistant from the first assistant application platform based on the third interface definition, after the target digital assistant is published to the first assistant application platform; determining a reply content for the query content by utilizing the target digital assistant; and providing the reply content to the first assistant application platform for generating a reply message to the user by the first assistant application platform, based on the third interface definition.
[0103] In some embodiments, the process 500 further includes: in response to obtaining the registration information of the second assistant application platform, associating the second assistant application platform to a third interface definition; and after the target digital assistant is published to the second assistant application platform, receiving, from the second assistant application platform, another query content of the target digital assistant based on the third interface definition; determining, with the target digital assistant, a reply content for the other query content based on the query content; and providing, based on the third interface definition, the reply content to the second assistant application platform for generating a reply message to the user by the second assistant application platform.
[0104] In some embodiments, receiving the publication confirmation information of the target digital assistant includes: in response to detecting the publication request of the target digital assistant, providing a candidate platform list, the candidate platform list including at least the registered first assistant application platform; and receiving the publication confirmation information based on at least the selection of the first assistant application platform and the publication confirmation of the target digital assistant.
[0105] In some embodiments, the registration information further includes description information of the first assistant application platform.
[0106] In some embodiments, obtaining the registration information of the first assistant application platform includes: receiving a registration request of the first assistant application platform; providing a registration page to the first assistant application platform, the registration page including an input control of the registration information; and receiving the registration information of the first assistant application platform via the registration page.
[0107] In some embodiments, the method is implemented in an assistant creation platform, and the interface definition in the registration information is based on an application programming interface specification that is resolvable by the assistant creation platform.
[0108] In some embodiments, the process 500 further includes: sending, to the first assistant application platform, a publication notification that the target digital assistant has been published.
[0109] FIG. 6 illustrates a schematic structural block diagram of an apparatus 600 for digital assistant creation, according to some embodiments of the present disclosure. The apparatus 600 may, for example, be implemented in or included in the assistant creation platform 110. Various modules / components in the apparatus 600 can be implemented by hardware, software, firmware, or any combination thereof.
[0110] As shown, the apparatus 600 includes an information obtaining module 610 configured to obtain registration information of a first assistant application platform, the registration information comprising at least a first interface definition for publishing a digital assistant on the first assistant application platform. The apparatus 600 further includes an information receiving module 620 configured to receive publishing confirmation information for a target digital assistant, the publishing confirmation information indicating that the target digital assistant is to be published to the first assistant application platform. The apparatus 600 further includes a publishing module 630 configured to, in response to the publishing confirmation information, publish the target digital assistant to the first assistant application platform based at least on the first interface definition.
[0111] In some embodiments, the registration information further comprises an authorization mode of the first assistant application platform for an assistant creator, the publishing module 630 is further configured to, in response to the publishing confirmation information, request the first assistant application platform to authorize the creator of the target digital assistant based on the authorization mode; and in response to determining that the first assistant application platform completes the authorization of the creator of the target digital assistant, publish the target digital assistant to the first assistant application platform based on the first interface definition.
[0112] In some embodiments, the registration information further comprises a second interface definition for accessing the digital assistant published on the first assistant application platform, the apparatus 600 further includes a link providing module configured to, in response to the target digital assistant being published to the first assistant application platform, provide an access link to the published target digital assistant on the first assistant application platform based on the second interface definition, wherein the target digital assistant on the first assistant application platform is to be jumped to via the access link.
[0113] In some embodiments, the apparatus 600 further includes an interface definition associating module configured to, in response to the registration information of the first assistant application platform, associate the first assistant application platform to a third interface definition, the third interface definition being used to define an interaction interface between a user and a digital assistant published on the first assistant application platform.
[0114] In some embodiments, the apparatus 600 further includes a content querying module configured to, after the target digital assistant is published to the first assistant application platform, receive, from the first assistant application platform, a query content of the user for the target digital assistant based on the third interface definition; determine a reply content for the query content by using the target digital assistant; and provide the reply content to the first assistant application platform based on the third interface definition, so as to generate, by the first assistant application platform, a reply message to the user.
[0115] In some embodiments, the apparatus 600 further includes a content providing module configured to, in response to obtaining the registration information of the second assistant application platform, associate the second assistant application platform to the third interface definition; and after the target digital assistant is published to the second assistant application platform, receive, based on the third interface definition, another query content of the target digital assistant from the second assistant application platform; determine, based on the query content, a reply content for the other query content by using the target digital assistant; and provide, based on the third interface definition, the reply content to the second assistant application platform to generate a reply message to the user by the second assistant application platform.
[0116] In some embodiments, the information receiving module 620 is further configured to, in response to detecting the publishing request of the target digital assistant, provide a candidate platform list, the candidate platform list including at least the registered first assistant application platform; and receive the publishing confirmation information based on at least the selection of the first assistant application platform and the publishing confirmation of the target digital assistant.
[0117] In some embodiments, the registration information further includes description information of the first assistant application platform.
[0118] In some embodiments, the information obtaining module 610 is further configured to receive a registration request of the first assistant application platform; provide a registration page to the first assistant application platform, the registration page including an input control of the registration information; and receive the registration information of the first assistant application platform via the registration page.
[0119] In some embodiments, the method is implemented in an assistant creation platform, and the interface definition in the registration information is based on an application programming interface specification that is resolvable by the assistant creation platform.
[0120] In some embodiments, the apparatus 600 further includes a notification publishing module configured to send, to the first assistant application platform, a publishing notification that the target digital assistant has been published.
[0121] FIG. 7 illustrates a block diagram of an electronic device 700 in which one or more embodiments of the disclosure can be implemented. It should be understood that the electronic device 700 illustrated in FIG. 7 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 700 illustrated in FIG. 7 can include or be implemented as the assistant creation platform 110 of FIG. 1, or the apparatus 600 of FIG. 6.
[0122] As shown in FIG. 7, electronic device 700 is in the form of a general-purpose electronic device. Components of electronic device 700 can include, but are not limited to, one or more processors or processing units 710, memory 720, storage 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. Processing unit(s) 710 can be actual or virtual processors and capable of executing various processing in accordance with programs stored in memory 720. In a multi-processing system, multiple processing units execute computer-executable instructions in parallel to improve the processing power of electronic device 700.
[0123] Electronic device 700 typically includes a plurality of computer storage media. Such media can be removable and / or non-removable, and can include volatile and / or nonvolatile media. Memory 720 can be volatile (such as, for example, registers, cache, random access memory (RAM)), non-volatile (such as, for example, read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage 730 can be removable or non-removable and can include machine-readable media, such as, for example, flash drives, disks, or any other media capable of storing information and / or data and accessible by electronic device 700.
[0124] Electronic device 700 can further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 7, a disk drive or other computer-readable media drive can be provided for reading from or writing to a removable, non- volatile magnetic disk (e.g., a "hard drive"), and a disk drive or other computer-readable media drive can be provided for reading from or writing to a removable, non-volatile optical disk (such as a CD-ROM or other optical medium). In these instances, each drive can be connected to the bus (not shown) by one or more data media interfaces. Memory 720 can include a computer program product 725 having one or more program modules configured to carry out the various methods or actions of the various embodiments of the present disclosure.
[0125] Communication unit(s) 740 enable communication with other electronic devices via communication media. Additionally, functionality of components of electronic device 700 can be implemented in a single computing cluster or a plurality of computer machines capable of communication through a communication connection. Thus, electronic device 700 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network nodes.
[0126] Input device 750 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. Output device 760 can be one or more output devices, such as a display, a speaker, a printer, etc. Electronic device 700 can also communicate with one or more external devices (not shown) such as a storage device, a display device, etc. through communication unit 740, as desired, in order to communicate with one or more devices that enable a user to interact with electronic device 700, or to communicate with any device (e.g., a network card, a modem, etc.) that enables electronic device 700 to communicate with one or more other electronic devices. Such communication can be carried out via an input / output (I / O) interface (not shown).
[0127] According to an example implementation of the present disclosure, a computer readable storage medium is provided having computer executable instructions stored thereon, where the computer executable instructions are executed by a processor to implement the method described above. According to an example implementation of the present disclosure, a computer program product is also provided that is tangibly stored on a non-transitory computer readable medium and includes computer executable instructions, where the computer executable instructions are executed by a processor to implement the method described above.
[0128] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0129] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0130] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0131] The computer program product of the present disclosure can be a computer program product, which is a machine-readable medium (media) having instances of the software embodied thereon, such as computer software, firmware, wireless application protocol (WAP), middleware or microcode. For example, a computer program product can be a floppy disk, a CD-ROM, a DVD, a Blu-ray Disc™, a flash drive, a memory stick, a magnetic tape, or a hard disk drive. The computer program product can also be an article of manufacture that comprises a computer readable medium. The medium can comprise a hard disk drive, a memory, or a floppy diskette, which can be accessed using a drive unit. Additionally, the medium can comprise a storage device that can store program codes. The storage device can include, but is not limited to, devices needing a platter and a read / write head, optical disk drives such as CD-ROM, DVD, Blu-ray Disc™ drives, memory devices such as flash drives, memory sticks, or any device that stores digital information. Additionally, the medium can include a single storage device or a plurality of storage devices. The medium can store program codes individual ly or in combination with other devices. In one implementation, the medium upon which the program codes can be distributed over the Internet is also included in the computer program product. The computer program product described herein can also be a computer program product that is a transitory signal that can be embodied by a carrier wave or a program signal that can be dispatched over a network.
[0132] The implementations of the disclosure have been described above with the intent to be illustrative rather than limiting. Although the implementations of the disclosure have been described with regard to one or more implementations, it will be recognized that various modifications and changes can be made by those skilled in the art that will achieve the desirable results of the implementations, such one or more of the above. For instance, different material can be utilized. Different dimensions and shapes can be used. Different numbers of components can be used. Different materials can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used. Different numbers of components can be used.
Claims
1.A method for digital assistant creation, comprising: obtaining registration information of a first assistant application platform, the registration information comprising at least a first interface definition for publishing a digital assistant on the first assistant application platform; receiving a publishing confirmation information for a target digital assistant, the publishing confirmation information indicating that the target digital assistant is to be published to the first assistant application platform; and in response to the publishing confirmation information, publishing the target digital assistant to the first assistant application platform based at least on the first interface definition. 2.The method of claim 1, wherein the registration information further comprises an authorization mode of the first assistant application platform for an assistant creator, and wherein publishing the target digital assistant to the first assistant application platform comprises: in response to the publishing confirmation information, requesting the first assistant application platform to authorize the creator of the target digital assistant based on the authorization mode; and in response to determining that the first assistant application platform completes the authorization of the creator of the target digital assistant, publishing the target digital assistant to the first assistant application platform based on the first interface definition. 3.The method of claim 1, wherein the registration information further comprises a second interface definition for accessing a digital assistant published on the first assistant application platform, and the method further comprises: in response to the target digital assistant being published to the first assistant application platform, providing an access link to the published target digital assistant on the first assistant application platform based on the second interface definition, wherein a jump to the target digital assistant on the first assistant application platform is made via the access link. 4.The method of claim 1, further comprising: in response to the registration information of the first assistant application platform, associating the first assistant application platform to a third interface definition, the third interface definition being used to define an interaction interface between a user and a digital assistant published on the first assistant application platform. 5.The method of claim 4, further comprising: after the target digital assistant is published to the first assistant application platform, receiving a query content of a user to the target digital assistant from the first assistant application platform based on the third interface definition; determining a reply content to the query content by using the target digital assistant; and providing the reply content to the first assistant application platform to generate a reply message to the user by the first assistant application platform based on the third interface definition. 6.The method of claim 4, further comprising: in response to obtaining registration information of a second assistant application platform, associating the second assistant application platform to the third interface definition; and after the target digital assistant is published to the second assistant application platform, receiving another query content of a user to the target digital assistant from the second assistant application platform based on the third interface definition; determining a reply content to the another query content by using the target digital assistant based on the query content; and providing the reply content to the second assistant application platform to generate a reply message to the user by the second assistant application platform based on the third interface definition. Based on the third interface definition, the reply content is provided to the second assistant application platform to generate a reply message to the user by the second assistant application platform. 7.The method of claim 1, wherein receiving the publication confirmation information for the target digital assistant comprises: in response to detecting the publication request for the target digital assistant, providing a candidate platform list, the candidate platform list comprising at least the first assistant application platform that has registered; and based on at least the selection of the first assistant application platform and the publication confirmation of the target digital assistant, receiving the publication confirmation information. 8.The method of claim 1, wherein the registration information further comprises description information for the first assistant application platform. 9.The method of claim 1, wherein obtaining the registration information of the first assistant application platform comprises: receiving a registration request of the first assistant application platform; providing a registration page to the first assistant application platform, the registration page comprising input controls for registration information; and receiving the registration information of the first assistant application platform via the registration page. 10.The method of claim 1, wherein the method is implemented in an assistant creation platform, and the interface definition in the registration information is based on an application programming interface specification that is resolvable by the assistant creation platform. 11.The method of claim 1, further comprising: sending a publication notification to the first assistant application platform that the target digital assistant has been published. 12.An apparatus for digital assistant creation, comprising: an information obtaining module configured to obtain registration information of a first assistant application platform, the registration information comprising at least a first interface definition for publishing a digital assistant on the first assistant application platform; an information receiving module configured to receive publication confirmation information for a target digital assistant, the publication confirmation information indicating that the target digital assistant is to be published to the first assistant application platform; and a publishing module configured to publish the target digital assistant to the first assistant application platform based at least on the first interface definition in response to the publication confirmation information. 13.An electronic device, comprising: 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, the instructions 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 stored thereon a computer program, the computer program being executable by a processor to implement the method according to any one of claims 1 to 11. 15.A computer program product, the computer program product being tangibly stored on a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Method, device, equipment, medium and product for creating digital assistant
CN120872220A
Service interaction method and system
CN101964797A
MEC information acquisition method and device
CN110730499A
Information processing system, method and device and readable storage medium
CN111708589A
End-to-end service system digital assistant construction system and method
CN117909457A