relate
Create a typed link connecting two memories to define relationships. Use for building knowledge graphs with labeled edges.
Instructions
Create a typed link from one memory to another. Returns the edge id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target memory id. | |
| from | Yes | Source memory id. | |
| relation | Yes | Relationship label. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge_id | Yes | Id of the created edge. |