证据材料定位与合法用途
原能力
定位文档原文、页码、表格或音视频区段,并核对资料可用范围和用途。(合同附件 R7 4.2)
首选项目
Docling(MIT 代码,模型许可独立)。 Docling
接入说明
直接使用范围为文档转换和位置回指。授权用途由业务规则核验。
匹配范围
版面块/表格与文本 span 定位供出具引用。
源码
Docling · def convert(
docling/document_converter.py · 696–709 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
def convert(
self,
source: Union[Path, str, DocumentStream, HttpSource], # TODO review naming
headers: Optional[dict[str, str]] = None,
raises_on_error: bool = True,
max_num_pages: int = sys.maxsize,
max_file_size: int = sys.maxsize,
page_range: PageRange = DEFAULT_PAGE_RANGE,
progress_callback: Optional[ProgressCallback] = None,
) -> ConversionResult:
"""Convert one document fetched from a file path, URL, or DocumentStream.
A generic ZIP archive can contain multiple documents. Use ``convert_all``
for such archives. This method raises ``ConversionError`` instead of
- # SPDX-License-Identifier: MIT
实现与验收要点
音视频时间对齐、授权与用途、原件定位准确性实测。