10秒内合并
This commit is contained in:
@@ -2,7 +2,7 @@ import re
|
|||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
|
|
||||||
def compress_chat_data(chat_data_str, time_threshold=60):
|
def compress_chat_data(chat_data_str, time_threshold=5):
|
||||||
"""
|
"""
|
||||||
压缩聊天数据,减少 token 使用,格式为时间,发信人,内容。
|
压缩聊天数据,减少 token 使用,格式为时间,发信人,内容。
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user