docs.rs failed to build csm-duckdb-0.3.8
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.
csm-duckdb
Optional analytics, Parquet export, and SQL inspection for chaotic_semantic_memory.
Usage
use Analytics;
let mut analytics = open_in_memory?;
analytics.load_export_json?;
let batch = analytics.query?;
println!;
Features
- DuckDB Integration: Run SQL queries over your semantic memory.
- Parquet Export: Export concepts and associations to Apache Parquet for external OLAP processing (Polars, Spark, BI).
- Analytic Views: Pre-defined SQL views for centrality, connectivity, and pattern analysis.
Parquet Export Example (Polars + Python)
Once you've exported your memory to Parquet:
let opts = default;
analytics.export_all_parquet?;
You can read it in Python using Polars:
# Read concepts and join with associations
=
=
# Example: find top-10 most connected concepts
=
Installation
Add this to your Cargo.toml:
[]
= { = "0.1" }