Class PromptTemplateConfig.InputParameter
- java.lang.Object
-
- com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.InputParameter
-
- Enclosing class:
- PromptTemplateConfig
public static class PromptTemplateConfig.InputParameter extends Object
Input parameter for semantic functions
-
-
Constructor Summary
Constructors Constructor Description InputParameter(String name, String description, String defaultValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultValue()Default value when nothing is providedStringgetDescription()Parameter description for UI apps and planner.StringgetName()Name of the parameter to pass to the function.
-
-
-
Method Detail
-
getName
public String getName()
Name of the parameter to pass to the function. e.g. when using "{{$input}}" the name is "input", when using "{{$style}}" the name is "style", etc.- Returns:
- name
-
getDescription
public String getDescription()
Parameter description for UI apps and planner. Localization is not supported here.- Returns:
- description
-
getDefaultValue
public String getDefaultValue()
Default value when nothing is provided- Returns:
- the default value
-
-