classify To File
Classifies the document against the candidate labels carried by (zero-shot) and writes the exported result to a file. The result is always JSON; is not consulted because only the JSON exporter serializes the classification result.
Parameters
request
The classification request carrying at least two candidate labels.
output Path
Path to the output file.