feat(rerank): add Bailian DashScope provider support (#295)
This commit is contained in:
@@ -34,6 +34,13 @@ EVEROS_LLM__MODEL=openai/gpt-4.1-mini
|
||||
EVEROS_LLM__API_KEY=
|
||||
EVEROS_LLM__BASE_URL=https://openrouter.ai/api/v1
|
||||
|
||||
# Aliyun Bailian (DashScope) alternative — one key also covers embedding +
|
||||
# rerank below, so the same value goes in all three API_KEY slots.
|
||||
# Uncomment these three lines and comment out the OpenRouter lines above:
|
||||
# EVEROS_LLM__MODEL=qwen-plus
|
||||
# EVEROS_LLM__API_KEY=<DASHSCOPE_API_KEY>
|
||||
# EVEROS_LLM__BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
|
||||
|
||||
|
||||
# ─── Multimodal LLM (independent from [llm]; vision/audio capable) ────
|
||||
# Separate model for parsing multimodal content items (image / pdf /
|
||||
@@ -63,6 +70,12 @@ EVEROS_MULTIMODAL__BASE_URL=https://openrouter.ai/api/v1
|
||||
EVEROS_EMBEDDING__MODEL=Qwen/Qwen3-Embedding-4B
|
||||
EVEROS_EMBEDDING__API_KEY=
|
||||
EVEROS_EMBEDDING__BASE_URL=https://api.deepinfra.com/v1/openai
|
||||
|
||||
# Aliyun Bailian (DashScope) alternative. Uncomment these three lines and
|
||||
# comment out the DeepInfra embedding lines above:
|
||||
# EVEROS_EMBEDDING__MODEL=text-embedding-v4
|
||||
# EVEROS_EMBEDDING__API_KEY=<DASHSCOPE_API_KEY>
|
||||
# EVEROS_EMBEDDING__BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
|
||||
# Runtime knobs — uncomment to override defaults (30s / 3 / 10 / 5):
|
||||
# EVEROS_EMBEDDING__TIMEOUT_SECONDS=30
|
||||
# EVEROS_EMBEDDING__MAX_RETRIES=3
|
||||
@@ -72,10 +85,21 @@ EVEROS_EMBEDDING__BASE_URL=https://api.deepinfra.com/v1/openai
|
||||
|
||||
# ─── Rerank (OpenAI-protocol /rerank) ────────────────
|
||||
# base_url should point at the rerank endpoint (e.g. .../v1/rerank).
|
||||
# EVEROS_RERANK__PROVIDER selects the request-shape: "deepinfra" (default),
|
||||
# "vllm", or "dashscope". Left unset, it is inferred from the base_url host
|
||||
# (dashscope.aliyuncs.com -> dashscope, *.deepinfra.com -> deepinfra).
|
||||
|
||||
EVEROS_RERANK__MODEL=Qwen/Qwen3-Reranker-4B
|
||||
EVEROS_RERANK__API_KEY=
|
||||
EVEROS_RERANK__BASE_URL=https://api.deepinfra.com/v1/inference
|
||||
|
||||
# Aliyun Bailian (DashScope) alternative. EverOS currently supports
|
||||
# DashScope rerank via gte-rerank-v2; provider is auto-inferred from host,
|
||||
# so EVEROS_RERANK__PROVIDER is optional. Uncomment these three lines and
|
||||
# comment out the DeepInfra rerank lines above:
|
||||
# EVEROS_RERANK__MODEL=gte-rerank-v2
|
||||
# EVEROS_RERANK__API_KEY=<DASHSCOPE_API_KEY>
|
||||
# EVEROS_RERANK__BASE_URL=https://dashscope.aliyuncs.com
|
||||
# Runtime knobs — uncomment to override defaults (30s / 3 / 10 / 5):
|
||||
# EVEROS_RERANK__TIMEOUT_SECONDS=30
|
||||
# EVEROS_RERANK__MAX_RETRIES=3
|
||||
|
||||
Reference in New Issue
Block a user