Interface GenerativeSettings.FallbackSettings.PromptTemplateOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerativeSettings.FallbackSettings.PromptTemplate,GenerativeSettings.FallbackSettings.PromptTemplate.Builder
- Enclosing class:
- GenerativeSettings.FallbackSettings
public static interface GenerativeSettings.FallbackSettings.PromptTemplateOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionPrompt name.com.google.protobuf.ByteStringPrompt name.booleanIf the flag is true, the prompt is frozen and cannot be modified by users.Prompt text that is sent to a LLM on no-match default, placeholders are filled downstream.com.google.protobuf.ByteStringPrompt text that is sent to a LLM on no-match default, placeholders are filled downstream.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDisplayName
String getDisplayName()Prompt name.
string display_name = 1;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Prompt name.
string display_name = 1;- Returns:
- The bytes for displayName.
-
getPromptText
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:
- The promptText.
-
getPromptTextBytes
com.google.protobuf.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:
- The bytes for promptText.
-
getFrozen
boolean getFrozen()If the flag is true, the prompt is frozen and cannot be modified by users.
bool frozen = 3;- Returns:
- The frozen.
-