LocalAIEndpoint

Wisej.AI.Endpoints.LocalAIEndpoint

Namespace: Wisej.AI.Endpoints

Assembly: Wisej.AI (3.5.0.0)

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

public class LocalAIEndpoint : OpenAIEndpoint

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

Constructors

LocalAIEndpoint()

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

Properties

EmbeddingModel

String: Gets or sets the embedding model used for AI operations. (Default: "text-embedding-ada-002")

Model

String: Gets or sets the model used for AI operations. (Default: "")

URL

String: Gets or sets the URL for the LocalAI API endpoint. (Default: "http://localhost:8080/v1")

Last updated