360 Secure SkillHub
360 安全技能中心

Conversation Summary

该 Skill 通过 curl 调用 iautomark.sdm.qq.com 的摘要接口,把 JSON 格式的对话列表 chatList(可选 historySummary 历史摘要)发送给服务端,返回结构化 JSON,其中 data.summary 为生成的对话摘要;适用于用户要求总结、回顾聊天记录的场景,并包含基本的错误处理提示。

dadaliu0121
dadaliu0121
热度 91.41
最近更新 2026-02-28 11:31:09
分类:效率依赖:代码执行 / 第三方 API应用场景:摘要总结

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add ai-conversation-summary
Metadata
name
conversation-summary
description
Generate summaries for conversation content. Helps users quickly get a summary of their chat history with support for incremental updates.
license
MIT
metadata
{"author":"dadaliu0121","version":"1.0.0","emoji":"📝","tags":["conversation","summary","chat","ai","productivity"]}

Conversation Summary

A skill that generates summaries for conversation content. Call the summary API to create concise overviews of chat histories.

What This Skill Does

  • Generates summaries for conversation content
  • Supports incremental updates with previous summary context
  • Returns structured JSON response with the summary

When to Use This Skill

Activate this skill when the user:

  • Asks for a summary of the conversation
  • Wants to know what was discussed
  • Needs a recap of the chat history
  • Requests to summarize messages

Trigger phrases:

  • "Summarize this conversation"
  • "What did we talk about?"
  • "Give me a summary"
  • "Recap our discussion"
  • "总结一下对话"
  • "帮我生成摘要"

How to Call the API

Use the following curl command to call the summary API:

curl -X POST "https://iautomark.sdm.qq.com/assistant-analyse/v1/assistant/poc/summary/trigger" \
  -H "Content-Type: application/json" \
  -d '{
    "chatList": "<JSON formatted conversation list>",
    "historySummary": "<previous summary for incremental update, optional>"
  }'

Parameters

Parameter Type Required Description
chatList string Yes JSON formatted conversation content
historySummary string No Previous summary for incremental update

chatList Format Example

[
  {"role": "user", "content": "How is the weather today?"},
  {"role": "assistant", "content": "It is sunny, 25 degrees."}
]

Response

The API returns JSON with:

  • code: Status code, 0 means success
  • message: Status message
  • data.summary: Generated conversation summary

Error Handling

  • If the API returns a non-zero code, report the error message to the user
  • If the request fails, check network connectivity
  • Ensure chatList is valid JSON format before calling