智能数据洞察 DATAARTS INSIGHT-自然语言查数接口:响应示例

时间:2024-08-05 11:34:06

响应示例

状态码: 200

nl-query请求返回体。

{
  "query_data" : [ [ {
    "caption" : "收入",
    "data_type" : "NUMBER",
    "level_type" : null,
    "cell_raw_value" : null,
    "cell_value" : "收入",
    "model_type" : "measure",
    "cell_converted_value" : null
  }, {
    "caption" : "收入",
    "data_type" : "NUMBER",
    "level_type" : null,
    "cell_raw_value" : "423xxx214.32",
    "cell_value" : "423xxx214.32",
    "model_type" : "measure",
    "cell_converted_value" : null
  } ] ],
  "sql_text" : "SELECT xxx AS xxx FROM xxx.xxx AS xxx",
  "insight" : "查询结果: 去年11月公司的收入为xxx。建议探索的方向:xxx。业务建议:xxx。"
}
support.huaweicloud.com/api-dataartsinsight/dataartsinsight_api_0062.html