AlibabaServiceCollectionExtensions
Namespace: Vercel.AI.Alibaba
public static class AlibabaServiceCollectionExtensionsRegisters AlibabaProvider.
Inheritance: object
Methods
Section titled “Methods”AddAlibaba(IServiceCollection, Action<OpenAICompatibleOptions>?)
Section titled “AddAlibaba(IServiceCollection, Action<OpenAICompatibleOptions>?)”public static IServiceCollection AddAlibaba(this IServiceCollection services, Action<OpenAICompatibleOptions>? configure = null)Adds the provider.
Parameters
| Name | Type | Description |
|---|---|---|
services |
IServiceCollection | |
configure |
Action<OpenAICompatibleOptions> |
Returns: IServiceCollection
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product