JSON Schema
https://compozy.dev/schemas/memory.json
Parameters
Memory configuration for the workflow.
Unique identifier for the memory.
Storage backend configuration. Defaults to in-memory if not specified. See Storage Types for available options.
Storage implementation reference (e.g., "compozy/storage:postgres")
Storage-specific configuration options. Common fields:
url: Connection URL
token: Authentication token
path: File path (for SQLite)
Vector storage configuration for semantic search. See Vector Types for available options.
Vector store implementation reference (e.g., "compozy/vector:pg-vector")
Vector dimensions for embeddings (e.g., 1536 for OpenAI embeddings)
Vector store configuration options. Common fields:
url: Connection URL
apiKey: API key for managed services
path: Local path for file-based stores
Embedder configuration for vector search. See Embedder Types for available options.
Embedder implementation reference (e.g., "compozy/embedder:openai")
Embedder-specific configuration. Common fields:
model: Model name or identifier
apiKey: API key for hosted services
project: Project ID (for cloud services)
Memory behavior configuration.
Number of recent messages to include in context
Vector search configuration options:
enabled: Enable/disable semantic search
maxResults: Maximum number of results to return
Working memory configuration:
enabled: Enable/disable working memory
template: XML template for structured memory
Memory References
Current conversation thread data. Example:
Recent message history based on lastMessages configuration. Example:
Semantic search results. Example: