Merge Dynamic Parser
Merge Dynamic Parsers
The "Merge Dynamics" feature in Nimble's Web API provides users with the ability to seamlessly integrate Nimble's AI-powered parsing with custom parsing logic into a single, unified response.
This feature is particularly useful for advanced use cases where the out-of-the-box AI parsing might need further refinement, customization, or additional context provided by user-defined parsing rules. By combining both AI and custom parsing, users can achieve a more accurate and tailored data extraction process.
Benefits
Enhanced Flexibility: Users can extend and customize the default AI parsing to meet specific data requirements, ensuring that all necessary information is captured in one go.
Unified Output: The merging of AI and custom parsing ensures that the final output is consistent, organized, and ready for further processing or analysis.
Improved Accuracy: By adding custom parsing, users can refine the data extraction process to capture niche or specialized information that might be missed by general AI parsing.
Request Options
parser
Required as true
(default = false
)
Enum: true
| false
True - the page's content will be parsed and returned in a JSON format.
False - Response will include page headers and raw data (without parsing).
parse_options
Required to enable merge dynamic feature
Object | For advanced parsing options such as merge_dynamic
parse_options.merge_dynamic
Required as true
(default = false
)
Bool | when set to true, the custom parser results would merge into the AI parsing results under new entity named DynamicEntity
parser
Required
Object | The custom parser template to be merge
Example Request
Example Response
The merged results of the custom parser could be found under
DynamicEntity
entity
Last updated