ApeRAG icon indicating copy to clipboard operation
ApeRAG copied to clipboard

[BUG] Rerank operation fails with InvalidParameter error when document index exceeds 300000

Open iziang opened this issue 5 months ago • 1 comments

Describe the bug

2025-07-09 07:10:39,420 - ERROR - Rerank operation failed: Alibaba Cloud rerank API returned 400: {"request_id":"2e5de67c-bbfe-9680-b8e2-9697ecd74c40","code":"InvalidParameter","message":"<400> InternalError.Algo.InvalidParameter: Value error, document index:0 is invalid, it should not be larger than 300000: input.documents"} (Details: {'provider': 'alibabacloud', 'model': 'gte-rerank-v2', 'status_code': 400})

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

iziang avatar Jul 10 '25 00:07 iziang

This issue has been marked as stale because it has been open for 30 days with no activity

github-actions[bot] avatar Aug 11 '25 00:08 github-actions[bot]