Fix: typo process_duration (#8696)

### What problem does this PR solve?

Fix typo process_duration.

### Type of change

- [x] Documentation Update
- [x] Refactoring
This commit is contained in:
Yongteng Lei
2025-07-07 14:11:47 +08:00
committed by GitHub
parent 789ae87727
commit 4d7bfd2ba3
21 changed files with 42 additions and 34 deletions

View File

@ -1058,7 +1058,7 @@ Success:
},
"chunk_method": "naive",
"process_begin_at": null,
"process_duation": 0.0,
"process_duration": 0.0,
"progress": 0.0,
"progress_msg": "",
"run": "0",
@ -1417,7 +1417,7 @@ Success:
}
},
"process_begin_at": "Thu, 24 Oct 2024 09:56:44 GMT",
"process_duation": 0.54213,
"process_duration": 0.54213,
"progress": 0.0,
"progress_msg": "Task dispatched...",
"run": "2",

View File

@ -552,7 +552,7 @@ A `Document` object contains the following attributes:
- `progress`: `float` The current processing progress as a percentage. Defaults to `0.0`.
- `progress_msg`: `str` A message indicating the current progress status. Defaults to `""`.
- `process_begin_at`: `datetime` The start time of document processing. Defaults to `None`.
- `process_duation`: `float` Duration of the processing in seconds. Defaults to `0.0`.
- `process_duration`: `float` Duration of the processing in seconds. Defaults to `0.0`.
- `run`: `str` The document's processing status:
- `"UNSTART"` (default)
- `"RUNNING"`