langgenius / langgenius/dify-plugins

vllm plugin only support llm, but vllm can do text embedding too

Open
#766 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
554
Forks
879
Avg merge
1d 2h
Merged PRs (30d)
125

Description

vllm can do llm as well as text embedding

e.g. https://docs.vllm.ai/en/v0.7.1/serving/engine_args.html
--task
Possible choices: auto, generate, embedding, embed, classify, score, reward

I start bge model like this vllm serve ./BAAI/bge-m3 --task embed but I can not use it with vllm plugin

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.

Research direction

Start with the vLLM plugin entry point and compare its current LLM-only handling with vLLM's documented --task choices. Reproduce the BAAI/bge-m3 launch using vllm serve ./BAAI/bge-m3 --task embed, then verify the plugin can use the resulting text-embedding service.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.