Interface GenerativeSettings.FallbackSettings.PromptTemplateOrBuilder (0.52.0)

public static interface GenerativeSettings.FallbackSettings.PromptTemplateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayName()

public abstract String getDisplayName()

Prompt name.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Prompt name.

string display_name = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for promptText.