Upload Document
Upload document into document family
Slug: document-upload
Version: 1.0.0
Infer: Yes
Overview
Upload Document Model
The Upload Document model enables the addition of new documents to existing document families within Kodexa. This model is particularly useful for multi-document workflows, creating document collections, and triggering data extraction using specified data definitions.
How It Works
- The model takes an input document from your processing pipeline
- It associates this document with the current document family
- Optionally, it applies specified data definitions (taxonomies) to the document
- Data can be extracted from the document and stored in a specified data store
- The document can be redirected to a different document store if needed
Options Configuration
Option | Description |
---|---|
data_store | The target data store for extracted information from the document |
taxonomies | List of data definitions (taxonomies) to apply for data extraction |
document_store | Optional alternative document store where the document should be saved |
path | Optional new path to assign to the document in the document store |
Process Flow
Use Cases
The Upload Document model is particularly useful for:
- Document Collections: Adding related documents to a document family
- Multi-Document Processing: Building document sets that need to be processed together
- Document Versioning: Adding new versions of documents to existing families
- Automated Data Extraction: Triggering extraction using specified data definitions
- Document Routing: Redirecting documents to appropriate document stores
- Document Organization: Building logical document groupings
Example Scenarios
Basic Document Upload
To simply add a document to the current document family:
Document Upload with Data Extraction
To upload a document and extract data based on an invoice taxonomy:
Document Upload with Redirection
To upload a document to a different document store with a specific path:
Integration Considerations
- The model preserves the original document’s content and metadata
- Document families can contain multiple documents in different formats
- Data extraction is performed asynchronously if taxonomies are specified
- The model works seamlessly with other document processing steps in a pipeline
- Permissions are respected when adding documents to document stores
Inference Options
The following options can be configured when using this model for inference:
Name | Label | Type | Description | Default | Required |
---|---|---|---|---|---|
data_store | Data Store | tableStore | N/A | - | No |
taxonomies | Data Definitions | list | N/A | - | No |
document_store | Target Document Store | documentStore | N/A | - | No |
path | New Path | string | N/A | - | No |
Model Details
- Provider: Kodexa AI