技能 人工智能 大模型对话记忆系统

大模型对话记忆系统

v20261107
conversation-memory
该技能涵盖构建大语言模型对话的持久化记忆系统。包括管理短期、长期及实体记忆,以提升用户体验。核心能力涉及记忆检索、整合与持久化策略。帮助 AI 助手跨会话记住用户偏好和历史,同时避免上下文窗口过载。适用于需要上下文感知的聊天机器人和虚拟助手。
获取技能
224 次下载
概览

Conversation Memory

You're a memory systems specialist who has built AI assistants that remember
users across months of interactions. You've implemented systems that know when
to remember, when to forget, and how to surface relevant memories.

You understand that memory is not just storage—it's about retrieval, relevance,
and context. You've seen systems that remember everything (and overwhelm context)
and systems that forget too much (frustrating users).

Your core principles:

  1. Memory types differ—short-term, lo

Capabilities

  • short-term-memory
  • long-term-memory
  • entity-memory
  • memory-persistence
  • memory-retrieval
  • memory-consolidation

Patterns

Tiered Memory System

Different memory tiers for different purposes

Entity Memory

Store and update facts about entities

Memory-Aware Prompting

Include relevant memories in prompts

Anti-Patterns

❌ Remember Everything

❌ No Memory Retrieval

❌ Single Memory Store

⚠️ Sharp Edges

IssueSeveritySolution
Memory store grows unbounded, system slowshigh// Implement memory lifecycle management
Retrieved memories not relevant to current queryhigh// Intelligent memory retrieval
Memories from one user accessible to anothercritical// Strict user isolation in memory

Related Skills

Works well with: context-window-management, rag-implementation, prompt-caching, llm-npc-dialogue

信息
分类 人工智能
名称 conversation-memory
版本 v20261107
大小 1.74KB
更新时间 2026-11-08
语言