fix(memory): specify full embedding model identifier
Some checks failed
Build and Push Docker / build-and-push (push) Failing after 15m29s
Some checks failed
Build and Push Docker / build-and-push (push) Failing after 15m29s
This commit is contained in:
@ -210,7 +210,7 @@ class LocalMemoryIntegration:
|
|||||||
logger.info(f"ChromaDB persistent client initialized at {chroma_path}")
|
logger.info(f"ChromaDB persistent client initialized at {chroma_path}")
|
||||||
|
|
||||||
# 5. 初始化本地 Embedding 模型 (低内存占用)
|
# 5. 初始化本地 Embedding 模型 (低内存占用)
|
||||||
model_name = 'bge-small-zh-v1.5' # 约 100MB 内存
|
model_name = 'BAAI/bge-small-zh-v1.5' # 约 100MB 内存
|
||||||
try:
|
try:
|
||||||
logger.info(f"Loading local embedding model: {model_name}...")
|
logger.info(f"Loading local embedding model: {model_name}...")
|
||||||
self.embedding_model = SentenceTransformer(model_name, device='cpu')
|
self.embedding_model = SentenceTransformer(model_name, device='cpu')
|
||||||
|
|||||||
Reference in New Issue
Block a user