瀏覽代碼

fix dataset reranking mode miss (#15643)

tags/1.1.0
Jyong 7 月之前
父節點
當前提交
d37490adc3
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      api/services/entities/knowledge_entities/knowledge_entities.py

+ 1
- 0
api/services/entities/knowledge_entities/knowledge_entities.py 查看文件

@@ -88,6 +88,7 @@ class RetrievalModel(BaseModel):
search_method: Literal["hybrid_search", "semantic_search", "full_text_search"]
reranking_enable: bool
reranking_model: Optional[RerankingModel] = None
reranking_mode: Optional[str] = None
top_k: int
score_threshold_enabled: bool
score_threshold: Optional[float] = None

Loading…
取消
儲存