MCPcopy Create free account
hub / github.com/DataArcTech/DataArc-SynData-Toolkit / __init__

Method __init__

sdgsystem/documents/load.py:14–21  ·  view source on GitHub ↗

Initialize document loader. Args: corpus_paths: List of directory paths containing PDF files

(self, corpus_paths: List[str])

Source from the content-addressed store, hash-verified

12 """
13
14 def __init__(self, corpus_paths: List[str]):
15 """
16 Initialize document loader.
17
18 Args:
19 corpus_paths: List of directory paths containing PDF files
20 """
21 self.corpus_paths = [Path(path) for path in corpus_paths]
22
23 def load_documents(self) -> List[Path]:
24 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected