add_observations
Update entities by adding observations to their data in the Elasticsearch Knowledge Graph, enhancing the memory-like storage and retrieval for AI models.
Instructions
Add observations to an existing entity in knowledge graph (memory)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
memory_zone | Yes | Optional memory zone where the entity is stored. If not specified, uses the default zone. | |
name | Yes | Name of entity to add observations to | |
observations | Yes | Observations to add to the entity |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"memory_zone": {
"description": "Optional memory zone where the entity is stored. If not specified, uses the default zone.",
"type": "string"
},
"name": {
"description": "Name of entity to add observations to",
"type": "string"
},
"observations": {
"description": "Observations to add to the entity",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"memory_zone",
"name",
"observations"
],
"type": "object"
}