IntelligenceX
Class

SkillGroup

Namespace IntelligenceX.OpenAI.AppServer.Models
Assembly IntelligenceX
Modifiers sealed

Represents a skill group for a working directory.

Inheritance

  • Object
  • SkillGroup

Constructors

public SkillGroup(String cwd, IReadOnlyList<SkillInfo> skills, IReadOnlyList<String> errors, JsonObject raw, JsonObject additional) #

Initializes a new skill group.

Parameters

cwd System.String
skills System.Collections.Generic.IReadOnlyList{IntelligenceX.OpenAI.AppServer.Models.SkillInfo}
errors System.Collections.Generic.IReadOnlyList{System.String}
raw IntelligenceX.Json.JsonObject
additional IntelligenceX.Json.JsonObject

Methods

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

Parses a skill group from JSON.

Parameters

obj IntelligenceX.Json.JsonObject
Source JSON object.

Returns

The parsed skill group.

Properties

public String Cwd { get; } #

Gets the working directory associated with the group.

public IReadOnlyList<SkillInfo> Skills { get; } #

Gets the skills in the group.

public IReadOnlyList<String> Errors { get; } #

Gets any errors for the group.

public JsonObject Raw { get; } #

Gets the raw JSON object.

public JsonObject Additional { get; } #

Gets unrecognized fields from the payload.