- Overview
- Model building
- Model evaluation
- Model deployment
- Consuming models
- Developer
- Frequently asked questions
Model configuration
Configure the extraction strategy, extraction model, language support, layout parsing, attribution method, and overrides of a Flow Extract node.
Overview
The model configuration of an Extract node defines how the node processes documents and which LLM it uses to extract data.
Configuring the model
You can configure the underlying LLM as well as its settings in the Model configuration section of the Definition tab as follows:
-
In the Flow canvas, hover over the Extract node.
-
In the toolbar that appears, select Open full view. The Definition tab opens.
-
Expand Model configuration.
-
From the Extraction strategy dropdown list, select the extraction method used to understand and process the document:
- Standard - The default option. Processes the document in a single pass, with layout and OCR pre-processing.
- Advanced - Splits the document across multiple passes, with layout and OCR pre-processing.
- Agentic (preview) - Uses an agent at design time to optimize the extraction strategy for complex and highly varied documents at runtime.
For more details, refer to Choosing an extraction strategy.
Note:When you select Advanced, the Attribution setting is no longer displayed.
-
From the Extraction model picker, select the underlying LLM used for extraction. The picker lists each model by its display name, with the model identifier underneath. Models tested for the Extract node are grouped under Suggested:
- Gemini 2.5 Flash (
gemini-2.5-flash) - Gemini 3.5 Flash-Lite (
gemini-3.5-flash-lite) - Gemini 3.8 Flash (
gemini-3.8-flash) - GPT-6 Luna (
gpt-6-luna) - GPT-6.1 Sol (
gpt-6.1-sol) - Claude Haiku 5.5 (
claude-haiku-5-5) - Claude Sonnet 5.5 (
claude-sonnet-5-5)
The models available to you depend on your region.
For more details, refer to Choosing the most suitable model, Switching from one model to another, and Document processing limits.
Note:You can run these models on your own LLM subscriptions instead of the UiPath LLM subscriptions. For details, refer to Bring your own subscription (BYOS).
- Gemini 2.5 Flash (
-
Optionally, under Advanced settings, from the Language support dropdown list, select Latin-based languages or Extended languages. You can also keep the Auto-detect option. For more details, refer to Language support.
-
From the Layout parsing dropdown list, select None or Full. For more details, refer to Layout parsing.
-
From the Attribution dropdown list, select Rules-based or Model-based. This setting is available only for the Standard extraction strategy. For more details, refer to Attribution.
-
Optionally, if the Overrides setting is available, enter the overrides in JSON format. For more details, refer to Overrides.
-
Select Save.
Result: The Extract node uses the new model configuration.
Choosing an extraction strategy
The extraction strategy defines how the Extract node splits and processes a document. Start with Standard. Move to the next strategy only when the current one cannot extract the fields that your documents require.
| Strategy | How it works | When to use it |
|---|---|---|
| Standard | Processes the whole document in a single model call, with OCR and layout pre-processing. This is the default option. | Short, form-like documents with a moderate number of field values, up to 200 pages. |
| Advanced | Splits the document into areas sized to fit the output token limit of the extraction model and extracts each area separately, with OCR and layout pre-processing. | Documents too long or field-dense for Standard, up to 2,000 pages. For example, documents over 200 pages, documents with many records or long tables, or very large taxonomies. |
| Agentic (preview) | Uses an agent at design time to optimize the extraction strategy for complex and highly varied documents at runtime. | Documents that Advanced cannot handle sufficiently, such as complex documents whose structure and layout vary widely between instances. |
The Agentic strategy is in preview and might not be available for your organization.
For the page and output token limits that apply to each strategy, refer to Document processing limits.
Choosing the most suitable model
Different models are better suited to different use cases. Choose the extraction model based on the requirements of your use case and consider the following:
- Complexity of the extraction task - Complex extraction tasks, such as fields that require reasoning across the document, might need a more powerful reasoning model. Reasoning models typically have higher latency and can return fewer field values in a single call.
- Latency - Larger and reasoning models typically take longer to process each document. If your process has strict turnaround times, validate the latency of the model on a representative sample of documents.
- Data residency - Not every model is available in every region. Check whether the model makes calls outside of your region, and whether your data residency requirements allow this.
- Output token limit - Each model has a maximum number of output tokens it can return in a single call. This limit determines how many field values the model can return at once.
The output token limit matters most for the Standard extraction strategy, which returns all the field values of the document in a single call. If your documents need more field values than the model can return, switch to the Advanced extraction strategy. For the output token limit of each model, refer to Document processing limits.
Of the available extraction models, only Gemini 2.5 Flash returns log probabilities. All other models always return a confidence value of 1.0 for predicted values. If the model does not extract a field at all, it returns a confidence value of 0 for that field.
Switching from one model to another
To switch from one model to another, select a different model in the Extraction model picker, and then select Save.
This creates a new node version. To get predictions from the new model, select Refresh predictions in the annotation view of each document. You can also refresh predictions for multiple documents at once, or run an evaluation on all or multiple documents.
For mature models, taxonomies, particularly instructions, and confirmed predictions, particularly for inferred fields, are typically optimized for one model type over the other. It is likely that after switching, performance scores can drop, as some iteration on instructions and re-reviewing predictions may be required to undo model-specific optimizations that may be impacting the performance of the other model.
If you need to switch the model for performance reasons, check first whether the alternative model can solve the core problem that the current model cannot solve. If it can, optimize the new model to improve its evaluation metrics.
Document processing limits
The limits on how much of a document the Extract node can process depend on the extraction strategy and the extraction model. The following limits apply to Automation Cloud.
Page limits
The maximum number of pages per document depends on the extraction strategy:
| Extraction strategy | Maximum pages per document |
|---|---|
| Standard | 200 |
| Advanced | 2,000 |
If a document exceeds the page limit, only the pages within the limit are processed. For documents longer than 200 pages, use the Advanced extraction strategy.
Output token limits
There is no fixed limit on the number of field values that IXP can extract per document. With the Standard extraction strategy, the model returns all the field values of the document in a single response, and the output token limit of the extraction model caps the length of that response.
The following table lists the output token limit of each extraction model currently available:
| Extraction model | Maximum output tokens |
|---|---|
| Gemini 2.5 Flash | 65,535 |
| Gemini 3.5 Flash-Lite | 65,536 |
| Gemini 3.8 Flash | 65,536 |
| GPT-6 Luna | 128,000 |
| GPT-6.1 Sol | 128,000 |
| Claude Haiku 5.5 | 128,000 |
| Claude Sonnet 5.5 | 128,000 |
If the extracted field values exceed the output token limit, the model response is cut off, and only the field values returned before the limit are kept. The extraction still completes, but some field values, such as the last rows of a long table, can be missing from the results. You can reach this limit even if the document is well within the page limit.
If you expect a large number of field values, such as tables with hundreds of rows, use the Advanced extraction strategy, regardless of the extraction model. Advanced splits the document into areas sized to fit the output token limit of the model, so long tables are not cut off.
Language support
The Language support setting defines which alphabets the OCR is optimized to recognize before extraction. If your documents use any non-Latin scripts, select Extended languages.
The available options are:
- Auto-detect - Automatically selects the appropriate OCR for the document.
- Latin-based languages - Optimized for documents in Latin-alphabet languages, including English, French, German, Spanish, and Portuguese.
- Extended languages - Optimized for documents in non-Latin alphabets, with support for Latin alphabets for mixed datasets.
You can upload documents and build models in any language that is well-supported by the selected extraction model. The set of supported languages depends on the model that you select.
Extraction accuracy can vary depending on the language of your documents. Results may be less consistent for languages such as:
- Arabic
- Chinese
- Hebrew
- Korean
For these languages, you should validate model performance on a representative sample of your documents before moving to production.
Layout parsing
The Layout parsing setting is an optional step that reconstructs document layouts and passes them to the model, to improve extraction performance on documents with tables or complex layouts. This step adds latency to each document.
The available options are:
- None - Processes documents directly, without layout reconstruction. This option has a lower latency.
- Full - Reconstructs the full page layout, including tables, forms, and free text, to improve extraction performance. This option has the highest latency.
Attribution
The Attribution setting defines the method for attributing model predictions to their references in the document.
The available options are:
- Rules-based - A low-latency option that uses rules and heuristics to match the correct spans on a page to the predicted values from the model. It sacrifices performance in terms of successful attributions compared to the model-based option.
- Model-based - The best-performing option, with higher latency. It uses an additional LLM call to match the predicted values to the correct spans on the page, as these values can often be repeated in different parts of the page. Model-based attribution runs on one of the following models:
- Gemini 2.5 Flash
- Gemini 3.5 Flash-Lite
- GPT-6 Luna
- Claude Haiku 5.5
Overrides
The Overrides setting enforces overrides to the model configuration, to apply advanced developer settings. Enter the overrides in JSON format in the JSON editor. The editor validates the JSON and shows a Valid label when the content is valid.
The Overrides setting might not be available for your organization. To request access, contact your account manager.