Skip to contents

Minimax API Processor

Minimax API Processor

Details

Concrete implementation of BaseAPIProcessor for Minimax models. Handles Minimax-specific API calls, authentication, and response parsing.

Super class

mLLMCelltype::BaseAPIProcessor -> MinimaxProcessor

Methods

Inherited methods


Method new()

Initialize Minimax processor

Usage

MinimaxProcessor$new(base_url = NULL)


Method get_default_api_url()

Get default Minimax API URL

Usage

MinimaxProcessor$get_default_api_url()


Method make_api_call()

Make API call to Minimax

Usage

MinimaxProcessor$make_api_call(chunk_content, model, api_key)


Method extract_response_content()

Extract response content from Minimax API response

Usage

MinimaxProcessor$extract_response_content(response, model)


Method clone()

The objects of this class are cloneable with this method.

Usage

MinimaxProcessor$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.