From 1eb3b8fb8c7ec51506237a90bc5dd3f2ea7b0af9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8E=98=E6=9D=83=20=E9=A9=AC?= Date: Wed, 4 Sep 2024 20:16:08 +0800 Subject: [PATCH] feat: /data/.index/chats/chat_id --- metagpt/tools/libs/index_repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metagpt/tools/libs/index_repo.py b/metagpt/tools/libs/index_repo.py index fadc11522..fbe3c633b 100644 --- a/metagpt/tools/libs/index_repo.py +++ b/metagpt/tools/libs/index_repo.py @@ -26,7 +26,7 @@ class TextScore(BaseModel): class IndexRepo(BaseModel): - persist_path: str # The persist path of the index repo, {DEFAULT_WORKSPACE_ROOT}/.index/{chat_id or 'uploads'}/ + persist_path: str # The persist path of the index repo, `/data/.index/uploads/` or `/data/.index/chats/{chat_id}/` root_path: str # `/data/uploads` or r`/data/chats/\d+`, the root path of files indexed by the index repo. fingerprint_filename: str = "fingerprint.json" model: Optional[str] = None