Skip to main content

Transformation Examples

This page provides practical examples of transforming documents using the Graphora client library.

Basic Document Transformation

The following example demonstrates how to transform a set of documents using a registered ontology:

Transforming Documents with Metadata

You can also provide metadata for each document to enrich the transformation process:

Monitoring Transformation Progress

For long-running transformations, you can monitor the progress:

Using the Wait Helper Method

You can also use the built-in wait method for convenience:

Handling Different Document Types

Graphora supports various document types. Here’s how to transform a mix of document types:
These examples demonstrate the basic operations for transforming documents with the Graphora client library. For more detailed information about transformation concepts and options, see the Transformation Concepts page.