mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-03-26 13:18:34 +07:00
fix(api): fix en/api-reference/openapi_knowledge.json (#657)
* fix(api): change reranking_mode to reranking_model in openapi_knowledge.json * add reranking mode field * update reranking mode description; standardize rerank model terminology --------- Co-authored-by: Zhiqiang Yang <58433399+yangzq50@users.noreply.github.com> Co-authored-by: Riskey <riskey47@dify.ai>
This commit is contained in:
@@ -1767,11 +1767,20 @@
|
||||
},
|
||||
"reranking_enable": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to enable a reranking model to improve search results."
|
||||
"description": "Whether to enable a rerank model to improve search results."
|
||||
},
|
||||
"reranking_mode": {
|
||||
"type": "string",
|
||||
"description": "The reranking mode.",
|
||||
"default": "reranking_model",
|
||||
"enum": [
|
||||
"reranking_model",
|
||||
"weighted_score"
|
||||
]
|
||||
},
|
||||
"reranking_model": {
|
||||
"type": "object",
|
||||
"description": "Configuration for the reranking model.",
|
||||
"description": "Configuration for the rerank model.",
|
||||
"properties": {
|
||||
"reranking_provider_name": {
|
||||
"type": "string",
|
||||
|
||||
@@ -1770,6 +1770,15 @@
|
||||
"description": "検索結果を改善するためのリランキングモデルを有効にするかどうか。"
|
||||
},
|
||||
"reranking_mode": {
|
||||
"type": "string",
|
||||
"description": "リランキングモード。",
|
||||
"default": "reranking_model",
|
||||
"enum": [
|
||||
"reranking_model",
|
||||
"weighted_score"
|
||||
]
|
||||
},
|
||||
"reranking_model": {
|
||||
"type": "object",
|
||||
"description": "リランキングモデルの設定。",
|
||||
"properties": {
|
||||
|
||||
@@ -1770,6 +1770,15 @@
|
||||
"description": "是否启用重新排序模型以改善搜索结果。"
|
||||
},
|
||||
"reranking_mode": {
|
||||
"type": "string",
|
||||
"description": "重新排序模式。",
|
||||
"default": "reranking_model",
|
||||
"enum": [
|
||||
"reranking_model",
|
||||
"weighted_score"
|
||||
]
|
||||
},
|
||||
"reranking_model": {
|
||||
"type": "object",
|
||||
"description": "重新排序模型的配置。",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user