Interface LlmModelSettingsOrBuilder (0.89.0)

public interface LlmModelSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getModel()

public abstract String getModel()

The selected LLM model.

string model = 1;

Returns
Type Description
String

The model.

getModelBytes()

public abstract ByteString getModelBytes()

The selected LLM model.

string model = 1;

Returns
Type Description
ByteString

The bytes for model.

getParameters()

public abstract LlmModelSettings.Parameters getParameters()

Generative model parameters.

.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters parameters = 4;

Returns
Type Description
LlmModelSettings.Parameters

The parameters.

getParametersOrBuilder()

public abstract LlmModelSettings.ParametersOrBuilder getParametersOrBuilder()

Generative model parameters.

.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters parameters = 4;

Returns
Type Description
LlmModelSettings.ParametersOrBuilder

getPromptText()

public abstract String getPromptText()

The custom prompt to use.

string prompt_text = 2;

Returns
Type Description
String

The promptText.

getPromptTextBytes()

public abstract ByteString getPromptTextBytes()

The custom prompt to use.

string prompt_text = 2;

Returns
Type Description
ByteString

The bytes for promptText.

hasParameters()

public abstract boolean hasParameters()

Generative model parameters.

.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters parameters = 4;

Returns
Type Description
boolean

Whether the parameters field is set.