Models
The Graphora client library uses Pydantic models for type-safe data handling. This page provides a reference for all the data models used in the library.Core Models
DocumentType
An enumeration of supported document types.DocumentMetadata
Metadata for a document.Fields
DocumentInfo
Information about a document.Fields
Ontology Models
OntologyResponse
Response from ontology validation.Fields
Transformation Models
TransformationStage
Stages of the transformation process.ResourceMetrics
Resource usage metrics for a transformation.Fields
StageProgress
Progress information for a transformation stage.Fields
TransformStatus
Status of a transformation.Fields
TransformResponse
Response from document upload.Fields
Merge Models
MergeStatus
Status of a merge process.Fields
MergeResponse
Response from starting a merge process.Fields
ResolutionStrategy
Strategies for resolving conflicts.ConflictResolution
Information about a conflict requiring resolution.Fields
Graph Models
Node
A node in the graph.Fields
Edge
An edge in the graph.Fields
GraphResponse
Response containing graph data.Fields
NodeChange
A change to a node in the graph.Fields
EdgeChange
A change to an edge in the graph.Fields
SaveGraphRequest
Request to save changes to the graph.Fields
SaveGraphResponse
Response from saving changes to the graph.Fields
Next Steps
- Check out the Client reference
- Learn about Exceptions
- Explore the Utilities module
