DeepSeek API Processor
DeepSeek API Processor
Details
Concrete implementation of BaseAPIProcessor for DeepSeek models.
Handles DeepSeek-specific API calls, authentication, and response parsing.
Methods
Inherited methods
Method new()
Initialize DeepSeek processor
Arguments
base_url
Optional custom API endpoint
Method get_default_api_url()
Get default DeepSeek API URL
Usage
DeepSeekProcessor$get_default_api_url()
Method make_api_call()
Make API call to DeepSeek
Usage
DeepSeekProcessor$make_api_call(chunk_content, model, api_key)
Arguments
chunk_content
Prompt text to send
model
Model identifier
api_key
DeepSeek API key
Extract response content from DeepSeek API response
Usage
DeepSeekProcessor$extract_response_content(response, model)
Arguments
response
HTTP response object
model
Model identifier
Method clone()
The objects of this class are cloneable with this method.
Usage
DeepSeekProcessor$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.