Skip to main content

Document Processing

The document processing services work together to extract and classify structured information from documents stored in IBM Cloud Object Storage (COS). A CONNECTION_ID and BUCKET_NAME are required in addition to the standard credentials - see Setup & Prerequisites.

Services

ServiceWhat it does
Create SchemaGenerate a key-value extraction schema from sample documents
Improve SchemaRefine an existing schema using additional examples
Merge SchemaConsolidate multiple schemas into one
Text ExtractionExtract structured key-value pairs from documents in COS
Text ClassificationClassify documents stored in COS

Typical workflow

  1. Create a schema from sample documents using CreateSchemaService. Optionally refine it with ImproveSchemaService or combine multiple schemas with MergeSchemaService.
  2. Extract structured key-value pairs from documents using TextExtractionService with the generated schema.
  3. Classify documents by type using TextClassificationService with the same schema.