IntelligenceX
Class

CopilotModelInfo

Namespace IntelligenceX.Copilot
Assembly IntelligenceX
Modifiers sealed

Represents a Copilot model entry.

Inheritance

  • Object
  • CopilotModelInfo

Constructors

public CopilotModelInfo(String id, String name, JsonObject raw, JsonObject additional) #

Initializes a new model info instance.

Parameters

id System.String
name System.String
raw IntelligenceX.Json.JsonObject
additional IntelligenceX.Json.JsonObject

Methods

public static CopilotModelInfo FromJson(JsonObject obj) #
Returns: CopilotModelInfo

Parses model info from JSON.

Parameters

obj IntelligenceX.Json.JsonObject
Source JSON object.

Returns

The parsed model info.

Properties

public String Id { get; } #

Gets the model id.

public String Name { get; } #

Gets the model name.

public Dictionary<String, Object> Metadata { get; } #

Gets the metadata dictionary.

public JsonObject Raw { get; } #

Gets the raw JSON object.

public JsonObject Additional { get; } #

Gets unrecognized fields from the payload.