优化提示词

This commit is contained in:
xunbu
2025-05-29 23:59:29 +08:00
parent 49fe7b6db3
commit ff2d215cfa
3 changed files with 7 additions and 8 deletions

View File

@@ -22,7 +22,7 @@ if DOCLING_FLAG:
class FileTranslater:
def __init__(self, file_path: Path | str | None = None, chunksize: int = 2000,
base_url="", key=None, model_id="", temperature=0.7,
max_concurrent=20, timeout=2000,
max_concurrent=30, timeout=2000,
convert_engin: Literal["docling", "mineru"] = "mineru",
docling_artifact: Path | str | None = None,
mineru_token: str = None, cache=True):