设备面板智能体开发包

更新时间:2026-02-27 10:09:30LLM 副本以 Markdown 格式查看下载 PDF

开发包提供了开发自定义设备面板需要的接口,开发者可以通过云云对接的方式实现自定义移动端面板开发。

智能体配置服务

API 名称 接口地址
GET:/v1.0/cloud/agent/ai/chat/b/devices/{device_id}/languages
GET:/v1.0/cloud/agent/ai/chat/b/devices/{device_id}/large-models

智能体角色

API 名称 接口地址
POST: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/custom-roles/from-template
GET: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/custom-roles
GET: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/custom-roles/{role_id}
PUT: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/custom-roles/{role_id}
DELETE: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/custom-roles/{role_id}
GET: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/role-templates
GET: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/role-templates/{template_id}
POST: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/role-bindings
GET: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/role-bindings
POST: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/agent-roles/initialization
PUT: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/role-workflow
POST: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/custom-role

智能体角色对话管理

API 名称 接口地址
GET: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/history
DELETE: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/history
GET: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/memory/switch
DELETE: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/memories
GET: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/memories
DELETE: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/chat-context

智能体变量

API 名称 接口地址
GET: /v1.0/cloud/agent/ai/b/devices/{device_id}/agent-variables
PUT: /v1.0/cloud/agent/ai/b/devices/{device_id}/agent-variables