Skip to content

disconnect

Remove an edge from the knowledge graph, either by edge ID or by specifying the source and target memories.

ParameterTypeRequiredDescription
idnumberNo*Edge ID to remove
fromnumberNo*Source memory ID
tonumberNo*Target memory ID
relationstringNoOptional filter by relation type

* Either id alone, or from + to together.

{
"id": 15
}
{
"from": 42,
"to": 17
}
{
"from": 42,
"to": 17,
"relation": "contradicts"
}
  • connect — Create edges
  • graph — View a memory’s neighborhood