Skip to content

Releases: bkahan/sphereQL

v0.3.0-alpha

15 Jun 17:21
Immutable release. Only release title and notes can be modified.
df1bc3f

Choose a tag to compare

v0.3.0-alpha Pre-release
Pre-release

What's Changed

  • feat: Lingua Spherica — Language → SphereQL mapping system by @bkahan in #23
  • feat: full E2E example + workspace-wide CodeRabbit fixes by @bkahan in #25
  • feat(lingua): add sphereql-lingua NLP-to-coordinates crate + Python bindings by @bkahan in #26
  • Full-review remediation: correctness, perf, API stability, docs by @bkahan in #27
  • feat: projection overhaul — radial variants, UMAP-on-sphere, group routing, PQ sidecar, E2E comparison by @bkahan in #28
  • feat-staging: corpus registry, 500K bulk pipeline, Python/Qdrant e2e by @bkahan in #29
  • Consolidate all active branches into main (projection overhaul + metalearning loop) by @bkahan in #31
  • v0.3.0 release prep: drift tooling, self-tune bindings, fresh benchmarks, bump to 0.3.0 by @bkahan in #32

Full Changelog: v0.2.0-alpha...v0.3.0-alpha

v0.2.0-alpha

24 Apr 18:57
Immutable release. Only release title and notes can be modified.
70a5fa8

Choose a tag to compare

v0.2.0-alpha Pre-release
Pre-release

What's Changed

  • feat(core): spatial analysis primitives for S² — all 7 research areas by @bkahan in #13
  • chore: add per-crate READMEs and fix CI publish issues by @bkahan in #12
  • feat(embed): AI Knowledge Navigator — semantic spatial queries by @bkahan in #14
  • feat(examples): spatial analysis harness — all 7 research areas by @bkahan in #15
  • feat: testing, benchmarks, numerical bugfix, Python bindings by @bkahan in #16
  • feat(core): add spatial analysis primitives for S² by @bkahan in #17
  • feat: AI Knowledge Navigator with full category layer demo by @bkahan in #18
  • feat: extract sphereql-corpus crate and add spatial_analysis example by @bkahan in #19
  • feat: spatial quality system — metalearning + bindings + audit remediation by @bkahan in #21
  • release: v0.2.0-alpha — full binding parity, GraphQL category layer, typed WASM, stubs + drift CI by @bkahan in #22

Full Changelog: v0.1.0-alpha-2...v0.2.0-alpha

v0.1.0-alpha-2: GH Workflow Update

18 Apr 00:33
Immutable release. Only release title and notes can be modified.
a6d6cb3

Choose a tag to compare

Pre-release

Updating release tags and workflows.

v0.1.0-alpha Pre-release

15 Apr 02:45
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

Pre-release

sphereQL v0.1.0-alpha

First public alpha release — project high-dimensional embeddings onto a 3D sphere for semantic search, category enrichment, and visualization.

Highlights

Spherical Math & Spatial Indexing

  • Full 3D spherical coordinate system with geodesic distance, interpolation, and bounding regions
  • Spatial index with nearest-neighbor and range queries over sphere surfaces
  • Cap, wedge, and corridor region types for flexible geographic-style filtering

Embedding Projection

  • Project arbitrary-dimension vectors onto the unit sphere via PCA and Kernel PCA (Gaussian RBF)
  • Configurable SphereQLPipeline that chains embedding → projection → indexing → query in one call
  • CSV and JSON export for projected results

Category Enrichment Layer (new)

  • Automatic category detection with inter-category graph and bridge item identification
  • Inner spheres: drill into large categories with their own local coordinate system (linear PCA or kernel PCA, chosen automatically)
  • Concept path queries: find shortest semantic path between categories
  • Neighbor and drill-down queries for exploring category structure

Multi-Platform Bindings

  • Python (PyO3): pip install sphereql — full pipeline access including category queries
  • WASM (wasm-bindgen): browser-ready JS/TS package with JSON-serialized outputs
  • GraphQL (async-graphql): query server for spatial lookups over SpatialIndex

Vector Database Integration

  • Pluggable VectorStore trait with Pinecone and Qdrant backends
  • VectorBridge syncs pipeline results to your vector DB with category metadata

Crate Architecture

Crate Purpose
sphereql-core Spherical math primitives
sphereql-index Spatial indexing and queries
sphereql-layout Force-directed and grid layouts
sphereql-embed PCA/Kernel PCA projection + Category Enrichment
sphereql-graphql GraphQL query server
sphereql-vectordb Pinecone & Qdrant connectors
sphereql Umbrella crate with feature flags

Installation

Rust

[dependencies]
sphereql = { version = "0.1.0-alpha", features = ["embed"] }

Python

pip install sphereql

WASM

npm install sphereql-wasm  # (coming soon)

Known Limitations

  • Search precision at k > 1: nearest-neighbor results beyond the first hit may include false positives on very dense datasets. Accuracy improves with sparser distributions.
  • GraphQL category gap: the GraphQL crate operates on SpatialIndex directly, not the full SphereQLPipeline. Category enrichment queries are not yet exposed via GraphQL.
  • Inner sphere threshold: categories need ≥ 8 items to generate an inner sphere. This threshold is not yet configurable.

Stats

  • 403 tests passing across all crates
  • 10 crates in the workspace
  • CI: cargo fmt, cargo clippy -Dwarnings, cargo test, cargo doc — all green

What's Next

  • Configurable inner sphere thresholds
  • GraphQL category query support
  • Streaming projection for large datasets
  • Additional vector DB backends

Full commit history and contributor details available on GitHub.