Skip to content

chore: upgrade Cohere rerank model to v4.0-fast#141

Merged
DevanshuNEU merged 1 commit into
OpenCodeIntel:mainfrom
DevanshuNEU:feat/rerank-v4-upgrade
Jan 4, 2026
Merged

chore: upgrade Cohere rerank model to v4.0-fast#141
DevanshuNEU merged 1 commit into
OpenCodeIntel:mainfrom
DevanshuNEU:feat/rerank-v4-upgrade

Conversation

@DevanshuNEU

Copy link
Copy Markdown
Collaborator

Rerank Model Upgrade

Changes

  • Updated default rerank model from rerank-v3.5 to rerank-v4.0-fast

Why

  • Cohere released Rerank 4.0 (Dec 2024) with better accuracy
  • Supports 100+ languages
  • Same API, drop-in replacement

Model Options

Model Use Case
rerank-v4.0-fast Default, good balance of speed/accuracy
rerank-v4.0-pro Maximum accuracy (can configure if needed)

Testing

  • All 8 hybrid search tests pass ✅
  • No breaking changes

Files Changed

  • backend/services/search_v2/hybrid_searcher.py (1 line change)

- Updated default model from rerank-v3.5 to rerank-v4.0-fast
- v4.0 is Cohere's latest reranking model (Dec 2024)
- Supports 100+ languages with better accuracy
- Alternative: rerank-v4.0-pro for max accuracy
@vercel

vercel Bot commented Jan 4, 2026

Copy link
Copy Markdown

@DevanshuNEU is attempting to deploy a commit to the Dev's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jan 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Review Updated (UTC)
opencodeintel Ignored Ignored Preview Jan 4, 2026 11:20pm

@DevanshuNEU DevanshuNEU merged commit 2a9ca5a into OpenCodeIntel:main Jan 4, 2026
6 checks passed
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