StepFun API Processor
StepFun API Processor
Details
Concrete implementation of BaseAPIProcessor for StepFun models.
Handles StepFun-specific API calls, authentication, and response parsing.
Methods
Inherited methods
Method new()
Initialize StepFun processor
Arguments
base_url
Optional custom API endpoint
Method get_default_api_url()
Get default StepFun API URL
Usage
StepFunProcessor$get_default_api_url()
Method make_api_call()
Make API call to StepFun
Usage
StepFunProcessor$make_api_call(chunk_content, model, api_key)
Arguments
chunk_content
Prompt text to send
model
Model identifier
api_key
StepFun API key
Extract response content from StepFun API response
Usage
StepFunProcessor$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
StepFunProcessor$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.