RAG-POC/src/templates/knowledge_model.json

34 lines
749 B
JSON

{
"entity_types": [
"Person",
"Organization",
"Product",
"Concept",
"Event",
"Location"
],
"relationship_types": [
"AFFILIATED_WITH",
"CREATED",
"DEPENDS_ON",
"MENTIONS",
"PART_OF",
"RELATED_TO"
],
"node_template": {
"canonical_name": "string",
"entity_type": "one configured entity type",
"description": "source-grounded string",
"aliases": [
"string"
]
},
"edge_template": {
"source": "entity name",
"target": "entity name",
"relationship_type": "one configured relationship type",
"description": "source-grounded string"
},
"extraction_instructions": "Extract only entities and relationships explicitly supported by the supplied text."
}