memory_baidu_embedding_db
Semantic memory system using Baidu Embedding-V1 for secure, local vector storage and retrieval in Clawdbot with SQLite persistence.
Semantic memory system using Baidu Embedding-V1 for secure, local vector storage and retrieval in Clawdbot with SQLite persistence.
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
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.
~/clawd/skills/ directorySet environment variables:
export BAIDU_API_STRING='${BAIDU_API_STRING}' export BAIDU_SECRET_KEY='${BAIDU_SECRET_KEY}'
from memory_baidu_embedding_db import MemoryBaiduEmbeddingDBInitialize 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)
# 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 )
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.
skills/ directoryWe welcome contributions! Feel free to submit issues, feature requests, or pull requests to improve this skill.
No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.