IntelligenceX

API Reference

Class

ConfigLayerSourceInfo

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

Represents source descriptor details for a configuration layer.

Inheritance

  • Object
  • ConfigLayerSourceInfo

Constructors

public ConfigLayerSourceInfo(String type, JsonValue raw, JsonObject additional) #

Initializes a new source info instance.

Parameters

type System.String requiredposition: 0
raw IntelligenceX.Json.JsonValue requiredposition: 1
additional IntelligenceX.Json.JsonObject requiredposition: 2

Methods

public static ConfigLayerSourceInfo FromJson(JsonValue value) #
Returns: ConfigLayerSourceInfo

Parses a source info value from JSON.

Parameters

value IntelligenceX.Json.JsonValue requiredposition: 0
Source JSON value.

Returns

The parsed source info.

Properties

public String Type { get; } #

Gets the source type.

public JsonValue Raw { get; } #

Gets the raw source payload.

public JsonObject Additional { get; } #

Gets unrecognized fields from the payload when the source is represented as an object.