Chroma 0.4 重启后 collection 为什么是空 persist 目录写在哪

陆零云 32 0
本地知识库用 Chroma 0.4.24,客户端写的是 PersistentClient(path="./chroma_db")。开发机重启后正常,放到测试服务器用 systemd 拉起,collection.count() 返回 0,12 万条向量一条不剩。 第一反应是没调 persist(),补上之后直接报 AttributeError: 'PersistentClient' object has no attribute 'persist'。0.4...