fix: improve code for embed, chunk and search
3 months ago
Authored
asta-nguyenParenta3ead91
14 files changed
- apps/worker/package.json+1−0
- apps/worker/src/cli.ts+36−27
- apps/worker/src/retrieval-eval.ts+66−0
- package.json+1−0
- packages/core/src/embeddings.ts+20−0
- packages/core/src/retrieval.ts+8−6
- packages/core/src/rrf.ts+4−3
- packages/db/src/sqlite/repository.ts+1−1
- packages/db/src/sqlite/workspace-db.ts+29−7
- packages/indexer/src/index-workspace.ts+22−7
- tests/e2e-search.test.ts+8−0
- tests/fixtures/retrieval-eval.json+20−0
- tests/retrieval-eval.test.ts+22−0
- tests/vector-search.test.ts+23−3