AI
Command Description
Calls an AI model through an OpenAI-compatible API.
Command Input Parameters
| Input Parameter | Type | Description |
|---|---|---|
| AI | str | API endpoint URL or built-in endpoint name: deepseek, ChatGPT, or AlibabaBailian |
| Model | str | Model name, such as deepseek-v3 |
| Key | str | API key |
| Question | str | Prompt sent to the model |
| Response Format | enum | Response format: text or json_object |
Command Output Parameters
| Output Parameter | Type | Description |
|---|---|---|
| Response | any | Response returned by the model |
Example
The following example uses DeepSeek to analyze specifications on the Xiaomi SU7 website and return JSON with a specified structure.