IntelligenceX
Class

ThreadInfo

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

Represents a chat thread summary.

Inheritance

  • Object
  • ThreadInfo

Constructors

public ThreadInfo(String id, String preview, String modelProvider, Nullable<DateTimeOffset> createdAt, Nullable<DateTimeOffset> updatedAt, JsonObject raw, JsonObject additional) #

Initializes a new thread info model.

Parameters

id System.String
preview System.String
modelProvider System.String
createdAt System.Nullable{System.DateTimeOffset}
updatedAt System.Nullable{System.DateTimeOffset}
raw IntelligenceX.Json.JsonObject
additional IntelligenceX.Json.JsonObject

Methods

public static ThreadInfo FromJson(JsonObject threadObj) #
Returns: ThreadInfo

Parses a thread info model from JSON.

Parameters

threadObj IntelligenceX.Json.JsonObject
Source JSON object.

Returns

The parsed thread info.

Properties

public String Id { get; } #

Gets the thread id.

public String Preview { get; } #

Gets the preview text.

public String ModelProvider { get; } #

Gets the model provider identifier.

public Nullable<DateTimeOffset> CreatedAt { get; } #

Gets the creation time (UTC).

public Nullable<DateTimeOffset> UpdatedAt { get; } #

Gets the last update time (UTC).

public JsonObject Raw { get; } #

Gets the raw JSON object.

public JsonObject Additional { get; } #

Gets unrecognized fields from the payload.