continuedev / continuedev/continue

Adding reranking API from vLLM endpoints (coherere rank client and jinaai rerank client)

Open
#3,978 1 comment 1 reaction 1 assignee View on GitHub

@RomneyDa is already working on this.

Since Feb 5, 2025.

area:indexing kind:enhancement needs-triage
Dominant language
TypeScript
Stars
36k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Validations
  • I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • I'm not able to find an open issue that requests the same enhancement
Problem

The vLLM API now allows deploying different reranking models while supporting endpoints in the format of both Cohere API and Jina AI API. However, when specifying the model name in "reranker": { "name": "cohere", "params": { "model": model_name, the configuration has fixed model names that are allowed for the Cohere provider, but the user can choose any name and any model for inference in vLLM.

It is necessary to remove the model name check or create another reranking provider - vLLM, which would support the current capabilities.

Additional links:

https://docs.vllm.ai/en/stable/getting_started/examples/cohere_rerank_client.html
https://docs.vllm.ai/en/stable/getting_started/examples/jinaai_rerank_client.html
https://github.com/vllm-project/vllm/pull/12376 [Frontend] Rerank API (Jina- and Cohere-compatible API)

Solution

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.