docs.rs failed to build rullama-prompting-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.
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-prompting
Adaptive prompting techniques, K-means task clustering, and temperature optimization for rullama agents.
What lives here
library::TechniqueLibrary+techniques::*— 15-technique library from the adaptive-selection paper (chain-of-thought, self-consistency, tree-of-thought, …).clustering::TaskCluster+TaskClusterManager— K-means task clustering by semantic-vector similarity (linfa-backed).generator::PromptGenerator— dynamic prompt generation. With theknowledgefeature (default-on) integrates BKS (Behavioral Knowledge System) / PKS (Personal Knowledge System) / SEAL feedback to adapt outputs over time.learning::PromptingLearningCoordinator— technique-effectiveness tracking + BKS promotion logic.temperature::TemperatureOptimizer— adaptive temperature optimisation per task cluster.seal::SealProcessingResult— feedback hook used bygenerator.storage::ClusterStorage(gated bystoragefeature) — SQLite-backed cluster persistence.
Features
| Feature | Default | Notes |
|---|---|---|
knowledge |
yes | Pulls rullama-knowledge for BKS/PKS-aware prompt generation |
storage |
no | SQLite cluster store (rusqlite) |
Most modules (generator, learning, temperature) reference BKS/PKS
unconditionally, hence the knowledge default. The standalone bits
(clustering, library, techniques, seal) work without it.
Usage
[]
= "0.12"
use ;
let library = default;
let technique = library.lookup;
See also
rullama-knowledge— BKS / PKS / brain client (used bygenerator).rullama-rag— codebase indexing + hybrid retrieval (sibling).rullama— umbrella facade withpromptingfeature.
License
MIT OR Apache-2.0