KernelFunctionMetadata<T> Class
- java.
lang. Object - com.
microsoft. semantickernel. semanticfunctions. KernelFunctionMetadata<T>
- com.
Type Parameters
- T
The type of the return value of the function.
public class KernelFunctionMetadata<T>
Metadata about a kernel function.
Constructor Summary
Constructor | Description |
---|---|
KernelFunctionMetadata(String pluginName, String name, String description, List<InputVariable> parameters, OutputVariable<T> returnParameterType) |
Create a new instance of Kernel |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | equals(Object obj) |
java.lang.String |
getDescription()
Get the description of the function. |
java.lang.String |
getName()
Get the name of the function. |
Output |
getOutputVariableType()
Get the return parameter of the function. |
java.util.List<Input |
getParameters()
Get the parameters of the function. |
java.lang.String |
getPluginName()
Get the name of the plugin to which the function belongs |
int | hashCode() |
Methods inherited from java.lang.Object
Constructor Details
KernelFunctionMetadata
public KernelFunctionMetadata(String pluginName, String name, String description, List
Create a new instance of KernelFunctionMetadata.
Parameters:
Method Details
equals
public boolean equals(Object obj)
Overrides:
KernelFunctionMetadata<T>.equals(Object obj)Parameters:
getDescription
public String getDescription()
Get the description of the function.
Returns:
getName
public String getName()
Get the name of the function.
Returns:
getOutputVariableType
public OutputVariable
Get the return parameter of the function.
Returns:
getParameters
public List
Get the parameters of the function.
Returns:
getPluginName
public String getPluginName()
Get the name of the plugin to which the function belongs
Returns:
hashCode
public int hashCode()
Overrides:
KernelFunctionMetadata<T>.hashCode()