文档

表格问答响应体信息

表格问答服务API返回数据

名称

类型

示例值

描述

RequestId

String

D85FE2F3-C75C-130C-9FCE-2BC502E2D210

唯一请求id,排查问题的依据

Data

String

{
    "bot_id":"f7b2cefc-157e-4a57-9364-9d8fd22500a1",
    "display_data":null,
    "display_strategy":{},
    "error_info":"None",
    "msg":"请求成功",
    "msql":[],
    "question":"昨天的基金代码是什么?",
    "related_question":[
    ],
    "response_nlg":"",
    "score":0.8450704225352114,
    "session_id":"",
    "sql":{},
    "sql_data":null,
    "status":200,
    "themes":[]
}
  • msql:模型识别到的结果

  • question:问句

  • score:得分

  • sql:解析后的sql对象

以上为表格问答服务返回数据详情,表格问答服务的API文档请点击链接跳转查看:表格问答(通用)

表格问答服务错误信息

调用过程中,表格问题服务返回的错误信息可对照下表,参考描述解决问题。

status

msg

描述

400

IdError, Error Miss parameter bot_id

bot_id未传

400

QuestionError, Error Miss parameter question

question未传

400

ServiceError, Service not configured bot info.

bot 配置不全

400

TableError, Error Table not configured in this service or linking not find

表格配置错误

400

TableIdError The specified table cannot be queried

指定表格查询错误

500

InternalError, Error model internal error.

模型连接错误

500

InternalError, internal error msql to sql error.

sql对象转换错误

500

InternalError, Error sql to execute sql error.

sql语句转换错误

500

InternalError, Error internal error sql service error.

未知错误

  • 本页导读 (0)
文档反馈