feat(ChatKnowledge):add hybrid search for knowledge space. (#2722)

This commit is contained in:
Aries-ckt
2025-05-23 18:54:22 +08:00
committed by GitHub
parent a10535d944
commit 7e9885574a
8 changed files with 358 additions and 48 deletions

View File

@@ -18,7 +18,9 @@ class RetrieverStrategy(str, Enum):
"""
EMBEDDING = "embedding"
SEMANTIC = "semantic"
GRAPH = "graph"
Tree = "tree"
KEYWORD = "keyword"
HYBRID = "hybrid"

View File

@@ -278,11 +278,8 @@ class IndexStoreBase(ABC):
def is_support_full_text_search(self) -> bool:
"""Support full text search.
Args:
collection_name(str): collection name.
Return:
bool: The similar documents.
"""
raise NotImplementedError(
"Full text search is not supported in this index store."
)
logger.warning("Full text search is not supported in this index store.")
return False