docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ModelConfigInfo

    Information about a single model configuration option.

    Inheritance
    object
    ModelConfigInfo
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Ai.Assistant.Protocol.Model
    Assembly: Unity.AI.Assistant.Runtime.dll
    Syntax
    [DataContract(Name = "ModelConfigInfo")]
    public class ModelConfigInfo

    Constructors

    ModelConfigInfo()

    Initializes a new instance of the ModelConfigInfo class.

    Declaration
    [JsonConstructor]
    protected ModelConfigInfo()

    ModelConfigInfo(string, ModelConfigType)

    Initializes a new instance of the ModelConfigInfo class.

    Declaration
    public ModelConfigInfo(string name, ModelConfigType type)
    Parameters
    Type Name Description
    string name

    The name to use in the model_settings field of chat requests.

    ModelConfigType type

    Type of the model configuration.

    Properties

    Id

    Identifier for the model option.

    Declaration
    [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = false)]
    public string Id { get; set; }
    Property Value
    Type Description
    string

    Name

    The name to use in the model_settings field of chat requests.

    Declaration
    [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)]
    public string Name { get; set; }
    Property Value
    Type Description
    string

    The name to use in the model_settings field of chat requests.

    Type

    Gets or Sets Type

    Declaration
    [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
    public ModelConfigType Type { get; set; }
    Property Value
    Type Description
    ModelConfigType

    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

    Overrides
    object.ToString()
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)