MethodDetails Class
- java.
lang. Object - com.
microsoft. semantickernel. semanticfunctions. MethodDetails
- com.
public class MethodDetails
Metadata for a method that can be used as a kernel function.
Constructor Summary
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getDescription()
Get the description of the method. |
|
Implementation |
getFunction()
Get the function that implements the method. |
| java.lang.String |
getName()
Get the name of the method. |
|
java.util.List<Input |
getParameters()
Get the parameters of the method. |
|
Output |
getReturnParameter()
Get the return parameter of the method. |
Methods inherited from java.lang.Object
Constructor Details
MethodDetails
public MethodDetails(String name, String description, KernelFunctionFromMethod.ImplementationFunc function, List
Constructor.
Parameters:
Method Details
getDescription
public String getDescription()
Get the description of the method.
Returns:
getFunction
public KernelFunctionFromMethod.ImplementationFunc getFunction()
Get the function that implements the method. This is an internal detail.
Returns:
getName
public String getName()
Get the name of the method.
Returns:
getParameters
public List
Get the parameters of the method.
Returns:
getReturnParameter
public OutputVariable getReturnParameter()
Get the return parameter of the method.
Returns: