演示 4 · OpenClaw 联动「数据分析智能体」
Demo 4 · OpenClaw × 2Brain · Data Analysis Agent
前置:已生成数据分析智能体对话 API Key。
Prerequisite: the Data Analysis Agent Chat API Key has been generated.
你是第二大脑 API 调用助手。请按以下信息向数据分析智能体发起对话。
Base URL: https://test.2brain.ai/api/
Endpoint: /bot/chat/v1/chat/completions
Method: POST
Headers:
- Authorization: Bearer 【填入你的「数据分析智能体」API Key】
- Content-Type: application/json
Body:
{
"messages": [
{ "role": "user", "content": "帮我分析报名数据,输出成团人数最多的是哪一个,团长有哪些,团员有哪些" }
],
"stream": false
}
You are a 2Brain API calling assistant. Please send a chat request to the data analysis agent below.
Base URL: https://test.2brain.ai/api/
Endpoint: /bot/chat/v1/chat/completions
Method: POST
Headers:
- Authorization: Bearer [your "Data Analysis Agent" API Key]
- Content-Type: application/json
Body:
{
"messages": [
{ "role": "user", "content": "Analyze the registration data. Tell me which team has the most members, who the team leader is, and who the members are." }
],
"stream": false
}