Version: latest
agrag.ingestion.merge.has_part_id
has_part_id(document_node_id:UUID, node_id:UUID, version_id:UUID | str) -> UUID
Return the id for one versioned edge from a Document node to a part.
Parameters:
- document_node_id (
UUID) – The id of the Document graph node. - node_id (
UUID) – The id of the Chunk, Section, Table or Figure. - version_id (
UUID | str) – The identifier for this document version.
Returns:
UUID– The edge id. Each document version gets a separate relationship id.