Prepare documents for classification.
prepare_docs_for_classification(
docs_with_id: List[IndexedDocument],
source_path: str,
loader_details: dict
) -> Tuple[List[dict], int]| Name | Type | Description |
|---|---|---|
docs_with_id* | List[IndexedDocument] | List of documents to be classified. |
source_path* | str | Source path of the documents. |
loader_details* | dict | Contains loader info. |