LLMConfig field of the StartAIConversation API:// json — LLMConfig{"LLMType": "openai","Model": "MiniMax-M2.7","APIKey": "<your_minimax_api_key>","APIUrl": "https://api.minimax.chat/v1/text/chatcompletion_v2","Streaming": true,"SystemPrompt": "You are a helpful assistant.","History": 5,"MetaInfo": {}}
Field | Type | Required | Description |
LLMType | String | Yes | Fixed value: "openai". |
Model | String | Yes | |
APIKey | String | Yes | |
APIUrl | String | Yes | MiniMax chat completions endpoint. |
Streaming | Boolean | No | Enable streaming. Default: true. |
SystemPrompt | String | No | System instruction. |
History | Integer | No | Context rounds. Default: 0. |
MetaInfo | Object | No | Custom parameters in request body. |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback