Zum Hauptinhalt springen

Find the details

Schrittfind-detailsextractveraltet

Replaced by an AI agent step. Give the agent the details to find as its fields.

Auf einen Blick​

EigenschaftWert
Schrittnamefind-details
RessourceClusterStep (lumen.ai/v1alpha1)
Palettengruppe, Kategorieextract, ai
Credits1 Credit bei jedem Erfolg
Externe Wirkungnein
Die Installation muss bereitstellennichts

Eingaben​

EigenschaftWert
Brauchttext
Liefertfields
Arbeitet aufitem einem Dokument nach dem anderen

Braucht und Liefert sind Datentypen (file, text, fields, email). Der Editor bietet einen Schritt nur dort an, wo das, was er braucht, schon auf dem Pfad liegt. Siehe Dokumente und Daten.

Ausgaben​

More outputs are declared in the setting `fields`.

Einstellungen​

Wird unter config: im Knoten des Flows gesetzt. Texteinstellungen dürfen Platzhalter wie {nodeId.field} enthalten.

EinstellungTypStandardwertBeschreibung
methodstring"rules"Method is how the details are found: rules (labels, free, the default) or ai (a model call).one of rules, ai
fieldslist of object-Fields are the details to find, named by the customer. Unset means the invoice defaults: supplier, date, total, invoice number.minItems 1
fields[].nameerforderlichstring-minLength 1
fields[].hintstring-Hint is more labels to look for, comma separated: "Amount due, סכום".
fields[].typestring-Type is what the detail is: string, number, date (YYYY-MM-DD) or money ({amount, currency}). Unset is string, except that a known detail (date, total) keeps its own type.one of string, number, date, money

Das vollständige JSON Schema dieser Einstellungen: find-details.schema.json.

Im Flow verwenden​

Ein Knoten, der find-details ausführt, steht unter spec.nodes eines Flow. Geben Sie ihm eine beliebige id und nennen Sie in next die ids der nächsten Knoten.

flow.yaml
apiVersion: lumen.ai/v1alpha1
kind: Connector
metadata:
name: my-webhook
namespace: tenant-acme
spec:
classRef: {name: webhook}
config: {}
---
apiVersion: lumen.ai/v1alpha1
kind: Flow
metadata:
name: find-details-example
namespace: tenant-acme
spec:
displayName: "Find the details"
triggers:
- id: start
ref: {name: webhook-received}
connectorRef: {name: my-webhook}
next: [find-details]
nodes:
- id: find-details
stepRef: {name: find-details}