Преглед изворни кода

fix dataset reranking mode miss (#15643)

tags/1.1.0
Jyong пре 7 месеци
родитељ
комит
d37490adc3
No account linked to committer's email address
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…
Откажи
Сачувај