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> |
||
|---|---|---|
| .. | ||
| chunk.sh | ||
| common.sh | ||
| embed.sh | ||
| memory-pg.sh | ||