File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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. |
Original file line number Diff line number Diff 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。 |
You can’t perform that action at this time.
0 commit comments