Skip to content

Add TEI rerank provider and batch chunking - #1

Open
evaldass wants to merge 6 commits into
mainfrom
build/tei-20260708-b511d91e
Open

Add TEI rerank provider and batch chunking#1
evaldass wants to merge 6 commits into
mainfrom
build/tei-20260708-b511d91e

Conversation

@evaldass

@evaldass evaldass commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • add the TEI rerank provider on top of the v0.4.8 fork sync
  • chunk TEI rerank requests by configurable rerank.batch_size (default 32) so candidate sets larger than the TEI server cap do not fail
  • preserve score order across chunks and keep fallback behavior when a chunk fails
  • document rerank.batch_size in the configuration guide

Validation

  • targeted TEI chunking/config checks via .venv/bin/python passed
  • git diff --check passed

Notes

  • Full uv run pytest tests/unit/test_tei_rerank.py is blocked in this local runner because editable build tries to rebuild native RAGFS/vector components and the environment lacks cargo/Python development headers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant