Skip to main content

Memory

This page is auto-generated from the formations OpenAPI spec. Do not edit manually — run pnpm generate-formations-resource-docs to regenerate.

Adds a single memory to a memory store.

Syntax​

type: memory
properties:
memory_store_id: String
content: String
source_type: String
source_id: String
tags: Any
metadata: Any

Output​

The physical resource ID is the public ID of the created resource. Reference it from other resources with a ref expression:

some_field:
ref: MyMemory

Properties​

memory_store_id

Public ID of the parent memory store (or ref expression)

Required: Yes Type: String


content

Text content of the memory

Required: Yes Type: String


source_type

Whether there is a source to point at (defaults to manual). conversation requires source_id.

Required: No Type: String Allowed values: manual, conversation


source_id

The conversation this fact was learned in, when source_type is conversation; null when it is manual.

Required: No Type: String Nullable: Yes


tags

Per-memory key-value tags for memory-granularity filtering in knowledge search.

Required: No Type: Any


metadata

Arbitrary structured metadata attached to the memory

Required: No Type: Any