eosphoros-ai / DB-GPT

AI Native Data App Development framework with AWEL(Agentic Workflow Expression Language) and Agents
http://docs.dbgpt.cn
MIT License
13.64k stars 1.82k forks source link

[Bug] When the document imported into the knowledge base exceeds 10,000 words, a Python exception terminal appears, but there is no error in DEBUG mode. #2109

Open fryng opened 1 day ago

fryng commented 1 day ago

Search before asking

Operating system information

Windows

Python version information

=3.11

DB-GPT version

main

Related scenes

Installation Information

Device information

/

Models information

Xinference的embediing模型,zhipu_proxyllm模型

What happened

/

What you expected to happen

image 最后的输出日志为:2024-10-30 20:01:05 ZHY-PC chromadb.config[29572] DEBUG Starting component PersistentLocalHnswSegment

How to reproduce

/

Additional context

No response

Are you willing to submit PR?

fryng commented 1 day ago

通过断点调试,判断是chromadb版本问题,换了几个版本后,还是没有解决,通过windows事件查看器发现是MSVCP140.dll出现问题,前往下载最新的VC_redist.exe安装解决问题https://learn.microsoft.com/da-dk/cpp/windows/latest-supported-vc-redist?view=msvc-170 image