Class ModelConfigsResponseV1
Response containing available model configurations and profiles.
Inherited Members
Namespace: Unity.Ai.Assistant.Protocol.Model
Assembly: Unity.AI.Assistant.Runtime.dll
Syntax
[DataContract(Name = "ModelConfigsResponseV1")]
public class ModelConfigsResponseV1
Constructors
ModelConfigsResponseV1()
Initializes a new instance of the ModelConfigsResponseV1 class.
Declaration
[JsonConstructor]
protected ModelConfigsResponseV1()
ModelConfigsResponseV1(List<ModelConfigInfo>)
Initializes a new instance of the ModelConfigsResponseV1 class.
Declaration
public ModelConfigsResponseV1(List<ModelConfigInfo> models)
Parameters
| Type | Name | Description |
|---|---|---|
| List<ModelConfigInfo> | models | Available model configuration options. |
Properties
Models
Available model configuration options. Clients should show 'profile' type items to users. 'config' type items are for development/testing only.
Declaration
[DataMember(Name = "models", IsRequired = true, EmitDefaultValue = true)]
public List<ModelConfigInfo> Models { get; set; }
Property Value
| Type | Description |
|---|---|
| List<ModelConfigInfo> | Available model configuration options. Clients should show 'profile' type items to users. 'config' type items are for development/testing only. |
Methods
ToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
| Type | Description |
|---|---|
| string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String presentation of the object |