Skip to content

智航云 开发者平台为你的企业系统注入 AI 能力

5 分钟接入 AI 中台 — 注册工具、上传知识、构建图谱、编排工作流

代码示例

python
from invoratec import ClawPlatform

claw = ClawPlatform(api_key="claw_xxxx")

# AI 对话
response = claw.ai.chat("查询本月能耗数据")
print(response.text)

# 注册工具
@claw.tool("my_tool", description="我的自定义工具")
def my_tool(param1: str):
    return {"result": "..."}

# 上传知识
claw.knowledge.upload("运维手册.pdf")
javascript
const { ClawPlatform } = require('@invoratec/claw-sdk')

const claw = new ClawPlatform({ apiKey: 'claw_xxxx' })

// AI 对话
const res = await claw.ai.chat('查询本月能耗数据')
console.log(res.text)

// 注册工具
claw.registerTool({
  name: 'my_tool',
  description: '我的自定义工具',
  handler: async (input) => ({ result: '...' })
})
bash
# AI 对话
curl -X POST https://api.invoratec.cn/v1/ai/chat \
  -H "X-API-Key: claw_xxxx" \
  -H "Content-Type: application/json" \
  -d '{"message": "查询本月能耗数据"}'

# 注册工具
curl -X POST https://api.invoratec.cn/v1/tools \
  -H "X-API-Key: claw_xxxx" \
  -H "Content-Type: application/json" \
  -d '{"name": "my_tool", "description": "我的工具"}'

成功案例

案例行业接入能力
太古里运维平台商业地产设备监控 + 能耗分析 + 报警工单
智慧园区标准版产业园区数字孪生 + 设备图谱 + 巡检自动化
DHR 人力资源平台企业 HR组织图谱 + 技能分析 + 培训推荐
BIM 协同平台建筑工程模型管理 + 碰撞检测 + 问题追踪

智航云 AI 中台 — 开发者平台