update_relations
Modifies existing relationships within the knowledge graph by updating 'from', 'to', and 'relationType' attributes for multiple connections, ensuring accurate data representation in the Knowledge Graph Memory Server.
Instructions
Update multiple existing relations in the knowledge graph
Input Schema
Name | Required | Description | Default |
---|---|---|---|
relations | Yes |
Input Schema (JSON Schema)
{
"properties": {
"relations": {
"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"
}