Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Fill Descendants

Data Fill Method Grooper.GPT

Executes a named Data Fill Method on all descendant Data Field Container elements in parallel.

Remarks

The FillDescendants fill method is designed to efficiently execute a specific Data Fill Method across all descendant Data Field Container elements (such as Data Model, Data Section, or Data Table) within a data hierarchy.

This method is especially useful for scenarios where fill operations involve external services, such as AI-based extraction or API-driven enrichment. By leveraging parallel processing, it can significantly reduce the time required to populate large or complex Data Models.

How It Works

  • Discovery: Identifies all descendant Data Field Container elements that have a Data Fill Method matching the configured 'Fill Method Name'.
  • Prefetch Phase: If any targeted fill method supports prefetching (for example, initiating LLM completions or external API requests), these operations are started concurrently using a thread pool. This allows time-consuming operations to begin in parallel before results are applied.
  • Execution Phase: After prefetching, the fill methods are executed on each descendant instance, populating or transforming data as configured.
  • The maximum number of concurrent prefetch operations is controlled by the 'Max Degree Of Parallelism' property, allowing you to tune performance for your environment or API limits.

Configuration

  • Fill Method Name: Specifies the name of the Data Fill Method to execute on each descendant. Only fill methods with this exact name will be run.
  • Max Degree Of Parallelism: Controls how many prefetch operations can run at once. Adjust this value to balance throughput and resource usage.

Use Cases

  • AI Extraction: Run an AI-based fill method (such as AI Extract) on all relevant fields or sections in a document, leveraging parallelism for speed.
  • Bulk Data Enrichment: Populate multiple fields or tables using external lookups or services, reducing overall processing time.
  • Complex Data Models: Efficiently fill deeply nested or large data structures where many child elements require similar processing.

Notes

  • Only descendant elements with a fill method matching the specified name will be processed.
  • Prefetching is optional and only used if the targeted fill method supports it.
  • This method is intended for advanced scenarios where performance and scalability are critical, such as high-volume document processing or AI integration.

Properties

NameTypeDescription
General
Options

See Also

Notification