Ask a question to get started
Enter to sendā¢Shift+Enter new line
Build the payload for document classification.
build_classification_payload( self, app: App, docs: List[dict], loader_details: dict, source_owner: str, source_aggregate_size: int, loading_end: bool ) -> dict
app
App
App instance.
docs
List[dict]
List of documents to be classified.
loader_details
dict
Loader details.
source_owner
str
Owner of the source.
source_aggregate_size
int
Aggregate size of the source.
loading_end
bool
Boolean indicating the halt of data loading by loader.