Skip to content

TogetherAIServiceCollectionExtensions

Namespace: Vercel.AI.TogetherAI

public static class TogetherAIServiceCollectionExtensions

Registers TogetherAIProvider.

Inheritance: object

View source

AddTogetherAI(IServiceCollection, Action<OpenAICompatibleOptions>?)

Section titled “AddTogetherAI(IServiceCollection, Action<OpenAICompatibleOptions>?)”
public static IServiceCollection AddTogetherAI(this IServiceCollection services, Action<OpenAICompatibleOptions>? configure = null)

Adds the provider.

Parameters

Name Type Description
services IServiceCollection
configure Action<OpenAICompatibleOptions>

Returns: IServiceCollection

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product