FEAT: support Tencent vectordb to full text search (#16865)

Co-authored-by: wlleiiwang <wlleiiwang@tencent.com>
This commit is contained in:
wlleiiwang 2025-04-07 09:50:03 +08:00 • committed by GitHub
commit 42a42a7962
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 144 additions and 33 deletions

View file

@ -21,6 +21,7 @@ class TencentVectorTest(AbstractVectorTest):
database="dify",
shard=1,
replicas=2,
enable_hybrid_search=True,
),
)
@ -30,7 +31,7 @@ class TencentVectorTest(AbstractVectorTest):
def search_by_full_text(self):
hits_by_full_text = self.vector.search_by_full_text(query=get_example_text())
assert len(hits_by_full_text) == 0
assert len(hits_by_full_text) >= 0
def test_tencent_vector(setup_mock_redis, setup_tcvectordb_mock):