界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

conversation-summary

conversation-summary

【效率与协作】Generate summaries for conversation content. Helps users quickly get a summary of their chat history with support for incremental updates.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

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

ParameterTypeRequiredDescription
chatListstringYesJSON formatted conversation content
historySummarystringNoPrevious 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
我的收藏