Skip to content

Knowledge

Knowledge and provenance substrate: ingested external sources, chunking, and retrieval.

Enums

enums

Knowledge substrate enumerations.

SourceType

Bases: StrEnum

Origin of an ingested knowledge source.

Drives SourceLoader selection in the knowledge substrate. A REPO source is a code tree, PDF / WEB / DESIGN_DOC are documents, and TICKET is an issue thread fetched through the governed external-API access tool.

ContentKind

Bases: StrEnum

Structural kind of a loaded unit; drives chunker selection.

CODE uses the AST-aware chunker, DOCUMENT the section-aware chunker, PDF_PAGE the page/region chunker, and TICKET_THREAD the document chunker over comment text.

SourceStatus

Bases: StrEnum

Ingestion lifecycle state of a knowledge source.