Skip to content

Commit a0dadab

Browse files
committed
doc fix
1 parent 3b3cc97 commit a0dadab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/en/latest/plugins/ai-rag.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The Plugin supports using [OpenAI](https://platform.openai.com/docs/api-referenc
5454
| vector_search_provider.azure-ai-search.k | False | integer | >0 | Number of nearest neighbors to return. Defaults to 5. |
5555
| rerank_provider | False | object | cohere | Configuration for the rerank provider. |
5656
| rerank_provider.cohere | False | object | | Configuration for Cohere Rerank. |
57-
| rerank_provider.cohere.endpoint | False | string | | Cohere Rerank API endpoint. Defaults to `https://api.cohere.ai/v1/rerank`. |
57+
| rerank_provider.cohere.endpoint | False | string | | Cohere Rerank API endpoint. Defaults to `https://api.cohere.ai/v2/rerank`. |
5858
| rerank_provider.cohere.api_key | True | string | | Cohere API key. |
5959
| rerank_provider.cohere.model | False | string | | Rerank model name. |
6060
| rerank_provider.cohere.top_n | False | integer | | Number of top results to keep after reranking. Defaults to 3. |

docs/zh/latest/plugins/ai-rag.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ description: ai-rag 插件通过检索增强生成(RAG)增强 LLM 输出,
5454
| vector_search_provider.azure-ai-search.k || integer | >0 | 返回的最近邻数量。默认为 5。 |
5555
| rerank_provider || object | cohere | 重排序提供商的配置。 |
5656
| rerank_provider.cohere || object | | Cohere Rerank 的配置。 |
57-
| rerank_provider.cohere.endpoint || string | | Cohere Rerank API 端点。默认为 `https://api.cohere.ai/v1/rerank`|
57+
| rerank_provider.cohere.endpoint || string | | Cohere Rerank API 端点。默认为 `https://api.cohere.ai/v2/rerank`|
5858
| rerank_provider.cohere.api_key || string | | Cohere API 密钥。 |
5959
| rerank_provider.cohere.model || string | | 重排序模型名称。 |
6060
| rerank_provider.cohere.top_n || integer | | 重排序后保留的文档数量。默认为 3。 |

0 commit comments

Comments
 (0)