create_entities
Add entities to a knowledge graph memory zone, including names, types, and observations, to enhance data storage and retrieval in Elasticsearch-based AI systems.
Instructions
Create entities in knowledge graph (memory)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
entities | Yes | List of entities to create | |
memory_zone | Yes | Memory zone to create entities in. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"entities": {
"description": "List of entities to create",
"items": {
"properties": {
"entityType": {
"description": "Entity type",
"type": "string"
},
"name": {
"description": "Entity name",
"type": "string"
},
"observations": {
"description": "Observations about this entity",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"entityType"
],
"type": "object"
},
"type": "array"
},
"memory_zone": {
"description": "Memory zone to create entities in.",
"type": "string"
}
},
"required": [
"entities",
"memory_zone"
],
"type": "object"
}