knowmind_entity
Creates or returns a graph node for a named entity—person, organization, application, host, or technology—so recurring names connect memories and avoid duplicate nodes.
Instructions
Create the node for a thing the corpus talks about - a person, an organisation, an application, a host, a technology - or return the existing one. THE GRAPH NEEDS THESE: memories are texts, and two texts mentioning the same server stay unconnected until that server exists as its own node. Create an entity when a name recurs across memories or when you are about to link something that has no node yet, then connect it with knowmind_link. Same name, same class and same tenant always return the same id, so calling twice creates no duplicate. Give the entity its plain proper name ("PostgreSQL", not "the database we use"), and pick the class from the catalogue in knowmind_schema. Requires write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Proper name of the thing, as it would be written in a document. No role, no status, no description. | |
| aliases | No | Other spellings the same thing appears under. Optional. | |
| description | No | One sentence saying what this is. Optional, helps later retrieval. | |
| entity_class | Yes | Class from the catalogue (knowmind_schema -> entityClasses), e.g. Person, Organization, Application, Host, Technology. |