create_relations
Define and establish relationships between entities in a knowledge graph. Specify source, target, and relation type to actively build structured connections for enhanced reasoning and problem-solving.
Instructions
Create multiple new relations between entities in the knowledge graph. Relations should be in active voice
Input Schema
Name | Required | Description | Default |
---|---|---|---|
relations | Yes | Array of relations to create |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"relations": {
"description": "Array of relations to create",
"items": {
"additionalProperties": false,
"properties": {
"from": {
"description": "Source entity name",
"minLength": 1,
"type": "string"
},
"relationType": {
"description": "Type of relationship (in active voice)",
"minLength": 1,
"type": "string"
},
"to": {
"description": "Target entity name",
"minLength": 1,
"type": "string"
}
},
"required": [
"from",
"to",
"relationType"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"relations"
],
"type": "object"
}