-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLiteOrBuilder
public interface PromptRequestOrBuilder implements MessageLiteOrBuilder
-
-
Method Summary
Modifier and Type Method Description abstract intgetTemplateVariablesCount()The User prompt variables This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponsemap<string, string> template_variables = 1;abstract booleancontainsTemplateVariables(String key)The User prompt variables This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponsemap<string, string> template_variables = 1;abstract Map<String, String>getTemplateVariables()Use getTemplateVariablesMap instead. abstract Map<String, String>getTemplateVariablesMap()The User prompt variables This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponsemap<string, string> template_variables = 1;abstract StringgetTemplateVariablesOrDefault(String key, String defaultValue)The User prompt variables This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponsemap<string, string> template_variables = 1;abstract StringgetTemplateVariablesOrThrow(String key)The User prompt variables This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponsemap<string, string> template_variables = 1;abstract booleanhasPromptConfigId()Optional Identifier designating the prompt config ID to use. If not set, the default prompt config will be used.optional string prompt_config_id = 2;abstract StringgetPromptConfigId()Optional Identifier designating the prompt config ID to use. If not set, the default prompt config will be used.optional string prompt_config_id = 2;abstract ByteStringgetPromptConfigIdBytes()Optional Identifier designating the prompt config ID to use. If not set, the default prompt config will be used.optional string prompt_config_id = 2;-
-
Method Detail
-
getTemplateVariablesCount
abstract int getTemplateVariablesCount()
The User prompt variables This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponsemap<string, string> template_variables = 1;
-
containsTemplateVariables
abstract boolean containsTemplateVariables(String key)
The User prompt variables This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponsemap<string, string> template_variables = 1;
-
getTemplateVariables
@Deprecated() abstract Map<String, String> getTemplateVariables()
Use getTemplateVariablesMap instead.
-
getTemplateVariablesMap
abstract Map<String, String> getTemplateVariablesMap()
The User prompt variables This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponsemap<string, string> template_variables = 1;
-
getTemplateVariablesOrDefault
abstract String getTemplateVariablesOrDefault(String key, String defaultValue)
The User prompt variables This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponsemap<string, string> template_variables = 1;
-
getTemplateVariablesOrThrow
abstract String getTemplateVariablesOrThrow(String key)
The User prompt variables This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponsemap<string, string> template_variables = 1;
-
hasPromptConfigId
abstract boolean hasPromptConfigId()
Optional Identifier designating the prompt config ID to use. If not set, the default prompt config will be used.optional string prompt_config_id = 2;
-
getPromptConfigId
abstract String getPromptConfigId()
Optional Identifier designating the prompt config ID to use. If not set, the default prompt config will be used.optional string prompt_config_id = 2;
-
getPromptConfigIdBytes
abstract ByteString getPromptConfigIdBytes()
Optional Identifier designating the prompt config ID to use. If not set, the default prompt config will be used.optional string prompt_config_id = 2;
-
-
-
-