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. |
getThinkingLevel()
public abstract ModelSettings.ThinkingLevel getThinkingLevel()Optional. The thinking level of the model.
.google.cloud.ces.v1beta.ModelSettings.ThinkingLevel thinking_level = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ModelSettings.ThinkingLevel |
The thinkingLevel. |
getThinkingLevelValue()
public abstract int getThinkingLevelValue()Optional. The thinking level of the model.
.google.cloud.ces.v1beta.ModelSettings.ThinkingLevel thinking_level = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for thinkingLevel. |
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. |