Class FunctionView
- java.lang.Object
-
- com.microsoft.semantickernel.skilldefinition.FunctionView
-
public class FunctionView extends Object
Class used to copy and export data from the skill collection. The data is mutable, but changes do not affect the skill collection.
-
-
Constructor Summary
Constructors Constructor Description FunctionView(String name, String skillName, String description, List<ParameterView> parameters, boolean isSemantic, boolean isAsynchronous)Create a function view.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetName()List<ParameterView>getParameters()List of function parametersStringgetSkillName()
-
-
-
Constructor Detail
-
FunctionView
public FunctionView(String name, String skillName, String description, List<ParameterView> parameters, boolean isSemantic, boolean isAsynchronous)
Create a function view.- Parameters:
name- Function nameskillName- Skill name, e.g. the function namespacedescription- Function descriptionparameters- List of function parameters provided by the skill developerisSemantic- Whether the function is a semantic one (or native is False)isAsynchronous- Whether the function is async. Note: all semantic functions are async
-
-
Method Detail
-
getParameters
public List<ParameterView> getParameters()
List of function parameters- Returns:
- the list of function parameters
-
getDescription
public String getDescription()
-
getSkillName
public String getSkillName()
-
getName
public String getName()
-
-