Class AbstractSkill
java.lang.Object
dev.langchain4j.skills.AbstractSkill
- All Implemented Interfaces:
Skill
- Direct Known Subclasses:
DefaultFileSystemSkill, DefaultSkill
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstractSkill.BaseBuilder<B extends AbstractSkill.BaseBuilder<B>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontent()Returns the full instructions of this skill (e.g.Returns a short description of what this skill does.booleaninthashCode()name()Returns the unique name of this skill.Returns the optional list of additional resources associated with this skill (e.g.Returns the optional list of tool providers associated with this skill.toString()
-
Constructor Details
-
AbstractSkill
-
-
Method Details
-
name
-
description
Description copied from interface:SkillReturns a short description of what this skill does. Shown to the LLM so it can decide which skill is relevant for the current request.- Specified by:
descriptionin interfaceSkill
-
content
-
resources
Description copied from interface:SkillReturns the optional list of additional resources associated with this skill (e.g. references, assets, templates, etc.). -
toolProviders
Description copied from interface:SkillReturns the optional list of tool providers associated with this skill. These tool providers supply tools that will be exposed to the LLM when this skill is activated.- Specified by:
toolProvidersin interfaceSkill- Returns:
- the list of tool providers, empty by default
-
equals
-
hashCode
-
toString
-