1.1.0 (latest) 1.0.0

    public sealed class ModelSettings : IMessage<ModelSettings>, IEquatable<ModelSettings>, IDeepCloneable<ModelSettings>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class ModelSettings.

Model settings contains various configurations for the LLM model.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ModelSettings

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ModelSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.ModelSettings.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ModelSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.ModelSettings.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ModelSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.ModelSettings.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Ces.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.md.txt)

## Assembly

Google.Cloud.Ces.V1.dll

## Constructors

### ModelSettings()

    public ModelSettings()

### ModelSettings(ModelSettings)

    public ModelSettings(ModelSettings other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ModelSettings` |

## Properties

### HasTemperature

    public bool HasTemperature { get; }

Gets whether the "temperature" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### Model

    public string Model { get; set; }

Optional. The LLM model that the agent should use.
If not set, the agent will inherit the model from its parent agent.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Temperature

    public double Temperature { get; set; }

Optional. If set, this temperature will be used for the LLM model.
Temperature controls the randomness of the model's responses. Lower
temperatures produce responses that are more predictable. Higher
temperatures produce responses that are more creative.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `double` |   |