Analyzing Documents by Using a Batch Request

You can use the CLI, or API to call a model with a batch request.

  • Only PDF, TIFF, PNG and JPEG format files are supported.
  • Each job can have no more than 2,000 pages per document, or 500 KB in the body of the request.

More information on batch processing is available from the Batch Processing chapter.

  • This task is not available in the Console.

  • Use the document-job command and required parameters to create a document processing batch job:

    oci ai-vision document-job create [OPTIONS]

    Use the analyze-document command and required parameters to analyze the images:

    oci ai-vision analyze-document [OPTIONS]
    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
  • Run the CreateDocumentJob operation to create a batch job to analyze documents.

    Run the AnalyzeDocument operation to analyze the documents.