Skip to content

Conversation

@sobychacko
Copy link
Contributor

Integrate Anthropic's pre-built Skills for document generation. Skills enable Claude to create actual downloadable files rather than just describing them.

Supported skills:

  • XLSX: Generate Excel spreadsheets
  • PPTX: Create PowerPoint presentations
  • DOCX: Generate Word documents
  • PDF: Create PDF files

Example usage:
AnthropicChatOptions.builder() .anthropicSkill(AnthropicSkill.XLSX) .build()

Generated files can be downloaded via the Files API using SkillsResponseHelper to extract file IDs from responses.

Breaking change:

  • ContentBlock.content type changed from String to Object to support nested JSON structures in Skills responses

Integrate Anthropic's pre-built Skills for document generation. Skills enable
Claude to create actual downloadable files rather than just describing them.

Supported skills:
- XLSX: Generate Excel spreadsheets
- PPTX: Create PowerPoint presentations
- DOCX: Generate Word documents
- PDF: Create PDF files

Example usage:
  AnthropicChatOptions.builder()
      .anthropicSkill(AnthropicSkill.XLSX)
      .build()

Generated files can be downloaded via the Files API using SkillsResponseHelper
to extract file IDs from responses.

Breaking change:
- ContentBlock.content type changed from String to Object to support
  nested JSON structures in Skills responses

Signed-off-by: Soby Chacko <soby.chacko@broadcom.com>
@ilayaperumalg
Copy link
Member

The changes are merged into main via bd90625. The PR #5010 adopts the changes into 1.1.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants