Ai vendor hosting method, apparatus, medium, and device

By acquiring and verifying AI vendor configuration files through AI gateway relay instances, generating a set of capability information and reporting it to a centralized registry, the problem of long AI vendor access cycles and poor consistency in traditional technologies is solved. This enables fast, code-free access and capability management, ensuring system stability and consistency.

CN123164151APending Publication Date: 2026-11-24HANGZHOU YUANSUAN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611545583.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-30
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Traditional technologies involve a long onboarding process for AI vendors, making it difficult to achieve rapid, code-free onboarding. Furthermore, inconsistent deployments across multiple instances result in poor management and difficulty in timely updating vendor capabilities, leading to request failures and challenges in capability reuse.

Method used

The AI ​​gateway relay instance obtains and verifies the configuration files of AI suppliers, generates a set of capability information, and reports it to the centralized registry. The management plane determines available suppliers based on the set of capability information of active instances, thereby achieving automated onboarding and capability management.

Benefits of technology

It enables rapid integration with AI vendors without modifying core service code, ensuring system consistency and timely updates of vendor capabilities, avoiding request failures, and supporting capability reuse and automatic display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123164151A_ABST
    Figure CN123164151A_ABST
Patent Text Reader

Abstract

This application relates to a method, apparatus, medium, and device for AI vendor onboarding. The AI ​​vendor onboarding method is applied to an AI gateway relay instance and includes: obtaining configuration files corresponding one-to-one with one or more AI vendors, each configuration file declaring the access capabilities of the corresponding AI vendor; loading each configuration file, verifying the declared access capabilities of the AI ​​vendors, and determining whether the access capabilities are available; generating a capability information set for the AI ​​gateway relay instance based on the determination of the access capability availability; and reporting the capability information set of the AI ​​gateway relay instance to a centralized registry, so that the management plane can obtain the capability information sets reported by multiple AI gateway relay instances from the centralized registry, and determine the available AI vendors in a preset group based on the capability information sets. This method allows for AI vendor onboarding without modifying the core service code, reducing onboarding costs and deployment time; and avoids the management plane exposing unavailable AI vendors during system runtime, leading to request failures.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of AI gateway technology, and in particular to a method, apparatus, medium and equipment for AI vendor onboarding. Background Technology

[0002] As AI (Artificial Intelligence) gateways simultaneously connect to multiple large model providers, significant differences emerge between these providers in areas such as interface addresses, authentication methods, model queries, balance queries, request mapping, response mapping, and usage extraction. Traditionally, integrating a new AI provider typically requires developers to modify code, add adaptation logic, republish the service, and manually add available capabilities and channel configurations in the management backend. This approach suffers from the following problems: The integration process is lengthy; each time a new supplier or interface type is added, code modifications, regression testing, and redeployment are typically required.

[0003] The runtime and management planes are prone to drift. Even if the runtime supports a certain vendor, the management backend may not be able to know its available capabilities, authentication methods, model query methods, or billing-related capabilities in a timely manner.

[0004] Poor consistency in multi-instance deployments, where some instances have already loaded the new configuration while others have not, may cause requests to fail after landing on older instances if the management interface exposes the vendor in advance.

[0005] Supplier capabilities are difficult to reuse. Existing solutions typically only use configurations for request forwarding, making it difficult to reuse them simultaneously for channel creation, billing capability testing, supplier management, and troubleshooting. Summary of the Invention

[0006] To overcome the problems existing in related technologies, this application provides an AI supplier onboarding method, apparatus, medium and equipment.

[0007] According to a first aspect of the embodiments of this application, an AI supplier onboarding method is provided, applied to an AI gateway relay instance, including: Obtain configuration files corresponding to one or more AI vendors, each configuration file being used to declare the access capabilities of the corresponding AI vendor; Load each configuration file, verify the access capabilities of the declared AI vendor, and determine whether the access capabilities are available; Based on the determination result of whether the access capability is available, a capability information set of the AI ​​gateway relay instance is generated; The capability information set of the AI ​​gateway relay instance is reported to the centralized registry, so that the management plane can obtain the capability information set reported by multiple AI gateway relay instances from the centralized registry, and determine the available AI suppliers in the preset group based on the capability information set.

[0008] Based on the foregoing scheme, in some embodiments of this application, the capability information set of the AI ​​gateway relay instance includes: The AI ​​gateway relay instance successfully loads the supplier name, configuration version, and access capability information of one or more AI vendors, as well as the instance region and program version of the AI ​​gateway relay instance; wherein, the access capability information includes one or more of the following: base address, routing list, authentication configuration, balance query capability, model query capability, and usage facts.

[0009] Based on the foregoing solution, in some embodiments of this application, obtaining the configuration file corresponding one-to-one with one or more AI suppliers includes: When the AI ​​gateway relay instance starts, it scans the supplier configuration source to obtain the configuration files of one or more AI suppliers.

[0010] Based on the aforementioned scheme, in some embodiments of this application, the supplier configuration source includes: a preset directory, a multi-supplier merged file, a remote object storage source, and a configuration mirror in a database.

[0011] Based on the aforementioned solution, in some embodiments of this application, the AI ​​supplier onboarding method further includes: Receive a change trigger signal, which is used to indicate whether the configuration file of the AI ​​supplier is changed or a new configuration file of the AI ​​supplier is added; Load the configuration files of the modified AI vendors and / or the newly added AI vendors, verify the access capabilities of the declared AI vendors, and determine whether the access capabilities are available. Based on the determination of whether the access capability is available, the capability information set of the AI ​​gateway relay instance is updated and reported to the centralized registry.

[0012] Based on the foregoing scheme, in some embodiments of this application, updating the capability information set of the AI ​​gateway relay instance according to the determination result of whether the access capability is available includes: If the access capabilities declared in the modified AI vendor's configuration file are available, update the configuration version and access capability information of the AI ​​vendor in the capability information set of the AI ​​gateway relay instance. If the access capabilities declared in the configuration file of the newly added AI vendor are available, add the vendor name, configuration version, and access capability information of the AI ​​vendor to the capability information set of the AI ​​gateway relay instance.

[0013] Based on the foregoing solution, in some embodiments of this application, updating the capability information set of the AI ​​gateway relay instance according to the determination result of whether the access capability is available further includes: If the access capability declared in the configuration file of the modified AI vendor is unavailable, delete the vendor name, configuration version, and access capability information of the AI ​​vendor from the capability information set of the AI ​​gateway relay instance, and record the error information; if the access capability declared in the configuration file of the newly added AI vendor is unavailable, do not update the capability information set of the AI ​​gateway relay instance, and record the error information; report the error information to the centralized registry.

[0014] According to another aspect of the embodiments of this application, an AI supplier onboarding method is provided, applied to the management aspect, including: Identify multiple AI gateway relay instances that are active within a preset time frame in a preset group; The system obtains the capability information set reported by the multiple active AI gateway relay instances from the centralized registry, and determines the corresponding AI supplier set based on each capability information set. Determine the intersection of multiple AI supplier sets, and identify the AI ​​suppliers in the intersection as available AI suppliers in the preset group.

[0015] Based on the aforementioned scheme, in some embodiments of this application, determining multiple AI gateway relay instances that are active within a preset lifetime in a preset group includes: Obtain the status reporting period of each AI gateway relay instance in the preset group; AI gateway relay instances that have status reporting records within the preset lifetime are identified as active AI gateway relay instances, wherein the preset lifetime is determined based on the status reporting cycle and a preset tolerance multiple.

[0016] Based on the foregoing scheme, in some embodiments of this application, each set of capability information includes: The corresponding AI gateway relay instance successfully loads the supplier name, configuration version, and access capability information of one or more AI vendors; The instance region and program version of the AI ​​gateway relay instance; The access capability information includes one or more of the following: base address, routing list, authentication configuration, balance query capability, model query capability, and usage facts.

[0017] Based on the foregoing scheme, in some embodiments of this application, the preset grouping includes: Preset groups based on the region, the usage environment, and the AI ​​gateway relay instance version.

[0018] Based on the foregoing solution, in some embodiments of this application, the supplier onboarding method further includes: When the centralized registry is updated, the capability information set of AI suppliers reported by multiple AI gateway relay instances is re-acquired, and the corresponding AI supplier set is determined based on each capability information set. The intersection of multiple AI supplier sets is determined, and the available AI suppliers in the preset group are updated according to the AI ​​suppliers in the intersection.

[0019] Based on the aforementioned solution, in some embodiments of this application, the AI ​​supplier onboarding method further includes: The available AI vendors will be used for AI vendor showcase.

[0020] Based on the aforementioned solution, in some embodiments of this application, the AI ​​supplier onboarding method further includes: Based on the set of capability information of the available AI suppliers, the default endpoint of the AI ​​supplier is backfilled when the channel is created, and / or billing queries or pricing reconciliations are performed based on usage facts.

[0021] According to another aspect of the embodiments of this application, an AI vendor onboarding device is provided, applied to an AI gateway relay instance, including: The configuration file acquisition module is used to acquire configuration files that correspond one-to-one with one or more AI vendors. Each configuration file is used to declare the access capabilities of the corresponding AI vendor. The access capability loading module is used to load each configuration file, verify the access capabilities declared by the AI ​​vendor, and determine whether the access capabilities are available. The capability information set generation module is used to generate a capability information set for the AI ​​gateway relay instance based on the determination result of whether the access capability is available. The reporting module is used to report the capability information set of the AI ​​gateway relay instance to the centralized registry, so that the management plane can obtain the capability information set reported by multiple AI gateway relay instances from the centralized registry, and determine the available AI suppliers in the preset group based on the capability information set.

[0022] Based on the aforementioned solution, in some embodiments of this application, the AI ​​supplier onboarding device further includes: A trigger signal receiving module is used to receive a change trigger signal, which is used to indicate whether the configuration file of the AI ​​supplier has been changed or a new configuration file of the AI ​​supplier has been added. The access capability loading module is also used to: load the configuration file of the changed AI supplier or the configuration file of the newly added AI supplier, verify the access capability of the declared AI supplier, and determine whether the access capability is available; The capability information set generation module is also used to: update the capability information set of the AI ​​gateway relay instance based on the determination result of whether the access capability is available; The reporting module is also used to report the updated set of capability information to the centralized registry.

[0023] According to another aspect of the embodiments of this application, an AI supplier onboarding device is provided, applied to the management interface, including: The active instance determination module is used to determine multiple AI gateway relay instances that are active within a preset time frame in a preset group. The capability information set acquisition module is used to acquire the capability information set reported by the multiple active AI gateway relay instances from the centralized registry, and determine the corresponding AI supplier set based on each capability information set. The available supplier determination module is used to determine the intersection of multiple AI supplier sets and identify the AI ​​suppliers in the intersection as available AI suppliers in the preset group.

[0024] Based on the aforementioned scheme, in some embodiments of this application, when the centralized registry is updated, the active instance determination module re-determines multiple AI gateway relay instances that are active in the preset group; The capability information set acquisition module is also used to reacquire the capability information sets reported by the multiple AI gateway relay instances that are in an active state, and determine the corresponding AI supplier set based on each capability information set; The available supplier determination module is also used to determine the intersection of multiple AI supplier sets, and update the available AI suppliers in the preset group according to the AI ​​suppliers in the intersection.

[0025] According to another aspect of the embodiments of this application, a computer-readable storage medium is provided, on which a computer program is stored, wherein the computer program, when executed, implements the steps of the AI ​​supplier onboarding method.

[0026] According to another aspect of the embodiments of this application, a computer device is provided, including a processor, a memory, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of an AI supplier onboarding method.

[0027] Using the AI ​​vendor onboarding method provided in this application, an AI gateway relay instance obtains configuration files of one or more AI vendors, verifies the vendor access capabilities declared in the configuration files, and upon successful verification, writes the corresponding AI vendor's capability information into the instance's capability information set and uploads it to the centralized registry. The management plane obtains capability information sets reported by multiple active AI gateway relay instances within a preset group, determines the AI ​​vendor set corresponding to each instance, and identifies the AI ​​vendors in the intersection of multiple AI vendor sets as available AI vendors. Vendor onboarding can be completed without modifying the core service code; this avoids the management plane exposing unavailable vendors during system runtime, which could lead to request failures.

[0028] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0029] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0030] Figure 1 This is a flowchart illustrating an AI supplier onboarding method according to an exemplary embodiment.

[0031] Figure 2 This is a flowchart illustrating an AI supplier onboarding method according to an exemplary embodiment.

[0032] Figure 3 This is a block diagram illustrating an AI vendor onboarding device according to an exemplary embodiment.

[0033] Figure 4 This is a block diagram illustrating an AI vendor onboarding device according to an exemplary embodiment.

[0034] Figure 5 This is a block diagram illustrating an AI vendor onboarding device according to an exemplary embodiment.

[0035] Figure 6 This is a block diagram illustrating a computer device according to an exemplary embodiment. Detailed Implementation

[0036] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0037] As AI gateways simultaneously connect to multiple AI model providers (AI vendors), significant differences emerge between these vendors in areas such as interface addresses, authentication methods, model queries, balance queries, request mapping, response mapping, and usage extraction. Traditionally, integrating a new AI vendor typically requires developers to modify code, add adaptation logic, republish the service, and manually add available capabilities and channel configurations in the management backend. This approach suffers from the following problems: The integration process is lengthy; each time an AI supplier or a new interface type is added, code modifications, regression testing, and redeployment are typically required.

[0038] The runtime and management planes are prone to drift. Even if the runtime supports a certain AI vendor, the management backend may not be able to know its available capabilities, authentication methods, model query methods, or billing-related capabilities in a timely manner.

[0039] Poor consistency in multi-instance deployments, where some instances have already loaded the new configuration while others have not, may cause requests to fail after landing on older instances if the management plane exposes the AI ​​vendor in advance.

[0040] AI vendor capabilities are difficult to reuse. Existing solutions typically only use configurations for request forwarding, making it difficult to reuse them simultaneously for channel creation, billing capability testing, AI vendor management, and troubleshooting.

[0041] To address the problems existing in traditional technologies, this application provides a method for AI supplier onboarding.

[0042] Figure 1 This is a flowchart illustrating an AI supplier onboarding method according to an exemplary embodiment. (Reference) Figure 1 The AI ​​vendor onboarding method is applied to AI gateway relay instances, including: Step S11: Obtain configuration files corresponding to one or more AI vendors. Each configuration file is used to declare the access capabilities of the corresponding AI vendor.

[0043] AI gateway relay instances are components within a gateway responsible for forwarding user requests for large models. To handle high-concurrency inference request traffic, eliminate single points of failure, and enable intelligent routing across models or regions, multiple AI gateway relay instances can be deployed. These instances can be deployed on edge nodes in different regions, allowing users to access the nearest AI gateway relay instance in their local area.

[0044] In scenarios where multiple AI gateway relay instances are deployed, it is necessary to ensure that the effective status of multiple AI gateway relay instances is consistent.

[0045] In the AI ​​vendor onboarding method provided in this application, the AI ​​gateway relay instance obtains configuration files for one or more AI vendors. These configuration files are used to declare the AI ​​vendors' access capabilities.

[0046] For example, AI vendors' access capabilities can be declared using a domain-specific language (DSL) for declarative configuration, which is designed for a specific system or platform. These capabilities include one or more of the following: basic address information, authentication methods, usage extraction rules, model query rules, balance query rules, and route matching rules.

[0047] AI vendor access capabilities can also include request transformation rules and response transformation rules. Different AI vendors support different models, and their request and response protocols or formats also differ. By configuring request and response transformation rules, the capabilities of AI vendors can be extended. For example, some AI vendors only support the / v1 / messages endpoint for model A. By configuring request and response transformation rules in the DSL, the AI ​​vendor can support other endpoints, such as the / v1 / chat / completion endpoint for model B, thereby expanding the capabilities of this AI vendor channel.

[0048] Different AI vendors have different configuration files, and each configuration file corresponds one-to-one with an AI vendor. System administrators can understand the various capabilities of the existing AI vendors to be integrated in advance, then convert them into capability field identifiers of the DSL, and generate configuration files for each AI vendor.

[0049] Step S12: Load each configuration file, verify the access capabilities of the declared AI vendors, and determine whether the access capabilities are available.

[0050] The AI ​​gateway relay instance loads the configuration files of each AI vendor and verifies the access capabilities of the AI ​​vendors declared in the configuration files. Verification of the AI ​​vendors' access capabilities can include syntax verification and capability verification. Syntax verification includes checking required fields, field types, and reference relationships between fields according to a preset DSL mode. Capability verification includes initiating corresponding tests based on one or more of the base address, authentication method, routing matching rules, model query rules, balance query rules, and usage extraction rules declared in the configuration file, and determining whether the corresponding access capability is available based on whether a response conforming to a preset format is obtained. If both syntax verification and capability verification pass, the verification of the AI ​​vendor's access capabilities declared in the configuration file is complete, and the access capabilities declared in the AI ​​vendor's configuration file are determined to be available; otherwise, the access capabilities declared in the AI ​​vendor's configuration file are determined to be unavailable.

[0051] Step S13: Based on the determination result of whether the access capability is available, generate a set of capability information for the AI ​​gateway relay instance.

[0052] If either syntax validation or capability validation fails, the access capabilities declared in the AI ​​vendor's configuration file are deemed unavailable, and an error summary is recorded. If both syntax and capability validations pass, the access capabilities declared in the AI ​​vendor's configuration file are deemed available. Based on the determination of access capability availability, a capability information set for the AI ​​gateway relay instance is generated. For example, AI vendors with available access capabilities are registered to a runtime in-memory registry, and their vendor names, configuration versions, and access capability information are written to the instance's capability information set. The capability information set is used to characterize the AI ​​vendors successfully loaded into this instance, as well as the instance's region and program version.

[0053] The access capabilities declared in the configuration files of each AI vendor are verified one by one. Once the verification is successful, the capability information of each AI vendor is loaded into the memory registry and written into the capability information set of the AI ​​gateway relay instance.

[0054] For example, accessing the base address information declared in the configuration file, if the access is successful, determines it as the base address of the AI ​​provider; generating a route list based on the route matching rules; generating an authentication configuration based on the successfully verified authentication method; performing a query based on the balance query rules, and generating the balance query capability of the AI ​​provider after successfully obtaining the query result; performing a model query based on the model query procedure, and generating the query capability of the AI ​​provider after successful query; and extracting the actual usage of the AI ​​provider based on the usage extraction rules, and generating the usage facts of the AI ​​provider after successful extraction.

[0055] The AI ​​gateway relay instance generates a set of capability information for this instance based on one or more AI vendors whose verification has been successfully completed and written to the in-memory registry. This set of capability information includes the vendor name, configuration version, and access capability information of one or more AI vendors, as well as the instance region and program version of the AI ​​gateway relay instance.

[0056] In one exemplary embodiment, the capability information set of the AI ​​gateway relay instance includes: The AI ​​gateway relay instance successfully loads the vendor name, configuration version, and access capability information of one or more AI vendors, as well as the instance region and program version of the AI ​​gateway relay instance; among which, the access capability information includes one or more of the following: base address, routing list, authentication configuration, balance query capability, model query capability, and usage facts.

[0057] The management side can obtain various capabilities or configurations of each AI vendor by reading the capability information set of the AI ​​vendors, providing data for subsequent management and capability reuse.

[0058] For example, based on the AI ​​vendor's capability information set, it's possible to determine which configurations failed to load successfully and whether the authentication methods are correct, thus allowing for adjustments to the AI ​​vendor's configuration files. Usage facts enable billing queries and pricing reconciliation. Usage facts are the actual usage-related data extracted using usage extraction rules, and can be further reused for pricing reconciliation, billing queries, etc.

[0059] Step S14: Report the capability information set of AI gateway relay instances to the centralized registry, so that the management plane can obtain the capability information set reported by multiple AI gateway relay instances from the centralized registry, and determine the available AI suppliers in the preset group based on the capability information set.

[0060] AI gateway relay instances write locally generated sets of capability information into a centralized registry.

[0061] A centralized registry can be a relational database, a key-value store, or another centralized store that supports snapshot writing and querying.

[0062] AI gateway relay instances can use upsert to update and insert the AI ​​vendor's capability information set into the relational database.

[0063] After multiple AI gateway relay instances write their locally generated capability information sets to the centralized registry, the management plane can read the centralized registry to obtain the capability information sets reported by each AI gateway relay instance. Since multiple AI gateway relay instances are distributed across different regions with varying network conditions, the configuration file of the same AI vendor may be successfully loaded by some active AI gateway relay instances, or it may be successfully loaded by all active AI gateway relay instances. Active AI gateway relay instances are those currently online and providing gateway services. Only AI vendors whose configuration files are successfully loaded by all active AI gateway relay instances can be displayed externally, allowing users in different regions to access that AI vendor through their local AI gateway relay instances. If an AI vendor's configuration file is successfully loaded by all active AI gateway relay instances, it means that the AI ​​vendor is supported by all active AI gateway relay instances and is considered an available AI vendor.

[0064] The management plane reads the centralized registry to obtain the set of AI vendor capability information reported by each AI gateway relay instance, and then selects the AI ​​vendors supported by all active AI gateway relay instances to determine them as available AI vendors.

[0065] In this embodiment, the entire network system can be treated as a single group; alternatively, the area covered by the entire network system can be divided into multiple regions, each region forming a group; or the usage environment can be divided into a normal environment and a test environment, corresponding to a normal group and a test group, respectively; or, based on the version of the AI ​​gateway relay instance, it can be divided into groups corresponding to different versions. By using preset groups, all AI vendors successfully loaded by active AI gateway relay instances within a preset group can be identified as available AI vendors within that preset group.

[0066] The access capabilities of AI vendors are declared through configuration files. AI gateway relay instances load these configuration files, verify the declared access capabilities, and generate capability information for each vendor when their capabilities are available. The capability information of one or more verified AI vendors constitutes the capability information set of the AI ​​gateway relay instance. Multiple AI gateway relay instances upload their locally generated capability information sets to a centralized registry. The management interface can then identify available AI vendors in preset groups and display them to users within those groups. This enables automatic vendor onboarding without requiring developers to modify code or redeploy services, allowing for rapid vendor integration.

[0067] In an exemplary embodiment, step S11, obtaining the configuration files corresponding one-to-one with one or more AI suppliers, includes: When an AI gateway relay instance starts, it scans the vendor configuration source to obtain configuration files from one or more AI vendors.

[0068] Each AI vendor can be assigned a configuration file, and all AI vendor configuration files can be stored in a designated AI vendor configuration source. When an AI gateway relay instance starts, it automatically scans the AI ​​vendor configuration source to obtain configuration files from one or more AI vendors. Each AI gateway relay instance rescans the AI ​​vendor configuration source upon startup, ensuring that it can load all configuration files from the source after going live. When a new AI vendor needs to be added or the configuration of an existing AI vendor changes, all active AI gateway relay instances can load the corresponding configuration files and perform syntax and capability checks on the declared AI vendor access capabilities.

[0069] In one exemplary embodiment, the AI ​​vendor configuration source includes: a preset directory, a multi-vendor merged file, an object storage remote source, and a configuration image in a database. The vendor configuration source can be a preset directory, storing the AI ​​vendor configuration files in a preset directory on the local machine where each AI gateway relay instance resides, so that the AI ​​gateway relay instance can quickly read the configuration files of multiple AI vendors upon startup. Alternatively, the vendor configuration source can be a multi-AI vendor merged file, merging the configuration files of multiple AI vendors and packaging them into a multi-vendor merged file. The AI ​​gateway relay instance can parse the multi-vendor merged file to obtain the configuration files of all AI vendors at once. The vendor configuration source can also be a preset server, such as an object storage remote source or a configuration image in a database, allowing multiple AI gateway relay instances to obtain the same configuration files from the same address directory.

[0070] In one exemplary embodiment, the AI ​​supplier onboarding method further includes: Receive change trigger signals, which are used to indicate changes to the AI ​​vendor's profile or the addition of a new AI vendor's profile. Load the configuration file of the changed AI supplier or the configuration file of the newly added AI supplier, verify the access capability of the declared AI supplier, and determine whether the access capability is available. For modified or newly added AI vendor configuration files that pass syntax and capability verification, update the capability information set of the AI ​​gateway relay instance based on the corresponding configuration file, and report the updated capability information set to the centralized registry.

[0071] When the configuration items of an already loaded AI vendor's configuration file are changed, or when a new AI vendor joins and a new AI vendor's configuration file is added to the vendor configuration source, the management plane can send a change trigger signal to the AI ​​gateway relay instance. The change trigger signal indicates that the AI ​​vendor configuration file has been changed or a new AI vendor configuration file has been added.

[0072] The AI ​​gateway relay instance loads the configuration files of any changed or added AI vendors, performs syntax and capability checks on the access capabilities declared in the configuration files of these vendors, and if the syntax and capability checks pass, confirming that the access capabilities are available, updates the capability information set of this instance. The updated capability information set is then uploaded to the centralized registry.

[0073] The management plane can read new sets of capability information from the centralized registry. If an AI vendor whose configuration file has been changed or a newly added AI vendor is supported by all active AI gateway relay instances, it is identified as an available AI vendor and the list of available AI vendors is maintained or updated.

[0074] If the AI ​​vendors whose configuration files are changed or newly added cannot be supported by all active AI gateway relay instances, they are identified as unavailable AI vendors, and the list of available AI vendors is maintained or updated.

[0075] For example, when some configuration items in the configuration file of an AI vendor are changed, the AI ​​gateway relay instance loads the changed configuration file. If the changed configuration file can be successfully loaded by all active AI gateway relay instances, the list of available AI vendors remains unchanged; if the changed configuration file cannot be successfully loaded by all active AI gateway relay instances, the AI ​​vendor corresponding to the changed configuration file needs to be removed from the list of available AI vendors.

[0076] For example, when a new AI vendor needs to be connected, the AI ​​gateway relay instance loads the configuration file of the newly added AI vendor. If the configuration file of the newly added AI vendor is successfully loaded by all active AI gateway relay instances, the new AI vendor becomes available, the list of available AI vendors is updated, and the new AI vendor is added to the list. If it is not successfully loaded by all active AI gateway relay instances, the new AI vendor becomes unavailable, and the list of available AI vendors remains unchanged.

[0077] In one exemplary embodiment, updating the capability information set of the AI ​​gateway relay instance based on the determination result of whether the access capability is available includes: If the access capabilities declared in the modified AI vendor's configuration file are available, update the configuration version and access capability information of that AI vendor in the capability information set of the AI ​​gateway relay instance; update the version information of the modified AI vendor's configuration file and the modified access capability information to the capability information set so that the gateway can determine which access capabilities of that AI vendor have changed from the capability information set reported by the AI ​​gateway relay instance and declare it externally.

[0078] If the access capabilities declared in the configuration file of a newly added AI vendor are available, the vendor name, configuration version, and access capability information of the AI ​​vendor are added to the capability information set of the AI ​​gateway relay instance. If the access capabilities declared in the configuration file of the newly added AI vendor are available, the vendor name, configuration version, and access capability information of the newly added AI vendor are added to the capability information set of the AI ​​gateway relay instance and reported to the centralized registry. This allows the gateway to determine whether the newly added AI vendor is an available vendor from the capability information sets reported by multiple active AI gateway relay instances. If it is an available vendor, it can be used for AI vendor display.

[0079] In one exemplary embodiment, updating the capability information set of the AI ​​gateway relay instance based on the determination result of whether the access capability is available further includes: If the access capabilities declared in the modified AI vendor's configuration file are unavailable, it indicates a potential error in the modified configuration, rendering the AI ​​vendor unavailable for the current AI gateway relay instance. The vendor name, configuration version, and access capability information of the AI ​​vendor are removed from the capability information set of the AI ​​gateway relay instance, and the error information is recorded. This error information is reported to the centralized registry. Once the capability information set of the AI ​​gateway relay instance is reported to the centralized registry, the management system can promptly identify the AI ​​vendor as unavailable and remove it from the list of available AI vendors. The management system can also provide feedback on the error information to the relevant AI vendor. The AI ​​vendor can determine the cause of the configuration error based on the recorded error information, correct the errors in the configuration file, and add the modified configuration file to the vendor configuration source. The management system then sends a change trigger signal to the AI ​​gateway relay instance again, causing the AI ​​gateway relay instance to load the modified configuration file, determine whether the access capabilities declared in the modified configuration file are available, and if so, add the AI ​​vendor's vendor name, modified configuration version, and access capability information to the capability information set of the AI ​​gateway relay instance.

[0080] If the access capabilities declared in the configuration file of a newly added AI vendor are unavailable, or if the newly added AI vendor is not successfully loaded by the AI ​​gateway relay instance, the capability information set of the AI ​​gateway relay instance will not be updated, and the error message will be recorded; the error message will also be reported to the centralized registry. The system can then relay the error message to the relevant AI vendor, who will then modify the configuration file.

[0081] In one exemplary embodiment, the change trigger signal includes any one of the following: process information, message queue, subscription message, or remote configuration source change event.

[0082] Figure 2 This is a flowchart illustrating an AI supplier onboarding method according to an exemplary embodiment. (Reference) Figure 2 The AI ​​supplier onboarding method is applied to the management aspect, including: Step S21: Identify multiple AI gateway relay instances that are active within a preset lifetime in the preset group.

[0083] Step S22: Obtain the set of capability information reported by multiple active AI gateway relay instances from the centralized registry, and determine the corresponding set of AI suppliers based on each set of capability information.

[0084] Step S23: Determine the intersection of multiple AI supplier sets, and identify the AI ​​suppliers in the intersection as available AI suppliers in the preset group.

[0085] In one exemplary embodiment, determining multiple AI gateway relay instances that are active within a preset lifetime in a preset group includes: Obtain the status reporting cycle of each AI gateway relay instance in the preset group; Among all AI gateway relay instances within the preset lifespan, the active AI gateway relay instances are those that provide gateway services online within the preset lifespan.

[0086] AI gateway relay instances that have status reporting records within a preset lifespan are identified as active AI gateway relay instances, wherein the preset lifespan is determined based on the status reporting cycle and a preset tolerance multiple.

[0087] The preset lifetime can be determined by the status reporting cycle. For example, the preset lifetime can be a single status reporting cycle or multiple tolerable reporting cycles, depending on the actual network conditions and the length of the reporting cycle. As long as status information is received from an AI gateway relay instance within the preset lifetime, the AI ​​gateway relay instance is considered active. The preset lifetime can be determined based on the status reporting cycle of the AI ​​gateway relay instance. For example, each gateway instance reports its status every 30 seconds, and the system allows three times that tolerance time. If an AI gateway relay instance reports status within 90 seconds, it is considered active; if it does not report for more than 90 seconds, it is considered inactive. The preset lifetime can be determined based on specific usage requirements and the environment.

[0088] When determining available AI providers in a preset group, the management plane first obtains multiple AI gateway relay instances that are active within a preset lifespan in the preset group.

[0089] Next, the system retrieves a set of capability information reported by multiple active AI gateway relay instances from the centralized registry. Each AI gateway relay instance's reported capability information set includes capability information from one or more AI vendors. Based on the capability information set reported by each AI gateway relay instance, the set of AI vendors successfully loaded by that AI gateway relay instance can be determined.

[0090] If an AI vendor appears in the set of capability information reported by all active AI gateway relay instances, that is, if it is included in the set of AI vendors identified in the set of capability information reported by all active AI gateway relay instances, then the AI ​​vendor is successfully loaded by all active AI gateway relay instances in the preset group and becomes an available AI vendor.

[0091] The intersection of multiple AI vendor sets can be determined, and the AI ​​vendors in the intersection can be identified as available AI vendors in a preset group. This can be achieved by obtaining the capability information set reported by multiple AI gateway relay instances from a centralized registry, which can quickly identify available AI vendors in a preset group.

[0092] In one exemplary embodiment, each capability information set includes: The corresponding AI gateway relay instance successfully loads the supplier name, configuration version, and access capability information of one or more AI vendors; The instance region and program version of the AI ​​gateway relay instance; The access capability information includes one or more of the following: basic address, routing list, authentication configuration, balance query capability, model query capability, and usage facts.

[0093] In one exemplary embodiment, the preset grouping includes: Preset groups based on the region, the usage environment, and the AI ​​gateway relay instance version.

[0094] The entire network system can be grouped together; or the area covered by the entire network system can be divided into multiple regions, with each region forming a group; or the usage environment can be divided into normal and test environments, corresponding to the normal group and test group respectively; or it can be divided into groups corresponding to different versions based on the version of the AI ​​gateway relay instance.

[0095] The process involves retrieving the set of capability information reported by each of the multiple active AI gateway relay instances. For example, if AI gateway relay instance 1 successfully loads the configuration files of AI vendor 1 and AI vendor 2, the set of capability information reported by AI gateway relay instance 1 can be used to determine that the AI ​​vendor set corresponding to AI gateway relay instance 1 is {AI vendor 1, AI vendor 2}. Similarly, if AI gateway relay instance 2 successfully loads the configuration files of AI vendor 2 and AI vendor 3, the set of capability information reported by AI gateway relay instance 2 can be used to determine that the AI ​​vendor set corresponding to AI gateway relay instance 2 is {AI vendor 2, AI vendor 3}. Finally, the intersection of the AI ​​vendor sets corresponding to all active AI gateway relay instances is taken. The configuration files of the AI ​​vendors in the intersection are successfully loaded by all active AI gateway relay instances, and these AI vendors are considered available AI vendors.

[0096] The intersection of the sets of AI vendors corresponding to all active AI gateway relay instances is taken. The AI ​​vendors in this intersection are those whose configuration files have been successfully loaded by all active AI gateway relay instances. These AI vendors are then identified as available AI vendors in a predefined group. This allows for rapid identification of available AI vendors from the capability information reported by multiple AI gateway relay instances. The management interface can then display these available AI vendors to users in the predefined group, ensuring that users in the predefined group can access the services of available AI vendors through active AI gateway relay instances.

[0097] For example, if the configuration file of an AI vendor is successfully loaded in all AI gateway relay instances across the entire network, and the AI ​​vendor appears at the intersection of the sets of AI vendors that have been successfully loaded in multiple active AI gateway relay instances, then the AI ​​vendor is identified as an available AI vendor across the entire network and displayed to all users.

[0098] For example, if an AI vendor's configuration file is successfully loaded only in the AI ​​gateway relay instance in the US region, and that AI vendor is identified as an available AI vendor in the US group, it can be displayed only to users in the US region. For example, if an AI vendor's configuration file is successfully loaded only in the AI ​​gateway relay instance in the test environment, then that AI vendor is identified as an available AI vendor in the test group and is only displayed to users in the test environment. For example, if an AI vendor's configuration file is successfully loaded into a new version of the AI ​​gateway relay instance during a gray-scale release, that AI vendor is identified as an available AI vendor in the gray-scale release group and is only displayed to users assigned to that gray-scale release. This ensures availability while supporting phased deployment.

[0099] In one exemplary embodiment, the AI ​​supplier onboarding method further includes: When the centralized registry is updated, the capability information set of AI suppliers reported by multiple AI gateway relay instances is re-acquired, and the corresponding AI supplier set is determined based on each capability information set. The intersection of multiple AI supplier sets is determined, and the available AI suppliers in the preset group are updated according to the AI ​​suppliers in the intersection.

[0100] When the centralized registry is updated, a notification can be sent to the management plane. Upon receiving the notification, the management plane can re-obtain the capability information sets of multiple AI vendors reported by the AI ​​gateway relay instances based on the updated centralized registry, determine the corresponding AI vendor set based on each capability information set, determine the intersection of multiple AI vendor sets, and update the available AI vendors in the preset groups according to the AI ​​vendors in the intersection. The management plane can also automatically detect new available AI vendor results when it reads the centralized registry again within a predetermined time, and update the available AI vendors in the preset groups when a new AI vendor joins or the configuration file of an existing AI vendor changes.

[0101] In one exemplary embodiment, the AI ​​supplier onboarding method further includes: Use available AI vendors for AI vendor showcase.

[0102] Once the AI ​​vendor configuration is successfully loaded and the system determines it to be an available AI vendor, the information of the available AI vendor will be displayed in the backend. Available AI vendors can be used for AI vendor display, and the displayed AI vendors can be used for AI vendor channel creation. After the AI ​​vendor channel is successfully created, the AI ​​vendor is officially launched. The launch process does not require code modification and ensures that the launched AI vendor can be accessed by different AI gateway relay instances.

[0103] In one exemplary embodiment, the AI ​​supplier onboarding method further includes: Based on the set of capability information of available AI suppliers, the default endpoints of AI suppliers are backfilled when the channel is created, and / or billing queries or pricing reconciliations are performed based on usage facts.

[0104] Based on the set of available AI vendor capabilities, basic address information of AI vendors can be obtained. When creating a channel, available AI vendors can be selected, and their basic addresses can be automatically populated as the default endpoints, improving channel creation efficiency. Usage data can also be extracted from the set of available AI vendor capabilities, enabling billing queries or pricing reconciliation based on this data. This allows for the rapid reuse of AI vendor capabilities.

[0105] When a new AI vendor comes online, the management interface can load the corresponding configuration file for each AI gateway relay instance and upload the capability information set to the centralized registry to determine whether the AI ​​vendor can go online. The AI ​​vendor can go online without modifying the core service code. The access cycle is short and the AI ​​vendor capabilities are easy to reuse, which is beneficial for AI vendor management and troubleshooting.

[0106] To better understand the AI ​​supplier onboarding method provided in this application, specific embodiments are described below. Specific Implementation Example 1 Several AI suppliers are preparing to go live, namely AI Supplier 1, AI Supplier 2, and AI Supplier 3.

[0108] The system includes two AI gateway relay instances: AI gateway relay instance A and AI gateway relay instance B.

[0109] AI gateway relay instance A and AI gateway relay instance B obtain the configuration files of three AI vendors respectively, perform syntax verification and capability verification on the access capability declarations of the AI ​​vendors, determine whether the access capabilities of the AI ​​vendors declared in the configuration files are available, and when the access capabilities are available, generate a capability snapshot of the AI ​​vendors and upload it to the centralized registry.

[0110] Suppose that AI gateway relay instance A passes the verification of the configuration files of AI vendor 1 and AI vendor 2, generates a snapshot of the capabilities of AI vendor 1 and AI vendor 2, and uploads it to the centralized registry.

[0111] AI gateway relay instance B passed the verification of the configuration files of AI vendor 2 and AI vendor 3, generated a snapshot of the capabilities of AI vendor 2 and AI vendor 3, and uploaded it to the centralized registry.

[0112] The management interface retrieves the AI ​​gateway relay instances that are active within the past 24 hours. Both AI gateway relay instance A and AI gateway relay instance B are active.

[0113] Read the centralized registry to obtain snapshots of the capabilities reported by AI gateway relay instance A and AI gateway relay instance B.

[0114] According to the capability snapshot, the AI ​​supplier set corresponding to AI gateway relay instance A is {AI supplier 1, AI supplier 2}, and the AI ​​supplier set corresponding to AI gateway relay instance B is {AI supplier 2, AI supplier 3}.

[0115] The intersection of the sets of AI vendors successfully loaded by AI gateway relay instance A and AI gateway relay instance B is taken, and the intersection is {AI vendor 2}. AI vendor 2 is then identified as an available AI vendor. Available AI vendors are then displayed in the AI ​​vendor showcase. Users can select AI vendor 2 to provide services, and user requests can be sent to AI vendor 2 through either AI gateway relay instance A or AI gateway relay instance B. AI vendor 1 and AI vendor 3 will not be displayed to users to prevent the exposure of unavailable AI vendors.

[0116] AI Provider 1 adjusted its configuration file and applied to be relaunched.

[0117] The management plane can send change trigger information to AI Gateway Relay Instance 1 and AI Gateway Relay Instance 2, instructing AI Provider 1 to change its configuration file.

[0118] AI Gateway Relay Instance 1 and AI Gateway Relay Instance 2 reload the configuration file of AI Provider 1, perform syntax and capability verification on the declared access capabilities of the AI ​​Provider, and if the verification is successful, determine that the access capabilities are available, generate a capability snapshot including AI Provider 1, and report it to the centralized registry.

[0119] The centralized registry generates an update notification and sends it to the management interface.

[0120] The management plane rereads the centralized registry to obtain snapshots of the capabilities reported by AI gateway relay instance A and AI gateway relay instance B.

[0121] According to the capability snapshot, the AI ​​supplier set corresponding to AI gateway relay instance A is {AI supplier 1, AI supplier 2}, and the AI ​​supplier set corresponding to AI gateway relay instance B is {AI supplier 1, AI supplier 2, AI supplier 3}.

[0122] Take the intersection of the sets of AI vendors successfully loaded by AI gateway relay instance A and AI gateway relay instance B. The intersection is {AI vendor 1, AI vendor 2}. Then, determine AI vendor 1 and AI vendor 2 as available AI vendors.

[0123] As described in the above embodiments, the AI ​​supplier onboarding method provided in this application can complete the onboarding and launch of AI suppliers without modifying the core code, simplifying the AI ​​supplier onboarding process, shortening the onboarding cycle, and ensuring the easy reuse of AI supplier capabilities. Furthermore, the management plane determines available AI suppliers by the intersection of the sets of AI suppliers successfully loaded by multiple active AI gateway relay instances, ensuring consistency across multiple AI gateway relay instance deployments. After determining available AI suppliers, the management plane uses these suppliers for AI supplier display and channel creation, ensuring that a particular AI supplier is supported at runtime. The management plane can promptly obtain information about its available capabilities, authentication methods, model query methods, or billing-related capabilities, avoiding runtime drift with the management plane.

[0124] Figure 3 This is a block diagram illustrating an AI vendor onboarding device according to an exemplary embodiment. (Reference) Figure 3 The AI ​​vendor onboarding device is applied to the AI ​​gateway relay instance and includes: configuration file acquisition module 301, access capability loading module 302, capability information set generation module 303, and reporting module 304.

[0125] The configuration file acquisition module 301 is configured to acquire configuration files corresponding to one or more AI vendors, each configuration file being used to declare the access capabilities of the corresponding AI vendor.

[0126] The access capability loading module 302 is configured to load each configuration file, verify the access capabilities of the declared AI vendors, and determine whether the access capabilities are available.

[0127] The capability information set generation module 303 is configured to generate a capability information set for the AI ​​gateway relay instance based on the determination result of whether the access capability is available.

[0128] The reporting module 304 is configured to report a set of capability information of AI gateway relay instances to a centralized registry, so that the management plane can obtain a set of capability information reported by multiple AI gateway relay instances from the centralized registry, and determine the available AI vendors in the preset groups based on the set of capability information.

[0129] In one exemplary embodiment, the configuration file acquisition module 301 is further configured to scan for AI vendor configuration sources and acquire configuration files from one or more AI vendors when the AI ​​gateway relay instance starts.

[0130] Figure 4 This is a block diagram illustrating an AI vendor onboarding device according to an exemplary embodiment. (Reference) Figure 4 The AI ​​supplier onboarding device also includes: trigger signal receiving module 401.

[0131] The trigger signal receiving module 401 is configured to receive a change trigger signal, which indicates that the configuration file of the AI ​​supplier has been changed or a new configuration file of the AI ​​supplier has been added.

[0132] The access capability loading module 302 is also configured to load the configuration file of the changed AI supplier or the configuration file of the newly added AI supplier, verify the access capability of the declared AI supplier, and determine whether the access capability is available.

[0133] The capability information set generation module 303 is also configured to update the capability information set of the AI ​​gateway relay instance based on the determination result of whether the access capability is available. The reporting module 304 is also configured to report updated capability information sets to a centralized registry.

[0134] Figure 5 This is a block diagram illustrating an AI vendor onboarding device according to an exemplary embodiment. (Reference) Figure 5 The AI ​​supplier onboarding device is applied to the management side and includes: an active instance determination module 501, a capability information set acquisition module 502, and an available supplier determination module 503.

[0135] The active instance determination module 501 is configured to determine multiple AI gateway relay instances that are active within a preset time span in a preset group.

[0136] The capability information set acquisition module 502 is configured to: acquire capability information sets reported by multiple active AI gateway relay instances from a centralized registry, and determine the corresponding AI supplier set based on each capability information set.

[0137] The available supplier determination module 503 is configured to determine the intersection of multiple AI supplier sets and identify the AI ​​suppliers in the intersection as available AI suppliers in a preset group.

[0138] In one exemplary embodiment, when the centralized registry is updated, The active instance determination module 501 is also configured to: redetermine multiple AI gateway relay instances that are active in a preset group.

[0139] The capability information set acquisition module 502 is also configured to: reacquire the capability information sets reported by multiple active AI gateway relay instances respectively, and determine the corresponding AI supplier set based on each capability information set; The available supplier determination module 503 is also configured to: determine the intersection of multiple AI supplier sets, and update the available AI suppliers in a preset group based on the AI ​​suppliers in the intersection.

[0140] Figure 6 This is a block diagram illustrating a computer device 600 for performing an AI vendor onboarding method according to an exemplary embodiment. For example, the computer device 600 may be provided as a server. (See also...) Figure 6 The computer device 600 includes a processor 601, the number of which can be set to one or more as needed. The computer device 600 also includes a memory 602 for storing instructions executable by the processor 601, such as application programs. The number of memories can be set to one or more as needed. The stored application programs can be one or more. The processor 601 is configured to execute instructions to perform the aforementioned AI vendor onboarding method.

[0141] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus (devices), or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code. Computer storage media include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data), including but not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and can include any information delivery medium.

[0142] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0143] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0144] In this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that an article or device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such an article or device. Without further limitation, an element defined by the phrase "comprising..." does not exclude the presence of other identical elements in the article or device that includes said element.

[0145] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0146] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if these modifications and variations fall within the scope of the claims of this application and their equivalents, the intent of this application also includes these modifications and variations.

Claims

1. A method for onboarding artificial intelligence suppliers, characterized in that, Applications to AI gateway relay instances include: Obtain configuration files corresponding to one or more AI vendors, each configuration file being used to declare the access capabilities of the corresponding AI vendor; Load each configuration file, verify the access capabilities of the declared AI provider, and determine whether the access capabilities are available; Based on the determination result of whether the access capability is available, a capability information set of the AI ​​gateway relay instance is generated; The capability information set of the AI ​​gateway relay instance is reported to the centralized registry, so that the management plane can obtain the capability information set reported by multiple AI gateway relay instances from the centralized registry, and determine the available AI providers in the preset group based on the capability information set.

2. The method for onboarding AI suppliers as described in claim 1, characterized in that, The capability information set of the AI ​​gateway relay instance includes: The AI ​​gateway relay instance successfully loads one or more AI vendor names, configuration versions, and access capability information, as well as the instance region and program version of the AI ​​gateway relay instance; wherein, the access capability information includes one or more of the following: base address, routing list, authentication configuration, balance query capability, model query capability, and usage facts.

3. The method for onboarding AI suppliers as described in claim 1, characterized in that, The process of obtaining configuration files corresponding to one or more AI providers includes: When the AI ​​gateway relay instance starts, it scans the supplier configuration source to obtain the configuration files of one or more AI suppliers.

4. The method for onboarding AI suppliers as described in claim 3, characterized in that, The vendor configuration sources include: preset directories, multi-vendor merged files, object storage remote sources, and configuration mirrors in the database.

5. The method for onboarding AI suppliers as described in claim 2, characterized in that, Also includes: Receive a change trigger signal, which is used to indicate whether the configuration file of the artificial intelligence provider is changed or a new configuration file of the artificial intelligence provider is added; Load the configuration file of the modified AI vendor or the configuration file of the newly added AI vendor, verify the access capabilities of the declared AI vendor, and determine whether the access capabilities are available. Based on the determination result of whether the access capability is available, the capability information set of the AI ​​gateway relay instance is updated and reported to the centralized registry.

6. The method for onboarding AI suppliers as described in claim 5, characterized in that, The step of updating the capability information set of the AI ​​gateway relay instance based on the determination result of whether the access capability is available includes: If the access capabilities declared in the modified AI vendor's configuration file are available, update the configuration version and access capability information of the AI ​​vendor in the capability information set of the AI ​​gateway relay instance. If the access capabilities declared in the configuration file of the newly added AI vendor are available, add the vendor name, configuration version, and access capability information of the AI ​​vendor to the capability information set of the AI ​​gateway relay instance.

7. The method for onboarding AI suppliers as described in claim 5, characterized in that, The step of updating the capability information set of the AI ​​gateway relay instance based on the determination result of whether the access capability is available also includes: If the access capability declared in the configuration file of the modified AI vendor is unavailable, delete the vendor name, configuration version, and access capability information of the AI ​​vendor from the capability information set of the AI ​​gateway relay instance, and record the error information; if the access capability declared in the configuration file of the newly added AI vendor is unavailable, do not update the capability information set of the AI ​​gateway relay instance, and record the error information; report the error information to the centralized registry.

8. A method for onboarding artificial intelligence suppliers, characterized in that, Applied to the management aspect, including: Identify multiple AI gateway relay instances that are active within a preset timeframe in a preset group; The system obtains the capability information sets reported by the multiple active AI gateway relay instances from the centralized registry, and determines the corresponding AI supplier set based on each capability information set. Determine the intersection of multiple sets of artificial intelligence providers, and identify the artificial intelligence providers in the intersection as available artificial intelligence providers in the preset group.

9. The method for onboarding artificial intelligence suppliers as described in claim 8, characterized in that, The determination of multiple AI gateway relay instances that are active within a preset lifetime in the preset group includes: Obtain the status reporting period of each AI gateway relay instance in the preset group; AI gateway relay instances with status reporting records within the preset lifetime are identified as active AI gateway relay instances, wherein the preset lifetime is determined based on the status reporting cycle and a preset tolerance multiple.

10. The method for onboarding artificial intelligence suppliers as described in claim 8, characterized in that, Each of the aforementioned capability information sets includes: The corresponding AI gateway relay instance successfully loads the vendor name, configuration version, and access capability information of one or more AI vendors. The instance region and program version of the AI ​​gateway relay instance; The access capability information includes one or more of the following: base address, routing list, authentication configuration, balance query capability, model query capability, and usage facts.

11. The method for onboarding artificial intelligence suppliers as described in claim 8, characterized in that, The preset grouping includes: Preset groups based on the region, the usage environment, and the AI ​​gateway relay instance version.

12. The supplier onboarding method as described in claim 8, characterized in that, Also includes: When the centralized registry is updated, the capability information set of AI suppliers reported by multiple AI gateway relay instances is re-acquired, and the corresponding AI supplier set is determined based on each capability information set. The intersection of multiple AI supplier sets is determined, and the available AI suppliers in the preset group are updated according to the AI ​​suppliers in the intersection.

13. The supplier onboarding method as described in claim 8, characterized in that, Also includes: The available AI vendors will be used for AI vendor showcase.

14. The supplier onboarding method as described in claim 8, characterized in that, Also includes: Based on the set of capability information of the available AI providers, the default endpoint of the AI ​​provider is backfilled when the channel is created, and / or billing queries or pricing reconciliations are performed based on usage facts.

15. An artificial intelligence supplier onboarding device, characterized in that, Applications to AI gateway relay instances include: The configuration file acquisition module is used to acquire configuration files that correspond one-to-one with one or more AI vendors. Each configuration file is used to declare the access capabilities of the corresponding AI vendor. The access capability loading module is used to load each configuration file, verify the access capabilities declared by the AI ​​provider, and determine whether the access capabilities are available. The capability information set generation module is used to generate a capability information set for the AI ​​gateway relay instance based on the determination result of whether the access capability is available. The reporting module is used to report the capability information set of the AI ​​gateway relay instance to the centralized registry, so that the management plane can obtain the capability information set reported by multiple AI gateway relay instances from the centralized registry, and determine the available AI suppliers in the preset group based on the capability information set.

16. The AI ​​supplier onboarding device as described in claim 15, characterized in that, Also includes: A trigger signal receiving module is used to receive a change trigger signal, which is used to indicate whether the configuration file of the artificial intelligence provider has been changed or a new configuration file of the artificial intelligence provider has been added. The access capability loading module is also used to: load the configuration file of the changed AI supplier or the configuration file of the newly added AI supplier, verify the access capability of the declared AI supplier, and determine whether the access capability is available; The capability information set generation module is also used to: update the capability information set of the AI ​​gateway relay instance based on the determination result of whether the access capability is available; The reporting module is also used to report the updated set of capability information to the centralized registry.

17. An artificial intelligence supplier onboarding device, characterized in that, Applied to the management aspect, including: The active instance determination module is used to determine multiple AI gateway relay instances that are active within a preset time frame in a preset group. The capability information set acquisition module is used to acquire the capability information sets reported by the multiple active AI gateway relay instances from the centralized registry, and determine the corresponding AI supplier set based on each capability information set. The available supplier determination module is used to determine the intersection of multiple sets of artificial intelligence suppliers, and to determine the artificial intelligence suppliers in the intersection as available artificial intelligence suppliers in the preset group.

18. The AI ​​supplier onboarding device as described in claim 17, characterized in that, When the centralized registry is updated, the active instance determination module is also used to re-determine multiple AI gateway relay instances that are active in the preset group; The capability information set acquisition module is also used to reacquire the capability information sets reported by the multiple active AI gateway relay instances respectively, and determine the corresponding AI supplier set based on each capability information set; The available supplier determination module is also used to determine the intersection of multiple sets of artificial intelligence suppliers, and update the available artificial intelligence suppliers in the preset group according to the artificial intelligence suppliers in the intersection.

19. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed, it implements the steps of the method as described in any one of claims 1-14.

20. A computer device comprising a processor, a memory, and a computer program stored in the memory, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1-14.