中文
Node Documentation

Extract structured AI data

AIConfigured target requiredai.extract

Extracts the fields you choose from text or an image and returns connectable structured data.

Example use

Connect a receipt image and a prompt to extract date, merchant and amount; configure those fields and pass the structured result onward.

Node preview

Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.

This preview extracts merchant (text) and amount (number) into result. These are editable example fields, not node defaults.

Loading node preview…

Data inputs 2

PromptpromptString

Instructions describing the task and the desired AI output.

RequiredDefault: None
ImageimageImage

An image reference for recognition, saving or analysis, obtained from capture or image loading.

OptionalDefault: None

Configuration 10

Output fieldsfieldsList

Add the values to extract; Yotta generates and validates the output structure.

RequiredDefault: None
  • Minimum items: 1
  • Maximum items: 64
Itemfields[]Object

One list item, matching the list’s element type.

RequiredDefault: None
descriptionfields[].descriptionText

Explain the meaning of the field to extract to the AI.

OptionalDefault: None
  • Maximum characters: 256
Namefields[].nameText

The output field name used by later nodes.

RequiredDefault: None
  • Minimum characters: 1
  • Maximum characters: 64
nullablefields[].nullableBoolean

Whether this field may return null.

OptionalDefault: false
typefields[].typeChoice

The data type expected for this field.

RequiredDefault: None
  • Options: "string", "number", "integer", "boolean"
Maximum output tokensmaxOutputTokensInteger

Maximum tokens generated for this request; when omitted, the installation setting is used.

OptionalDefault: None
  • Minimum: 1
  • Maximum: 1000000
Model slotslotText

References a stable installed AI model slot; ad hoc provider parameters are not accepted.

RequiredDefault: None
  • Minimum characters: 1
  • Maximum characters: 128
  • Pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
TemperaturetemperatureNumber

Sampling temperature from 0 to 2; when omitted, the installed model policy is used.

OptionalDefault: None
  • Minimum: 0
  • Maximum: 2
Timeout (milliseconds)timeoutMillisecondsInteger

Hard wall-time limit for this AI node attempt, from 1000 to 120000 milliseconds.

RequiredDefault: 120000
  • Minimum: 1000
  • Maximum: 120000

Data outputs 1

ResultresultJSON value

The result of this data operation, with its type determined by the matching inputs.

Control and error ports

InputinInput · Control
An incoming control signal enters this operation.
CompletedcompletedOutput · Control
Continue from this result or stage; see the node description for branch conditions.
FailedfailedOutput · Error
Emitted when the operation fails; connect error handling here.
Version and node identity

Version 1.1.0

sha256:06cb4674b9fb83cdd754798b1d2df4454648b27ce61d13ebfc7c4b939eced4d7