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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDisplayName()
Prompt name.com.google.protobuf.ByteString
getDisplayNameBytes()
Prompt name.boolean
getFrozen()
If the flag is true, the prompt is frozen and cannot be modified by users.String
getPromptText()
Prompt text that is sent to a LLM on no-match default, placeholders are filled downstream.com.google.protobuf.ByteString
getPromptTextBytes()
Prompt text that is sent to a LLM on no-match default, placeholders are filled downstream.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-