IntelligenceX

API Reference

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 requiredposition: 0
name System.String requiredposition: 1
raw IntelligenceX.Json.JsonObject requiredposition: 2
additional IntelligenceX.Json.JsonObject requiredposition: 3

Methods

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

Parses model info from JSON.

Parameters

obj IntelligenceX.Json.JsonObject requiredposition: 0
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.