delete_relations
Remove specific relations between entities in the DuckDB-based knowledge graph, ensuring accurate and up-to-date data for enhanced conversational memory and query performance.
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)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"relations": {
"description": "An array of relations to delete",
"items": {
"additionalProperties": false,
"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"
}