๐ค
Local Memory Search
Performs fast local semantic search on OpenClaw memory files using TF-IDF without external dependencies or APIs.
ๅฎๅ
จ้่ฟ
๐ฌPrompt
ๆ่ฝ่ฏดๆ
Local Memory Search
Lightweight semantic search for OpenClaw memory files. No external API needed.
Usage
python3 search.py "your query"
Build index:
python3 search.py --build
Features
- Searches MEMORY.md and memory/*.md
- TF-IDF based semantic matching
- Zero external dependencies
- Fast local execution
- Returns top snippets with file path and line numbers
How It Works
- Builds inverted index of all memory files
- Uses TF-IDF scoring for relevance
- Returns ranked results with context
Requirements
- Python 3.8+
- No pip packages needed (uses stdlib only)
ๅฆไฝไฝฟ็จใLocal Memory Searchใ๏ผ
- ๆๅผๅฐ้พ่พAI๏ผWeb ๆ iOS App๏ผ
- ็นๅปไธๆนใ็ซๅณไฝฟ็จใๆ้ฎ๏ผๆๅจๅฏน่ฏๆกไธญ่พๅ ฅไปปๅกๆ่ฟฐ
- ๅฐ้พ่พAI ไผ่ชๅจๅน้ ๅนถ่ฐ็จใLocal Memory Searchใๆ่ฝๅฎๆไปปๅก
- ็ปๆๅณๆถๅ็ฐ๏ผๆฏๆ็ปง็ปญๅฏน่ฏไผๅ