'commit'
This commit is contained in:
@@ -43,12 +43,3 @@ class EsSearchUtil:
|
||||
# 释放连接回连接池
|
||||
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方法 (使用本地模型向量的搜索)
|
Reference in New Issue
Block a user