rullama-knowledge 0.12.0

Knowledge layer — knowledge graphs, BKS/PKS, brain client, entity extraction for the rullama agent framework. RAG / spectral / code-analysis live in `rullama-rag`; prompting lives in `rullama-prompting`.
docs.rs failed to build rullama-knowledge-0.12.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

rullama-knowledge

Crates.io Documentation License

Knowledge layer for rullama — knowledge graphs, behavioral/personal knowledge systems (BKS/PKS), a brain client for persistent thoughts, and entity extraction.

This crate is now just the knowledge subsystem. The prompting, RAG, spectral, and code-analysis subsystems that used to live here were split into dedicated crates:

Depend on those crates directly for that functionality.

What it provides

  • BrainClient — persistent thought storage with semantic search.
  • Entity & Relationship Graph — entity types, co-occurrence, and impact analysis over a knowledge graph.
  • BKS (Behavioral Knowledge System) — shared truths with confidence scoring.
  • PKS (Personal Knowledge System) — user-scoped facts.
  • Thoughts & fact extractionThought / ThoughtCategory / ThoughtSource with automatic categorization and tag extraction.

Quick start

[dependencies]
rullama-knowledge = "0.12"
use rullama_knowledge::{BrainClient, Thought, ThoughtCategory};

Key exports: BrainClient, Thought / ThoughtCategory / ThoughtSource, DispositionTrait, MemoryBankConfig, plus the entity and relationship-graph types (and a prelude).

Features

Feature Enables
knowledge (default) knowledge graph, entities, thoughts, brain client (native persistence via rusqlite + reqwest)
telemetry DreamCycle event recording via rullama-telemetry
native knowledge + telemetry
wasm lightweight WASM build (rullama-core/wasm)
alt-folder-name alternative on-disk storage folder name

License

Licensed under either of MIT or Apache-2.0 at your option.