Interface GenerativeSettings.FallbackSettings.PromptTemplateOrBuilder (0.65.0)

public static interface GenerativeSettings.FallbackSettings.PromptTemplateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayName()

public abstract String getDisplayName()

Prompt name.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Prompt name.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getFrozen()

public abstract boolean getFrozen()

If the flag is true, the prompt is frozen and cannot be modified by users.

bool frozen = 3;

Returns
Type Description
boolean

The frozen.

getPromptText()

public abstract String getPromptText()

Prompt text that is sent to a LLM on no-match default, placeholders are filled downstream. For example: "Here is a conversation $conversation, a response is: "

string prompt_text = 2;

Returns
Type Description
String

The promptText.

getPromptTextBytes()

public abstract ByteString getPromptTextBytes()

Prompt text that is sent to a LLM on no-match default, placeholders are filled downstream. For example: "Here is a conversation $conversation, a response is: "

string prompt_text = 2;

Returns
Type Description
ByteString

The bytes for promptText.