-
public final class PromptRequestKt.Dsl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPromptRequestKt.Dsl.Companionpublic final classPromptRequestKt.Dsl.TemplateVariablesProxyAn uninstantiable, behaviorless type to represent the field in generics.
-
Field Summary
Fields Modifier and Type Field Description private final DslMap<String, String, PromptRequestKt.Dsl.TemplateVariablesProxy>templateVariablesprivate StringpromptConfigId
-
Method Summary
Modifier and Type Method Description final StringgetPromptConfigId()final UnitsetPromptConfigId(String promptConfigId)final UnitputTemplateVariables(DslMap<String, String, PromptRequestKt.Dsl.TemplateVariablesProxy> $self, String key, String value)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;final UnitclearPromptConfigId()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;final 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;-
-
Method Detail
-
getPromptConfigId
final String getPromptConfigId()
-
setPromptConfigId
final Unit setPromptConfigId(String promptConfigId)
-
putTemplateVariables
final Unit putTemplateVariables(DslMap<String, String, PromptRequestKt.Dsl.TemplateVariablesProxy> $self, String key, String value)
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;
-
clearPromptConfigId
final Unit clearPromptConfigId()
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;
-
hasPromptConfigId
final 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;
-
-
-
-