DeepInfraServiceCollectionExtensions
Namespace: Vercel.AI.DeepInfra
public static class DeepInfraServiceCollectionExtensionsRegisters DeepInfraProvider.
Inheritance: object
Methods
Section titled “Methods”AddDeepInfra(IServiceCollection, Action<OpenAICompatibleOptions>?)
Section titled “AddDeepInfra(IServiceCollection, Action<OpenAICompatibleOptions>?)”public static IServiceCollection AddDeepInfra(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