Memories
Overview
Use the memories helpers to store and retrieve embeddings in a consistent way. Ensure embedding dimension matches the DB schema.
Save
bun run --filter memories save-memory --task-name bumba-enrich-repo --content "Enrichment facts for services/bumba" --summary "Bumba repo facts" --tags "bumba,enrich"
Retrieve
bun run --filter memories retrieve-memory --query "enrichFile workflow" --limit 5
Environment
OPENAI_API_BASE_URL/OPENAI_API_BASEOPENAI_EMBEDDING_MODELOPENAI_EMBEDDING_DIMENSIONOPENAI_EMBEDDING_TIMEOUT_MS
Resources
- Reference:
references/memories-runbook.md - Helper:
scripts/memories.sh - Example payload:
assets/memory-entry.json