Interface DataStoreTool.RewriterConfigOrBuilder (0.1.0)

public static interface DataStoreTool.RewriterConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisabled()

public abstract boolean getDisabled()

Optional. Whether the rewriter is disabled.

bool disabled = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The disabled.

getModelSettings()

public abstract ModelSettings getModelSettings()

Required. Configurations for the LLM model.

.google.cloud.ces.v1.ModelSettings model_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ModelSettings

The modelSettings.

getModelSettingsOrBuilder()

public abstract ModelSettingsOrBuilder getModelSettingsOrBuilder()

Required. Configurations for the LLM model.

.google.cloud.ces.v1.ModelSettings model_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ModelSettingsOrBuilder

getPrompt()

public abstract String getPrompt()

Optional. The prompt definition. If not set, default prompt will be used.

string prompt = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The prompt.

getPromptBytes()

public abstract ByteString getPromptBytes()

Optional. The prompt definition. If not set, default prompt will be used.

string prompt = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for prompt.

hasModelSettings()

public abstract boolean hasModelSettings()

Required. Configurations for the LLM model.

.google.cloud.ces.v1.ModelSettings model_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the modelSettings field is set.