This commit is contained in:
2025-08-19 09:04:55 +08:00
parent d58e02183d
commit 66387153c7

View File

@@ -43,12 +43,3 @@ class EsSearchUtil:
# 释放连接回连接池 # 释放连接回连接池
self.es_pool.release_connection(conn) self.es_pool.release_connection(conn)
def hybrid_search(self, query, size=10):
# 注意混合搜索方法需要更新以使用火山引擎API计算向量
# 此处保留方法框架具体实现需要根据火山引擎API进行调整
pass
# 以下功能已删除建议通过火山引擎API实现向量计算
# 1. 本地模型加载和相关配置 (KeyedVectors)
# 2. text_to_embedding方法 (基于本地模型的向量计算)
# 3. vector_search方法 (使用本地模型向量的搜索)