Update memory.py

This commit is contained in:
Yuchen Zhang 2025-06-19 20:49:23 +08:00 committed by GitHub
parent d7d7fc2a7d
commit 33ee0f9cb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -25,7 +25,6 @@ class FinancialSituationMemory:
else:
model = SentenceTransformer("all-MiniLM-L6-v2")
embeddings = model.encode(text, convert_to_numpy=True, precision='int8')
# 单文本返回一维数组,多文本返回二维数组
return embeddings