DocVersion

What KnowledgeProvider.ingest returns: the admitted version of a document and the store revision after the ingest.

Fields

doc_idstringrequired

The document's id (the source's source_id).

versionstringrequired

The admitted version's id, non-empty. local_knowledge uses the first 16 hex characters of the content's sha256, so the same bytes are the same version.

content_sha256Sha256required

The sha256 of the admitted bytes, lowercase hex.

revisionnumberrequired

The store's monotonic revision after this ingest.

Edit on GitHub

On this page