Bulk Create Graph Nodes
bulk_create_graph_nodesCreate multiple nodes at once (up to 500 per call). Uses Neo4j UNWIND for high performance.
Essential for knowledge graph population — create hundreds of entities from a single book chapter or article.
Each node needs: entity_id (unique string) and data (properties dict).
Example: entity_type: "concept" nodes: [ {"entity_id": "quantum-mechanics-001", "data": {"name": "Quantum Mechanics", "field": "Physics"}}, {"entity_id": "wave-function-001", "data": {"name": "Wave Function", "field": "Physics"}}, {"entity_id": "superposition-001", "data": {"name": "Superposition", "field": "Physics"}} ]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | Yes | List of nodes. Each: {entity_id: string, data: {properties}} | |
| project_id | Yes | Project ID (UUID) | |
| entity_type | Yes | Entity key for all nodes | |
| environment | No | Environment: staging or production (default: staging) |