Batch Paperless chunk embeddings during indexing #73
Reference in New Issue
Block a user
Delete Branch "perf/batch-paperless-embeddings"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
index_documents sent one embedding request + insert per chunk. Chunks now go in batches of 32; a failed batch is retried one chunk at a time so the rejected chunk is still named in the logs (same diagnostics as
b409773).Tests: new tests/unit/test_paperless_indexing.py (batching, failure naming, recovery). Full suite passes.
🤖 Generated with Claude Code