ML app
    ML app
    • 上传
      POST
    • AI 润色
      GET
    • 历史对话记录
      GET
    • 删除
      POST
    • 喜欢/不喜欢
      POST
    • 生成表格/导图
      GET
    • 分享赚积分
      POST
    • KOL分区获取
      GET
    • KOL 关注
      GET
    • 取消关注
      GET
    • 翻译
      POST
    • 下载研报图片
      POST
    • 模型切换/深度思考/重新回复
      POST

      模型切换/深度思考/重新回复

      POST
      /v2/api/sendStreamChat
      模型切换 :llm_model 字段传相对应模型名称 deepseek,MountainLion-C1,GPT-4o,Claude 3.7,Gemini,Perplexity Sonar
      深度思考 :DeepSeek-reasoner ,MountainLion-C1-D

      请求参数

      Body 参数application/json

      示例
      {
          "content": "比特币现在的价格",
          "msggroup": "17440113510901123",
          "language": "cn",
          "messages": [
              {
                  "role": "user",
                  "type": "text",
                  "format": "text",
                  "version": "MountainLion.ai",
                  "content": "你好",
                  "base64content": null,
                  "code": 1744011359531,
                  "quote_info": "",
                  "extra_content": null
              },
              {
                  "role": "assistant",
                  "type": "text",
                  "format": "text",
                  "version": "MountainLion.ai",
                  "content": "请问有什么与区块链或Web3相关的问题我可以帮助你解答吗?",
                  "code": 95886,
                  "quote_info": ""
              },
              {
                  "role": "user",
                  "type": "text",
                  "format": "text",
                  "version": "MountainLion.ai",
                  "content": "比特币现在的价格",
                  "base64content": null,
                  "code": 1744011386326,
                  "quote_info": "",
                  "extra_content": null
              }
          ],
          "device_no": null,
          "code": 1744011386326,
          "model": "ml-plus",
          "output_type": "text",
          "owner": "MountainLion.ai",
          "source": "v001",
          "agent_id": "",
          "chain_id": "",
          "wallet_type": "",
          "llm_model": "Perplexity Sonar",
          "news": null,
          "visitor_id": "b42756709b1c32333bd9e014bc26f3d4",
          "rag_status": false,
          "rag_status_done": false,
          "usedSources": 0,
          "totalSources": 0,
          "isMindMap": false,
          "isTable": false,
          "copyContent": "比特币现在的价格",
          "without_minus": 0
      }

      请求示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST '/v2/api/sendStreamChat' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "content": "比特币现在的价格",
          "msggroup": "17440113510901123",
          "language": "cn",
          "messages": [
              {
                  "role": "user",
                  "type": "text",
                  "format": "text",
                  "version": "MountainLion.ai",
                  "content": "你好",
                  "base64content": null,
                  "code": 1744011359531,
                  "quote_info": "",
                  "extra_content": null
              },
              {
                  "role": "assistant",
                  "type": "text",
                  "format": "text",
                  "version": "MountainLion.ai",
                  "content": "请问有什么与区块链或Web3相关的问题我可以帮助你解答吗?",
                  "code": 95886,
                  "quote_info": ""
              },
              {
                  "role": "user",
                  "type": "text",
                  "format": "text",
                  "version": "MountainLion.ai",
                  "content": "比特币现在的价格",
                  "base64content": null,
                  "code": 1744011386326,
                  "quote_info": "",
                  "extra_content": null
              }
          ],
          "device_no": null,
          "code": 1744011386326,
          "model": "ml-plus",
          "output_type": "text",
          "owner": "MountainLion.ai",
          "source": "v001",
          "agent_id": "",
          "chain_id": "",
          "wallet_type": "",
          "llm_model": "Perplexity Sonar",
          "news": null,
          "visitor_id": "b42756709b1c32333bd9e014bc26f3d4",
          "rag_status": false,
          "rag_status_done": false,
          "usedSources": 0,
          "totalSources": 0,
          "isMindMap": false,
          "isTable": false,
          "copyContent": "比特币现在的价格",
          "without_minus": 0
      }'

      返回响应

      🟢200成功
      application/json
      Body

      示例
      {
          "content": "比特币现在的价格",
          "msggroup": "17440113510901123",
          "language": "cn",
          "messages": [
              {
                  "role": "user",
                  "type": "text",
                  "format": "text",
                  "version": "MountainLion.ai",
                  "content": "你好",
                  "base64content": null,
                  "code": 1744011359531,
                  "quote_info": "",
                  "extra_content": null
              },
              {
                  "role": "assistant",
                  "type": "text",
                  "format": "text",
                  "version": "MountainLion.ai",
                  "content": "请问有什么与区块链或Web3相关的问题我可以帮助你解答吗?",
                  "code": 95886,
                  "quote_info": ""
              },
              {
                  "role": "user",
                  "type": "text",
                  "format": "text",
                  "version": "MountainLion.ai",
                  "content": "比特币现在的价格",
                  "base64content": null,
                  "code": 1744011386326,
                  "quote_info": "",
                  "extra_content": null
              }
          ],
          "device_no": null,
          "code": 1744011386326,
          "model": "ml-plus",
          "output_type": "text",
          "owner": "MountainLion.ai",
          "source": "v001",
          "agent_id": "",
          "chain_id": "",
          "wallet_type": "",
          "llm_model": "Perplexity Sonar",
          "news": null,
          "visitor_id": "b42756709b1c32333bd9e014bc26f3d4",
          "rag_status": false,
          "rag_status_done": false,
          "usedSources": 0,
          "totalSources": 0,
          "isMindMap": false,
          "isTable": false,
          "copyContent": "比特币现在的价格",
          "without_minus": 0
      }
      修改于 2025-04-07 08:01:18
      上一页
      下载研报图片
      Built with