CohereServiceCollectionExtensions
Namespace: Vercel.AI.Cohere
public static class CohereServiceCollectionExtensionsRegisters Cohere.
Inheritance: object
Methods
Section titled “Methods”AddCohere(IServiceCollection, Action<CohereOptions>?)
Section titled “AddCohere(IServiceCollection, Action<CohereOptions>?)”public static IServiceCollection AddCohere(this IServiceCollection services, Action<CohereOptions>? configure = null)Adds CohereProvider.
Parameters
| Name | Type | Description |
|---|---|---|
services |
IServiceCollection | |
configure |
Action<CohereOptions> |
Returns: IServiceCollection
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product