| AnthropicProcessor | R Documentation |
Anthropic API Processor
Anthropic API Processor
Concrete implementation of BaseAPIProcessor for Anthropic models. Handles Anthropic-specific API calls, authentication, and response parsing.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.