persist
Persist all entities to the repository and create structural relationships.
Creates (Chunk)-[:HAS_ENTITY]->(Entity) relationships linking each source chunk to the entities extracted from it.
Entities are deduplicated across chunks before saving, but relationships are created for each chunk where an entity was mentioned.
Parameters
entity Repository
Repository for entity persistence