← 返回
未分类 中文

Chroma Memory

Stores and semantically retrieves per-turn customer conversation data with auto-tagging and customer isolation using ChromaDB.
使用ChromaDB存储并语义检索每轮客户对话数据,具备自动标记和客户隔离功能。
ipythoning
未分类 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 411
下载
💾 2
安装
1
版本
#latest

概述

chroma-memory — Per-Turn Conversation Memory with ChromaDB

> Long-term vector memory for customer conversations. Stores every turn with customer isolation, auto-tags quotes and commitments, enables semantic retrieval across sessions.

Commands

CommandDescription
----------------------
chroma:storeStore a conversation turn (auto-called after each turn)
chroma:search Semantic search across conversation history
chroma:recall Recall recent history for a returning customer
chroma:snapshotStore daily CRM snapshot as fallback (L4)
chroma:statsShow storage statistics

Usage

# Store a turn (normally auto-triggered by hook)
chroma:store --customer "+971501234567" --turn 5 --user "What's the price for 500 units?" --agent "Let me prepare a detailed quote..." --stage qualifying --topic pricing

# Search history
chroma:search "Dubai customer pricing discussion" --customer "+971501234567" --limit 5

# Recall for returning customer (auto-triggered when gap > 7 days)
chroma:recall "+971501234567" --limit 10

# Daily CRM snapshot (triggered by HEARTBEAT #12)
chroma:snapshot

# Stats
chroma:stats

Architecture

This skill implements Layer 3 (L3) and Layer 4 (L4) of the 4-layer Anti-Amnesia system:

  • L3: Every conversation turn → ChromaDB with customer_id isolation + auto-tagging
  • L4: Daily CRM snapshot → ChromaDB as disaster recovery fallback

Auto-Tagging

Turns are automatically tagged based on content analysis:

TagTrigger
--------------
has_quotePrice/cost/quote discussed
has_commitmentPromise made by either party
has_objectionCustomer objection detected
has_orderOrder/purchase confirmed
has_sampleSample request discussed

Customer Isolation

All data is partitioned by customer_id (phone number). Queries always include where={"customer_id": ...} to ensure strict tenant isolation.

Dependencies

  • chromadb skill (vector database, install via ClawHub)
  • OpenClaw Gateway with session-memory hook enabled

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-03 08:39 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Supermemory

ipythoning
使用向量记忆引擎存储、召回和语义搜索对话洞察,提升客户互动和上下文理解。
★ 0 📥 358

Lead Discovery

ipythoning
AI驱动的B2B出口潜在客户发现:依据ICP在网络上搜索潜在买家,评估匹配度并生成CRM跟进记录。
★ 1 📥 361

Quotation Generator

ipythoning
自动生成带公司信头的专业PDF形式发票,支持多语言,并提供报价后跟踪。
★ 0 📥 372