public interface ModelSettingsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getModel()
public abstract String getModel()Optional. The LLM model that the agent should use. If not set, the agent will inherit the model from its parent agent.
string model = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The model. |
getModelBytes()
public abstract ByteString getModelBytes()Optional. The LLM model that the agent should use. If not set, the agent will inherit the model from its parent agent.
string model = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for model. |
getTemperature()
public abstract double getTemperature()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.
optional double temperature = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
double |
The temperature. |
hasTemperature()
public abstract boolean hasTemperature()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.
optional double temperature = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the temperature field is set. |