Commit graph

8 commits

Author SHA1 Message Date
c6fa9baf2c fix(ingest): batch embedding, connection guard, correct upsert id param, module-level imports in tests 2026-05-04 17:36:18 -07:00
f4574dd05e feat(ingest): add full PDF ingest pipeline (cf-orch task, BYOK embed) 2026-05-04 17:33:02 -07:00
751faf1679 fix(api): lazy config reads, log ingest exceptions, suppress migrations in tests 2026-05-04 17:28:23 -07:00
4c2370f1de feat(api): add library CRUD endpoints and FastAPI factory
Implements GET/DELETE /api/library, POST /api/library/{id}/reingest,
POST /api/library/scan, and GET /api/library/{id}/status. Adds FastAPI
app factory with lifespan migrations, BM25 singleton wiring, get_db
dependency, ingest task registry with cf-orch/BackgroundTasks fallback,
and placeholder search/chat routers. All 5 new tests pass (14 total).
2026-05-04 17:24:50 -07:00
47914cebeb fix(services): add SQLite error handling and strengthen top_k test 2026-05-04 17:20:26 -07:00
2253cd7da3 feat(services): add BM25 index service (MIT) 2026-05-04 17:17:50 -07:00
abeb6089e5 fix(config): handle /v1 suffix in PAGEPIPER_OLLAMA_URL; add DATA_DIR mkdir guard 2026-05-04 17:13:50 -07:00
9797e76931 feat: add database schema and migration runner 2026-05-04 17:10:38 -07:00