mempalace_check_duplicate
Avoid duplicate memories by checking new content against existing tenant memory for exact or semantic matches before writing durable entries. Keeps memory storage clean and efficient.
Instructions
Check for exact or semantic duplicates before writing new durable memory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Candidate drawer content to compare against existing tenant memory. | |
| threshold | No | Minimum cosine similarity for a semantic duplicate match; higher is stricter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matches | Yes | ||
| is_duplicate | Yes |