API Reference
ModelInfo
Represents a single model entry.
Inheritance
- Object
- ModelInfo
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Method ModelInfo.FromJson
- Property ModelListResult.Models
Accepted by parameters 1
- Constructor ModelListResult.ModelListResult
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, Int64? maxContextLength = null, 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.Int64? = null
- loadedContextLength 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 virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public String Model { get; } #Gets the request-ready model name. Catalogs may expose a separate internal id.
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 Int64? MaxContextLength { get; } #Gets the maximum context length when exposed by the runtime.
public 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? Additional { get; } #Gets unrecognized fields from the payload.