Gemini Enterprise for Customer Experience v1 API - Class ModelSettings (1.0.0-beta01)

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 > ModelSettings

Namespace

Google.Cloud.Ces.V1

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