clawdie-ai/scripts/memory
Sam & Claude 3e404b4332 Add memory pipeline scripts (Phase 2)
Three scripts in scripts/memory/:
- common.sh: shared config, DB connection, dependency checks
- embed.sh: generate 1536d embeddings via OpenRouter API
- chunk.sh: split text on sentence boundaries (~500 chars)
- memory-pg.sh: full CLI for store/search/recent/important/count

Store pipeline: text → chunk → embed → insert (fully automated).
Search: hybrid RRF combining full-text and vector similarity.
All scripts use #!/usr/bin/env bash for FreeBSD compatibility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 09:30:34 +00:00
..
chunk.sh Add memory pipeline scripts (Phase 2) 2026-03-10 09:30:34 +00:00
common.sh Add memory pipeline scripts (Phase 2) 2026-03-10 09:30:34 +00:00
embed.sh Add memory pipeline scripts (Phase 2) 2026-03-10 09:30:34 +00:00
memory-pg.sh Add memory pipeline scripts (Phase 2) 2026-03-10 09:30:34 +00:00