Class
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) #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
Methods
public static ModelInfo FromJson(JsonObject obj) #Returns:
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) #Returns:
BooleanInherited from Object
Parameters
- 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 JsonObject Raw { get; } #Gets the raw JSON object.
public JsonObject Additional { get; } #Gets unrecognized fields from the payload.