This commit is contained in:
2025-08-19 13:44:03 +08:00
parent e41743643f
commit 267193ab37
2 changed files with 20 additions and 20 deletions

View File

@@ -44,6 +44,12 @@ class EsSearchUtil:
# 最大对话历史轮数
MAX_HISTORY_ROUNDS = 10
# 初始化停用词表
STOPWORDS = set(
['', '', '', '', '', '', '', '', '', '', '', '', '一个', '', '', '', '', '',
'', '', '', '', '', '没有', '', '', '自己', ''])
def __init__(self, es_config):
"""
初始化Elasticsearch搜索工具