AnthropicServiceCollectionExtensions
Namespace: Vercel.AI.Anthropic
public static class AnthropicServiceCollectionExtensionsRegisters Anthropic.
Inheritance: object
Methods
Section titled “Methods”AddAnthropic(IServiceCollection, Action<AnthropicOptions>?)
Section titled “AddAnthropic(IServiceCollection, Action<AnthropicOptions>?)”public static IServiceCollection AddAnthropic(this IServiceCollection services, Action<AnthropicOptions>? configure = null)Adds AnthropicProvider.
Parameters
| Name | Type | Description |
|---|---|---|
services |
IServiceCollection | |
configure |
Action<AnthropicOptions> |
Returns: IServiceCollection
AddAnthropicAws(IServiceCollection, Action<AnthropicOptions>?)
Section titled “AddAnthropicAws(IServiceCollection, Action<AnthropicOptions>?)”public static IServiceCollection AddAnthropicAws(this IServiceCollection services, Action<AnthropicOptions>? configure = null)Adds AnthropicAwsProvider.
Parameters
| Name | Type | Description |
|---|---|---|
services |
IServiceCollection | |
configure |
Action<AnthropicOptions> |
Returns: IServiceCollection
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product