Remember something
remembermemorySaves a short note to remember in later runs and conversations. Keep to durable facts and preferences, never secrets. The same note saved twice is kept once.
Auf einen Blick
| Eigenschaft | Wert |
|---|---|
| Schrittname | remember |
| Ressource | ClusterStep (lumen.ai/v1alpha1) |
| Palettengruppe, Kategorie | memory, - |
| Credits | 0 Credits bei jedem Erfolg |
| Externe Wirkung | nein |
| Die Installation muss bereitstellen | nichts |
Eingaben
| Eigenschaft | Wert |
|---|---|
| Braucht | nichts |
| Liefert | fields |
| Arbeitet auf | item 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
Ein späterer Knoten verweist auf eine Ausgabe als {nodeId.field} in einem Text oder als nodeId.field in einer Bedingung.
| Ausgabe | Typ |
|---|---|
memoryId | string |
memoryUpdated | boolean |
Einstellungen
Wird unter config: im Knoten des Flows gesetzt. Texteinstellungen dürfen Platzhalter wie {nodeId.field} enthalten.
| Einstellung | Typ | Standardwert | Beschreibung |
|---|---|---|---|
texterforderlich | string | - | Text is the note: a fact, a preference or an outcome worth keeping, short and plain, up to 2 KiB.minLength 1; maxLength 2048 |
tags | list of string | - | Tags are labels the note can also be found by, lower-cased: up to 8.maxItems 8 |
Das vollständige JSON Schema dieser Einstellungen: remember.schema.json.
Im Flow verwenden
Ein Knoten, der remember 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.
apiVersion: lumen.ai/v1alpha1
kind: Flow
metadata:
name: remember-example
namespace: tenant-acme
spec:
displayName: "Remember something"
triggers:
- id: start
ref: {name: manual-run}
next: [assistant]
nodes:
- id: assistant
stepRef: {name: chat-agent}
config:
instructions: Use the remember tool when the request needs it.
tools: [remember]