delete_relations
Remove specific relations from a knowledge graph to manage and update entity connections effectively. Input an array of relations to delete, ensuring accurate maintenance of user data in memory.
Instructions
Delete multiple relations from the knowledge graph
Input Schema
Name | Required | Description | Default |
---|---|---|---|
relations | Yes | An array of relations to delete |
Input Schema (JSON Schema)
{
"properties": {
"relations": {
"description": "An array of relations to delete",
"items": {
"properties": {
"from": {
"description": "The name of the entity where the relation starts",
"type": "string"
},
"relationType": {
"description": "The type of the relation",
"type": "string"
},
"to": {
"description": "The name of the entity where the relation ends",
"type": "string"
}
},
"required": [
"from",
"to",
"relationType"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"relations"
],
"type": "object"
}