mirror of
https://github.com/langgenius/dify.git
synced 2025-11-29 12:24:31 +00:00
fix full_text_search name (#26104)
This commit is contained in:
parent
407323f817
commit
dd08957381
@ -63,7 +63,7 @@ class RetrievalSetting(BaseModel):
|
|||||||
Retrieval Setting.
|
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
|
top_k: int
|
||||||
score_threshold: float | None = 0.5
|
score_threshold: float | None = 0.5
|
||||||
score_threshold_enabled: bool = False
|
score_threshold_enabled: bool = False
|
||||||
|
|||||||
@ -83,7 +83,7 @@ class RetrievalSetting(BaseModel):
|
|||||||
Retrieval Setting.
|
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
|
top_k: int
|
||||||
score_threshold: float | None = 0.5
|
score_threshold: float | None = 0.5
|
||||||
score_threshold_enabled: bool = False
|
score_threshold_enabled: bool = False
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user