Package mindsdb.services
Class Skills
java.lang.Object
mindsdb.services.Skills
The Skills class provides methods for managing skills.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new skill with the specified name, type, and parameters.Create a new skill with the specified name, type, and parameters.void
Drop a skill with the specified name.Get a skill by name.list()
List all skills in the project.Update a skill with the specified name and updated skill.
-
Constructor Details
-
Skills
Constructs a new Skills instance with the specified project and API.- Parameters:
project
- The project associated with the skills.api
- The API instance used to interact with the backend.
-
-
Method Details
-
list
List all skills in the project.- Returns:
- List of skills.
-
get
Get a skill by name.- Parameters:
name
- The name of the skill.- Returns:
- The skill with the specified name.
-
create
Create a new skill with the specified name, type, and parameters.- Parameters:
name
- The name of the skill.type
- The type of the skill.params
- The parameters of the skill.- Returns:
- The created skill.
-
create
Create a new skill with the specified name, type, and parameters.- Parameters:
name
- The name of the skill.type
- The type of the skill.params
- The parameters of the skill.- Returns:
- The created skill.
-
update
Update a skill with the specified name and updated skill.- Parameters:
name
- The name of the skill.updateSkill
- The updated skill.- Returns:
- The updated skill.
-
drop
Drop a skill with the specified name.- Parameters:
name
- The name of the skill.
-