XAIEndpoint

Wisej.AI.Endpoints.XAIEndpoint

Namespace: Wisej.AI.Endpoints

Assembly: Wisej.AI (3.5.0.0)

Represents a connection to X.AI endpoints, extending the functionality of OpenAIEndpoint.

public class XAIEndpoint : OpenAIEndpoint

This class is used to interact with the X.AI API, providing properties and methods specific to X.AI's capabilities.

Constructors

XAIEndpoint()

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

The default authentication method is set to "Bearer", the model to "grok-beta", and the URL to "https://api.x.ai/v1".

Properties

Model

String: Gets or sets the model used by the X.AI endpoint. (Default: "grok-beta")

URL

String: Gets or sets the URL of the X.AI API endpoint. (Default: "https://api.x.ai/v1")

UseNativeTools

Boolean: (Default: True)

Last updated