Send documents to Pebblo server for classification. Then send classified documents to Daxa cloud(If api_key is present).
classify_documents(
self,
docs_with_id: List[IndexedDocument],
app: App,
loader_details: dict,
loading_end: bool = False
) -> dict| Name | Type | Description |
|---|---|---|
docs_with_id* | List[IndexedDocument] | List of documents to be classified. |
app* | App | App instance. |
loader_details* | dict | Loader details. |
loading_end | bool | Default: FalseBoolean, indicating the halt of data loading by loader. |