Package org.springframework.ai.anthropic
Class AnthropicSkillContainer
java.lang.Object
org.springframework.ai.anthropic.AnthropicSkillContainer
Container for Claude Skills in a chat completion request. Maximum of 8 skills per
request.
- Author:
- Soby Chacko
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Convert to a list of maps suitable for JSON serialization viaJsonValue.from(Map.of("skills", container.toSkillsList())).
-
Constructor Details
-
AnthropicSkillContainer
-
-
Method Details
-
getSkills
-
toSkillsList
Convert to a list of maps suitable for JSON serialization viaJsonValue.from(Map.of("skills", container.toSkillsList())).- Returns:
- list of skill maps with type, skill_id, and version keys
-
builder
-