From a9d0ab27e85e74e782cb6a5cfa4488e584139991 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 14:29:43 +0800 Subject: [PATCH] feat: min_token_count=10k --- metagpt/tools/libs/index_repo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metagpt/tools/libs/index_repo.py b/metagpt/tools/libs/index_repo.py index 1501b8e28..4d5c0d1c5 100644 --- a/metagpt/tools/libs/index_repo.py +++ b/metagpt/tools/libs/index_repo.py @@ -30,8 +30,8 @@ class IndexRepo(BaseModel): root_path: str fingerprint_filename: str = "fingerprint.json" model: Optional[str] = None - min_token_count: int = 5000 - max_token_count: int = 100000 + min_token_count: int = 10000 + max_token_count: int = 100000000 recall_count: int = 5 embedding: Optional[BaseEmbedding] = Field(default=None, exclude=True) fingerprints: Dict[str, str] = Field(default_factory=dict)