资料检索、抽取与核验
原能力
检索和抽取获准资料,核对来源与口径,将补证需求交回规定的采集流程。(合同附件 R7 6.4)
首选项目
Docling(MIT 代码,模型许可独立)。 Docling
匹配范围
解析获准材料、EDGAR读取及原文定位。
源码
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
实现与验收要点
检索授权、事实核实、资料补证工作流。