Data Output Types
In the Parashift platform, Data Output Types define how the extracted data is presented after being processed. Understanding these types is important to ensure that the data is output in the correct format for further processing and use.
Here’s an overview of the most common data output types supported on the Parashift platform:
-
Boolean
This output type is used for binary data, such as yes/no, true/false, or any other two-state data.Example:
-
Field: Is Payment Complete
-
Output:
true
-
-
Date
The Date type outputs data as a date, formatted in the standard YYYY-MM-DD format.Example:
-
Field: Invoice Date
-
Output:
2023-05-20
-
-
Datetime
The Datetime output type is used for extracting both date and time information. This is essential for timestamps or any situation where both elements are required.Example:
-
Field: Timestamp
-
Output:
2023-05-20 14:30:00
-
-
Integer
Integer is used for whole numbers (no decimals), typically for quantities, IDs, or other fields that require integer values.Example:
-
Field: Product Quantity
-
Output:
100
-
-
Multi-Checkbox
The Multi-Checkbox type is used to capture multiple selected values in the form of a list. This output type is typically used for fields that can have multiple valid selections, such as options in a form or survey.Example:
-
Field: Selected Features
-
Output:
["Feature A", "Feature B", "Feature D"]
-
-
Page Coordinates
This output type returns the coordinates (position) of specific elements within the document. It’s useful when working with scanned documents or when precise location data is required for positioning text or fields.Example:
-
Field: Position of Barcode
-
Output:
{"x": 100, "y": 200}
-
-
String
The String type is used for alphanumeric text. This is one of the most commonly used output types and is applied to fields like names, addresses, or general text data.Example:
-
Field: Customer Name
-
Output:
"John Doe"
-
Focus on the FLOAT Output Type
The FLOAT output type is used when dealing with numbers that require decimal precision, such as financial data, measurements, or any data that requires fractional values. The FLOAT type ensures that numbers are returned with the necessary decimal points.
Common Use Cases for FLOAT:
-
Financial Values: Prices, amounts, and other financial data often include decimal points.
Example:
-
Field: Price
-
Output:
19.99
-
-
Quantities with Precision: Certain fields, like weights or measurements, require precise values that involve decimals.
Example:
-
Field: Weight
-
Output:
10.123
-
Key Configurations and Updates for FLOAT
In recent updates, there has been a focus on improving how FLOAT values are handled, especially regarding the precision of decimal places. Previously, the platform rounded to two decimal places by default, but the system now supports more precision.
-
Decimals: The platform now allows for the extraction of more than two digits after the decimal point, addressing previous limitations in displaying precise values.
Example:
-
Old Output:
1.23
-
New Output:
1.234
-
-
Separator Handling: In certain regions, different symbols are used as the decimal separator. The system will now handle both periods (.) and commas (,) as decimal separators, depending on the localization settings.
Example:
-
Field: Price
-
Output (US/UK):
1.234,56
-
Output (Europe):
1.234,56
-
Important Considerations for FLOAT Output:
-
Automatic Extraction Precision: The system now supports extracting FLOAT values with more than two decimal places, offering greater precision for financial and other detailed data.
-
Handling of Multiple Separators: It is essential to configure the correct separators for FLOAT values based on your regional preferences or client requirements. This can include handling commas and periods for decimal and thousand separators.
Example of Output in .json Format:
-
Output .json:
"1234.56"
This shows the exact extracted value in FLOAT format, preserving the required decimal precision.
Conclusion
The Data Output Types feature on the Parashift platform is designed to provide flexibility and precision in how extracted data is formatted. The FLOAT type, in particular, is crucial for scenarios where decimal values are needed, such as in financial documents and measurements.
Understanding the different output types ensures that you can configure the system to match your needs, whether for Boolean, Date, String, or the more complex FLOAT types. With recent updates, FLOAT now offers better precision and greater control over the display of decimal numbers, ensuring more accurate data extraction.