InputParameter Class
- java.
lang. Object - com.
microsoft. semantickernel. semanticfunctions. InputParameter
- com.
public class InputParameter
Input parameter for semantic functions
Constructor Summary
| Constructor | Description |
|---|---|
| InputParameter(String name, String description, String defaultValue) |
Creates a new instance of the InputParameter class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getDefaultValue()
Default value when nothing is provided |
| java.lang.String |
getDescription()
Parameter description for UI apps and planner. |
| java.lang.String |
getName()
Name of the parameter to pass to the function. |
Methods inherited from java.lang.Object
Constructor Details
InputParameter
public InputParameter(String name, String description, String defaultValue)
Creates a new instance of the InputParameter class.
Parameters:
Method Details
getDefaultValue
public String getDefaultValue()
Default value when nothing is provided
Returns:
getDescription
public String getDescription()
Parameter description for UI apps and planner. Localization is not supported here.
Returns:
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: