mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-13 13:10:29 +00:00
feat(ChatKnowledge):add hybrid search for knowledge space. (#2722)
This commit is contained in:
@@ -18,7 +18,9 @@ class RetrieverStrategy(str, Enum):
|
||||
"""
|
||||
|
||||
EMBEDDING = "embedding"
|
||||
SEMANTIC = "semantic"
|
||||
GRAPH = "graph"
|
||||
Tree = "tree"
|
||||
KEYWORD = "keyword"
|
||||
HYBRID = "hybrid"
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user