Skip to main content
Version: 0.0.5 (stable)

agrag.common.schema_fingerprint.RunRecord

RunRecord(schema_name:str, schema_version:str, schema_fingerprint:str, extraction_fingerprint:str) -> None

What a document and its chunks record about the run that wrote them.

Attributes:

Functions:

  • stamp – Return a copy of a document that carries this record.

extraction_fingerprint​

extraction_fingerprint: str

schema_fingerprint​

schema_fingerprint: str

schema_name​

schema_name: str

schema_version​

schema_version: str

stamp​

stamp(document:Document) -> Document

Return a copy of a document that carries this record.

Parameters:

  • document (Document) – The document to stamp. It is not changed.

Returns:

  • Document – A copy with the four run-record fields set.