public sealed class ModelSettings : IMessage<ModelSettings>, IEquatable<ModelSettings>, IDeepCloneable<ModelSettings>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class ModelSettings.
Model settings contains various configurations for the LLM model.
Implements
IMessageModelSettings, IEquatableModelSettings, IDeepCloneableModelSettings, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1Assembly
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 |
|