GatewayServiceCollectionExtensions
Namespace: Vercel.AI.Gateway
public static class GatewayServiceCollectionExtensionsRegisters the Gateway provider.
Inheritance: object
Methods
Section titled “Methods”AddGateway(IServiceCollection, Action<GatewayOptions>?)
Section titled “AddGateway(IServiceCollection, Action<GatewayOptions>?)”public static IServiceCollection AddGateway(this IServiceCollection services, Action<GatewayOptions>? configure = null)Registers GatewayProvider.
Parameters
| Name | Type | Description |
|---|---|---|
services |
IServiceCollection | |
configure |
Action<GatewayOptions> |
Returns: IServiceCollection
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product