Version: 0.0.5 (stable)
agrag.common.data_models.structure.chunk_id
chunk_id(document_id:UUID, version:str, chunker_hash:str, index:int) -> UUID
Return the id of a chunk.
Parameters:
- document_id (
UUID) – The id of the Document node. - version (
str) – The document version fromversion_id. - chunker_hash (
str) – The fingerprint of the chunker settings. - index (
int) – The position of the chunk in the document.
Returns:
UUID– The id. It changes with the version and with the chunker settings.