diff --git a/lightrag/api/README-zh.md b/lightrag/api/README-zh.md index bd2bbd62..91e4c54d 100644 --- a/lightrag/api/README-zh.md +++ b/lightrag/api/README-zh.md @@ -400,6 +400,10 @@ LIGHTRAG_DOC_STATUS_STORAGE=PGDocStatusStorage 在向 LightRAG 添加文档后,您不能更改存储实现选择。目前尚不支持从一个存储实现迁移到另一个存储实现。更多配置信息请阅读示例 `env.exampl`e文件。 +### 在不同存储类型之间迁移LLM缓存 + +当LightRAG更换存储实现方式的时候,可以LLM缓存从就的存储迁移到新的存储。先以后在新的存储上重新上传文件时,将利用利用原有存储的LLM缓存大幅度加快文件处理的速度。LLM缓存迁移工具的使用方法请参考[README_MIGRATE_LLM_CACHE.md](../tools/README_MIGRATE_LLM_CACHE.md) + ### LightRag API 服务器命令行选项 | 参数 | 默认值 | 描述 | diff --git a/lightrag/api/README.md b/lightrag/api/README.md index f62e24d3..690d9ac9 100644 --- a/lightrag/api/README.md +++ b/lightrag/api/README.md @@ -410,6 +410,10 @@ LIGHTRAG_DOC_STATUS_STORAGE=PGDocStatusStorage You cannot change storage implementation selection after adding documents to LightRAG. Data migration from one storage implementation to another is not supported yet. For further information, please read the sample env file or config.ini file. +### LLM Cache Migration Between Storage Types + +When switching the storage implementation in LightRAG, the LLM cache can be migrated from the existing storage to the new one. Subsequently, when re-uploading files to the new storage, the pre-existing LLM cache will significantly accelerate file processing. For detailed instructions on using the LLM cache migration tool, please refer to[README_MIGRATE_LLM_CACHE.md](../tools/README_MIGRATE_LLM_CACHE.md) + ### LightRAG API Server Command Line Options | Parameter | Default | Description |