Memory Store
This page is auto-generated from the formations OpenAPI spec. Do not edit manually — run
pnpm generate-formations-resource-docsto regenerate.
Creates a named memory store that actors can read from and write to across conversations.
Syntax
type: memory_store
properties:
name: String
description: String
tags: Any
duplicate_threshold: Number
supersede_threshold: Number
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: MyMemoryStore
Properties
name
Memory store display name
Required: Yes Type: String
description
What this memory store stores
Required: No Type: String Nullable: Yes
tags
Required: No Type: Any
duplicate_threshold
Cosine similarity at or above which an incoming fact is already known and the write is skipped. Null uses the algorithm constant (0.95). This is where a template sets the corpus's dedup policy: a memory resource has no threshold of its own.
Required: No Type: Number Nullable: Yes
supersede_threshold
Cosine similarity at or above which an incoming fact restates a known one that has changed, retiring it. Null uses the algorithm constant (0.90). Must be lower than the effective duplicate_threshold.
Required: No Type: Number Nullable: Yes