Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

memory-baidu-embedding-db内存百度嵌入数据库

Agent Skill

用于搭建或维护带检索增强的 RAG 工作流,适合让 Agent 处理知识库问答、向量检索、来源引用和事实核查。它可以辅助整理数据接入、Embedding、向量库、召回参数和回答生成流程。使用时需要确认数据来源、更新频率、召回阈值和引用展示方式,避免把未命中的资料或过期内容包装成确定事实。

总安装

81,690

周安装

3,509

GitHub Stars

公开资料未说明

下载量

28,633
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:memory-baidu-embedding-db(内存百度嵌入数据库)
来源仓库:https://github.com/xqicxx/memory-baidu-embedding-db
安装命令:
openclaw skills install memory-baidu-embedding-db
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install memory-baidu-embedding-db

简介

使用百度嵌入-V1 的语义记忆系统在具有 SQLite 持久性的 Clawdbot 中进行安全的本地向量存储和检索。

SKILL.md

Memory Baidu Embedding DB - Semantic Memory for Clawdbot

Vector-Based Memory Storage and Retrieval Using Baidu Embedding Technology

A semantic memory system for Clawdbot that uses Baidu's Embedding-V1 model to store and retrieve memories based on meaning rather than keywords. Designed as a secure, locally-stored replacement for traditional vector databases like LanceDB.

🚀 Features

  • Semantic Memory Search - Find memories based on meaning, not just keywords
  • Baidu Embedding Integration - Uses Baidu's powerful Embedding-V1 model
  • SQLite Persistence - Local, secure storage without external dependencies
  • Zero Data Leakage - All processing happens locally with your API credentials
  • Flexible Tagging System - Organize memories with custom tags and metadata
  • High Performance - Optimized vector similarity calculations
  • Easy Migration - Drop-in replacement for memory-lancedb systems

🎯 Use Cases

  • Conversational Context - Remember user preferences and conversation history
  • Knowledge Management - Store and retrieve information semantically
  • Personalization - Maintain user-specific settings and preferences
  • Information Retrieval - Find related information based on meaning
  • Data Organization - Structure memories with tags and metadata

📋 Requirements

  • Clawdbot installation
  • Baidu Qianfan API credentials (API Key and Secret Key)
  • Python 3.8+
  • Internet connection for initial API calls

🛠️ Installation

Manual Installation

  1. Place the skill files in your ~/clawd/skills/ directory
  2. Install dependencies (if any Python packages are needed)
  3. Configure your Baidu API credentials

Configuration

Set environment variables:

export BAIDU_API_STRING='${BAIDU_API_STRING}'
export BAIDU_SECRET_KEY='${BAIDU_SECRET_KEY}'

🚀 Usage Examples

Basic Usage

from memory_baidu_embedding_db import MemoryBaiduEmbeddingDB

# Initialize the memory system
memory_db = MemoryBaiduEmbeddingDB()

# Add a memory
memory_db.add_memory(
    content="The user prefers concise responses and enjoys technical discussions",
    tags=["user-preference", "communication-style"],
    metadata={"importance": "high"}
)

# Search for related memories using natural language
related_memories = memory_db.search_memories("What does the user prefer?", limit=3)

Advanced Usage

# Add multiple memories with rich metadata
memory_db.add_memory(
    content="User's favorite programming languages are Python and JavaScript",
    tags=["tech-preference", "programming"],
    metadata={"confidence": 0.95, "source": "conversation-2026-01-30"}
)

# Search with tag filtering
filtered_memories = memory_db.search_memories(
    query="programming languages",
    tags=["tech-preference"],
    limit=5
)

🔧 Integration

This skill integrates seamlessly with Clawdbot's memory system as a drop-in replacement for memory-lancedb. Simply update your configuration to use this memory system instead of the traditional one.

📊 Performance

  • Vector Dimension: 384 (Baidu Embedding-V1 output)
  • Storage: SQLite database (~1MB per 1000 memories)
  • Search Speed: ~50ms for 1000 memories (on typical hardware)
  • API Latency: Depends on Baidu API response time (typically <500ms)

🔐 Security

  • Local Storage: All memories stored in local SQLite database
  • Encrypted API Keys: Credentials stored securely in environment variables
  • No External Sharing: Memories never leave your system
  • Selective Access: Granular control over what gets stored

🔄 Migration from memory-lancedb

  1. Install this skill in your skills/ directory
  2. Configure your Baidu API credentials
  3. Initialize the new system
  4. Update your bot configuration to use the new memory system
  5. Verify data integrity and performance

🤝 Contributing

We welcome contributions! Feel free to submit issues, feature requests, or pull requests to improve this skill.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

95.03%
按下载量换算27,210

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills