class Riffer::Providers::Anthropic
Anthropic provider for Claude models via the Anthropic API. Requires the anthropic gem.
Constants
- FINISH_REASONS
- WEB_SEARCH_TOOL_TYPE
Public Class Methods
Source
# File lib/riffer/providers/anthropic.rb, line 34 def initialize super depends_on "anthropic" end
Calls superclass method
Source
# File lib/riffer/providers/anthropic.rb, line 28 def self.semconv_provider_name "anthropic" end
The GenAI semconv well-known provider name.
Source
# File lib/riffer/providers/anthropic.rb, line 21 def self.skills_adapter(_model = nil) Riffer::Skills::XmlAdapter end
Returns the XML skill adapter for Anthropic/Claude.