sim_link
Record a typed edge between any two stored entities — models, prompts, artifacts, maps, collections, or anything else addressed by a content id — with no fixed predicate vocabulary: the caller's choice, the same as datum_link ("hasMember", "cites", "supersedes", whatever the relationship actually is). Distinct from the Lineage a model/prompt/artifact already carries, which is specifically derivation (parent -> prompt -> child); a Relation is any OTHER assertion about how two entities relate, including sim_create_collection's own membership edges. Storing the same subject/predicate/object/timestamp/attribution twice returns the same id rather than a duplicate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object | Yes | id of the entity the relation points to | |
| subject | Yes | id of the entity the relation starts from | |
| predicate | Yes | the relationship, e.g. hasMember, cites, supersedes — no fixed vocabulary |