瀏覽代碼

fix full_text_search name (#26104)

tags/1.9.1
Jyong 1 月之前
父節點
當前提交
dd08957381
沒有連結到貢獻者的電子郵件帳戶。

+ 1
- 1
api/core/workflow/nodes/knowledge_index/entities.py 查看文件

@@ -63,7 +63,7 @@ class RetrievalSetting(BaseModel):
Retrieval Setting.
"""

search_method: Literal["semantic_search", "keyword_search", "fulltext_search", "hybrid_search"]
search_method: Literal["semantic_search", "keyword_search", "full_text_search", "hybrid_search"]
top_k: int
score_threshold: float | None = 0.5
score_threshold_enabled: bool = False

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

@@ -83,7 +83,7 @@ class RetrievalSetting(BaseModel):
Retrieval Setting.
"""

search_method: Literal["semantic_search", "fulltext_search", "keyword_search", "hybrid_search"]
search_method: Literal["semantic_search", "full_text_search", "keyword_search", "hybrid_search"]
top_k: int
score_threshold: float | None = 0.5
score_threshold_enabled: bool = False

Loading…
取消
儲存