API Reference
ModelInfo
Represents a single model entry.
Inheritance
- Object
- ModelInfo
Constructors
public ModelInfo(String id, String model, String displayName, String description, IReadOnlyList<ReasoningEffortOption> supportedReasoningEfforts, String defaultReasoningEffort, Boolean isDefault, JsonObject raw, JsonObject additional, String ownedBy = null, String publisher = null, String architecture = null, String quantization = null, String compatibilityType = null, String runtimeState = null, String modelType = null, Nullable<Int64> maxContextLength = null, Nullable<Int64> loadedContextLength = null, IReadOnlyList<String> capabilities = null) #Initializes a new model info entry.
Parameters
- id System.String
- model System.String
- displayName System.String
- description System.String
- supportedReasoningEfforts System.Collections.Generic.IReadOnlyList{IntelligenceX.OpenAI.AppServer.Models.ReasoningEffortOption}
- defaultReasoningEffort System.String
- isDefault System.Boolean
- raw IntelligenceX.Json.JsonObject
- additional IntelligenceX.Json.JsonObject
- ownedBy System.String = null
- publisher System.String = null
- architecture System.String = null
- quantization System.String = null
- compatibilityType System.String = null
- runtimeState System.String = null
- modelType System.String = null
- maxContextLength System.Nullable{System.Int64} = null
- loadedContextLength System.Nullable{System.Int64} = null
- capabilities System.Collections.Generic.IReadOnlyList{System.String} = null
Methods
public static ModelInfo FromJson(JsonObject obj) #ModelInfoParses a model entry from JSON.
Parameters
- obj IntelligenceX.Json.JsonObject
- Source JSON object.
Returns
The parsed model entry.
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public String Id { get; } #Gets the model id.
public String Model { get; } #Gets the model name.
public String DisplayName { get; } #Gets the display name.
public String Description { get; } #Gets the model description.
public IReadOnlyList<ReasoningEffortOption> SupportedReasoningEfforts { get; } #Gets the supported reasoning effort options.
public String DefaultReasoningEffort { get; } #Gets the default reasoning effort value.
public Boolean IsDefault { get; } #Gets a value indicating whether this is the default model.
public String OwnedBy { get; } #Gets the provider owner identifier when exposed (for example owned_by).
public String Publisher { get; } #Gets the model publisher when exposed by the runtime.
public String Architecture { get; } #Gets the model architecture identifier when known.
public String Quantization { get; } #Gets the quantization identifier when known.
public String CompatibilityType { get; } #Gets the compatibility format (for example gguf) when known.
public String RuntimeState { get; } #Gets the runtime load state (for example loaded/not-loaded) when known.
public String ModelType { get; } #Gets the model type/category when known.
public Nullable<Int64> MaxContextLength { get; } #Gets the maximum context length when exposed by the runtime.
public Nullable<Int64> LoadedContextLength { get; } #Gets the currently loaded context length when exposed by the runtime.
public IReadOnlyList<String> Capabilities { get; } #Gets capability tags exposed by the runtime.
public JsonObject Raw { get; } #Gets the raw JSON object.
public JsonObject Additional { get; } #Gets unrecognized fields from the payload.