Qwen API Processor
Qwen API Processor
Details
Concrete implementation of BaseAPIProcessor for Qwen models. Handles Qwen-specific API calls, authentication, and response parsing.
Qwen has two API endpoints:
International: https://dashscope-intl.aliyuncs.com/api/v1/services/aigc/text-generation/generation (preferred)
Domestic (China): https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation (fallback) The processor automatically tries international first, then falls back to domestic if needed.
Super class
mLLMCelltype::BaseAPIProcessor
-> QwenProcessor
Methods
Method new()
Test if an endpoint is accessible
Initialize Qwen processor
Usage
QwenProcessor$new(base_url = NULL)