Parameters
Memory ID to update.
New content text. Only provide if changing the content. Triggers embedding regeneration.
New layer:
rule, working, or long_term. Use to promote (e.g., working → long_term) or change priority.New type classification:
rule, decision, fact, note, or skill.Importance score (0.0-1.0). Higher values decay slower and rank higher in search.
New tags (replaces existing tags entirely).
Embedding Regeneration
Whencontent is updated, Cohaku automatically:
- Generates a new embedding from the updated content
- Replaces the old vector in
vec_memories