MineContext icon indicating copy to clipboard operation
MineContext copied to clipboard

[BUG]: 只记录截图没有时间段活动总结

Open Jarvis-pro opened this issue 1 month ago • 2 comments

🐛 Bug description [Please make everyone to understand it]

设置的截图时间间隔是20秒,每分钟三张图,每15分钟也就是每处理45张截图总结一次,记录120张截图了还没有一次总结。

Image

附件是运行日志: opencontext_2025-11-12.log 该日志和我提的上一个issues是一样的

🧑‍💻 Step to reproduce

  1. 打开软件
  2. 开始记录

👾 Expected result

期望正常进行15分钟间隔的总结

🚑 Any additional information

No response

🛠️ MineContext Version

0.1.4

💻 Platform Details

windows11

Jarvis-pro avatar Nov 12 '25 09:11 Jarvis-pro

2025-11-12 15:46:36 | ERROR | Vector search failed in entity_context collection: Collection expecting embedding with dimension of 2048, got 1024 Traceback (most recent call last):

File "threading.py", line 1032, in _bootstrap

File "threading.py", line 1075, in _bootstrap_inner

File "threading.py", line 1012, in run

File "opencontext\context_processing\processor\screenshot_processor.py", line 204, in _run_processing_loop

File "asyncio\runners.py", line 195, in run

File "asyncio\runners.py", line 118, in run

File "asyncio\base_events.py", line 678, in run_until_complete

File "asyncio\windows_events.py", line 322, in run_forever

File "asyncio\base_events.py", line 645, in run_forever

File "asyncio\base_events.py", line 1999, in _run_once

File "asyncio\events.py", line 88, in _run

File "opencontext\context_processing\processor\entity_processor.py", line 56, in _process_single_entity

File "opencontext\tools\profile_tools\profile_entity_tool.py", line 292, in match_entity

File "opencontext\tools\profile_tools\profile_entity_tool.py", line 331, in find_similar_entities

File "opencontext\storage\unified_storage.py", line 295, in search

File "opencontext\storage\backends\chromadb_backend.py", line 606, in search

File "chromadb\api\models\Collection.py", line 224, in query

File "chromadb\api\rust.py", line 534, in _query

chromadb.errors.InvalidArgumentError: Collection expecting embedding with dimension of 2048, got 1024

qin-ctx avatar Nov 12 '25 09:11 qin-ctx

你有改 embedding 的配置吗,看起维度不一致

qin-ctx avatar Nov 12 '25 09:11 qin-ctx

你有改 embedding 的配置吗,看起维度不一致

谢谢,解决了!卸载程序,清空程序数据,更换了一个embedding模型后开始正常生成活动总结了。

Jarvis-pro avatar Nov 12 '25 14:11 Jarvis-pro