docs: correct accuracy issues from review

This commit is contained in:
youzini
2026-05-31 17:20:58 +00:00
parent 31ee161c6e
commit 40b4c316a0
6 changed files with 44 additions and 27 deletions

View File

@@ -6,7 +6,7 @@
## Embedding 执行位置
> `embeddingExecution` 默认 `client`——embedding 默认在客户端(浏览器)执行。
> embedding 默认在客户端(浏览器)执行`embeddingTransportMode` 默认 `"direct"`(直连第三方 embedding URL。另一个值是 `"backend"`(走宿主后端代理)
第三方自定义 URL 是一等公民OpenAI 兼容 `/v1/embeddings`、one-api、new-api、litellm、vLLM、llama.cpp、Ollama 桥接等。Authority 不生成 embedding只存/搜向量。
@@ -74,6 +74,6 @@ HTTP 错误400/401/403/429/502 等)会带状态码和响应体抛出,而
| 参数 | 默认 | 含义 |
| --- | --- | --- |
| `embeddingExecution` | client | embedding 执行位置 |
| `embeddingTransportMode` | direct | embedding 传输模式direct 直连 / backend 后端代理) |
| `embeddingBatchSize` | 10上限 100 | 批量分块大小 |
| `encoding_format` | float | 直连 OpenAI 兼容请求 |