Library

ContRAG

Retrieval engine behind the adaptive AI NPCs in Dhaniverse, published on npm. Introspects an existing database schema at runtime and builds an entity relationship graph across MongoDB, PostgreSQL, and vector stores.

Overview

Adaptive AI NPCs driven by the ContRAG retrieval engine, published on npm.

Highlights

  • Introspects an existing database schema at runtime and builds an entity relationship graph, so retrieval follows real relationships instead of similarity alone.
  • Tracks per-user preferences across turns for personalized context retrieval.
  • Works across MongoDB, PostgreSQL, and vector stores, with a Rust core published to crates.io.

Tech stack