[Docs] Update the online serving docs. (#45676)

Signed-off-by: wang.yuqi <yuqi.wang@daocloud.io>
This commit is contained in:
wang.yuqi
2026-06-15 17:23:36 +08:00
committed by GitHub
parent 25c53d1293
commit 1d88c4dadd
4 changed files with 83 additions and 37 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ The score models is designed to compute similarity scores between two input prom
- Offline APIs:
- `LLM.score`
- Online APIs:
- [Score API](scoring.md#score-api) (`/score`)
- [Score API](scoring.md#score-api) (`/score`, `/v1/score`)
- [Cohere Rerank API](scoring.md#rerank-api) (`/rerank`, `/v1/rerank`, `/v2/rerank`)
!!! note
@@ -157,7 +157,7 @@ A code example can be found here: [examples/basic/offline_inference/score.py](..
### Score API
Our Score API (`/score`) is similar to `LLM.score`, compute similarity scores between two input prompts.
Our Score API (`/score`, `/v1/score`) is similar to `LLM.score`, compute similarity scores between two input prompts.
#### Parameters