Syd OS: Plan B1 - semantic search over project documents (pgvector + Voyage)

↗ view on GitHub · emileriksenkeev · 2026-07-11 · 918eeb38

- pgvector document_chunks table + match_document_chunks() search fn (migration applied)
- voyage.ts (voyage-law-2 embeddings, configurable), chunk.ts, embedDocument.ts pipeline
- search_documents tool wired into project assistant + system prompt (find by content, not filename)
- auto-embed hook on upload (fire-and-forget, no-op without VOYAGE_API_KEY)
- backfillEmbeddings.ts script for existing docs

Foundation for the wiki-memory layer (B2). No-ops safely until VOYAGE_API_KEY is set.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Repository emileriksenkeev/sydOS
Author emileriksenkeev <emil@keev.co>
Authored
Parents 6f63ca9b
Stats 7 files changed , +378 , -1
Part of Semantic search over project documents (pgvector + Voyage)

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-918eeb38.md from inside the repo you want the change in.

⬇ Download capture-commit-918eeb38.md