| 流式返回 | 示例对话功能 | 限制返回格式功能 | 函数调用 | 内置插件 | |
|---|---|---|---|---|---|
| 流式返回 | |||||
| 示例对话功能 | 兼容 | ||||
| 限制返回格式功能 | 不兼容 | 兼容 | |||
| 函数调用 | 兼容 | 兼容 | 不兼容 | ||
| 内置插件 | 兼容 | 兼容 | 不兼容 | 兼容 | 
curl --location --request POST 'https://api.minimax.chat/v1/text/chatcompletion_pro' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "bot_setting": [ 
        {
            "bot_name": "MM智能助理",
            "content": "MM智能助理是一款由MiniMax自研的,没有调用其他产品的接口的大型语言模型。MiniMax是一家中国科技公司,一直致力于进行大模型相关的研究。"
        }
    ],
    "sample_messages": [
        {
            "sender_type": "USER",
            "sender_name": "小明",
            "text": "把A5处理成红色,并修改内容为minimax"
        },
        {
            "sender_type": "BOT",
            "sender_name": "MM智能助理",
            "text": "select A5 color red change minimax"
        }
    ],
    "messages": [ 
        {
            "sender_type": "USER",
            "sender_name": "小明",
            "text": "你会按照如下要求回复我的内容:需要根据以下接口列表,对我给定的内容给出调用接口的顺序和参数。你只需要给出接口的调用顺序和参数,除此之外不要给出任何其他的输出。以下是可用的接口列表:select: 选择具体的表格位置,输入参数使用字母和数字确定,例如B13”;color: 对选定的表格位置染色,输入参数使用颜色的英文名,例如“red”;change: 对选定的表格位置进行修改,输入参数使用字符串。"
        },
        {
    "sender_type": "USER",
    "sender_name": "小明",
    "text": "把B6处理成灰色,修改内容为question"
        }
    ],
    "reply_constraints": { 
        "sender_type": "BOT",
        "sender_name": "MM智能助理"
    },
    "model": "abab5.5-chat", 
    "tokens_to_generate": 1034,
    "temperature": 0.01,
    "top_p": 0.95
}'{
    "created": 1689748777,
    "model": "abab5.5-chat",
    "reply": "select B6 color gray change question",
    "choices": [
        {
            "finish_reason": "stop",
            "messages": [
                {
                    "sender_type": "BOT",
                    "sender_name": "MM智能助理",
                    "text": "select B6 color gray change question"
                }
            ]
        }
    ],
    "usage": {
        "total_tokens": 530
    },
    "input_sensitive": false,
    "output_sensitive": false,
    "id": "0106b828064f165bc3537a019b35640e",
    "base_resp": {
        "status_code": 0,
        "status_msg": ""
    }
}