DeepSeek API Processor
DeepSeek API Processor
mLLMCelltype::BaseAPIProcessor -> DeepSeekProcessor
new()Initialize DeepSeek processor
DeepSeekProcessor$new(base_url = NULL)base_urlOptional custom base URL for DeepSeek API
get_default_api_url()Get default DeepSeek API URL
DeepSeekProcessor$get_default_api_url()Default DeepSeek API endpoint URL
make_api_call()Make API call to DeepSeek
DeepSeekProcessor$make_api_call(chunk_content, model, api_key)chunk_contentContent for this chunk
modelModel identifier
api_keyAPI key
httr response object
extract_response_content()Extract response content from DeepSeek API response
DeepSeekProcessor$extract_response_content(response, model)responsehttr response object
modelModel identifier
Extracted text content
clone()The objects of this class are cloneable with this method.
DeepSeekProcessor$clone(deep = FALSE)deepWhether to make a deep clone.
Concrete implementation of BaseAPIProcessor for DeepSeek models. Handles DeepSeek-specific API calls, authentication, and response parsing.