Skip to content

feat(recall): add optional remote rerank#93

Open
YOMXXX wants to merge 1 commit into
Tencent:mainfrom
YOMXXX:feat/recall-rerank
Open

feat(recall): add optional remote rerank#93
YOMXXX wants to merge 1 commit into
Tencent:mainfrom
YOMXXX:feat/recall-rerank

Conversation

@YOMXXX
Copy link
Copy Markdown
Contributor

@YOMXXX YOMXXX commented May 26, 2026

Summary

  • add optional recall.rerank config for remote /rerank APIs, disabled by default
  • over-retrieve L1 candidates before rerank and trim back to recall.maxResults
  • apply rerank to both auto-recall injection and tdai_memory_search
  • fail open to the original recall order on timeout, API error, or incomplete config

Closes #3.

Verification

  • npm test
  • npm run build
  • npm pack --dry-run (342.0 KB)

@Maxwell-Code07
Copy link
Copy Markdown
Collaborator

感谢您的持续共建!我们会尽快 review 实现,有结果会在这里同步。感谢完善的验证步骤!

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.

[Feature] 提问关于 rerank 功能

2 participants