VoyageServiceCollectionExtensions
Namespace: Vercel.AI.Voyage
public static class VoyageServiceCollectionExtensionsRegisters Voyage.
Inheritance: object
Methods
Section titled “Methods”AddVoyage(IServiceCollection, Action<OpenAICompatibleOptions>?)
Section titled “AddVoyage(IServiceCollection, Action<OpenAICompatibleOptions>?)”public static IServiceCollection AddVoyage(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