TogetherAIEndpoint

Wisej.AI.Endpoints.TogetherAIEndpoint

Namespace: Wisej.AI.Endpoints

Assembly: Wisej.AI (3.5.0.0)

Represents a connection to TogetherAI endpoints, providing access to various AI models and services.

public class TogetherAIEndpoint : OpenAIEndpoint

This class extends the OpenAIEndpoint to connect specifically to TogetherAI's API. It initializes with default models and a URL for the TogetherAI service.

Constructors

TogetherAIEndpoint()

Initializes a new instance of the TogetherAIEndpoint class with default settings.

The default authentication method is set to "Bearer". The default models and URL are pre-configured for TogetherAI services.

Properties

EmbeddingModel

String: Gets or sets the embedding model used for AI operations. (Default: "togethercomputer/m2-bert-80M-8k-retrieval")

Model

String: Gets or sets the model used for AI operations. (Default: "meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo")

URL

String: Gets or sets the URL for the TogetherAI API endpoint. (Default: "https://api.together.xyz/v1")

Last updated