Open Knowledge Format (OKF) Ingestion


[Up] [Top]

Documentation for package ‘okf’ version 0.5.2

Help Pages

okf_backlinks Concepts that link to a given concept ("linked from" / backlinks).
okf_chunk_body Split a concept body into chunks on paragraph boundaries.
okf_clusters Deterministic community labels via synchronous label propagation.
okf_concepts Query helpers over an ingested OKF catalog.
okf_context Assemble an index-first, link-following slice of a bundle as one markdown blob for direct LLM consumption.
okf_doctor Health / maintenance report for an ingested OKF catalog.
okf_doctor_fix Apply only unambiguously-safe maintenance fixes to a bundle's source files.
okf_embed Chunk and embed concept bodies into the catalog for semantic search.
okf_extract_links Extract markdown link targets from a concept body (OKF cross-links, sec. 4).
okf_fetch Materialize an OKF bundle from a directory, git URL, or tar/zip archive.
okf_findings Query helpers over an ingested OKF catalog.
okf_graph_df Query helpers over an ingested OKF catalog.
okf_graph_html Render the concept graph as one self-contained interactive HTML page.
okf_graph_json Export the concept graph as portable JSON (nodes and edges).
okf_graph_mermaid Render the concept graph as a Mermaid 'graph LR' diagram.
okf_html Render an ingested OKF catalog to HTML for viewing.
okf_impact Link-impact ("ripple") of a concept.
okf_ingest Ingest an OKF bundle into a DuckDB catalog.
okf_links Build the concept graph (resolved and broken links) for a bundle.
okf_ollama_embedder Build an embedder backed by a local Ollama embeddings model.
okf_parse_file Parse the YAML frontmatter and body of a single OKF concept file.
okf_query Query helpers over an ingested OKF catalog.
okf_rag Semantic search over an embedded catalog.
okf_read Read an OKF bundle from a directory into an in-memory representation.
okf_resolve_link Resolve a markdown link target to a bundle-relative concept path.
okf_search Query helpers over an ingested OKF catalog.
okf_validate Validate a bundle against the OKF v0.1 conformance rules (permissively).