Anthropic API Processor
Anthropic API Processor
mLLMCelltype::BaseAPIProcessor -> AnthropicProcessor
new()Initialize Anthropic processor
AnthropicProcessor$new(base_url = NULL)
get_default_api_url()Get default Anthropic API URL
AnthropicProcessor$get_default_api_url()
make_api_call()Make API call to Anthropic
AnthropicProcessor$make_api_call(chunk_content, model, api_key)
extract_response_content()Extract response content from Anthropic API response
AnthropicProcessor$extract_response_content(response, model)
clone()The objects of this class are cloneable with this method.
AnthropicProcessor$clone(deep = FALSE)deepWhether to make a deep clone.
Concrete implementation of BaseAPIProcessor for Anthropic models. Handles Anthropic-specific API calls, authentication, and response parsing.