mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 19:39:02 +08:00
fix dataset reranking mode miss (#15643)
This commit is contained in:
parent
087bb60b31
commit
d37490adc3
@ -88,6 +88,7 @@ class RetrievalModel(BaseModel):
|
|||||||
search_method: Literal["hybrid_search", "semantic_search", "full_text_search"]
|
search_method: Literal["hybrid_search", "semantic_search", "full_text_search"]
|
||||||
reranking_enable: bool
|
reranking_enable: bool
|
||||||
reranking_model: Optional[RerankingModel] = None
|
reranking_model: Optional[RerankingModel] = None
|
||||||
|
reranking_mode: Optional[str] = None
|
||||||
top_k: int
|
top_k: int
|
||||||
score_threshold_enabled: bool
|
score_threshold_enabled: bool
|
||||||
score_threshold: Optional[float] = None
|
score_threshold: Optional[float] = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user