Yin is a rudimentary, experimental knowledge base. It is inspired by Scone, but is not meant to be a replacement/clone of Scone and its functionality.
Functionality is basically non-existent at the moment. Please do not use this library.
Note that there is currently only single-threaded support. Unless using a Neo4j Cypher backend, every spawned thread will have its own independent instance of the KB.
```rust use zammyin::graph::bindinmemorygraph; use zammyin::concepts::{Tao, ArchetypeTrait, FormTrait}; use zammyin::wrappers::CommonNodeTrait;
fn main() { // Initialize the knowledge-base bindinmemory_graph();
// Create a new concept
let mut concept = Tao::individuate();
assert!(concept.has_ancestor(Tao::archetype()));
// Set a name for the concept
concept.set_internal_name("Hello, world.".to_string());
println!("{}", concept.internal_name().unwrap());
} ```
By default, the Neo4j Cypher tests aren't run. To run them:
petgraph
dependency doesn't support version 4)dummy_password
cargo test -- --ignored