多模态 AI 与智能体 · ai.expert.qa

律肃审 × 星网专家知识库有据问答

结合全站 1,950+ 知识库与 A1 国标法规输出结构化研判,附真实引用来源与下一步工具。

请求地址(支持 GET / POST)
POST https://www.xntou.cn/api/open/v1/ai/expert-qa
单次计费
¥0.2 / 20 点
沙箱体验
免费 20 次/日

⚡ 在线调试台(Sandbox Debugger)

实时返回结果
{
  "error_code": 0,
  "reason": "Success",
  "api_code": "ai.expert.qa",
  "result": {
    "groundingScore": 86
  }
}

请求参数与返回字段说明

1. 请求参数

参数名类型必填示例默认值说明
question string 必填 在成都开一家45㎡茶饮店,房租占比和380V供电有哪些红线? 商业或法务问题
pathname string 选填 /match 可选页面上下文路径

2. 核心返回字段(result)

字段路径类型说明
result.answer string 结构化有据回答
result.groundingScore number 证据支撑分(0-100)
result.citations array 引用证据链

多语言接入代码示例

curl -s -X POST "https://www.xntou.cn/api/open/v1/ai/expert-qa" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: YOUR_APP_KEY" \
  -d '{"question":"成都开45㎡茶饮店房租占比和380V供电有哪些红线?"}'
import requests
resp = requests.post("https://www.xntou.cn/api/open/v1/ai/expert-qa", headers={"X-Api-Key": "YOUR_APP_KEY"}, json={
  "question": "成都开45㎡茶饮店房租占比和380V供电有哪些红线?"
})
print(resp.json())
const res = await fetch("https://www.xntou.cn/api/open/v1/ai/expert-qa", {
  method: "POST",
  headers: { "Content-Type": "application/json", "X-Api-Key": "YOUR_APP_KEY" },
  body: JSON.stringify({
  "question": "成都开45㎡茶饮店房租占比和380V供电有哪些红线?"
})
});
console.log(await res.json());
<?php
$ch = curl_init("https://www.xntou.cn/api/open/v1/ai/expert-qa");
curl_setopt($ch, CURLOPT_POSTFIELDS, '{"question":"成都开45㎡茶饮店房租占比和380V供电有哪些红线?"}');
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json', 'X-Api-Key: YOUR_APP_KEY']);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
echo curl_exec($ch);