Calling a Custom Model
You can use the Console, CLI, or API to call a custom model either synchronously or asynchronously.
For sample code references, see the samples on GitHub.
You can call the model as a single request in the Console.
Use the processor-job command and required parameters to analyze the document asynchronously: oci ai-document processor-job create-processor-job-general-processor-config [OPTIONS]
Use the analyze-document command and required parameters to analyze the document synchronously:
oci ai-document analyze-document-result analyze-document [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Run the CreateProcessorJob operation to analyze a document asynchronously.
Run the AnalyzeDocument operation to analyze a document synchronously.