okf_knowledge library
OKF-aware retrieval and synchronization, separate from generic chunk search.
Classes
- KnowledgeContextHit
- A cited passage selected as a match, governing source, or related context.
- KnowledgeIndex
- Synchronizes one bundle and searches an explicit eligible concept set.
- KnowledgeInputDiagnostic
- A successful embedding-input recovery, aggregated by source and code.
- KnowledgeMetadataFilter
- Deterministic frontmatter eligibility, independent of retrieval scores. Values within each set use OR, except requiredTags, which uses AND. Different fields combine with AND. Identifiers are exact and case-sensitive; title/description containment is literal and case-insensitive.
- KnowledgeNotice
- Something a search reports besides its passages: a stable code, the sentence message, and the paths it concerns.
- KnowledgeSearchPolicy
- Explicit consumer policy, never written into an OKF document.
- KnowledgeSearchResponse
- KnowledgeSnapshot
- A parsed bundle projection with original citation locations and graph edges. Indexes and logs remain navigation/history, rather than duplicate passages.
Enums
- KnowledgeNoticeCode
-
What a KnowledgeNotice reports. wireValue is the stable code a host
matches; a later release may add codes, so a
switchover them keeps a default.